Repository navigation
fix(cli): run, compare, arms, tasks, explore and repo exit with a message on bad input or output #238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
fix(cli): run, compare, arms, tasks, explore and repo exit with a message on bad input or output #238
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
51b51ec
fix(run): run and compare exit 2 with a message on a bad spec or snap…
vchamarthi 850f58f
fix(repo): repo run exits 1 with a message on an unreadable batch pin
vchamarthi d9fba9f
fix(repo): scan exits 1 with a message on a --static or --manifest-fi…
vchamarthi f18c269
fix(arms): plugin-delta exits 1 with a message on an unreadable arms …
vchamarthi 3b5478b
fix(explore): list and run exit with a message on a malformed task file
vchamarthi 382b2d9
fix(arms): run and matrix-run exit 1 with a message on an unreadable …
vchamarthi e2e9b83
fix(tasks): run exits 1 with a message when --out-json or --out-md ca…
vchamarthi 57f1f91
fix(repo): report and compare exit 1 with a message on a corrupt batc…
vchamarthi e7bf343
fix(explore): run exits 1 with a message when --out-json or --out-md …
vchamarthi fc00a6d
fix(repo): budget and reach exit 1 with a message on an unreadable or…
vchamarthi eea0ff2
fix(arms): plugin-delta exits 1 with a message when an output cannot …
vchamarthi 4eaef5b
chore: changelog fragment and growth baseline
vchamarthi 51a65ee
Import a public load_benchmark_spec in the run command
antonwolfy 9ed23f4
Exit with a message on unwritable run, compare and arms outputs and o…
vchamarthi 345757b
Report deeply nested JSON in matrix cells and snapshots as an input e…
vchamarthi 14e1738
Split compare_snapshots and match the Error: prefix in benchflow tests
vchamarthi 8d62e91
fix(repo): repo run exits 1 on a deeply nested batch pin
napetrov 71587b3
fix(repo): repo report and compare exit 1 on a result file without a …
vchamarthi 6db68b0
Type _load_snapshot as Any and match the lowercase error: prefix in t…
vchamarthi 89b9aa7
Print the benchflow preflight failure with an Error: prefix in subjects
antonwolfy 48d0d7f
fix(cli): validate compare spec shape, finite snapshot numbers and ce…
vchamarthi 2aff0e3
fix(cli): reject non-finite cell costs, missing score and bad score_t…
vchamarthi d9582bf
Merge origin/main into fix/cli-input-run-arms-repo
vchamarthi 62a4d94
fix(cli): reject malformed cell fields and check regression threshold…
vchamarthi 6e782be
fix(cli): treat an unreadable batch pin as a message, not a traceback
vchamarthi d583f54
fix(repos): bound numeric cell fields and cover accepted skills blocks
vchamarthi 40a759e
fix(repos): lower the cell magnitude bound so variance stays finite
antonwolfy dec3b34
fix(repos): reject score-only cells without a score and pin the bound…
vchamarthi 276795d
test(repos): build the bound-edge cells from _SAFE_MAGNITUDE
antonwolfy 731db39
fix(cli): report unexpected cell shapes and unreadable question sets …
vchamarthi 3782fa3
test(repo): pin each cell-shape error caught by repo report and compare
vchamarthi d0b3745
fix(repo): record a non-integer agent.num_turns as null
vchamarthi f71c490
fix(repo): count a finished run as started whatever its num_turns holds
vchamarthi 10151bd
fix(cli): catch deeply nested and non-UTF-8 repo inputs and a missing…
vchamarthi d471db7
Merge remote-tracking branch 'origin/main' into fix/cli-input-run-arm…
vchamarthi b8b5278
fix(repo): record a non-finite grader score as a grader failure
xaleryb 883f356
test(repo): pin that a finished run with no tool call is counted
xaleryb a5af9bc
docs(run): say which exit code an empty root gives with --strict
xaleryb 935e871
Merge intel/main into fix/cli-input-run-arms-repo
xaleryb 333d630
Test that the grader score bound is inclusive at its edge
antonwolfy f128b52
Word the score-bound grader failure for non-finite and huge scores
antonwolfy 08b9778
fix(arms): matrix run exits 1 when a cell cannot read its inputs
vchamarthi 1f946af
fix(repo): name an unreadable manifest and a bad --static file
vchamarthi 3676296
fix(explore): reject a falsy non-string repo_root and name a task fil…
vchamarthi 142aa94
fix(repo): report a cell field of the wrong shape per cell and read a…
vchamarthi 2ac7e40
fix(run): exit 2 only on a bad spec, snapshot or document selection
vchamarthi fcf3b10
fix(repo): note a non-integer num_turns in agent.trace_errors
vchamarthi c6ee9c3
test(repo): compare the batch path in a platform-independent form
vchamarthi dd7d4e6
docs(changelog): list the fixed bad-input cases
vchamarthi 13dd420
fix(repo): leave a process counter or grade metric beyond the bound o…
vchamarthi 4c6f15b
fix(explore): name the task file when a reference's lines range is in…
vchamarthi 9e8067f
fix(tasks): prefix the harness validation exit with Error: and test a…
vchamarthi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
dokimi/changelog.d/20261025_120000_vchamarthi_cli-input-run-arms-repo.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| ### Fixed | ||
|
|
||
| - **`run`, `compare`, `arms`, `tasks`, `explore` and `repo`** exit with a message instead of a traceback on the unreadable, non-UTF-8 or corrupt spec, snapshot, result, plan, task and question files their tests cover, and on an unwritable output. This covers a deeply nested `--manifest-file`, `--static` or `--harness` file, an unreadable or non-UTF-8 `.agent-eval/repo-eval.yaml`, a `tasks run --tasks` name that matches no task, and an `explore` task file with an invalid YAML timestamp, a bad `lines` range or a `repo_root` that is not a string. | ||
| - `run` and `compare` exit 2 on a bad spec or snapshot (a non-numeric summary value, an empty or absolute `golden_manifest` include pattern, or fewer documents than its `min_docs`) and exit 1 when an output cannot be written, as `arms` does. An error inside a metric is no longer reported as bad input. `tasks` error messages use the `Error:` prefix. | ||
| - `repo report` and `repo compare` exit 1 on a result file without a usable `grade`, `agent`, `task`, `arm` or `model`, naming the file. A grader score that is NaN, infinite or beyond 1e150 is recorded as a grader failure, and a batch that already stores one is read the same way. A `process` counter or `grade.json` metric that is not finite or beyond 1e150 is left out of the means, as a non-number is, instead of ending in an overflow traceback. | ||
| - `repo run` records `agent.num_turns` as null when the harness reports anything but an integer, and notes it in `agent.trace_errors`; a finished run with such a value still counts as started. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.