Commit Graph
1 Commits
Author SHA1 Message Date
Joseph MaglyandClaude Opus 5.5 bb9dff57e5 feat(analysis): example selection study against random and lexical baselines
Add optimization study O02: does choosing fewer, better examples
preserve targeting quality at lower cost?

- Arms at matched budgets over fit rows only: uniform stratified
  sampling (exact inclusion probabilities), lexical max-min diversity
  on hashed n-grams (no text kept), and representation arms (k-means
  representatives, k-center coreset, boundary hard negatives fitted on
  a disjoint half).
- Quality is held-out: a difference-of-means direction fitted on the
  selection is scored on select rows or a fixed group-disjoint holdout
  no arm sees. In-sample AUC is reported as optimistic and never used.
- Cost counts forward passes and activation bytes (representation arms
  pay for embedding the pool unless amortization is declared); host
  timings are reported but excluded from the verdict and digest.
- Coverage limits (every set, rare sets) flag arms that drop cases.
- The verdict is "no improvement" unless a representation arm beats
  both baselines beyond seed spread at equal or lower cost without a
  coverage flag. Locked test is refused; reports are reproducible.
- `obliteratus experiments select-examples` and a Python API.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 11:06:17 -05:00