Add the SWE-bench benchmark's dataset manifest, trajectory, grader and report types #94
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 229 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.325
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #94"
general
weight: 0.35
tomergee
First of three PRs for the Fast Substrate RL benchmark on SWE-bench Verified (go/substrate-rl-benchmarks, Fast rung). This one holds the data types and nothing that talks to a cluster:
dataset.go: the JSONL manifest, one record per SWE-bench instance (digest-pinned task image, gold patch, test patch, the harness eval script, FAIL_TO_PASS / PASS_TO_PASS, the repo's log parser), plus selection by id, limit and an exclusion list.trajectory.goandtrajectories/: the YAML rollout a task replays (run a command or write a file, with think time, timeout, expected exit, one reward step). The built-inswebench-golddoes what a SWE agent does with the gold patch standing in for the model's edit, and shipsswebench-grade.pyinto the sandbox. Grading matches the SWE-bench harness: the grader parses the log with the repo's parser and checks the FAIL_TO_PASS and PASS_TO_PASS tests under the harness's rules (skips, truncated parametrized ids, invalid runs). Neither the script's nor the test command's exit code is the verdict.events.go: one JSON line per operation (create, ttfi, wake, step, task, suspend, delete, step_barrier, park, run) with wall time, attempts, exit code, reward and an output tail.report.go: percentiles, failure and retry counts per event, a per-step table, the most frequent errors, and the unresolved instances in exclude-file format.Tests cover manifest parsing and selection, trajectory validation and rendering (including the
jsontemplate function andwrite.file), the report, and the grader (benchmarking/swebench/tests, added in PR 3 alongside the Python tooling).The layout mirrors substrate's
internal/benchmarking/boomerso a user class can be lifted into that harness later; it is not imported because Go does not allow importing another module's internal packages.