SCHEMA — evals¶
The agent eval sets (constitution § 13.1): one directory per agent role, each holding the role's tasks with their expected output, run by
tools/evals.pyand checked offline bytools/test_evals.pyin thepython-testsworkflow.
Conventions¶
- One directory per role, named as
tools/evals.pyADAPTERSnames it; the directory holds exactly onecases.yml(schema: evals/v1). - Every case has
id,source,input,expectedandpass; a set may addrubricfor an LLM judge andmin_casesas a floor the runner enforces. sourceis the real task a case came from: an issue, a pull request, a ledger row, a conversation. A role with no history yet may hold a case written for one stated rule of its prompt instead, on three conditions:sourcesays so and quotes the rule, the set's header says that its cases were written this way and are to be replaced (the runner reports how many there are), and a real task replaces the case once one exists.console-assistis the first such role: it was written when its model had answered two messages, neither on a page that was recorded.- A model-backed set names its
model, an id in_data/fleet.ymlai_models.allowed, or, where the role's own configuration pins one,model_fromnaming that key.
Structure¶
| entry | kind | purpose | rules |
|---|---|---|---|
README.md |
file | What an eval set is, the case format, and how to run and grow one | required |
console-assist/ |
dir | The console's assistant (assist op): a question, a recorded page and deterministic rules; validated offline, model-run by hand on a canary subset |
required |
jev-classify/ |
dir | JEV's deterministic conflict classifier (tools/jev/classify.py), run fully offline |
required |
t1-intake/ |
dir | Issue-pipeline tier 1 intake: ready / blocked and the type label; schema-checked offline, model-run locally | required |
Placement¶
- New agent role →
<role>/cases.ymlhere, an adapter intools/evals.pyADAPTERS, a row in this table, and the role named indocs/EVALS.md. - Anything unrouted → propose an entry in this table first, then create it.
Forbidden¶
- No secrets, tokens or private issue text in a case —
inputis a summary of a public issue. - No case invented to make a set pass. A case written for a rule is held to the convention above: it names the rule it tests, and it is never tuned to what a model happened to answer.