How ukgovernmentbeis/as-evaluation-standard works
This archived repository is a starter kit and compliance checker for Inspect AI evaluations. The main workflow is to create an evaluation from the Cookiecutter template, define its task and evaluation behavior, then run the CLI against the evaluation folder to perform checks and produce a pass/fail report. The repository also provides metadata validation and two example evaluation styles. The README documents the template and checker capabilities; source excerpts show the CLI dispatch and example task construction. Generic test internals were not sampled, so their detailed checks are represented only at subsystem level.
Main entry points: __main__.py Test runner CLI · template Cookiecutter template · {{cookiecutter.project_slug}}.py Task template · simple.py Simple arithmetic task
Components 14
Evaluation authoring
- Cookiecutter template
evaluation_standard/template - Task template
evaluation_standard/template/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}.py - Metadata model
evaluation_standard/metadata.py - Evaluation metadata
Evaluation checks
- Test runner CLI
evaluation_standard/test_runner/__main__.py - Style checks
evaluation_standard/test_runner/__main__.py - Type check
evaluation_standard/test_runner/__main__.py - Generic evaluation tests
evaluation_standard/test_runner/tests - Evaluation tests
evaluation_standard/test_runner/__main__.py - Check result
Example evaluations
- Simple arithmetic task
example_evaluations/simple/simple.py - Web QA task
example_evaluations/web_multihop_question_answering/web_multihop_question_answering.py
Evaluation framework
- Inspect AI
Other components
- Evaluation author
Connections 13
- Evaluation author → Cookiecutter template: creates from
README.md - Cookiecutter template → Task template: provides example
README.md - Evaluation author → Evaluation metadata: defines metadata
README.md - Evaluation metadata → Metadata model: validated by
- Evaluation author → Test runner CLI: runs on folder
README.md - Test runner CLI → Style checks: runs
evaluation_standard/test_runner/__main__.py - Test runner CLI → Type check: runs
evaluation_standard/test_runner/__main__.py - Test runner CLI → Generic evaluation tests: runs
evaluation_standard/test_runner/__main__.py - Test runner CLI → Evaluation tests: runs
evaluation_standard/test_runner/__main__.py - Test runner CLI → Check result: prints status
evaluation_standard/test_runner/__main__.py - Task template → Inspect AI: builds task with
evaluation_standard/template/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}.py - Simple arithmetic task → Inspect AI: builds task with
example_evaluations/simple/simple.py - Web QA task → Inspect AI: builds task with
example_evaluations/web_multihop_question_answering/web_multihop_question_answering.py