$ the-wire · showcase
inspect_ai 0.3.293 makes append scoring strict
By RepoJournal · Filed · About Safety Evals · Composed from the cited sources · methodology
inspect_ai 0.3.293 turns a silent scoring foot-gun into a hard error, ships two eval-runner fixes operators will feel on long multi-epoch runs, and inspect_evals corrects a MATH bug that scored valid answers wrong.
v0.3.293 UKGovernmentBEIS/inspect_ai
by github-actions[bot]
The release makes `score(action="append")` raise `ValueError` when its `epochs_reducer` differs in name, parameters, or order from the reducers recorded on existing scores (mean if none was recorded). If you append to an existing log, either omit `epochs_reducer` to inherit the log's reduction, or use `action="overwrite"` with every scorer whose results you want to keep. It is a breaking change...
fix: multi-epoch eval no longer aborts when a metric rejects partial epochs during progress or cancellation UKGovernmentBEIS/inspect_ai
A metric that rejects the partial reduction of a half-finished sample, where some epochs hold `None` for a key and later epochs hold a value, used to end the whole eval with status `error` or leave a cancelled run's log unwritten. It now survives that rejection during live progress and cancellation, so multi-epoch runs and the logs from runs you stop by hand come back intact.
fix: inspect ctl config --max-connections reaches models that start generating after the retune UKGovernmentBEIS/inspect_ai
`inspect ctl config --max-connections` used to retune only connection controllers that already existed, so a grader, role model, or task added after the retune started at its configured ceiling, and a retune with no matching controller was dropped with a "not adjustable" warning. Each retune is now recorded and applied to models that begin generating later in the run, which matters most when yo...
fix: handle outer LaTeX delimiters in MATH answers UKGovernmentBEIS/inspect_evals
MATH answers wrapped in `\(...\)` or `\[...\]` were scored incorrect by `expression_exact_match` and `expression_exact_match_sympy`, since `extract_answer()` passed the outer delimiters straight into scoring: `\[\frac{1}{2}\]` did not match `\frac{1}{2}`, and `\[x = 5\]` normalized wrongly because splitting on `=` left the closing delimiter attached. The fix unwraps those delimiters, and the ch...
build: bump the six-hour-cooldown group with 3 updates safety-research/petri
The rest of the day is dependency plumbing: petri bumped its six-hour-cooldown group of `inspect-ai`, `inspect-scout`, and `openai`, carrying `inspect-ai` to 0.3.293 and pulling the append-scoring change into anything built on petri, and inspect_ai separately adjusted eval_set scanners for `inspect-scout` 0.7.0's async-generator `_scan_one`.
Action items
- → Upgrade inspect_ai to 0.3.293 and check any `score(action="append")` call for a mismatched `epochs_reducer` before ru... UKGovernmentBEIS/inspect_ai [immediate]