SCHEMA — pr-ai-analysis¶
The eval set for the CI failure analyst of
pr-review.yml(constitution § 19.11): past failed runs on pull requests, each with the verdict on whether the PR caused it and the phrases a correct root cause names; validated offline, and the composed prompt held to the workflow's byte budget, bypython3 tools/evals.py run pr-ai-analysis --dry-run.
Conventions¶
- Each case is one past failed run on a pull request in this repository;
sourcenames the run and the pull request. input.runs[].jobs[].logis the failed step's log as recorded, timestamps stripped and anything token-shaped redacted.
Structure¶
| entry | kind | purpose | rules |
|---|---|---|---|
cases.yml |
file | The cases (schema: evals/v1, mode: model, min_cases: 10) and the pinned model, which is the shipped analyst's |
required |
Placement¶
- A new failed run worth holding the analyst to → a case in
cases.ymlwith its run and pull request insource. - Anything unrouted → propose an entry in this table first, then create it.
Forbidden¶
- No secrets or credential-shaped strings in a log, and no private repository content.
- No case tuned to what a model happened to answer:
expectedcomes from what fixed the run.