8000 Task docs: the two ways a benchmark runs, Harbor's environments or Hermit's own by haizhongzheng · Pull Request #126 · Infini-AI-Lab/hermit · GitHub
[go: up one dir, main page]

Skip to content

Task docs: the two ways a benchmark runs, Harbor's environments or Hermit's own - #126

Merged
haizhongzheng merged 1 commit into
mainfrom
docs-benchmark-modes
Nov 22, 2026
Merged

haizhongzheng merged 1 commit into
mainfrom
docs-benchmark-modes

Conversation

@haizhongzheng
Copy link
Copy Markdown
Member

What

A benchmark enters Hermit in one of two ways, and the docs described them in separate places with no side-by-side
view. docs/framework/task.md gains a section, "Two ways a benchmark runs", before "Task directories":

  • A. In Harbor's environments (environment.harbor): Harbor's Trial.run() owns the task's container and its
    verifier; the agent's commands reach the container through the bridge.
  • B. In Hermit's own environment (task directories in Harbor's format): bubblewrap by default, the host
    (environment.runner: host) or environment.image; Hermit runs tests/test.sh or a host judge; Harbor is not
    needed at run time.

Two diagrams of the same geometry (docs/_includes/benchmark-modes.html, styled by the existing
harbor-diagrams.css), then a table: run config, environment/, where the agent runs, who runs the task, the
verifier, task.toml limits, Harbor at run time, what is refused, and the examples of each (checked against every
folder in examples/: the ones with environment.harbor are A, the rest B).

Docs only; no code changes.

Checks

  • bash docs/build.sh (warnings as errors): passes.
  • Each claim in the table checked against the code: hermit/environment/spec.py checks network and memory_mb,
    not cpus; the refusals are the ones task.md already lists for each mode.

Review

None, at the maintainer's request (docs only).

🤖 Generated with Claude Code

…rmit's own

docs/framework/task.md gains a section before "Task directories" that compares the two ways a benchmark enters
Hermit: A, in Harbor's environments (environment.harbor; Harbor's Trial.run() owns the container and the verifier,
the agent's commands go through the bridge), and B, in Hermit's own environment (task directories in Harbor's
format, bubblewrap by default, the host or environment.image; Hermit runs tests/test.sh or a host judge). Two
diagrams of the same geometry (docs/_includes/benchmark-modes.html, styled by harbor-diagrams.css) and a table:
config, environment/, where the agent runs, who runs the task, verifier, task.toml limits, Harbor at run time,
what is refused, and the examples of each.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@haizhongzheng
haizhongzheng merged commit c3db471 into main Nov 22, 2026
1 check passed
@haizhongzheng
haizhongzheng deleted the docs-benchmark-modes branch November 22, 2026 20:33
iamziyuzhao added a commit to mmjzmy/hermit that referenced this pull request Nov 24, 2026
main moved hermit/task.py into the hermit/task package and replaced the
Harbor runner (agent.name: harbor, hermit/harbor/runner.py, harborside)
with Hermit's own agents in each task's HarborEnvironment (Infini-AI-Lab#112-Infini-AI-Lab#126).

Conflicts in hermit/task, the rollout, the Trainer and tests/selection.py
are resolved to main's side: they were the RunUnavailable plumbing, which
the next commits drop in favour of main's infra handling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0