Add or change a non-agentic benchmark in Marin's curated evaluation catalog, then validate it through tests, a local corpus build, a reference comparison, and a small-model smoke run. Use for likelihood, generation, and LLM-judged benchmarks. Agent episodes use the curated agent benchmark guide.
Install
npx skillscat add marin-community/marin/add-eval Install via the SkillsCat registry.
Add a curated evaluation
Follow Add an evaluation benchmark
for code locations, patterns and commands. This skill adds the decisions,
evidence and stopping rules an agent needs.
Before writing code
- Search for the benchmark in
experiments/evaluation/benchmarks/and withuv run python -c "from experiments.evaluation.catalog import evaluation_benchmarks; print(sorted(evaluation_benchmarks()))".
Search open PRs and issues too (gh pr list --search <name>); several
benchmarks have in-flight integrations. - Identify the reference implementation and record it with a commit or version:
lm-eval-harness task YAML, the paper's released runner, or a model card's
evaluation code. The prompt, answer extraction, shots, sampling and split
come from it. If no reference exists, state that and choose each setting
explicitly. - Identify the reference score you will validate against: a per-item run of
the reference implementation, or a published score for a model Marin can
serve. Prefer a per-item comparison. - Pick the pattern from the guide's table and read its example module end to end.
- Confirm the hardware you may launch on. GPU smoke runs use CoreWeave and need
CW_KEY_IDandCW_KEY_SECRETin your environment; the launcher refuses
them otherwise. Without the keys, the model's default GCP TPU needs none.
When delegating, state which platforms the delegate may use so a missing
credential does not stop the work. Never search for or copy credentials
that the requester did not provide.
Stop and report when the source is gated or licensed in a way that forbids
evaluation use. A fixed multi-turn conversation can be the context for a
generation task, as in experiments/evaluation/benchmarks/multichallenge.py.
If each attempt needs a live agent loop, use the curated TaskSpec and
RolloutEngine path described in the evaluation task reference.
Implement
- Pin the dataset commit and exact files. Count the evaluated rows from the
pinned files; never copy a population from a paper. - Keep sampling at the served model's defaults unless the reference fixes it;
fixed values apply to every model evaluated. - Put prompt rendering, conversion and scorers in
lib/taskcompendium; put
pins and protocols inexperiments/evaluation/benchmarks/. - Set the protocol
benchmarkto the intended--evalskey. - Bump the recipe and protocol versions whenever prompt or conversion code
changes; corpus identity does not hash that code. Changing an existingmultiple_choice_evaluationtemplate means bumpingEXPLICIT_TEMPLATE_VERSION,
which republishes every benchmark that helper builds; say so in the PR. - Do not add the benchmark to a suite in
configs/evaluations.yamlunless the
user asks.
Validate
Run every step; each produces evidence for the PR.
- Tests. Prompt rendering against a prompt copied from the reference's
output, and scorer cases for correct, incorrect, unparseable and ambiguous
answers. Run the affected tests and./infra/pre-commit.py --changed-files --fix. - Local corpus build. Build the full population with the curation driver
and compare every compiled request character by character with the
reference's rendering of the same rows. - Smoke. Run
uv run python -m experiments.evaluation.cli launchwith--model qwen3-0.6b --evals <key> --limit 50 --version dev --dry-run.
Use--evaluation-configwhen the selection needs a separate run settings
file. Remove--dry-runto submit. For CoreWeave, add--platform gpu --accelerator H100x1 --federated_cluster cw-us-east-02a.
Followuse-irisfor job monitoring with a bounded wait. Confirm withcli scoresthat every selected item is scored and no infrastructure
errors remain. - Full-population run and reference comparison. Run without
--limiton
the same model as the reference. For a per-item reference, report the
agreement rate and explain each disagreement. For a published score, report
both values with the standard error and name every known protocol
difference. - Grader spot check. For generation benchmarks, read at least 20 graded
responses from the archive, including every unparseable answer. For an LLM
judge, useaudit-grader.
A result outside two standard errors of the reference, or item agreement below
about 98% for likelihood benchmarks, is a bug until explained. Fix prompt or
extraction differences before publishing; do not tune toward the reference
number.
Hand off
Publish through manage-pr. The PR body states the source pin and license,
the reference implementation, the protocol choices, and a validation table:
model, population, score, standard error, coverage, reference value and
agreement. Link the run records with scores output. Clean up local corpus
builds and any reference-harness environments created for the task.