Extend candidate scanning from two prompts to distributions over a labeled activation set (F07). - Candidates with explicit coordinate identities: individual channels at a site and residual directions (a difference-of-means refit and the pack's stored basis rows). Binary (positive vs controls) or per-set contrasts. - Measures reported separately, never combined: held-out AUC and balanced accuracy over group-disjoint folds, standardized mean difference, group-bootstrap intervals and fold stability. Everything fitted is refitted per training fold; recipe_top1 reports the honest held-out score of each fold's own top channel. Independent validation uses select rows; in-sample and basis-overlap scores are labelled. - Nulls: a group-level shuffled-label null rerunning the full recipe (max over channels for channels) and random-direction/channel nulls, each with the observed quantile. - Confounds: token-count and hashed-token lexical baselines plus length correlation, flagged beside each candidate; features are built in memory and no text is stored. - Locked test is refused for discovery and excluded from acknowledged sets. Caps bound channels, bootstraps and permutations. - `obliteratus experiments discover` and a Python API write versioned candidate tables; the Explorer lists them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6.2 KiB
Evidence explorer
The Explorer tab under Concept Lab inspects one completed baseline
observation run (see OBSERVATION_RUNS.md). It is read-only: it never loads a
model, generates, scores or captures, and it does not take the app's model
slot. The handlers live in obliteratus/ui_evidence_explorer.py (views over
the run) and obliteratus/ui_evidence_views.py (saved views, export and
comparison); the Gradio wiring is in obliteratus/ui_evidence_explorer_layout.py.
Loading a run
Enter a result.json, an attempt directory or a run directory (the newest
complete attempt), or a spec file plus its run store. Resolution is the same
load_result / ObservationStore(...).get(spec_digest(load_spec(...))) path the
CLI uses. The stored spec.json must hash to the result's run identity.
Data sources
| View | Source in the run store |
|---|---|
| Scorecard aggregates and groups | result.json → scorecard.tasks.<task> (rates, Wilson intervals, denominators, excluded, groups) |
| Example list and record | scorecard.tasks.<task>.records (ids, group, scorer outcome, missing_reason, completion_sha256) |
| Activations and heatmap | capture manifest.json and raw/*.safetensors, loaded with load_capture after digest checks |
| Capture input digest | capture manifest identity.inputs[batch] |
| Text | steps/generate-<task>/generations.json (completion only) |
| Metric definitions | the scorecard rule, the registered scorer's rule text and the explorer's metric list |
| Subspace reports | subspace/*.json written by obliteratus experiments subspace --run (see LABELED_SUBSPACE.md); descriptive table, empty when none exist |
| Candidate discoveries | candidates/*.json written by obliteratus experiments discover --run (see CANDIDATE_DISCOVERY.md); first candidates of each table, empty when none exist |
The capture stores one batch per unique example id, and the run's capture
summary records those ids in batch order (example_ids); the explorer maps
examples to batches with that list. Results written before the list existed
fall back to the runner's order: spec task order, then the first occurrence of
each example.
Drill-down and filters
Every aggregate (task success, invalid output, abstention, excluded, and each
group) drills down to exactly the examples counted in its numerator or its
denominator. Filters combine task, group, outcome (passed, failed,
abstained, invalid, excluded; an example matches any selected outcome)
and evidence status (scored, score unavailable, captured,
capture unavailable).
Missing versus measured zero
A value that was not measured reads unavailable: <reason> and is never shown
as 0 or left blank:
- an excluded record's task success and abstention:
unavailable: excluded (<missing_reason>); - a rate with an empty denominator:
unavailable: denominator is 0 (0/0); - activations of a run without capture:
unavailable: this run captured no activations (spec capture is null); - a capture that fails its manifest, identity or shard digest checks, an example absent from the capture, or a site absent from a shard: an explicit reason.
A measured zero reads 0. Heatmap cells that are unavailable are labelled and
never shaded as zero. An excluded record can still have measured activations,
because capture reads the prompt, not the completion.
Metrics
| Id | Definition |
|---|---|
scorecard.task_success |
Scorable records the scorer reports solved / scorable records; 95% Wilson interval |
scorecard.invalid_output |
Records marked invalid / all records; 95% Wilson interval |
scorecard.abstention |
Scorable unformatted refusals / scorable records; 95% Wilson interval |
scorecard.excluded |
Records with a missing_reason (left out of the scorable denominators) |
scorecard.group |
Per-group record, scorable, success and invalid counts |
activation.l2_norm |
Euclidean norm of one example's stored raw values at one layer site, over its captured token positions |
activation.mean, activation.max_abs |
Mean and largest absolute stored value |
The baseline scorecard is single-arm and has no verdict. Activation statistics are descriptive coordinate summaries (catalog status: diagnostic); they do not show that a site produces or explains a behaviour. Projection onto a user-supplied direction is not offered.
Text access
Text is hidden by default. Ticking Show text (local only) shows the stored
completion for the selected example in this session, after checking it
against the record's completion_sha256. Text is never shown when the run's
dataset role is the locked test role, or when the app is publicly served (a
Hugging Face Space, or a launch with a public share link). The run store does not keep prompt text
(only prompt token counts, and digests for chat-rendered prompts), so prompt
text is reported as unavailable. Saved views and exports never contain text.
Saved views
Save view writes <run_dir>/views/<name>.json:
{
"schema": "obliteratus.evidence-view/1",
"spec_digest": "sha256:…",
"attempt": 1,
"filters": {"task": "answers", "group": "(all)", "outcomes": ["failed"], "evidence": []},
"selection": {"task": "answers", "example_id": "p3"},
"saved_at": "2026-11-13T00:00:00+00:00"
}
Names are 1-64 letters, digits, ., _ or -. Loading refuses files over
64 KiB, invalid JSON or non-standard constants, missing or extra keys, another
schema, another run identity, and filters or selections that do not exist in
the loaded run.
Export to batch
Export to batch copies the run's stored spec.json byte for byte to the
chosen new .json path, loads it back and refuses the export unless it has the
same run identity. The spec schema allows no metadata field, and any added
field would change the identity, so the view goes to a sidecar
<stem>.view.json (obliteratus.evidence-export/1, with the source run
directory, attempt and view). The tab shows the replay command:
obliteratus experiments run <exported spec> --store <run store>
Running the exported spec into the same store returns the existing complete
attempt; into another store it produces a new run with the same identity,
which Compare (the same compare_results as obliteratus experiments compare) can check against the loaded run.