Skip to content

v0.5.46 — Active-learning recovery benchmark (Loop 25) - #144

Merged
cschanhniem merged 1 commit into
mainfrom
loop-25-active-learning-bench
Jul 6, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
loop-25-active-learning-bench

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Loop 25 — Active-learning benchmark on synthetic data

Bottleneck

The batch-2 selector could pick candidates, but there was no benchmark validating it recovers known active sequences faster than random baseline.

Changes

  • active_learning/benchmark.py: run_active_learning_benchmark() simulates multi-round recovery, hides N active candidates from selection, tracks rounds-to-first-recovery and recall, compares to 20-trial random baseline
  • generate_benchmark_pool() creates synthetic pool where actives have higher ensemble/lower disagreement
  • Pre-registered thresholds: PREREGISTERED_MAX_ROUNDS_TO_FIRST_RECOVERY=3, PREREGISTERED_MIN_RECALL=0.33
  • CLI bench active-learning: generates synthetic pool inline if no --pool-csv
  • 8 new tests, 1832 total passing

Verification

1832 passed in 71.37s

Next

Loop 26 — Integration between active-learning selector and calibration pipeline

Add benchmark validating that the batch-2 selector can recover known active
candidates faster than random baseline:

- active_learning/benchmark.py: run_active_learning_benchmark() simulates
  multi-round active learning, hides N active candidates, tracks rounds-to-
  first-recovery and cumulative recall. Compares against random baseline
  (20-trial average).
- generate_benchmark_pool() creates synthetic candidates with realistic
  ensemble/disagreement signal separation.
- Pre-registered thresholds: PREREGISTERED_MAX_ROUNDS_TO_FIRST_RECOVERY=3,
  PREREGISTERED_MIN_RECALL=0.33. The passed field encodes both.
- CLI : generates synthetic pool inline if no CSV.
- 8 new tests, 1832 total passing.
@cschanhniem
cschanhniem merged commit 26cfe6c into main Jul 6, 2026
1 check failed
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