Closed SuprDewd closed 1 year ago
@SuprDewd Can you rebase this, so we can get it moving forward?
@pehrsoderman I've finished rebasing.
@thorehusfeldt I added support for testdata.yaml. Do you want to assist with the review by taking this for a spin?
@SuprDewd What exactly does testdata.yaml
support mean in this case? Just allowing them to exist in the data
directory? Or are you actually generating them, as I did here https://github.com/RagnarGrootKoerkamp/BAPCtools/pull/108#issuecomment-826823499.
If you'd like I can also go over the full code, but someone more familiar with problemtools side should probably also do this.
Can we get this merged? This has been tested at three NWERCs without issues.
Maybe we should also merge the spec itself:) One thing I was thinking of that may be nice would be a way to directly write small testcases in the generators.yaml, avoiding the need for an stsout.py
generator or separate files.
This is a first attempt at an implementation of the
generators.yaml
draft spec described in https://github.com/Kattis/problem-package-format/pull/2It adds the
generatedata
command which has the following synopsis:The
verifyproblem
command is also augmented to validate the correspondinggenerators.yaml
file.At the moment it does not support testgroup includes, and probably won't until their semantics have been fully decided. Other notable features that are also missing: