Add a shared observation spec, runner, run store and comparison so one
baseline observation can be specified once, run from the CLI or Python,
resumed after interruption and compared across runs.
- Spec: versioned JSON with a single schema file as authority. It
references a pack, dataset revision and role (locked test only with
acknowledgement), model id/revision/dtype, greedy decoding, registered
scorer tasks, optional activation capture and profiling, and a seed.
The canonical digest of the defaulted spec is the run identity.
- Runner: baseline only. It refuses models with forward/backward hooks,
global module hooks, an interrupted-surgery marker or active adapters
before any generation, then scores generation per task (single-arm,
descriptive scorecards with Wilson intervals) and optionally captures
activations and profile counters.
- Store: one directory per run identity, append-only attempt events,
pending/running/complete/failed/cancelled transitions under a lock.
Abandoned attempts are recorded as failed. A new attempt reuses a step
only when it is complete, identity-matched and its files still verify.
- Compare: exact equality for identities, counts and per-example
outcomes; explicit tolerances for rates and activations, reported per
field.
- CLI: `obliteratus experiments run|compare|history`, sharing one
Python code path a UI can call.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The behavioural battery treated any greedy-text difference as an effect,
so a punctuation-only edit looked like a change and nothing measured
task success.
Add a local, versioned scorer registry with deterministic exact-answer
and structured-output (JSON + declared schema) scorers. Each completion
yields separate endpoints: task success, invalid output and abstention;
raw text change is reported as descriptive only. Paired summaries use a
one-sided exact McNemar test and Wilson bounds against a declared
per-task margin; min_pairs defaults to the smallest sample that could
pass that margin, and untested or underpowered endpoints never aggregate
to PASS. Every aggregate keeps its per-example records.
EvaluationBattery(scorers=...) writes behavioural["scorecard"]; without
scorers nothing changes. Pipeline admission refuses batteries that carry
scorers until their generation is modelled. Dataset-built examples read
select/calibrate rows; locked test still needs explicit acknowledgement.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>