fix(bench): isolate Terminal-Bench venv#414
Merged
Merged
Conversation
tangletools
approved these changes
Jun 29, 2026
tangletools
left a comment
Contributor
There was a problem hiding this comment.
✅ Auto-approved drewstone PR — e647c27f
This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.
tangletools · auto-approval · reason: drewstone_author · 2026-06-29T23:02:23Z
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.
Summary
tb runexecution to an isolatedTERMINAL_BENCH_VENV/.venv-terminal-benchCOMMIT0_VENVpattern so AppWorld can keep its Pydantic-1 shared env while Terminal-Bench/LiteLLM use Pydantic 2Why
Agent-lab R139 reached the Terminal-Bench adapter but failed preflight before scoring: shared
bench/.venvhad Pydantic 1.10.26 for AppWorld, while Terminal-Bench/LiteLLM require Pydantic >=2.10. This unblocks the public shell-task readiness lane without any lab-side special case.Refs #413
Verification
pnpm install --frozen-lockfilepnpm --dir bench install --frozen-lockfilepnpm --dir bench exec tsx --test src/benchmarks/terminal-bench.test.mtspnpm --dir bench exec tsx --test src/benchmarks/terminal-bench.test.mts src/benchmarks/commit0.test.mts src/benchmarks/appworld.test.mtspnpm --dir bench exec tsc --noEmit --pretty falsepnpm typecheckpnpm testpnpm build