Repository navigation
Conversation
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Change
Adds Terminal-Bench 2.1 as a Harbor benchmark example,
examples/terminal_bench_2_1/, with no-adapter baselines andthe AHE Adapter for Codex and Claude Code. Nothing under
hermit/changes: the existing Harbor path(
python -m hermit.harbor.dataset prepare,environment.harbor,hermit.task.verify:environment) runs 2.1 as it is.The task set. The Harbor hub's
terminal-bench/terminal-bench-2-1, pinned at revision 6 (itsl 8000 atestsince2026-04-30; Harbor treats an integer ref as a fixed revision, while a tag can move). It is Terminal-Bench 2.0's 89 tasks,
29 of them changed: the 28 in the 2.1 announcement, plus
pytorch-model-recovery, whose image was rebuilt. Of the 29,24 changed in what the agent or verifier sees (instructions, tests, images, limits), and 5 only in their reference
solution. The README's Task changes table lists them, from a
diff against the
terminal-bench@2.0download thatterminal_bench_2_0/utils/dataset.locklocks.Compatibility, checked against the downloaded tasks:
task.tomlfiles (schema_version = "1.1") load in Harbor 0.25.0'sTaskmodel and in Hermit'shermit.task.directory.[[steps]], no separate verifier,mcp_servers = [](Harbor refuses only anon-empty list), no skills,
gpus = 0, public network.alexgshaw/<task>:<tag>image. 79 are 2.0's, with the same tags; the 10 new tags exist onDocker Hub. 21 GB compressed in all (2.0's: 49 GB).
Protocol decisions:
agent_timeout_sec: null): 600 to 12,000 s, as the 2.1 leaderboard runs them, wherethe 2.0 example caps every task at the AHE paper's 3,600 s. Only
build-pov-ray(12,000 s) andsam-cell-seg(7,200 s) allow more than an hour.
nprocreport the CPU quota in only two tasks), the start'slimit x3,
docker_cleanup: rmi_task_imageand the disk gate.terminal_bench_2_0/, which SWE-bench Verified's and Terminal-Bench-Science'stransfer runs and the tests refer to.
test). RRSI is the method whose paper reports 2.1, and the README names it as the next to add: its port needs a
Terminal-Bench domain (texts, critic patterns, smoke tasks), not written yet.
Files:
examples/terminal_bench_2_1/:utils/benchmark.yaml.preparewrites:dataset.lock,splits/,image_sizes.json.utils/rows/: feat(tasks): package OfficeQA Pro paired GLM evaluation #1 and feat(evolvers): GEPA and SkillOpt as built-in Evolvers, with the SkillOpt paper's OfficeQA setting #2 for training, feat(tasks/OfficeQA): OfficeQA Pro as a harnessadapter Environment (stacked on #2) #3 and examples: a folder per method, tasks shared under examples/tasks (old folders kept) #4 for the test.utils/task-info/README.md.baseline/{codex,claude}.yaml.ahe_adapter/{run,smoke}_{codex,claude}.yaml: 2.0's configs; outside the comments they differ only injobs_dir(tb21-*).README.md.terminal_bench_2_1added toIN_SAMPLEand
METHODS.docs/framework/task.md (the examples list), CHANGELOG.md.
Validation
Run on Linux (RHEL 9, Docker, bubblewrap), Python 3.12, Harbor 0.25.0, at be2eba7.
python -m pytest --changed: 1474 passed, 12 failed, 112 skipped (15 min).origin/main(899597b) on this machine (12 failed, 245 passedover the same seven files), so none come from this branch. They are intests/methods/ahe/,examples/cap_harness/,examples/robodojo_sim/,tests/core/test_task.pyandtests/core/test_harbor_environment.py.hermit.~/.cacheis a symlink to/scratch, so path comparisons see/scratch/...where they expect/home/....rrsidependency group is not installed.CI is the clean check.
python -m pytest tests/core/test_harbor_examples.py: 109 passed (5.8 s). 18 of those tests are parametrized overterminal_bench_2_1and cover: each config loads as Hermit loads it, Harbor settings pass the environment's checks, the method tests on the baseline's rows with the profile's model, no train row is a test row, in-sample rollouts 1–2 / 3–4, and every learner is sandboxed with no web search.bash docs/build.sh(withdocs/requirements.txt): build succeeded (warnings are errors).python -m hermit.harbor.dataset prepare examples/terminal_bench_2_1/utils/benchmark.yaml: downloaded and checked the 89 tasks against the lock, and wrote 358 rows toutils/tasks.jsonl. The regeneratedutils/splits/andutils/image_sizes.jsonare byte-identical to the committed ones (git statusclean).hermit check --no-probeon all six configs. Problems reported:evolver: No Evolver named 'eval-only'(baselines)no hard budget is set(all six)train and test share 2 tasks(smokes)These are the expected problems that examples/README.md documents for every Harbor example. Login:
chatgptok for the Codex configs. The Claude configs reportCLAUDE_CODE_OAUTH_TOKENnot set, because no Claude token was available on this machine.Smoke, Codex (GPT-5.6-Luna),
ahe_adapter/smoke_codex.yaml:hermit train: 2 steps, 4/4 trials scored 1 (fix-git 96 s / 97 s, log-summary-date-ranges 61 s / 69 s); 0 infra, 0 timeouts, 0 agent errors. Rollout tokens: 523,796. Learner tokens: 803,790. Total time: 2,150 s.MEMORY.md.INEFFECTIVE, and the Evolve Agent removed the notes.finalis the step 1 best-ever adapter, whose files matchroot.hermit eval --adapter final: 2/2 scored 1,errors: 0, 840 s.Confinement: all 8 learner launch records (
sandbox/learner-{1..8}.json) haveprobe.passed: true. Each rollout's verdict records its Harbortrial_dir.Two overrides were needed for this machine, not for the configs:
environment.harbor.disk_gate_gb=15, because this shared host's Docker disk had 22.8 GB free (the two smoke images need about 0.5 GB)environment.harbor.jobs_dir=/scratch/.../tb21-codex-smoke, because a root-owned~/.cache/hermit/harboron this host blocked the default pathWith the default path, every trial failed as
host_failed(PermissionError). Hermit correctly reported those trials as infra and unscored, not as agent failures.Not verified
rollback: autopath that reverts aHARMFULedit: the smoke judged nothing harmful.Review
parametrized checks in
test_harbor_examples.py: rows feat(tasks): package OfficeQA Pro paired GLM evaluation #1/feat(evolvers): GEPA and SkillOpt as built-in Evolvers, with the SkillOpt paper's OfficeQA setting #2 and feat(tasks/OfficeQA): OfficeQA Pro as a harnessadapter Environment (stacked on #2) #3/examples: a folder per method, tasks shared under examples/tasks (old folders kept) #4 from the lock, the profiles' models andlogins, every config loading and passing the Harbor environment's checks. No new test functions. The docs are
listed under Change.
run names and folder layout.
Claude Code agents in each task's Harbor environment.
*/runs/),utils/tasksand
utils/tasks.jsonlare gitignored and not committed; the lock names no path of this machine.hermit.harbor.dataset preparefromdataset.ref, with nodataset.patch. They run in Harbor's environments withhermit.task.verify:environment.rows_of's public half, and there is nodata.view. The tests andthe reference solution stay in the task directory, which only the verifier reads. The feedback is the
verifier's output tail, as in 2.0.
task.tomldeclares its time limits, CPUs and memory (up to 4 CPUs and 8 GB),applied by Harbor. The effective agent limit is the task's own (
agent_timeout_sec: null, noagent.timeout_min); the verifier's is x5 and the start's x3. Six trials at a time can ask for 48 GB.hermit trainandhermit eval, above.🤖 Generated with Claude Code