[ BENCHMARKS / v5.0 / TASKS / 179_git_bisect_revert ]

git bisect + minimal revert over 40 commits in Shell.

Find the commit that introduced a SemVer sorting regression in a 40-commit repository and fix it with exactly one new commit that changes only the offending hunk.

Unit
179_git_bisect_revert
Category
SWE / DevOpsRegression bisection
Language
Shell
Difficulty
Hard900 s wall clock (15 min)
Origin
New in v5
Ranked rows passed
7/7single seed each

The prompt

The agent receives exactly this text as its task, verbatim. The harness adds its own system prompt and, in some campaign arms, guidance of its own; the harness chapter describes those. The task’s setup also writes the files its working directory starts with (a worked sample, a repository or a service, where the prompt names them); they are not reproduced here.

Prompt · 179_git_bisect_revert
A git repository at /tmp/eval_bisect/semver holds semver.sh, a Bash SemVer 2.0.0 utility, and its test suite (bash tests/run.sh; exit status 0 means every test passed). On the tip of main (40 commits), `bash semver.sh sort 1.0.0-rc.10 1.0.0-rc.9` prints 1.0.0-rc.10 first. That is a regression: SemVer 2.0.0 compares numeric prerelease identifiers numerically, whatever their number of digits, so 1.0.0-rc.9 must come first. The release tag v0.3.0 is known to be good. Find the commit that introduced the regression and fix it.

Only the committed state of the repository is graded:
1. main is checked out with no bisect session left in progress, and main has exactly one new commit on top of its current tip: an ordinary non-merge commit whose parent is the current tip. Do not amend, rebase or otherwise rewrite existing commits.
2. The new commit's message contains the full 40-character SHA of the first bad commit (the commit that introduced the regression) and no other commit's full SHA.
3. The new commit changes only semver.sh, and only inside the offending hunk. In the zero-context diff of the first bad commit (git show -U0 <sha> -- semver.sh) exactly one hunk is responsible for the regression; the lines that hunk added are still present, unchanged and contiguous, in the current semver.sh. That block is the only part you may change (replace, delete or add lines within it); every line before and after it must stay byte-for-byte identical.
4. In the committed tree, bash tests/run.sh passes, and the compare, sort, max, satisfies and filter commands follow SemVer 2.0.0 precedence on hidden inputs.

The repository already has a git user name and email configured for committing.

What it tests and why it is in the suite

What it asks. Find the commit that introduced a SemVer sorting regression in a 40-commit repository and fix it with exactly one new commit that changes only the offending hunk.

Why it is here. A new family and the suite’s only shell unit, in SWE / DevOps.

In the suite README: evals/README.md:133 · evals/README.md:151

How it is graded

The validator holds its checks where the agent cannot read them, and runs them against what the agent left on disk once it stops. Its hidden cases are generated inside the validator from a seed; any worked sample the prompt names is only a sample, and no expected output for a hidden case is in the agent’s directory. Before any model ran it, the unit was proven: its reference solution passes, plausible wrong solutions fail for the reason declared in advance, an empty solution and a leak probe fail, and, where the unit is timed, a slow solution fails by the validator’s own limit. The family also went through up to three adversarial review rounds, in which an independent verifier tried to pass every unit without solving it.

Upstream: the prover’s controls · one unit’s life cycle · why v5 is built this way

How each ranked run did

One run per board row, the DGX Spark pair first, then the RTX 5090, then the gold standard. Each is a single seed: a pass or a fail on one unit is one draw, and a difference between two rows on one unit says little on its own. Claude Opus 5.5 is the unranked reference, in its own scaffold.

DGX Spark pair

One RTX 5090

Gold standard · unranked

  • Claude Opus 5.5Claude Code tools, no turn cap, 2× wallPassedPassed the validator.