You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(paper): overhaul figures pipeline — PDF output, hparam table, Pro results, lookahead variants
- Switch all figure exports from PNG to PDF; update dashboard to render PDFs via <embed>
- Merge run_figures.py + src/figures.py into run_paper_figures.py; delete old files
- Add paper/style.py: centralised visual style (colors, hatch, rcParams, figure dimensions)
- Add paper/__init__.py to make paper/ a package
- Add build_hparam_table() reading from paper/hparams.json; populate Verified values from
confirmed SLURM training logs, Laguna Pro per-probe HPs from independent sweeps
- Extend build_auc_table() and build_calibration_table() with SWE-bench Pro sections
- Add plot_generalization_barplot(): main 2×2 model×dataset AUC barplot
- Add lookahead variants (max15, max50, _after_edit) via --lookahead-variants flag
- Bold best layer per row in AUC table (was: global best per probe across all conditions)
- Add colored deltas to transfer table
- Update dashboard: load figures from paper/figures/, PDF embed support
- Update slurm/figures.sh and README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
run_build_cache.py → run_probe.py → run_figures.py (same as standard path)
66
+
run_build_cache.py → run_probe.py → run_paper_figures.py (same as standard path)
66
67
```
67
68
68
69
Dynamic probes (`currently_correct`, `currently_compiles`, `currently_reduces_failing`, `currently_has_regressions`) only make sense in the agentic path because they require `EditEvent` history with per-edit `test_results`. The carry-forward step in `run_attach_labels_swebench.py` expands one label per edit into one label per stride step; steps before the first edit are masked (`None` → `-1` → excluded from training).
@@ -258,10 +259,24 @@ Queries `sweep.best_run()` via the W&B API to auto-populate `lr`, `weight_decay`
\caption{Test AUC-ROC per probe, model, and benchmark across transformer layers. \textbf{Bold} marks the best layer per row. \emph{Shuffled} uses label-permuted data as a sanity baseline.}
\caption{Chosen hyperparameters for each model and benchmark, selected by 20-trial random search maximising mean validation AUC on the middle transformer layer. Pro sweeps were run independently per probe.}
0 commit comments