← News

Model evaluation

inspect_ai v0.3.292 Breaking Release Forces Eval Pipelines to Read Logs

UK government BEIS's inspect_ai ships v0.3.292, a breaking release: disposition helpers return None, log CLIs drop --json, and sandbox hooks move to the launch directory.

Published: 2026-11-23 18:10 UTCUpdated: 2026-11-23 18:10 UTCSource date: 2026-11-23

Official announcement

The maintainers of inspect_ai at the UK government's BEIS published v0.3.292, dated 2026-11-23, and describe it in their release notes as a breaking release. The following summarises the publisher's own claims about its own project; this article is commentary.

According to the notes, exclude_samples() and zero_samples() now return None, DispositionResult is no longer exported, and callers must read affected samples and scores from the log instead of result.applied / result.unchanged. On the command line, inspect log exclude and inspect log zero drop the --json flag and print a summary rather than per-sample lines.

For sandboxes, the provider hooks task_init, task_init_environment and task_cleanup now run in the launch directory rather than the task directory; a non-Docker provider whose task_init_environment returns variables fails setup with a PrerequisiteError. New features include per-Task max_samples, --delete-shards for merged logs, a view_image() tool for reading sandbox image files, Gemini 4 Neon support, a GPT-6.2 warning when replayed reasoning is discarded, and Claude Mythos 5.2 in the model database with a fix for thinking-block binding 400s after history edits. Fixes cover Grok reasoning tokens missing from output_tokens (undercounting cost and output limits), Google --seed now applying to Gemini, Bedrock cross-region prefixed model info, and several sandbox cleanup and LookupError issues on E2B, Modal and Daytona.

Analysis

For LLM API teams running evaluations on inspect_ai, the return-value change is the immediate concern: scripts or CI steps that consume .applied / .unchanged or parse JSON from log exclude/zero will break after upgrading, potentially silently, and should be rewritten to read the log or the summary output.

The hook working-directory change is a concrete risk mainly for custom, non-Docker providers: relative paths now resolve from the launch directory, and initialisation that returns environment variables can fail outright with PrerequisiteError. Teams on Docker and its subclasses are not on that failure path.

The Grok token-counting and Google tool-prompt token-accounting fixes change cost and output-limit numbers, so differences between historic eval runs and post-upgrade runs may reflect corrected accounting rather than model behaviour. All of this rests on the release notes and has not been independently verified.

What remains unverified

The announcement offers no independent testing or migration guide for the breaking changes. Open questions include which specific call paths fail silently on the None returns, whether results stored in older logs still read correctly, whether non-Docker providers are entirely unaffected when task_init_environment returns no variables, and how much the token-accounting fixes shift reported costs across providers.


Related articles