Skip to content

Fix/image history and eval guards - #2

Merged
YerbaPage merged 4 commits into
mainfrom
fix/image-history-and-eval-guards
Nov 21, 2026
Merged

YerbaPage merged 4 commits into
mainfrom
fix/image-history-and-eval-guards

Conversation

@YerbaPage

Copy link
Copy Markdown
Collaborator
  • Task images: remove upstream history newer than each task's base commit (the fix commit was reachable with git log --all), clean git status, clear build-site proxy settings (docker/).
  • 11 images include the dependencies their offline eval needs (Bazel, Gradle jars).
  • 15 images gain curl (12) or gcc/make (3), which agents that install themselves inside the task container need (docker/Dockerfile.agent-deps).
  • 21 eval scripts now fail when their build step fails (data/eval.json, tools/make_eval_fix.py).
  • test_run.py: evaluation containers capped at 12 GB / 4 CPUs.
  • New src/inference/run_mini_swe_agent.py: runs mini-swe-agent with the task container offline and writes preds.json for test_run.py; README "Running an Agent" section.

All 170 instances: reference patch passes, empty patch fails.

YerbaPage and others added 4 commits November 20, 2026 21:40
- Images: remove upstream history newer than each task's base commit (the fix commit was reachable via
  git in 169/170 images); bake in offline test dependencies for 11 tasks; clear build-site proxy ENV.
  docker/ holds the scripts to rebuild and check the images.
- eval.json: 21 scripts now fail when the build fails instead of running a stale test binary
  (deskflow__deskflow-c_5fa70d0 and bloomberg__blazingmq-827 passed with an empty patch).
- test_run.py: cap evaluation containers at 12 GB / 4 CPUs (configurable).
- Verified with test_run.py under --network none: reference patch passes 170/170, empty patch 0/170.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
…age-side edits skip-worktree

So git status is clean in a fresh container and a collected agent patch only contains the agent's changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
…ages

- src/inference/run_mini_swe_agent.py: runs mini-swe-agent (default `mini` config) with the agent on the
  host and the task container on --network none (12 GB / 4 CPUs), collects the diff against the base
  commit, writes preds.json for src/evaluation/test_run.py.
- docker/Dockerfile.agent-deps + agent_deps.txt: curl for 12 images, gcc/make for 3, which agents that
  install themselves inside the task container need. Reference passes / empty fails on all 15.
- README: "Running an Agent" section and change log entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
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