File size: 1,566 Bytes
ffa621b
9f9fbec
ffa621b
3a2b2e4
9f9fbec
b784950
 
 
 
6d68f94
ffa621b
9f9fbec
 
ffa621b
 
 
 
 
 
 
 
 
 
9838759
ffa621b
9838759
ffa621b
9838759
ffa621b
 
 
 
ff63ba1
ffa621b
b3d11b8
ffa621b
 
 
 
 
463bcbe
ffa621b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# FeatureLens final validation

Run the complete local software gate before publishing:

```bash
python3 -m pytest -q
python3 -m compileall -q app.py featurelens experiments scripts
python3 -m ruff check app.py featurelens experiments tests scripts
python3 scripts/ui_smoke.py
python3 scripts/release_check.py
python3 -m scripts.validate_artifacts
```

## Public study checks

The committed `artifacts/` bundle must:

1. contain both `causal_results_final_token.csv` and `causal_results_max_active.csv`;
2. use `max_feature_activation` as the primary causal policy in `study_summary.json`;
3. document causal-task-level paired inference;
4. report 224 discovery prompts and 28 causal tasks;
5. include the six report figures required by `scripts.validate_artifacts`;
6. contain no activation matrices, model weights, SAE checkpoints, or completion markers.

## HF Space acceptance

No new model inference needs to be rerun for the final publication if the software checks pass. Verify visually that:

- the **Study** tab loads measured results rather than the empty-state message;
- the measured headline and causal-position comparison are visible;
- the Workbench and other previously validated live paths still render;
- the interface remains version-neutral and follows `DESIGN.md`.

## Reproducibility

For a fresh study, use `notebooks/FeatureLens_Offline_Study_Colab.ipynb` or:

```bash
python -m experiments.run_all --resume
```

The causal-addendum notebook is retained only as a migration/reproduction utility for an already-completed final-token baseline.