$ the-wire · showcase
Inspect fixes number-matching false positives and reordered limit checks
By RepoJournal · Filed · About Safety Evals · Composed from the cited sources · methodology
Inspect reworked how model calls are charged against limits and closed a scoring hole that let wrong numeric answers pass, two changes that alter eval results you may already have published.
fix: match(numeric=True) no longer scores "160%" correct against a "60%" target (#6835) UKGovernmentBEIS/inspect_ai
With numeric=True, a target of "60%" was never treated as a plain number, so the match fell through to boundary-free endswith/startswith/in checks and "The answer is 160%", "1,060%" or "12.5%" against "2.5%" all scored correct. If percentage-answer tasks are in your suite, previously scored runs can be inflated.
fix: limits one model call reaches are all raised, and turn_limit(N) allows N generations (#6886) UKGovernmentBEIS/inspect_ai
A call that crossed both a token limit and a cost limit used to error on the first while the second was silently missed, because tokens, then cost, then the turn were recorded in separate frames. All reached limits are now raised together, and turn_limit(N) permits N generations as documented rather than cutting off at the boundary.
fix(openai): map a content_filter error type with a numeric code to a refusal (#6832) UKGovernmentBEIS/inspect_ai
Moonshot's content filter returns HTTP 400 with type: content_filter and a numeric code of 400, which Inspect did not read as a refusal. Those turns now map to refusals instead of surfacing as provider errors, so filtered samples stop showing up as infrastructure failures.
fix: read and replay Anthropic advisor tool blocks; agent bridges refuse the advisor tool (#6911) UKGovernmentBEIS/inspect_ai
Claude's advisor tool (advisor_20260301) adds a server_tool_use block plus an advisor_tool_result whose content is plaintext, redacted, or an error, and every current advisor model returns the encrypted form. Inspect now reads and replays those blocks, while agent bridges refuse the advisor tool rather than passing it through.
build: bump the python-packages group with 5 updates safety-research/petri
The Python package group moves to pydantic 2.14.4, pyyaml 6.0.4, ruff 0.17.6, markdown 3.11.4, and panflute 3.0.0, the one major bump here. Separately, Petri now pins Dependabot away from the 2026-11-22 typeshed stubs until pyright 1.1.415 lands, so grouping failures in grouped dependency PRs are expected rather than real.
Action items
- → Upgrade inspect_ai and re-run percentage-answer evals: match(numeric=True) was scoring answers like 160% correct agai... UKGovernmentBEIS/inspect_ai [plan]