Skip to content

Always reset root's testdata.yaml - #41

Open
Matistjati wants to merge 1 commit into
Kodsport:masterfrom
Matistjati:reset-root-tesdata-yaml
Open

Always reset root's testdata.yaml#41
Matistjati wants to merge 1 commit into
Kodsport:masterfrom
Matistjati:reset-root-tesdata-yaml

Conversation

@Matistjati

@Matistjati Matistjati commented Aug 18, 2026

Copy link
Copy Markdown
Member

If USE_SCORING=0 and limits is used, it appends without resetting, leading to duplicate input_validator_flags keys. I would assume output_validator_flags is similarly broken.

For scoring problems, this change shouldn't do anything different. For pass-fail problems, this means that hand-modified data/testdata.yaml will break. But why do that anyway? I would much prefer they just echo into it in the generator so it's reproducible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant