Repository navigation
Commit bc55001
test: learn benchmark harness, task project and lesson pools (#1407)
* test: [#1406] learn benchmark harness, task project and lesson pools
Moved out of #1405 unchanged (from `feat/rsi-workspace-learning`), so the
product PR stays reviewable. Produces the numbers in
`research/rsi-workspace-learning-2026-09-30/learn-v1-results.md`.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* test: [#1406] harden the learn benchmark harness
Review fixes for research tooling; the benchmark definition (task project,
seed data, `to_utc` macro and verifier checks) is unchanged so the published
runs stay comparable.
- safety: validate ids and paths before any deletion; fake backend binds to
127.0.0.1, debug routes need a token, authorization gaps closed
- reproducibility: no machine-specific paths (dbt, CLI, worktrees); env
overrides for the CLI and models; the fake backend is the default and the
real SaaS needs an explicit opt-in and workspace id
- scoring: runs whose agent turn did not complete no longer count; topic
sessions must complete both turns in one session; analysis keeps unique
directory identities
- README with prerequisites (needs the `learn` features from #1405), suites
and env vars; self-tests for the harness, v1bench and fake backend
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* test: [#1406] address the second round of harness review comments
Benchmark definition (verifier checks, task project, seeds, macros) unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* test: [#1406] restore the published benchmark configuration; third review round
Model, arm, lesson and pool defaults match the commit that produced the
published runs (780168a); comparison checkouts are required env vars.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* test: [#1406] require an explicit workspace id for real-SaaS harness runs
Removes the internal workspace id default from `run_corrections.sh` and
`run_drift.sh`; SaaS mode already refuses to run without a positive
`WORKSPACE_ID`, and fake-backend runs do not use it. Self-test fixtures use a
neutral id.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* test: [#1406] combine topic-switch leak scans; safer workdir reset and baseline default
- topic-switch records combine first- and second-turn leak scans
- prepare_workdir deletes only a destination it created (marker + git origin)
- run_corrections evaluates a fresh baseline unless one is given explicitly
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* test: [#1406] fix five harness review findings
- publish_replace requires an explicit workspace ID (flag or WORKSPACE_ID)
- bootstrap keeps training sessions from iterations 10 and later
- ablation retries start from fresh learning state
- topic-switch rejects unknown session IDs before touching output
- leaked records make an arm incomplete and are excluded from analysis
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* test: [#1406] fix two regressions from the previous harness fix
- ablation validates --from-loop before resetting learning state
- publish_replace requires a workspace ID only for the SaaS backend
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* test: [#1406] reset ablation state only after preflight; scope WORKSPACE_ID to SaaS
- ablation keeps prior learning state when task, user or model setup fails
- publish_replace reads WORKSPACE_ID only for the SaaS backend
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent cc22cda commit bc55001
138 files changed
Lines changed: 14673 additions & 0 deletions
File tree
- experiments/rsi-workspace
- demo
- project
- macros
- models/staging
- billing
- shop
- support
- seeds
- verifier
- gold
- control-customers-vip/models/staging/shop
- control-payments-by-month/analyses
- heldout-invoices/models/staging/billing
- train-refunds/models/staging/shop
- tasks
- fake-backend
- harness
- budget
- arms
- v1bench
- playbooks
- topic_switch
- vague_tasks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
0 commit comments