Skip to content

fix(catalogue): preserve benchmark agent configurations and root permissions - #735

Merged
aitianshi merged 3 commits into
mainfrom
fix/agent-fidelity-issues
Dec 2, 2026
Merged

aitianshi merged 3 commits into
mainfrom
fix/agent-fidelity-issues

Conversation

@aitianshi

Copy link
Copy Markdown
Collaborator

Closes #687
Closes #691
Refs #686

What

  • mini-swe-agent loads each benchmark's published config, preserving prompts and limits.
  • SWE-agent selects its multilingual config and builds SWE-ReX's upstream Python provisioning recipe before starting the task container.
  • Own-image agents receive Harbor's IS_SANDBOX=1 marker.
  • Pages and commands use the same runner; neither adds options.

Verified

  • Backend: 3,736 tests; the sole failing module passed all 8 tests after shortening its Unix socket path. Routes: 969 passed.
  • Definition and docs checks passed.
  • Pinned mini CLI: published prompt, 250-call limit, Pro config preserved.
  • Java image: SWE-agent preparation and two mock model calls; first request contains the multilingual prompt.
  • Pinned Claude adapter: root ACP session starts in bypassPermissions.

Risk

@aitianshi

Copy link
Copy Markdown
Collaborator Author

Acceptance at 57220cb: #686 remains blocked.

  • Java google__gson-1014: SWE-agent starts, 3 relay calls, multilingual first prompt, upstream score 0 for a deliberately non-solving marker patch.
  • Verified pydata__xarray-7233: 3 calls, original Python prompt, upstream score 0; 189 PASS_TO_PASS tests pass, 1 FAIL_TO_PASS remains failing.
  • Go gin-gonic__gin-1957 and JavaScript preactjs__preact-3739: preparation fails before any call or score. SWE-ReX 1.2.1's floating python:3.11-slim builder produces Python requiring GLIBC_2.38, absent from these task images.

This is the upstream defect SWE-agent/SWE-ReX#239, fixed in its v1.4.0 release. An isolated dependency-update trial is ongoing; Verified already gives identical score details.

All calls use a local scripted HTTP provider; gpt-4o is only its protocol identifier. No real-model result or new conformance proof. Bounds: one unit per run, 5 calls, 150 s agent, 300 s verification. No change to this branch.

@aitianshi

Copy link
Copy Markdown
Collaborator Author

Follow-up draft #741 pins official SWE-ReX 1.4.0 and completes the bounded scripted-provider acceptance:

  • Java google__gson-1014, Go gin-gonic__gin-1957, JavaScript preactjs__preact-3739, Verified pydata__xarray-7233: three relay calls each; upstream score 0 for the deliberately non-solving marker patch; grader reports no infrastructure failure.
  • All three multilingual first requests use the multilingual prompt. Verified retains its Python prompt and identical score details, including 189 PASS_TO_PASS successes.
  • 969 route tests pass; definitions and docs checks pass. Two backend constraints tests remain blocked by shared /tmp inode exhaustion after the other failed modules pass on rerun.

No real-model run or new conformance proof. #686 remains open. This branch is unchanged; #741 is based on it.

@aitianshi
aitianshi marked this pull request as ready for review December 2, 2026 14:53
@github-actions

This comment has been minimized.

@github-actions github-actions Bot added needs review Tests pass, no conflict, no verdict on its latest commit merge conflict Conflicts with its base: merge or rebase it and removed needs review Tests pass, no conflict, no verdict on its latest commit labels Dec 2, 2026
…sues

# Conflicts:
#	app/nullius/catalogue/benchmarks/swe-bench-multilingual/driver.py
#	app/nullius/catalogue/benchmarks/swe-bench-pro/driver.py
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the merge conflict Conflicts with its base: merge or rebase it label Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

🟡 PR judge · 1 of 5 yes · #735 ↔ #687

Merge risk 🔴 MAJOR the judge's reading of the diff; app/nullius/standard/contract/definitions.py is in the path of every run
Depth 🔴 EXTREME the deepest path is app/nullius/standard/contract/definitions.py
Question Verdict
Changes do what the issue asks · 2 of 3 criteria ⚠️ partly
Issue and pull request describe the same change ⚠️ partly
Description matches the diff ✅ yes
Diff stays in scope ❔ undecided
Risk named in the description ⚠️ partly
Before and after shown –
Acceptance criteria, 2 of 3 met
# Criterion Verdict
1 The first request on SWE-bench Verified and Multilingual carries swebench.yaml's templates ✅ met (cut)
2 A unit there stops at 250 steps ❔ undecided (cut)
3 A benchmark can name the config its agent runs with ✅ met (cut)
Checks the script runs itself, 4 of 4 pass
No machine attribution trailer in the commits or the description ✓
New code under app/, docs/, .github/, .agents/ or .claude/ ✓
No Flask import under the backend package ✓
No key-shaped string in the diff ✓

some of the diff was cut before the judge read it

@aitianshi
aitianshi merged commit 162fb03 into main Dec 2, 2026
3 checks passed
@aitianshi
aitianshi deleted the fix/agent-fidelity-issues branch December 2, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant