fix(native-eval): reject invalid harness runs - #64
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 6, 2026, 9:17 AM ET / 13:17 UTC. ClawSweeper reviewWhat this changesThe branch records native-evaluation execution outcomes, rejects fully invalid runs from score eligibility, and requires an archived exit status during fleet recovery. Merge readinessKeep open: current main lacks this distinct native-evaluation fix, and the member-authored PR needs maintainer approval of its intentional stricter recovery behavior. Priority: P1 Review scores
Verification
How this fits togetherShellBench runs benchmark tasks through native harnesses, then aggregates trial artifacts into eligibility and score reports. Its fleet controller also recovers remote runs, determining whether archived work is completed, failed, or retried. flowchart LR
A[Benchmark task plan] --> B[Native harness run]
B --> C[Trial results and artifacts]
C --> D[Execution outcome classification]
D --> E[Aggregate eligibility decision]
C --> F[Final exported archive]
F --> G[Fleet recovery]
G --> H[Completed or retry state]
Decision needed
Why: The patch deliberately changes recovery semantics for existing archives; source review cannot choose the acceptable operational trade-off. Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Adopt explicit execution outcomes and archived-exit recovery after confirming that fail-closed handling of legacy exports is the intended operational policy. Do we have a high-confidence way to reproduce the issue? Yes in source: focused fixtures demonstrate a full OpenClaw exit-71 result set with rewards, and current main's eligibility path has no execution-acceptance gate. This read-only review did not run a live harness campaign. Is this the best way to solve the issue? Yes: recording execution status at runtime and enforcing it during aggregation avoids using verifier rewards or result count as proof of valid benchmark execution. The recovery-policy change still requires maintainer approval. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against 884dd1bb5511. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (35 earlier review cycles; latest 8 shown)
|
What does this PR do?
Records structured native-eval execution outcomes and rejects runs where every
trial failed at the harness, infrastructure, or verifier layer.
Why?
Verifier rewards are useful diagnostics, but they are not proof that the
benchmark harness executed correctly. Fully invalid runs were being presented
as completed score data, and fleet recovery could infer success without an
archived exit status.
Fixes #63
Changes
Tests
python -m pytest -qpasses on Blacksmith Testboxpython -m ruff check clawbench app.py scripts testspasses on Blacksmith TestboxFocused proof: 117 tests passed; Ruff clean. Autoreview reported no actionable
findings.