Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validators are owned by subtasks #235

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

Virv12
Copy link
Member

@Virv12 Virv12 commented Apr 2, 2024

A validator validates constraints, and constraints are a property of subtasks, thus it's more logical for validators to be owned by a subtask than by a testcase.
Will be useful in #208 to validate a testcase for all subtask containing it.

cases.gen

The validator must now be specified directly after the subtask, it does not have access to $TC_NUM and other testcase dependent variables.

@veluca93 veluca93 merged commit ac6939b into olimpiadi-informatica:master Apr 2, 2024
3 checks passed
@Virv12 Virv12 deleted the new-validator branch April 2, 2024 19:40
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.

2 participants