fix: Change unknown value of YesNoSome to "unknown"#180
Open
olafmersmann wants to merge 6 commits intopr-make-references-top-levelfrom
Open
fix: Change unknown value of YesNoSome to "unknown"#180olafmersmann wants to merge 6 commits intopr-make-references-top-levelfrom
olafmersmann wants to merge 6 commits intopr-make-references-top-levelfrom
Conversation
Rudimentary design document and reference for the new schema that attempts to summarize the discussion at the OPL hackathon in April. The core structure was written by the author, then fleshed out using Claude and finally reviewed by again the author. Co-Authored-By: Claude Opus 4.7
Adds an LLM generated generator for the problems defined in the old problem.yaml to generate a new style problem.yaml. For future fixes, it is probably best to update examples/problem.py, regenerate the yaml and then merge it with the old yaml by replacing entries based on id. That way additional entries added later are not clobbbered.
The diff for problems.yaml is larger than it needs to be because I regenerted the file using examples/problems.py and the order in which the sets are serialized is not stable. Relevant are only the changes made in the examples/problems.py, the yaml file is just the serialization of the problem definitions. Fixes #178
kvdblom
approved these changes
Apr 23, 2026
Collaborator
|
Might be best to merge this to the branch of push-zmvqzzrwnlup so we can merge them to main together. |
f34d46f to
24132b6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The diff for problems.yaml is larger than it needs to be because I regenerted the file using examples/problems.py and the order in which the sets are serialized is not stable. Relevant are only the changes made in the examples/problems.py, the yaml file is just the serialization of the problem definitions.
Fixes #178