FWeindel commited on
Commit
bb46190
·
verified ·
1 Parent(s): a4a97cd

Shorten Experiment 2 to hypothesis, test and dataset commands

Browse files
Files changed (1) hide show
  1. calibforge_v1.1/README.md +3 -13
calibforge_v1.1/README.md CHANGED
@@ -186,24 +186,14 @@ python filter_tasks.py --judge glm --experiment-1 --out experiment1/glm
186
 
187
  ## Experiment 2: adding River-only environment mismatches
188
 
189
- **Hypothesis:** an instruction–environment mismatch that the agent can repair adds useful difficulty, so retaining these tasks can improve learning rather than harm it.
190
 
191
- **Setup:** compare (A) 150 clean tasks with (B) those exact same 150 tasks plus every eligible River-only environment-mismatch candidate. Clean means all criteria pass under both River and OT-next for the selected judge. Added tasks must fail exactly `INSTR-ENV-MISMATCH` under River, pass every other River criterion, and pass every OT-next criterion. Both arms require the default rule-based checks. Missing, tied or stale required reviews are excluded.
192
 
193
- The first-attempt candidate counts are:
194
-
195
- | Judge | Available jointly clean tasks | Added candidates | Clean + candidates total |
196
- | --- | --- | --- | --- |
197
- | qwen | 1,296 | 58 | 208 |
198
- | glm | 1,000 | 37 | 187 |
199
 
200
  ```bash
201
  python filter_tasks.py --judge qwen --experiment-2 --out experiment2/qwen
202
  python filter_tasks.py --judge glm --experiment-2 --out experiment2/glm
203
  ```
204
 
205
- Choose one judge consistently; these are alternative selections, not disjoint sets to pool. Each command exports `clean/` and `clean-plus-river-env-only/`, each containing `tasks.parquet` and `results.parquet`. The parent `selection.json` records the exact task IDs, input hashes, candidate additions, eligible clean pool, and sampling seed. The baseline defaults to 150 tasks and `--selection-seed 42`, selected by a stable hash ranking of seed and task ID, independent of input row order. Use `--clean-count` only to explicitly change its size. The filter fails if there are too few jointly clean tasks. Both rubrics are enforced automatically; do not combine this mode with `--rubric river`, `--criteria`, `--allow-fail`, or pass@4 filters. The default is `--vote first`; `--vote majority` changes the candidate pools and excludes ties or missing attempts.
206
-
207
- **Interpretation:** the added tasks are labeling-based candidates, not independently confirmed repairable tasks. Inspect their explanations and environments before training. Keep the total rollout budget and starting checkpoint the same, use multiple training seeds, and evaluate both arms on identical held-out tasks without training near-duplicates. This tests whether adding the disputed tasks helps; it does not isolate repair difficulty from increased task diversity. No RL results are reported here.
208
-
209
- **CLI naming:** `--experiment-2` now selects this two-arm experiment. Older scripts used it as an alias for Experiment 1; use `--experiment-1` for the three verifier-filtering groups.
 
186
 
187
  ## Experiment 2: adding River-only environment mismatches
188
 
189
+ **Hypothesis:** environment problems the agent can fix make tasks harder but can still help it learn.
190
 
191
+ **How to test:** train on 150 tasks that pass both rubrics, then compare with training on those same 150 plus tasks that River flags only for an instruction–environment mismatch. The added tasks must pass every other River criterion and every OT-next criterion. Use the same training budget and evaluate on the same held-out tasks.
192
 
193
+ Choose either judge below. Each command creates the clean baseline and the baseline plus the added tasks.
 
 
 
 
 
194
 
195
  ```bash
196
  python filter_tasks.py --judge qwen --experiment-2 --out experiment2/qwen
197
  python filter_tasks.py --judge glm --experiment-2 --out experiment2/glm
198
  ```
199