Repository navigation
feat(tasks): run terminal-bench v1 tasks natively, export to Harbor lazily #212
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
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
f4ce883
feat(tasks): detect eval-task formats with `tasks inspect`
napetrov b9dd1a8
feat(tasks): task_inspect.v1 report, config-named datasets, LFS pointers
napetrov e4b4e80
test(tasks): real-format corpus for tasks inspect, with its manifest
napetrov ec91e10
feat(harnesses): per-phase network policy for docker-* runs, off by d…
napetrov bab9fa9
feat(harnesses): write network.json in every docker-* cell dir, error…
napetrov 8b73966
feat(tasks): run terminal-bench v1 tasks natively, export to Harbor l…
napetrov 5a0a2dc
feat(tasks): give terminal-bench v1 tasks 8 GB of memory, per task fr…
napetrov 183a6f3
test(tasks): tb-v1 on the network policy: public oracle/verify, agent…
napetrov 4f61d6a
fix(tasks): score a tb-v1 verifier on its one ordered output stream
xaleryb 586d805
fix(tasks): key the Harbor export on the task.toml it writes
xaleryb 39b2d04
fix(tasks): keep the Harbor export cache per user, not in shared /tmp
xaleryb 4c92aa5
fix(tasks): no harbor/benchflow consumer for a solution.yaml tb-v1 task
xaleryb cd1d348
fix(tasks): export a named tb-v1 Dockerfile as environment/Dockerfile
xaleryb 33cff32
docs: count xfailed tests as passing in the tb-v1 verdict rule
antonwolfy 5df4fce
Merge intel/main into feat/run-tbench-v1
xaleryb 5b48db0
fix(tasks): write non-BMP task metadata into the exported task.toml a…
xaleryb 9130f8a
fix(tasks): key the tb-v1 pytest results by node id, as the exported …
xaleryb 76e96e3
test(tasks): run the exported tb-v1 test.sh against a fake run-tests.sh
xaleryb 1628b51
fix(tasks): skip a task.yaml without an instruction when discovering …
xaleryb 04a89e3
fix(tasks): refuse a tb-v1 service command, build arg or target, or h…
xaleryb 618c60c
test(tasks): pin that the benchflow harness runs a tb-v1 task from it…
xaleryb 8c08dc3
test(tasks): pin the host-side agent refusal for a tb-v1 task
xaleryb a43b174
Merge intel/main into feat/run-tbench-v1
xaleryb 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
16 changes: 16 additions & 0 deletions
16
dokimi/changelog.d/20261024_100000_napetrov_run-tbench-v1.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,16 @@ | ||
| ### Added | ||
|
|
||
| - **terminal-bench v1 tasks run natively** — a `task.yaml` task | ||
| (laude-institute/terminal-bench `original-tasks/`) loads as a `TaskSpec` and | ||
| runs under `docker-oracle` / `docker-claude` as terminal-bench runs it: | ||
| `solution.sh` at `/oracle`, `run-tests.sh` and `tests/` at `/tests`, the | ||
| image's user, `TEST_DIR` and the compose environment, and the pytest summary | ||
| as the verdict. A task one `docker run` cannot reproduce (extra services, | ||
| volumes, tmpfs, ports, a service command, build args or target, a host | ||
| environment value; `solution.yaml`; `run_tests_in_same_shell`) is refused | ||
| with the reason. Harbor-backed harnesses and `benchflow*` run a Harbor copy | ||
| written lazily into a content-keyed cache; its `test.sh` scores the same | ||
| pytest summary. `tasks inspect` lists `docker-*`, `harbor` and `benchflow` as | ||
| consumers (only `docker-*` for a `solution.yaml` task, which has no Harbor export). A v1 task gets 8 GB of memory | ||
| (its compose `deploy.resources.limits.memory` when set; the default is | ||
| `DOKIMI_TBENCH_V1_MEMORY_MB`, else 8192), where other formats default to 2 GB. |
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
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.