Skip to content

feat(benchmarks): SWE-agent normalizer skill — corpus complete, all four families importable - #531

Merged
drewstone merged 1 commit into
mainfrom
r3/sweagent-importer
Aug 3, 2026
Merged

feat(benchmarks): SWE-agent normalizer skill — corpus complete, all four families importable#531
drewstone merged 1 commit into
mainfrom
r3/sweagent-importer

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

What

The last CodeTraceBench family: a sweagent_traj CodeTracer user-skill + prepare-bulk.py routing, following the OHT2 pattern exactly (pinned CodeTracer 2d302191, dataset revision aa213b84, fail-loud per row).

Upstream has no SWE-agent parser (verified at pin and HEAD); the convention was derived empirically over all 108 archives — one-step-per-trajectory[]-entry matched 106/108 (vs 21/108 for both alternatives; derivation table in receipts). The 2 failures are function-call-style trajectories whose published views cannot reproduce the annotated count (45/48 and 92/94 empty response fields) — excluded loudly, never imported.

Live result

106/108 imported: 4,370 steps, 8,952 spans, 200 gold incorrect steps across 57 labeled rows. Receipts + labels + traces durable in ~/bench-cache/ctb-20260801/sweagent/.

Proof

  • Seeded spot proof 3/3 (agent) + independent operator re-check on a fresh seed (46 == 46 == 46).
  • Aggregate methodology validated by recomputing the shipped OpenHands report exactly (581/47/162).
  • Battery: biome clean (664 files), tsc clean, vitest 4685 passed / 3 skipped; merge-tree clean.

Calibration note for future sealing: a constant last-or-penultimate rule touches 39/106 rows (crude F1 ≈ 0.26) — positionally milder than the retired split3 (0.568) but any sealed SWE-agent split requires the full constant-rule calibration first (recorded in the README).

Corpus status after this: mini-SWE 133, OpenHands 496, Terminus2 220, SWE-agent 106 — 955 labeled sessions importable, zero families remaining.

Add the sweagent_traj CodeTracer user skill (one step per trajectory[]
entry, blanks included; 106/108 verified rows reproduce the annotated
step_count), route the SWE-agent family through prepare-bulk.py, and
record the import results. The 2 mismatched rows publish function-call
style trajectories whose annotated view condensed the run; they fail the
step-count gate instead of importing misaligned labels.
@drewstone
drewstone merged commit 95673b8 into main Aug 3, 2026
2 checks passed
@drewstone
drewstone deleted the r3/sweagent-importer branch August 3, 2026 06:26
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