cc-steer sample-negatives

Sample gate training windows: rewound positives, hard and random negatives.

cc-steer sample-negatives [OPTIONS]

Positive windows and hard negatives are recomputed from the judged corpus and deduped by key; random negatives parse a budgeted, seed-deterministic batch of transcripts that carry none yet, excluding anything near a detected event, so repeated passes extend coverage. No LLM calls.

Full --help output
Usage: cc-steer sample-negatives [OPTIONS]

  Sample gate training windows: rewound positives, hard and random negatives.

  Positive windows and hard negatives are recomputed from the judged corpus
  and deduped by key; random negatives parse a budgeted, seed-deterministic
  batch of transcripts that carry none yet, excluding anything near a detected
  event, so repeated passes extend coverage. No LLM calls.

Options:
  --seed INTEGER           Deterministic sampling seed.  [default: 1]
  --sessions INTEGER       Maximum transcripts to parse this pass.  [default:
                           400]
  --per-session INTEGER    Random negatives per transcript.  [default: 20]
  --resample               Revisit sessions that already carry random samples.
  --transcripts DIRECTORY  Transcript roots to mine. Defaults to
                           ~/.claude/projects plus the mirror corpus.
  --db FILE                Database path. Defaults to ~/.cc-steer/feedback.db.
  --help                   Show this message and exit.

Options

--seed: INTEGER = 1
Deterministic sampling seed.
--sessions: INTEGER = 400
Maximum transcripts to parse this pass.
--per-session: INTEGER = 20
Random negatives per transcript.
--resample
Revisit sessions that already carry random samples.
--transcripts: DIRECTORY
Transcript roots to mine. Defaults to ~/.claude/projects plus the mirror corpus.
--db: FILE
Database path. Defaults to ~/.cc-steer/feedback.db.