Skip to content

fix(catalogue): handle patch encodings and discard stale check rewards - #732

Merged
aitianshi merged 2 commits into
mainfrom
fix/benchmark-test-cleanup
Dec 2, 2026
Merged

aitianshi merged 2 commits into
mainfrom
fix/benchmark-test-cleanup

Conversation

@aitianshi

@aitianshi aitianshi commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #705
Closes #702
Closes #692
Refs #724

What

Three benchmark integration defects:

#724 already uses stdin for catalogue-bearing route programs on main; skipped.
Pages and CLI stay unchanged: benchmark checks and inventory text only.

Verified

  • Backend: 46 tests, three Docker skips; definitions: 33 passed.
  • Builder routes: 147 tests passed using checkout-local temporary storage.
  • Full routes: 967 tests attempted, 10 modules failed; output includes exhausted /tmp inodes.
  • Encoding regression shared with Multilingual; stale and fresh rewards checked.
  • Docs check: zero findings; generated catalogue docs unchanged.

Risk

Invalid UTF-8 bytes become replacement characters in the grader's patch string; the original patch file stays intact. The scorer uses the patch's presence and test log.
Removing pre-existing rewards intentionally changes an early verifier failure from a possible false pass to zero.
Real benchmark containers were not run for this PR; its original full route suite was not green.
Undo: revert.

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

This comment has been minimized.

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

🔴 PR judge · 2 of 5 yes · #732 ↔ #692

Merge risk 🔴 MAJOR the judge's reading of the diff
Depth 🟡 MEDIUM the deepest path is app/nullius/catalogue/benchmarks/swe-bench-verified/driver.py
Question Verdict
Changes do what the issue asks · 1 of 1 criteria ✅ yes
Issue and pull request describe the same change ⚠️ partly
Description matches the diff ✅ yes
Diff stays in scope ❌ no
Risk named in the description ⚠️ partly
Before and after shown –
Acceptance criteria, 1 of 1 met
# Criterion Verdict
1 The inventory row names the per-task grant ✅ met
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 ✓

@aitianshi

Copy link
Copy Markdown
Collaborator Author

The judge selected #692 alone. This PR also closes #702 (stale reward files) and #705 (patch decoding), which account for the two runtime changes and their regressions. All three are named in the description; the risks now explain replacement decoding and the intended scoring change. No implementation defect was identified in this review.

@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 2, 2026
@aitianshi
aitianshi merged commit 2faea2b into main Dec 2, 2026
4 checks passed
@aitianshi
aitianshi deleted the fix/benchmark-test-cleanup branch December 2, 2026 15:06
@github-actions github-actions Bot removed the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 2, 2026
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