feat: add CI/CD workflow to validate tagging of MCQEval tasks #330
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.
Summary
Adds CI/CD validation and enforcement of "mcq" tags for all tasks implemented with the MCQEval task factory.
Note: Decided to implement as a CI/CD feature instead of a pre-commit hook to avoid bogging down dev process.
What are you adding?
Changes Made
BenchmarkMetadataobjects inconfig.py.validate-mcq-tags.ymlfor post-commit workflow, trigger on changes to MCQ-related files andconfig.pyTesting
pytest)pre-commit run --all-files)Checklist
Note
Adds a CI workflow and script to detect and auto-fix MCQ tags, standardizes tags to
mcqacross config/docs, and updates the Arabic Exams group (40 tasks)..github/workflows/validate-mcq-tags.ymlto validate and auto-fixmcqtags, commit changes tosrc/openbench/config.py, and comment results on PRs.scripts/validate_mcq_tags.pyto detect MCQ benchmarks (viaget_mcq_benchmarks/is_mcq_task()), report missing/incorrectmcqtags, auto-editconfig.py, and revalidate; supports alpha-only/no-alpha flags."multiple-choice"with"mcq"tags acrosssrc/openbench/config.pyanddocs/snippets/benchmarks.data.mdx.arabic_exams_math_high_school, set count/description to 40 tasks.Written by Cursor Bugbot for commit 5a22517. This will update automatically on new commits. Configure here.