open-interpretability 0.6.1__tar.gz → 0.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/.gitignore +1 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/CHANGELOG.md +155 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/PKG-INFO +4 -2
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/README.md +1 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/__init__.py +1 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/agents/base.py +5 -3
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/agents/narrator.py +1 -1
- open_interpretability-0.6.3/openinterpretability/audit_options.py +175 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/circuit_units.py +3 -3
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/compiler.py +5 -3
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/concept_map_view.py +1 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/coverage.py +1 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/pending.py +1 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/route_figures.py +5 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/sections.py +4 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/superpositions.py +13 -3
- open_interpretability-0.6.3/openinterpretability/builder/templates/404.html +23 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_members.html +2 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/base.html +3 -2
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/experiment.html +1 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/tree.py +13 -7
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/users.py +1 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/wiki.py +38 -3
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/claude_sessions.py +1 -2
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli.py +1 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_evidence.py +15 -28
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_explain.py +8 -3
- open_interpretability-0.6.3/openinterpretability/cli_explain_family.py +217 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_interference.py +21 -16
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_loop.py +3 -1
- open_interpretability-0.6.3/openinterpretability/cli_sisters.py +231 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/answer_records.py +3 -2
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/evidence.py +10 -3
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/heavy_lock.py +3 -2
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/isolation.py +2 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/ledger.py +2 -3
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/legacy_names.py +1 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/pricing.py +3 -2
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/taxonomy.py +2 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/transcripts.py +11 -11
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/draw_steps.py +7 -3
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/evidence.py +3 -3
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/experiment_loop.py +7 -2
- open_interpretability-0.6.3/openinterpretability/explain_batched.py +196 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_confirm.py +1 -2
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_corpus.py +2 -2
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_coverage.py +42 -39
- open_interpretability-0.6.3/openinterpretability/explain_family.py +230 -0
- open_interpretability-0.6.3/openinterpretability/explain_joint.py +220 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_output.py +2 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_run.py +89 -24
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_share.py +4 -4
- open_interpretability-0.6.3/openinterpretability/explain_slots.py +277 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explanation_targets.py +204 -20
- open_interpretability-0.6.3/openinterpretability/git_fetch.py +65 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/ane/backend.py +2 -1
- open_interpretability-0.6.3/openinterpretability/harness/ane/bundles.py +121 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/devices.py +15 -0
- open_interpretability-0.6.3/openinterpretability/harness/head_sisters.py +283 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/layer_cache.py +47 -2
- open_interpretability-0.6.3/openinterpretability/head_sisters.py +309 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/interference/fisher.py +12 -12
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/interference/floors.py +3 -4
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/interference/template.py +4 -3
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/loop_local.py +2 -2
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/loop_pending.py +4 -4
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/loop_sessions.py +51 -6
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/model_check.py +1 -2
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/patches/apply.py +40 -21
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/patches/gates.py +20 -6
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/patches/history.py +6 -3
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/planner.py +3 -1
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/planner_states.py +87 -9
- open_interpretability-0.6.3/openinterpretability/record_schema.py +177 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/registry_query.py +3 -3
- open_interpretability-0.6.3/openinterpretability/scan_reuse.py +204 -0
- open_interpretability-0.6.3/openinterpretability/verify_odds.py +138 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/pyproject.toml +14 -3
- open_interpretability-0.6.1/openinterpretability/audit_options.py +0 -89
- open_interpretability-0.6.1/openinterpretability/cli_sisters.py +0 -87
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/CITATION.cff +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/LICENSE +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/agents/__init__.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/agents/judge.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/agents/probe_hints.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/agents/proposer.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/agents/proposer_profiles.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/agents/review_measurements.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/agents/reviewer.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/agreement.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/answer_lens.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/answer_prompts.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/answer_readings.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/answer_review.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/baseline.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/benchmark.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/blends.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/__init__.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/agents.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/aligned.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/brand/logo.svg +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/brand/mark-32.png +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/brand/mark.svg +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/brand/og.png +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/charts.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/circuit_pages.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/circuits.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/corpora.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/css.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/dashboard.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/draws_export.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/experiment.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/explanation_figures.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/explanation_pages.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/feeds.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/heat.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/hrefs.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/learned_baseline.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/model_facts.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/neuronpedia_export.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/palette.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/parquet_export.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/pieces.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/recent.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/registry_pii.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/registry_stats.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/significance.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/sister_graph.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/sister_pages.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/slim.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/standing.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/statuses.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/stopped.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/stops.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/taxonomy_view.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_agent_role_cells.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_answer_verdict.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_causal_chart.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_circuit.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_concept_map.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_dashboard.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_embedding3d.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_experiment.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_experiments.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_figure.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_figure_pause.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_gas3d.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_head_profile.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_macros.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_patchscope.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_prior_art.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_record.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_research_extra.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_rivals.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_route3d.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_route3d_waves.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_route_row.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_specificity.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_steering.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_superposition.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_taxonomy.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_vocab_chart.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_wiring.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/about.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/agent.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/agents.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/answer.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/atlas.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/circuit.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/circuit_experiment.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/circuit_unit.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/circuits.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/explanation.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/explanation_prompt.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/explanations.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/hub.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/index.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/layer.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/learned-baseline.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/model.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/models.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/neuron.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/sister_match.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/sisters.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/superposition.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/user.html +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/wiki/experiment.md +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/wiki/index.md +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/wiki/neuron.md +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/templates/wiki/stop.md +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/checks.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/circuit_checks.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/circuit_ids.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/circuit_review.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_answers.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_baseline.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_benchmark.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_build.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_check.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_circuits.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_claude_session.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_concepts.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_corpus.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_costs.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_coverage.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_crossref.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_errata.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_evidence_store.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_map.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_memory.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_model_check.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_neuronpedia.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_patch.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_pause.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_pole_effects.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_probing.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_provider.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_query.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_registry.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_reproduce.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_review.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_scan.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_score.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_submission.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_superpositions.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/cli_wiring.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/codeid.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/concept_map.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/concept_regions.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/concepts.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/__init__.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/agent_names.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/attribution.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/cache_dirs.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/causal.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/circuit_records.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/confounds.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/contributors.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/corpora.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/costs.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/draws.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/errata.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/examples.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/exceptions.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/explanation.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/explanation_records.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/fence.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/identifiers.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/licenses.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/manifold.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/partners.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/patchscope.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/paths.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/pause.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/prior_art.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/probing.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/profiles.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/project.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/record_kinds.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/rivals.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/run_environment.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/schemas.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/specificity.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/stats.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/steering.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/strict.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/core/wiring.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/corpus.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/corpus_cache.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/corpus_layouts.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/corpus_presets.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/corpus_rebuild.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/coverage.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/crossref.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/data/__init__.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/data/providers.toml +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/data/sample_corpus.txt +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/embedding_space.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/errata_checks.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/evidence_branch.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/evidence_lenses.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_backend.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_figure_data.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_groups.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_land.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_narrate.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_plan.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_print.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_reuse.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explain_stopped.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/explanation_registry.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/half_precision.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/__init__.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/ane/__init__.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/ane/cache.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/ane/chunks.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/ane/convert.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/ane/forward.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/ane/qualified.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/annotations.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/attribution.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/causal.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/circuit_measures.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/confounds.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/covariance.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/cpu_speed.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/crossref.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/cuda_devices.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/dead.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/dictionaries.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/dreaming.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/environment.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/explanation_scores.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/features.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/first_position.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/heads.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/hooks.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/input_attribution.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/jlens.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/layer_major.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/lookahead.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/manifold.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/memory.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/moe.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/ov_lens.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/patcher.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/patchscope.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/prepare.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/probing.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/scan.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/scan_backend.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/sister_passes.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/sisters.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/sites.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/specificity.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/steering.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/superpositions.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/units.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/wiring.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/harness/wiring_activations.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/hubs.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/interference/__init__.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/interference/behaviour.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/interference/keep.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/interference/pruning.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/interference/report.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/interference/routes.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/interference/run.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/interference/tuning.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/interference/units.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/inverse_claims.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/langid.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/loop_bugs.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/mcp_server.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/model_revisions.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/names.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/neuronpedia_baseline.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/neuronpedia_review.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/partner_context.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/patches/__init__.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/patches/graph.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/patches/schema.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/patches/session.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/patches/store.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/patches/tensors.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/planner_circuits.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/planner_claims.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/planner_effects.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/planner_explanations.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/planner_heads.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/planner_models.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/planner_sisters.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/planner_superpositions.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/pole_effects.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/prior_art.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/providers.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/reproduce.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/reproduce_explanation.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/reproduce_policy.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/revision.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/runner_cache.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/score_controls.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/show.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/signing.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/sisters.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/superposition_finders.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/syntax.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/takedown_checks.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/toxicity.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/until_verified.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/verdict_regression.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/wiring_backfill.py +0 -0
- {open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/wordnet.py +0 -0
|
@@ -13,6 +13,161 @@ Changes waiting for the next release are files in [changelog.d/](changelog.d/REA
|
|
|
13
13
|
|
|
14
14
|
## [Unreleased]
|
|
15
15
|
|
|
16
|
+
## [0.6.3] - 2026-11-30
|
|
17
|
+
|
|
18
|
+
Ships with protocol version **0.10**.
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- `papers/default-on-poles/` adds a mirrored control, in Table 9 (`scripts/default_on_targets.py mirror`, #3195). The control keeps each neuron's learned direction and turns it round about the neuron's median. It predicts GPT-2's next-token distribution as well as the negative side does, or better. On L1–L11, the negative side minus the mirror is −0.015 to +0.004. So the negative side's small lead over random features comes from the direction that it shares with the positive side. The paper is now published.
|
|
23
|
+
- The site has a page for a path with no page, `404.html`. Its links start from the site's URL, so they work at any path, and search engines don't index it. The host must be set to serve it for a missing path.
|
|
24
|
+
- A JSON Schema of an experiment record, as its file is stored, is now in `schema/audit-record-<protocol version>.json`, and the site serves it at `/schema/`. Each record page links it. It allows each bulky evidence field as its `evidence_sha256` reference. All 4,761 record files validate against it.
|
|
25
|
+
- `open-interpretability head-sisters` finds each VERIFIED attention head's sister in the other models: a mutual best match, by head strength over a shared corpus, above a rotated-head reference. Its rows are in `docs/analyses/sister-heads.jsonl`, and `docs/analyses/sister-heads.md` gives the results.
|
|
26
|
+
- **A review of *A coefficient of agreement for nominal scales*** (Cohen, 1960), at `docs/literature/cohen-kappa.md`. Its status is used. It checks the token-set paper's kappas against Cohen's formulas: 0.77 and 0.88 hold. Kappas in the repo lack the standard error that Cohen gives, so #7412 adds it (#6792).
|
|
27
|
+
- **A review of *Probable inference, the law of succession, and statistical inference*** (Wilson, 1927), at `docs/literature/wilson-interval.md`. Its status is used. All six of the repo's Wilson functions match the note's formula, and the token-set paper's intervals check out. #7417 keeps one function (#6793).
|
|
28
|
+
- `docs/literature/spectral-unforgetting.md` reviews *Spectral Unforgetting* (Abro and Tahir, 2026). It cuts a fine-tune's weight change to its singular values above a hard threshold, with no data. On 14 single-task fine-tunes, it heals about as much benchmark damage as WiSE-FT and keeps more of the gains. #7491 tests the cut on the explanations that Qwen2.5-1.5B's instruct change breaks (#7067).
|
|
29
|
+
- `docs/literature/chantless.md` reviews Deus Experiments' *Chantless* post. It cuts a frozen model to a task-specific file, then silences late-layer MLP neurons chosen from up to 25 mistakes. Three of its six accepted switches lose 8–16 points of tool-call retention. It has no random-row control and doesn't study the silenced neurons (#7106).
|
|
30
|
+
- `docs/literature/self-improving-loopers.md` reviews *Recursive Self-Improving Loopers* (Eric E., 2026). Inkling-2-Mini breaks when it is forced to run a fourth pass. The paper fixes this with a closed-form edit of its loop-control weights, then with self-graded RL. It never tests its one-direction diagnosis causally, and it has no random-edit control (#7153).
|
|
31
|
+
- `docs/literature/neural-core-war.md` reviews *Neural Core War* (Fu, Huang, Duan and Dai, 2026). In it, two isolated LLM agents edit the same neuron output columns of one host model. Most of their edits overwrite columns that are already changed, yet the host stays fluent in 45 of 48 persistent worlds. The page measures damage on outputs only, and never checks its agents' column readings (#7159).
|
|
32
|
+
- `docs/literature/sciwrite.md` reviews *SciWrite* (Barba, 2026), an Agent Skill that reviews a manuscript's writing in six passes. It compares each pass with the repo's STE linter and paper checks. #7521 runs the skill on two papers to find the gaps that matter (#7190).
|
|
33
|
+
- `papers/why-neurons-rest/` adds a second seed to the full-batch run of Table 32. Seed 1 gives the same result as seed 0. L1 rests at −0.15 against Pythia-70m's −0.22. Over both seeds, the push points down in 25 of 60 checkpoints and layers. The paper is now published. #7437 holds a run to step 4,000 (#7317).
|
|
34
|
+
- `docs/literature/fractured-entangled-representation.md` reviews the fractured entangled representation hypothesis (Kumar, Clune, Lehman and Stanley, 2025). The unified-factored forgetting paper rests on it. Its evidence is one evolved and one SGD network, judged by eye, and it gives no metric (#7339).
|
|
35
|
+
- **`explain --run --parallel N` runs N experiments at once** (#7389). Each slot is its own process, in its own loop worktree (`<repo>-loop-<k>`). The slots share `logs/explain-run-<time>/`, which holds the unit that each slot runs and the attempts of each unit. So no two slots run one unit, and `--max-attempts` counts across them. It works only with Claude Code sessions. In the #7005 pilot, one experiment took about 28 minutes, one at a time.
|
|
36
|
+
- `scripts/replay_draws.py` replays the #7005 pilot's draws under two ranking rules (`docs/analyses/expected-gain-replay.md`, #7393). Ranking the targets of `explain --run` by expected gain needs more experiments than the plan's order to reach the pilot's 56.2% coverage. It takes a median of 68 with the registry's odds and 64 with the pilot's own, against 54. So the plan's order stays the default. Expected gain is available as `TargetedDraws(rank="expected")`, with the odds in `openinterpretability/verify_odds.py`.
|
|
37
|
+
- `scripts/papers.py check` fails a published paper that has no `thread.yaml` and no `x_url` yet, because it would post to X as one post (#7505). Nine preprints get their X threads and drawn figures: conformal-line, copy-first-unit, explanations-across-models, instruct-difference, native-vs-learned, neuron-development, shared-concept-space, spd-input-projections and token-set-ceiling.
|
|
38
|
+
- Recorded the alphaXiv AI Track URL of "Why training rests neurons below GELU's dip" in `papers/why-neurons-rest/CITATION.cff`, so the paper page links it (#7534).
|
|
39
|
+
- **What default-on negative poles do as a population** is on alphaXiv AI Track (#7535). The paper `papers/default-on-poles/` is on alphaXiv, and its `CITATION.cff` records the URL. The paper page links it.
|
|
40
|
+
- When the deploy posts a paper to X, it opens the paper's Muse issue (`docs/muse.md`) for alphaXiv. So a published paper no longer waits for the next release (#7538).
|
|
41
|
+
- A literature page reviews *Rigorously Assessing Natural Language Explanations of Neurons* (Huang et al., 2023). It compares the paper's tests with the verdict rule, and it corrects the two skills that cite the paper.
|
|
42
|
+
- `open-interpretability explain-family --prompts <file> --run` explains a family of prompts with one joint plan (#7819). A unit that helps several prompts is drawn first, and the run stops when every prompt reaches `--target`. `--record` then writes each prompt's own record. On eight copy-family prompts, a joint plan needed 118 experiments against 160 for separate plans (#7061).
|
|
43
|
+
- A preprint, `papers/what-predicts-verification/`, asks whether values known before the review tell which attempts on neuron poles will pass. It uses 4,498 attempts. On poles that it never trained on, a random forest has an AUC of 0.742, against 0.654 for the layer and the activation scale. `scripts/verify_features.py` builds the feature table, and `scripts/verify_forest.py` fits and scores the forests.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- **No mutant survives in 25 files of `builder/` (part 1)** (#6491). New exact tests cover `users`, `pending`, `coverage`, `circuit_pages`, `superpositions`, `slim`, `stopped`, `statuses` and `corpora`. Three mutants of `slim.full_record` and `SlimArchive` used to time out, because only slow tests reached that code. Fast tests now kill them. Three lines changed with no change in behaviour. `merged_prs` drops an `rstrip("/")` that can never apply. `pending.parse` reads a missing branch as `"None"`. `coverage_view` drops a merge that set a key again to the same value.
|
|
48
|
+
- **No mutant survives in 7 more files of `builder/` (part 2)** (#6491): `hrefs`, `model_facts`, `sister_graph`, `concept_map_view`, `learned_baseline`, `route_figures` and `sister_pages`. Four were clean already. New exact tests kill 246 survivors in the other three, among them 139 mutants of `route_figures`, which had no fast test at all. Two lines changed with no change in behaviour. In `concept_map_view._points`, an inner default of 0 went away, because slots are numbered from 1. In `route_figures._tokens`, a `zip` moved onto its own line, so that its two equivalent `strict` mutants carry a pragma.
|
|
49
|
+
- **No mutant survives in 7 more files of `builder/` (part 3)** (#6491): `agents`, `circuits`, `pieces`, `dashboard`, `circuit_units`, `standing` and `charts`. Four were clean already. New exact tests kill 174 survivors in the other three: 96 in `charts`, 57 in `circuit_units` and 21 in `circuits`. `circuit_units` now reads its lineage and record files as bytes, which `json` and pydantic decode as UTF-8, so the locale can no longer change them. `link_revisions` drops a guard that changed nothing.
|
|
50
|
+
- **An experiment session lands its record with `make check` alone** (#7390). The posted step said `make check lint test`, although the skills and CI skip lint and tests for a wiki-only branch. In the #7005 pilot that step took about 3 minutes a session. `check` on one record takes about 10 s. The `land-experiment` skill also skips the second `make check` after merging `main`, unless the merge brought changes outside `wiki/`.
|
|
51
|
+
- **`explain --run` no longer reads the whole registry twice between experiments** (#7391). The planner parses each record once per process and keeps the parse while the file is unchanged. `load_states` returns its last states when no record or errata file has changed. In the #7005 pilot each read took 130–160 s, and each gap read twice, for 5.4 minutes on average. With the cache, a second read of 4,470 records takes 0.6 s, and a gap parses only the new record. The run's log now gives each draw's time (`drew … in N s`).
|
|
52
|
+
- Revise and new-hypothesis draws reuse the scan of the record that they revise. `open-interpretability audit --reuse-scan <record>` takes the record's evidence when the unit, the model revision, the corpus and the scan options are the same. Otherwise it prints what differs and scans (#7392).
|
|
53
|
+
- **A draw rebuilds the planner's states in 2 s, not 10 s, when a record lands** (#7519). `claim_of` hashed every submission again on each rebuild, although records are write-once. The planner now keeps each cached record's claim, and `build_tree` uses a known claim for a record that no erratum edits. The site build passes claims already, and it no longer computes them twice. The `explain --run` log gives the time of the coverage measure and of the registry read. In the #7005 pilot, draws took 216 s on average with five slots on a loaded machine.
|
|
54
|
+
- `make test` copies a failed run's log to `logs/test-failed-<UTC time>.log`, because the next run overwrites `logs/test-last.log`. A failure that shows once in many runs can then still be read (#7554).
|
|
55
|
+
- **Registry coverage, refreshed for 0.6.3** (`docs/analyses/registry-coverage.jsonl`, 2026-11-29 and 2026-11-30). It gives each model's VERIFIED poles and the mean share of the loss that they recover, against the 2026-11-28 run:
|
|
56
|
+
|
|
57
|
+
| Model | VERIFIED poles | Share of poles | Mean recovered |
|
|
58
|
+
| --- | --- | --- | --- |
|
|
59
|
+
| pythia-70m | 202 → 284 | 1.16% | 0.037 → 0.045 |
|
|
60
|
+
| GPT-2 | 226 → 230 | 0.31% | −0.059 → −0.059 |
|
|
61
|
+
| Qwen2.5-0.5B | 382 → 395 | 0.17% | 0.012 → 0.012 |
|
|
62
|
+
| Qwen2.5-1.5B | 80 → 92 | 0.02% | 0.001 → 0.000 |
|
|
63
|
+
|
|
64
|
+
Pythia-70m gained the most, from the #7005 pilot's runs. GPT-2's mean stays negative, as in 0.6.2.
|
|
65
|
+
- The sister search ran again for v0.6.3, on the 82 poles VERIFIED since v0.6.2. They are 56 poles of pythia-70m, 12 of Qwen2.5-0.5B, 11 of Qwen2.5-1.5B and 3 of GPT-2. It added 246 rows and 49 sisters (`docs/analyses/sister-neurons.jsonl`). By pair, pythia-70m's poles found 13 sisters in Qwen2.5-0.5B, 13 in Qwen2.5-1.5B and 5 in GPT-2. Qwen2.5-0.5B's found 7 in Qwen2.5-1.5B. The strongest are GPT-2's L1/N478+ and Qwen2.5-0.5B's L0/N3048− (Pearson 0.95), and Qwen2.5-0.5B's L0/N848− and GPT-2's L0/N2874+ (0.91). The run took about 5.5 hours, on the CPU with 2 threads, because the GPU was busy when it started (#7857).
|
|
66
|
+
- `explain-family --run` now measures the family's coverage only when a prompt's explained units change, and its slots share that measure. Before, each slot measured every prompt against random sets before each draw, about 283 s of a 290 s draw. A reused measure says "reused" in the log.
|
|
67
|
+
|
|
68
|
+
### Fixed
|
|
69
|
+
|
|
70
|
+
- `scripts/next_issue.py --pull <number>` adds the issue that the `next-issue` skill chose, after it checks that the issue is the pick or a printed runner-up. `--pull` with no number still adds the pick. Before, a skipped pick could be pulled into the release in place of the runner-up that was worked (#3612).
|
|
71
|
+
- **An experiment's verdict comes from its record, not from the session's `RESULT:` line** (#7384). In the #7005 pilot, sessions wrote `unknown` for 10 merged PRs whose records held 4 VERIFIED, 5 NEEDS_REVISION and 1 REJECTED. They also wrote unit names with slashes and swapped fields. So the loop counted 14 VERIFIED where the records held 18. `explain --run` and the loop now read the newest record that the session's branch added on the drawn unit. The log says when the line and the record disagree.
|
|
72
|
+
- The planner and `explain --run` no longer offer an `opposite_pole` follow-up for a pole that a scan stopped on (dead or default-on) (#7454). They counted only units with an experiment record as studied, and a stopped pole has none, so it was drawn again. `planner_states.studied` adds the stop and draw records.
|
|
73
|
+
- Opening the scan cache now removes the temporary folders of scans whose process died (`LayerCache.sweep`, #7532). A killed scan left its folder behind. On 2026-11-28 there were 9, 21 GB in all, and they helped fill the data volume. A folder whose process still runs is left alone.
|
|
74
|
+
- A loop's `git fetch origin main` is tried again, up to 5 times, when it fails because another worktree holds the ref's lock (`openinterpretability/git_fetch.py`, #7533). A slot of `explain --run --parallel` exited at its start when two slots fetched at once.
|
|
75
|
+
- `next`, and the other commands that plan from the registry, now hold each record slim, as the site build does. On 4,619 records, the peak memory of `next` fell from 6.8 GB to 1.8 GB, and its draws stayed the same. In a 6 GB cell, the draw was killed three times.
|
|
76
|
+
- Test and mutation runs no longer fill the disk with temporary folders (#7550).
|
|
77
|
+
- Doctests use pytest's `tmp_path`, not `tempfile.mkdtemp`.
|
|
78
|
+
- `interference --patch` removes its noise store.
|
|
79
|
+
- pytest keeps only failed tests' `tmp_path` folders.
|
|
80
|
+
- `make test` runs in a fresh temporary folder of its own, and fails when a test leaves anything in it.
|
|
81
|
+
- `scripts/mutation.py` sends its runs' temporary files to a folder of their own and removes it. It also removes `mutants/` after a run with no surviving mutant, unless `--keep` is given.
|
|
82
|
+
- An ANE scan now bounds the macOS cache of compiled Core ML models (`~/Library/Caches/org.python.python/com.apple.e5rt.e5bundlecache`). When the cache is larger than 20 GB, the scan removes the bundles that no process used in the last 2 days. `OPENINTERPRETABILITY_E5_CACHE_GB` and `OPENINTERPRETABILITY_E5_CACHE_DAYS` change these values. The ANE scripts also remove their `.mlpackage` temporary folders. These folders had filled a disk.
|
|
83
|
+
- The deploy's step that opens each posted paper's Muse issue now runs when `LEDGER_TOKEN` is set. Its condition read the step's own `env`, which a step's `if` can't see, so the step never ran. A job-level flag now says whether the secret is set, without its value.
|
|
84
|
+
- `explain --run` now draws again for a unit that loses VERIFIED during the run. Before, a unit that was VERIFIED at the start, or that turned VERIFIED during the run, left the run's targets for good. So when another loop's record made it CONTESTED, the run never drew it. Each draw now puts such a unit back among the targets, by its gain.
|
|
85
|
+
- **The planner keeps each record's claim by its file's path and stamp, not by `id()`.** A record that is parsed again can take the `id()` of the object that it replaced, and so take its claim. One example is an open PR's record, which `explain --run` puts back before each draw. The pre-release sweep for v0.6.3 found this in #7519's cache.
|
|
86
|
+
- `sisters` and `head-sisters` with `--device auto` now choose the device again before each model load. A run that began while another job held the GPU took the CPU and kept it for hours after the GPU was free. Now a later load takes the GPU. The release skill's sister step passes `--device mps` on a Mac.
|
|
87
|
+
|
|
88
|
+
### Security
|
|
89
|
+
|
|
90
|
+
- `audit --reuse-scan` now reuses only evidence that the registry has verified. That means a record that an allowed signer signed, as `origin/main` lists them, and that names its corpus sample. Any other record is scanned again, and the audit says why.
|
|
91
|
+
|
|
92
|
+
## [0.6.2] - 2026-11-28
|
|
93
|
+
|
|
94
|
+
Ships with protocol version **0.10**.
|
|
95
|
+
|
|
96
|
+
### Added
|
|
97
|
+
|
|
98
|
+
- **A review of *Large Language Models are not Fair Evaluators*** (Wang, Li, Chen et al., 2023), at `docs/literature/llm-judges-not-fair.md`. Its status is planned. The paper studies only pairwise judging, and it supports #7084, which asks whether the order of the detection judge's windows changes its answers (#6454).
|
|
99
|
+
- **A review of *The effective rank: A measure of effective dimensionality*** (Roy and Vetterli, 2007), at `docs/literature/effective-rank.md`. Its status is used: `scripts/dormant_rank.py` computes the measure as the paper defines it (#6520).
|
|
100
|
+
- **A review of *Returning to the Neuron Basis for Interpretability, Part 1*** (Shone and Dunlap, 2026), at `docs/literature/neuron-basis-objections.md`. Its status is planned. #7127 asks what share of each Qwen pole's activity comes with the gate open (#6583).
|
|
101
|
+
- **A review of *Returning to the Neuron Basis for Interpretability, Part 2*** (Shone and Dunlap, 2026), at `docs/literature/neuron-basis-applications.md`. Its status is planned. Its cloze and direction-removal tests suit the fix campaign (#5220) (#6584).
|
|
102
|
+
- **A review of *Enhancing Chat Language Models by Scaling High-quality Instructional Conversations*** (Ding et al., 2023), at `docs/literature/ultrachat.md`. Its status is used: the repo reads UltraChat 200k for `papers/instruct-difference/` and the `ultrachat` preset (#6592).
|
|
103
|
+
- **A review of *Harness Evolution Hits a Ceiling: When Weight Training Should Begin*** (Tian et al., 2026), at `docs/literature/harness-evolution-ceiling.md`. Its status is planned. Its placebo adapter is a null for the fix campaign (#5220) (#6616).
|
|
104
|
+
- **A review of *Harness-Delta Attribution: Dissecting Gains From Harness Evolution*** (Ding et al., 2026), at `docs/literature/harness-delta-attribution.md`. Its status is not applicable. It bears on whether fresh probes catch a revision that fits the reviewer (#6617).
|
|
105
|
+
- **A review of *The Winner's Curse in LLM Self-Improvement Loops*** (Hu and Tang, 2026), at `docs/literature/winners-curse-self-improvement.md`. Its status is not applicable. By its model, retries overstate VERIFIED verdicts by about 0.006 in balanced accuracy on average (#6618).
|
|
106
|
+
- A literature page for *Who Verifies the Verifier?* (Zhang et al., 2026), in `docs/literature/who-verifies-the-verifier.md` (#6619).
|
|
107
|
+
- **A review of *Reflections on Trusting Trust, Revisited*** (Roesner and Kohno, 2026), at `docs/literature/trusting-trust-revisited.md`. It checks how outside text and self-edits reach this repo's gates (#6620).
|
|
108
|
+
- **A review of *Composable Soft-Prompt Distillation of RL Experts*** (Zhang et al., 2026), at `docs/literature/cspd-soft-prompt-distillation.md`. It checks the issue's numbers against the paper and compares its claim of less forgetting with the repo's template-or-tuning result (#6676).
|
|
109
|
+
- **A review of *The Emergence and Sparsification of a Syntactic Circuit*** (Yao et al., 2026), at `docs/literature/sva-circuit-emergence.md`. Its status is planned: #7186 tracks the agreement circuit across Pythia-70m's checkpoints (#6683).
|
|
110
|
+
- **A review of *Building stronger biological reasoning models*** (Goodfire Research, 2026), at `docs/literature/bioreason-pro-2.md`. It checks the post's numbers and links, and finds that the reward judge also wrote the training traces (#6685).
|
|
111
|
+
- **Wrapper prune: the two variants of the Limitations** (#7071). `scripts/wrapper_prune.py` takes `--unit input`, which prunes a neuron's input rows, and `--loss failed`, which scores on half the failed explanations' probe texts. Table 3 and Figure 3 of `papers/wrapper-prune/` report both. Neither recovers more than 16 of 63 explanations, and the failed-text loss breaks more.
|
|
112
|
+
- **The fix harness tests whether a fix removed the copy failure or hid it** (#7151). Each fit's row in `fits.jsonl` gives a cloze test and a direction-removal test (`scripts/fix_removal.py`). Arm P, a placebo, trains arm B on random unit words. The first row is the base model's.
|
|
113
|
+
- `papers/why-neurons-rest/` finds why Pythia's window of 2,048 tokens deepens L1's rest about fourfold (Table 31, Figure 11). With learned positions, the long window fills L1's input with position, and L1's weights turn against it. With Pythia's rotary positions, the rest stays near the 128-token runs'. `scripts/rest_by_position.py` reads the rest and the position share of each layer by position, and `scripts/train_resting.py` gains a rotary condition. #7243 holds a run at Pythia's full batch (#7202).
|
|
114
|
+
- `docs/literature/lora-size.md` reviews Engram's *Predicting LoRA size for any dataset* (2026). It is not applicable: the post counts the bits that an adapter stores, not which units change. #7320, #7321 and #7322 review three works that it cites (#6695).
|
|
115
|
+
- `docs/literature/not-already-clean.md` reviews Gao's *Neural networks are not already clean* (LessWrong, 2026), a reply to Cammarata's *Neural Networks Are Already Clean*. #7327 and #7328 test its claims about weak activations below the review's firing line (#6739).
|
|
116
|
+
- `docs/literature/bias-in-disguise.md` reviews Syed's *A Bias in Disguise* (arXiv:2611.33133). A sparse gradient edit fixes Qwen3.5-0.8B's thinking loops by acting as a constant shift, and it reads no units (#6791).
|
|
117
|
+
- `docs/literature/output-centric-descriptions.md` reviews Gur-Arieh et al.'s *Enhancing Automated Interpretability with Output-Centric Feature Descriptions* (ACL 2025). #7334 would give the proposer the tokens whose logits change most when a pole is clamped (#6798).
|
|
118
|
+
- `docs/literature/unified-factored-representations.md` reviews Lehman and Stanley's *Unified Factored Representations Resist Catastrophic Forgetting* (arXiv:2611.11020). #7340 asks whether layers with a higher pass rate keep more explanations under fine-tuning, and #7339 reviews the paper behind it (#6818).
|
|
119
|
+
- `docs/literature/platos-key.md` reviews Hazy Research's *Plato's Key* (2026). #7349 asks whether a fitted direction in another model matches VERIFIED poles that have no sister there. #7347 and #7348 review two works that it cites (#6819).
|
|
120
|
+
- `docs/literature/weight-space-micromachines.md` reviews *Weight-Space Micromachines: Brain Implants for LLMs* (papail.io, 2026). #7356 asks whether a VERIFIED pole is a more precise trigger for an implant than a linear probe (#6827).
|
|
121
|
+
- `docs/literature/deterministic-weight-space-programming.md` reviews Yao's *Do We Really Need an LLM for Weight-Space Programming?* (arXiv:2611.34612). Its pipeline chooses edits by statistics rather than by reading units, and checks damage only on the edited task (#6974).
|
|
122
|
+
- `docs/literature/wise-ft.md` reviews Wortsman et al.'s WiSE-FT paper (arXiv:2109.01903, CVPR 2022). `papers/weight-average-keep/` now states the source's robustness claim as the source gives it (#7039).
|
|
123
|
+
- `papers/why-neurons-rest/` trains Pythia-70m's size at Pythia's full batch, window, rotary positions and warm-up for 512 steps, and compares it with Pythia-70m at steps 0–512 (Table 32). The rest and the push follow Pythia-70m's, and the push is as weak and mixed. The new condition is `pythia_full_batch_rotary`, and `scripts/pretrained_push.py pythia` gains `--part`. #7317 holds a second seed (#7243).
|
|
124
|
+
|
|
125
|
+
### Changed
|
|
126
|
+
|
|
127
|
+
- **Mutation testing: three more files of `patches/`** (#6491). `gates.py`, `graph.py` and `__init__.py` have no surviving mutant. New gate tests cover a linear probe's bias, soft output with a temperature, `and` and `min`, and the mask. They also cover forced gates, attention over heads and keys, and the device of every parameter. The device moves that differ only on a GPU are recorded as equivalent.
|
|
128
|
+
- **Every preprint is now in plain words** (#6851). The last rewrites cover the remaining preprints, from `default-on-poles` to `explanations-across-models`. Each defines a pole with Cammarata (2026) and uses "passing", "test prompts" and "closest match" for the project's own terms. Every preprint passes the term check, and `papers/terms_pending.txt` is gone.
|
|
129
|
+
- **Why neurons rest: the 32× batch runs on one pass of Pythia's own data** (#6935). `scripts/pythia_tokens.py` builds a 290.8-million-token sample from Pythia's deduplicated, preshuffled Pile. Table 29 of `papers/why-neurons-rest/` trains both 32× conditions again on it. The memorisation is gone, but Pythia-70m's size still pushes down in 24 and 19 of 30 checkpoints and layers, against Pythia's 13. #7140 tests Pythia's window of 2,048 tokens next.
|
|
130
|
+
- `deploy.yml` and `auto-merge.yml` hold no value of this project, and the labinacan template ships the same files (#6992).
|
|
131
|
+
- The deploy runs `make deploy-prepare`, which here publishes the evidence and runs `check`, and then `make build`. It syncs to R2 and posts to X only when `vars.R2_BUCKET` is set.
|
|
132
|
+
- The workflow is now "Deploy", and its failure issue is "Deploy failed on main".
|
|
133
|
+
- Auto-merge reads its records-only rule from `[tool.labinacan] auto_merge_rule`, and takes the maintainer as the repository's owner.
|
|
134
|
+
- The `OPENINTERPRETABILITY_SITE_URL` variable is no longer read. The purge URLs come from `[project.urls] Homepage`.
|
|
135
|
+
- The `explain` planner now reaches its coverage target (#7061). It scores every candidate experiment once, then rescores the best 256 at each pick, in batches of kept sets (`openinterpretability/explain_batched.py`, `explain_joint.py`). The plan reports the coverage that its picks reach. `explain_joint.greedy` also plans many prompts together. The paper is `papers/coverage-planner/`.
|
|
136
|
+
- The NF4 paper (`papers/nf4-keep/`) now gives ten seeds of its matched random change, not three. NF4 is inside the null's spread on both models. On Qwen2.5-1.5B, NF4 keeps more explanations than 9 of 10 seeds, and a rank test puts that at p = 0.18. `scripts/nf4_keep.py` gains `--first-seed` and `--poles-from`, which add seeds on a paper's own poles (#7072).
|
|
137
|
+
- **The deploy uploads with rclone, from labinacan 0.1.4.** rclone v1.76.0 is pinned and checked against its SHA-256. labinacan 0.1.4 also gives boto3 a connection for each upload thread. After a change of more than 3,000 pages, it purges the whole Cloudflare zone in one request (#7107).
|
|
138
|
+
- **A release no longer changes every page.** Only the changelog page names the package version. The footer links to the changelog, and the `generator` meta gives no number. So a release deploys only the pages whose content changed (#7107).
|
|
139
|
+
- **A superposition gives pages to its 32 largest members only.** A rank-one LoRA direction (#7025) weighs every neuron of its layer, and each member had a short page of its own. Member-only pages fall from 82,060 to 617, and the site from about 90,900 pages to about 9,500. The superposition's page says how many members it has, and its record keeps all of them (#7107).
|
|
140
|
+
- **Why neurons rest: Pythia's window of 2,048 tokens** (#7140). `scripts/train_resting.py` conditions now have a training `window`, and `pythia_size_batch_32x_window` trains Pythia-70m's size at Pythia's window, with the same tokens per step. Table 30 of `papers/why-neurons-rest/` finds that the window moves the push's direction toward Pythia's, down in 19 and 13 of 30 against Pythia's 13. It also deepens the rest about fourfold, far past Pythia's. #7202 asks why.
|
|
141
|
+
- The reviews of *Returning to the Neuron Basis, Part 2*, *Harness Evolution Hits a Ceiling* and *Harness-Delta Attribution* now record the maintainer's decisions of 2026-11-27. #7151 adds the removal tests and the placebo-adapter null to the fix campaign (#7151).
|
|
142
|
+
- `scripts/next_issue.py` offers an agent its own stalled issues after an answered issue and before new work. An issue counts when the agent's claim names it, it is In Progress, and no open PR names it. The pick prints "resume your own" and no claim command (#7221). The agent ID is stored in the checkout's git directory, so a new host name doesn't change it. The `next-issue` skill keeps the claim after a `Part of #N` PR. When an answered issue is the pick, the release's best candidate now stays among the runners-up.
|
|
143
|
+
- **Circuit ids and the concept map, refreshed for 0.6.2.** `circuits identify` found one GPT-2 circuit gone and one new, so GPT-2 has 4 (`data/circuits/openai-community--gpt2.jsonl`). The other models' circuits didn't change. The shared concept map placed 56 new poles, so it has 2,532 (`data/concept-maps/shared.json`). Every configured model's poles are all in a region.
|
|
144
|
+
- **Registry coverage, refreshed for 0.6.2** (`docs/analyses/registry-coverage.jsonl`, 2026-11-28). It gives each model's VERIFIED poles and the mean share of the loss that they recover, against the 2026-11-27 run:
|
|
145
|
+
|
|
146
|
+
| Model | VERIFIED poles | Share of poles | Mean recovered |
|
|
147
|
+
| --- | --- | --- | --- |
|
|
148
|
+
| pythia-70m | 185 → 202 | 0.82% | 0.036 → 0.037 |
|
|
149
|
+
| GPT-2 | 225 → 226 | 0.31% | −0.058 → −0.059 |
|
|
150
|
+
| Qwen2.5-0.5B | 380 → 382 | 0.16% | 0.012 → 0.012 |
|
|
151
|
+
| Qwen2.5-1.5B | 80 → 80 | 0.02% | 0.001 → 0.001 |
|
|
152
|
+
|
|
153
|
+
GPT-2's mean stays negative because keeping only L10's poles raises the loss (−0.924), as in 0.6.0.
|
|
154
|
+
- **The literature map's generator is labinacan's.** Run `uv run --extra map python -m labinacan.literature_map`, from labinacan 0.1.7. The repo's own copy and its unit tests are gone, and the package holds them (`pyproject.toml`, `scripts/literature_map.py`, `tests/test_literature_map.py`, 8W9aG/open-familyoffice#101).
|
|
155
|
+
- **Sister search, refreshed for 0.6.2.** The search added 78 rows for poles VERIFIED since 0.6.1, and found 26 new sisters:
|
|
156
|
+
- pythia-70m: 5 against Qwen2.5-0.5B, 9 against Qwen2.5-1.5B and 6 against GPT-2, from 20 poles.
|
|
157
|
+
- Qwen2.5-0.5B: 1 against pythia-70m, 2 against Qwen2.5-1.5B and 1 against GPT-2, from 3 poles.
|
|
158
|
+
- GPT-2: 1 against each of Qwen2.5-0.5B and Qwen2.5-1.5B, and none against pythia-70m, from 2 poles.
|
|
159
|
+
- Qwen2.5-1.5B: none, from 1 pole.
|
|
160
|
+
|
|
161
|
+
The strongest are pythia-70m L0/N1100+ with GPT-2 L0/N3055+ (Pearson 0.95), with Qwen2.5-0.5B L0/N1685+ (0.94) and with Qwen2.5-1.5B L0/N4200− (0.92). Next is Qwen2.5-0.5B L23/N1369− with Qwen2.5-1.5B L27/N3855+ (0.80). Each new sister is now a `sister` draw.
|
|
162
|
+
|
|
163
|
+
### Fixed
|
|
164
|
+
|
|
165
|
+
- **A patch merge refuses parents on different bases.** `history.merge` took the first parent's base and gave no error, so the merged chain failed later in `ancestors`. New tests cover the merges, reverts, rebases, footprint conflicts and diffs in `openinterpretability/patches/history.py`, and no mutant survives (#6491).
|
|
166
|
+
- **A transcript message whose model is null no longer stops the usage count.** `usage_from_transcript` raised an error on it. It now counts the message as "unknown", the same as a message with no model (`openinterpretability/core/transcripts.py`, #6491).
|
|
167
|
+
- **Linear sync, the release's move to Released, and the Muse label check run again.** Since labinacan moved to PyPI (#7030), these three workflows ran the issue scripts with no package installed, and each failed. They now run them with the pinned labinacan from PyPI (`scripts/labinacan_pin.py`). A test checks that no workflow runs such a script with a bare python (#7097).
|
|
168
|
+
- **The tests no longer depend on the quiet variable.** `explain --json` sets `OPENINTERPRETABILITY_QUIET`, and the experiment sessions it starts inherited it, so 4 progress tests failed in their `make test`. Every test now starts with the variable removed (`tests/conftest.py`, #7230).
|
|
169
|
+
- **`next_issue` counts only the maintainer's own open pull requests when it decides whether an agent's issue still has one** (`scripts/issue_resume.py`, #7294).
|
|
170
|
+
|
|
16
171
|
## [0.6.1] - 2026-11-27
|
|
17
172
|
|
|
18
173
|
Ships with protocol version **0.10**.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: open-interpretability
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.3
|
|
4
4
|
Summary: Open Interpretability: an agent-run mechanistic interpretability project, with an audited registry of native neurons in open-weight models.
|
|
5
5
|
Project-URL: Homepage, https://open-interpretability.com/
|
|
6
6
|
Project-URL: Repository, https://github.com/8W9aG/openinterpretability
|
|
@@ -20,7 +20,7 @@ Requires-Dist: duckdb>=1.0.0
|
|
|
20
20
|
Requires-Dist: fasttext-predict>=0.9.2
|
|
21
21
|
Requires-Dist: instructor>=1.3.0
|
|
22
22
|
Requires-Dist: jinja2>=3.1.3
|
|
23
|
-
Requires-Dist: labinacan[pii,r2]==0.1.
|
|
23
|
+
Requires-Dist: labinacan[pii,r2]==0.1.7
|
|
24
24
|
Requires-Dist: latex2mathml>=3.81.1
|
|
25
25
|
Requires-Dist: litellm>=1.40.0
|
|
26
26
|
Requires-Dist: magika<2,>=1.0.3
|
|
@@ -52,6 +52,7 @@ Requires-Dist: tree-sitter-typescript>=0.23.2
|
|
|
52
52
|
Requires-Dist: tree-sitter>=0.26.1
|
|
53
53
|
Provides-Extra: map
|
|
54
54
|
Requires-Dist: igraph>=0.11; extra == 'map'
|
|
55
|
+
Requires-Dist: labinacan[map]; extra == 'map'
|
|
55
56
|
Requires-Dist: leidenalg>=0.10.2; extra == 'map'
|
|
56
57
|
Requires-Dist: sentence-transformers>=5.0; extra == 'map'
|
|
57
58
|
Requires-Dist: umap-learn>=0.5.7; extra == 'map'
|
|
@@ -98,4 +99,5 @@ It lists the units that carry the model's answer, says which of them the registr
|
|
|
98
99
|
- [docs/PROTOCOL.md](docs/PROTOCOL.md): how a verdict is decided.
|
|
99
100
|
- [docs/development.md](docs/development.md): installing the package, the code, CI and the site.
|
|
100
101
|
- [CONTRIBUTING.md](CONTRIBUTING.md) and [SECURITY.md](SECURITY.md): how to contribute, and how to report a security problem.
|
|
102
|
+
- [schema/](schema/): the JSON Schema of an experiment record, one file per protocol version, so other tools can validate and read records without this package. The site serves it at `/schema/` (#3291).
|
|
101
103
|
- [CITATION.cff](CITATION.cff): how to cite. The code is under [MIT](LICENSE), and the records under [CC-BY-4.0](wiki/LICENSE.md).
|
|
@@ -35,4 +35,5 @@ It lists the units that carry the model's answer, says which of them the registr
|
|
|
35
35
|
- [docs/PROTOCOL.md](docs/PROTOCOL.md): how a verdict is decided.
|
|
36
36
|
- [docs/development.md](docs/development.md): installing the package, the code, CI and the site.
|
|
37
37
|
- [CONTRIBUTING.md](CONTRIBUTING.md) and [SECURITY.md](SECURITY.md): how to contribute, and how to report a security problem.
|
|
38
|
+
- [schema/](schema/): the JSON Schema of an experiment record, one file per protocol version, so other tools can validate and read records without this package. The site serves it at `/schema/` (#3291).
|
|
38
39
|
- [CITATION.cff](CITATION.cff): how to cite. The code is under [MIT](LICENSE), and the records under [CC-BY-4.0](wiki/LICENSE.md).
|
{open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/__init__.py
RENAMED
|
@@ -5,7 +5,7 @@ from labinacan import config as _config
|
|
|
5
5
|
from openinterpretability.core.legacy_names import adopt_legacy_env
|
|
6
6
|
from openinterpretability.core.paths import CLONE_PYPROJECT, DEFAULT_PYPROJECT, PACKAGED_PYPROJECT
|
|
7
7
|
|
|
8
|
-
__version__ = "0.6.
|
|
8
|
+
__version__ = "0.6.3"
|
|
9
9
|
# The name on PyPI, and of the installed distribution (issue #3251). The import name is
|
|
10
10
|
# `openinterpretability` (issue #4089).
|
|
11
11
|
DISTRIBUTION = "open-interpretability"
|
{open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/agents/base.py
RENAMED
|
@@ -202,8 +202,10 @@ class LLMAgent:
|
|
|
202
202
|
_write_whole(prompt_path, self.render_prompt(response_model, prompt, response_path))
|
|
203
203
|
print(f"Waiting for {response_path} (prompt: {prompt_path})…", file=sys.stderr)
|
|
204
204
|
deadline = time.monotonic() + self.timeout
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
# The last unparseable response, rejected only once it stops changing. A response is
|
|
206
|
+
# never empty here, so None and "" are the same start.
|
|
207
|
+
seen = None # pragma: no mutate, equivalent: a response is never ""
|
|
208
|
+
while time.monotonic() < deadline: # pragma: no mutate, equivalent: clock ties
|
|
207
209
|
text = response_path.read_text() if response_path.exists() else ""
|
|
208
210
|
if text.strip():
|
|
209
211
|
try:
|
|
@@ -213,7 +215,7 @@ class LLMAgent:
|
|
|
213
215
|
seen = text
|
|
214
216
|
time.sleep(self.poll_interval)
|
|
215
217
|
continue
|
|
216
|
-
seen = None
|
|
218
|
+
seen = None # pragma: no mutate, equivalent: a response is never ""
|
|
217
219
|
# Remove the bad answer before the error appears. An answerer that sees
|
|
218
220
|
# the error and writes again at once would else lose its answer (#4376).
|
|
219
221
|
response_path.unlink()
|
{open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/agents/narrator.py
RENAMED
|
@@ -97,4 +97,4 @@ class Narrator(LLMAgent):
|
|
|
97
97
|
# that model, not the placeholder such as external/claude-code (#5966).
|
|
98
98
|
told = self.structured(ReportedNarrative, task)
|
|
99
99
|
self.model = recorded_model(EXTERNAL_PREFIX + canonical_agent(told.model)) or self.model
|
|
100
|
-
return Narrative.model_validate(told.model_dump(
|
|
100
|
+
return Narrative.model_validate(told.model_dump()) # Narrative ignores "model"
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
"""Options that ``open-interpretability audit`` and ``scan`` share, and how unit options resolve.
|
|
2
|
+
|
|
3
|
+
The shared ones are the scan cache and ``--selection``. The checks of ``audit``'s options
|
|
4
|
+
that go together, or apart, are here too.
|
|
5
|
+
|
|
6
|
+
``--selection`` says how a chosen unit was selected, as its provenance records it.
|
|
7
|
+
|
|
8
|
+
A ``--random`` draw records ``random`` and counts towards the registry statistics. A
|
|
9
|
+
unit given by layer and index records ``manual``, unless ``--selection`` says otherwise.
|
|
10
|
+
The planner's effect-weighted explore draws (issue #3486) pass ``attribution``. They are
|
|
11
|
+
drawn in proportion to an attribution-patching estimate, so they must not count as random.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
|
|
16
|
+
import json
|
|
17
|
+
from pathlib import Path
|
|
18
|
+
|
|
19
|
+
import click
|
|
20
|
+
|
|
21
|
+
from openinterpretability.inverse_claims import inverse_preamble # noqa: F401 (re-exported)
|
|
22
|
+
|
|
23
|
+
DEFAULT_TOP_K = 20
|
|
24
|
+
"""Top examples that a scan keeps by default (``audit --top-k``)."""
|
|
25
|
+
|
|
26
|
+
scan_cache_option = click.option(
|
|
27
|
+
"--scan-cache/--no-scan-cache",
|
|
28
|
+
"use_scan_cache",
|
|
29
|
+
default=True,
|
|
30
|
+
show_default=True,
|
|
31
|
+
help="Replay a cached scan of the layer, or store this one "
|
|
32
|
+
"(see `open-interpretability scan-cache`).",
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
reuse_scan_option = click.option(
|
|
37
|
+
"--reuse-scan",
|
|
38
|
+
"reuse_file",
|
|
39
|
+
type=click.Path(exists=True, dir_okay=False, path_type=Path),
|
|
40
|
+
help="Archived record of this unit (wiki/experiments/<slug>/<id>.json): reuse its scan "
|
|
41
|
+
"instead of scanning again, if the model revision, corpus and scan options are the same. "
|
|
42
|
+
"Otherwise scan as usual. A revise draw passes the record it revises.",
|
|
43
|
+
)
|
|
44
|
+
top_k_option = click.option(
|
|
45
|
+
"--top-k", default=DEFAULT_TOP_K, show_default=True, help="Examples shown to the proposer."
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def open_scan_cache(enabled: bool):
|
|
50
|
+
"""The default layer-scan cache, or ``None`` when ``enabled`` is false."""
|
|
51
|
+
from openinterpretability.harness.layer_cache import LayerCache
|
|
52
|
+
|
|
53
|
+
return LayerCache.default() if enabled else None
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
CHOSEN = ("manual", "attribution") # selections a unit given by layer and index may record
|
|
57
|
+
|
|
58
|
+
selection_option = click.option(
|
|
59
|
+
"--selection",
|
|
60
|
+
type=click.Choice(CHOSEN),
|
|
61
|
+
help="How a unit given by layer and index was chosen (default manual). The planner's "
|
|
62
|
+
"effect-weighted draws pass attribution. Ignored with --random.",
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def selection(random_pick: bool, chosen: str | None) -> str:
|
|
67
|
+
"""The ``provenance.selection`` of a scan."""
|
|
68
|
+
return "random" if random_pick else chosen or "manual"
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def read_superposition(path: Path, unit: str):
|
|
72
|
+
"""(unit, model, layer, profile) from a superposition's definition file."""
|
|
73
|
+
from pydantic import ValidationError
|
|
74
|
+
|
|
75
|
+
from openinterpretability.core.profiles import SuperpositionProfile
|
|
76
|
+
|
|
77
|
+
if unit != "neuron":
|
|
78
|
+
raise click.UsageError("--superposition is a unit of its own; don't combine it.")
|
|
79
|
+
data = json.loads(path.read_text(encoding="utf-8"))
|
|
80
|
+
try:
|
|
81
|
+
model, layer = data.pop("model"), data.pop("layer")
|
|
82
|
+
return "superposition", model, layer, SuperpositionProfile.model_validate(data)
|
|
83
|
+
except (KeyError, ValidationError) as exc:
|
|
84
|
+
raise click.BadParameter(str(exc), param_hint="--superposition") from exc
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def resolve_unit(unit, neuron, pole, head, feature, dictionary) -> str:
|
|
88
|
+
"""The unit ``--unit`` names, or the one the other options imply."""
|
|
89
|
+
if unit is None:
|
|
90
|
+
unit = "head" if head is not None else "neuron"
|
|
91
|
+
unit = "feature" if feature is not None or dictionary is not None else unit
|
|
92
|
+
if unit != "neuron" and (neuron is not None or pole is not None):
|
|
93
|
+
raise click.UsageError(f"--neuron and --pole are for neurons; a {unit} has neither.")
|
|
94
|
+
if head is not None and unit != "head":
|
|
95
|
+
raise click.UsageError("--head needs --unit head (or no --unit).")
|
|
96
|
+
if unit != "feature" and (feature is not None or dictionary is not None):
|
|
97
|
+
raise click.UsageError("--feature and --dictionary need --unit feature (or no --unit).")
|
|
98
|
+
return unit
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
inverse_option = click.option(
|
|
102
|
+
"--inverse",
|
|
103
|
+
is_flag=True,
|
|
104
|
+
help="Audit a default-on neuron pole with an inverse claim: when it goes quiet. "
|
|
105
|
+
"Reviewed with the gates' sides swapped (docs/PROTOCOL.md, Inverse claims, #4951).",
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
def check_steps(evidence_file, hypothesis_file, evidence_out, superseded_file, agent_model):
|
|
110
|
+
"""Refuse options that don't go together, or apart, across the one- and two-step audits.
|
|
111
|
+
|
|
112
|
+
Args:
|
|
113
|
+
evidence_file: The ``--evidence`` file, or None.
|
|
114
|
+
hypothesis_file: The ``--hypothesis`` file, or None.
|
|
115
|
+
evidence_out: The ``--evidence-out`` file, or None.
|
|
116
|
+
superseded_file: The ``--supersedes`` record, or None.
|
|
117
|
+
agent_model: The ``--agent-model``, or None.
|
|
118
|
+
|
|
119
|
+
Raises:
|
|
120
|
+
click.UsageError: Two options that go together are apart, or two that don't are together.
|
|
121
|
+
"""
|
|
122
|
+
if (evidence_file is None) != (hypothesis_file is None):
|
|
123
|
+
raise click.UsageError("--evidence and --hypothesis go together.")
|
|
124
|
+
if superseded_file is not None and evidence_out is not None:
|
|
125
|
+
raise click.UsageError(
|
|
126
|
+
"--supersedes goes on the step that writes the submission (with --hypothesis)."
|
|
127
|
+
)
|
|
128
|
+
if evidence_file is not None and evidence_out is not None:
|
|
129
|
+
raise click.UsageError("--evidence-out scans; --evidence reuses a scan. Pick one.")
|
|
130
|
+
if evidence_file is not None and not agent_model:
|
|
131
|
+
raise click.UsageError(
|
|
132
|
+
"--agent-model is required with --hypothesis: name the model that wrote it."
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def check_scan(evidence_file, model_name, stride, window_tokens) -> None:
|
|
137
|
+
"""Reject scan options that do not go together, before any model loads.
|
|
138
|
+
|
|
139
|
+
Args:
|
|
140
|
+
evidence_file: The ``--evidence`` file, or None.
|
|
141
|
+
model_name: The ``--model``, or None.
|
|
142
|
+
stride: The ``--stride``, or None.
|
|
143
|
+
window_tokens: The ``--window-tokens``, or None.
|
|
144
|
+
|
|
145
|
+
Raises:
|
|
146
|
+
click.UsageError: ``--stride`` without fitting windows, or no ``--model`` to scan.
|
|
147
|
+
"""
|
|
148
|
+
if stride is not None and (window_tokens is None or stride > window_tokens):
|
|
149
|
+
raise click.UsageError("--stride needs --window-tokens, and can't exceed it.")
|
|
150
|
+
if evidence_file is None and model_name is None:
|
|
151
|
+
raise click.UsageError("--model is required unless --evidence is given.")
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
def check_reuse(reuse_file: Path | None, evidence_file: Path | None, random_pick: bool) -> None:
|
|
155
|
+
"""Refuse ``--reuse-scan`` where there is no scan of a chosen unit to replace.
|
|
156
|
+
|
|
157
|
+
Args:
|
|
158
|
+
reuse_file: The ``--reuse-scan`` record, or None.
|
|
159
|
+
evidence_file: The ``--evidence`` file, or None. It already skips the scan.
|
|
160
|
+
random_pick: Whether ``--random`` draws the unit.
|
|
161
|
+
|
|
162
|
+
Raises:
|
|
163
|
+
click.UsageError: ``--reuse-scan`` with ``--evidence`` or with ``--random``.
|
|
164
|
+
|
|
165
|
+
>>> check_reuse(None, Path("ev.json"), True) # no --reuse-scan: nothing to check
|
|
166
|
+
>>> check_reuse(Path("r.json"), None, True)
|
|
167
|
+
Traceback (most recent call last):
|
|
168
|
+
click.exceptions.UsageError: --reuse-scan needs a chosen unit, not --random.
|
|
169
|
+
"""
|
|
170
|
+
if reuse_file is None:
|
|
171
|
+
return
|
|
172
|
+
if evidence_file is not None:
|
|
173
|
+
raise click.UsageError("--reuse-scan replaces a scan; --evidence already skips it.")
|
|
174
|
+
if random_pick:
|
|
175
|
+
raise click.UsageError("--reuse-scan needs a chosen unit, not --random.")
|
|
@@ -47,10 +47,10 @@ def load_circuit_data(wiki_dir: Path, circuits_dir: Path = CIRCUITS_DIR, hubs_di
|
|
|
47
47
|
|
|
48
48
|
out: dict[str, CircuitData] = {}
|
|
49
49
|
for path in sorted(Path(circuits_dir).glob("*.jsonl")):
|
|
50
|
-
lines = path.
|
|
50
|
+
lines = path.read_bytes().splitlines() # json reads UTF-8 bytes
|
|
51
51
|
out.setdefault(path.stem, CircuitData()).lineage = [json.loads(x) for x in lines if x]
|
|
52
52
|
for path in sorted((Path(wiki_dir) / CIRCUITS_WIKI).glob("*/*/*.json")):
|
|
53
|
-
record = CircuitRecord.model_validate_json(path.
|
|
53
|
+
record = CircuitRecord.model_validate_json(path.read_bytes())
|
|
54
54
|
source = path.relative_to(Path(wiki_dir).parent).as_posix()
|
|
55
55
|
out.setdefault(path.parts[-3], CircuitData()).records.append((source, record))
|
|
56
56
|
for path in sorted(Path(hubs_dir or HUBS_DIR).glob("*.jsonl")):
|
|
@@ -168,7 +168,7 @@ def link_revisions(views: list[ExperimentView]) -> None:
|
|
|
168
168
|
by_name = {key: v for v in views for key in (v.id, v.source)}
|
|
169
169
|
for view in views:
|
|
170
170
|
named = view.record.hypothesis.supersedes
|
|
171
|
-
older = by_name.get(named)
|
|
171
|
+
older = by_name.get(named) # no key is None: each is a record's path or name
|
|
172
172
|
if older is not None and older is not view:
|
|
173
173
|
view.supersedes = older
|
|
174
174
|
older.superseded_by.append(view)
|
{open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/compiler.py
RENAMED
|
@@ -19,7 +19,7 @@ from labinacan.site.pii import save_spans, scrub
|
|
|
19
19
|
from labinacan.site.render import Renderer, clean_owned, number_filters, write_redirect
|
|
20
20
|
from pydantic import ValidationError
|
|
21
21
|
|
|
22
|
-
from openinterpretability import __version__
|
|
22
|
+
from openinterpretability import __version__, record_schema
|
|
23
23
|
from openinterpretability import sisters as sister_lib
|
|
24
24
|
from openinterpretability.builder import charts, palette, pieces, statuses
|
|
25
25
|
from openinterpretability.builder.agents import (
|
|
@@ -122,6 +122,7 @@ def _environment(grid_scale: int = 1) -> Environment:
|
|
|
122
122
|
env.globals["language_mix"] = language_mix # a scan's tokens per language
|
|
123
123
|
env.globals["heat_html"] = heat_html # token heatmaps, built in Python for speed
|
|
124
124
|
env.globals["values_rows"] = values_rows # and the rows of their values tables
|
|
125
|
+
env.globals["record_schema"] = record_schema.current().as_posix() # records' schema (#3291)
|
|
125
126
|
return env
|
|
126
127
|
|
|
127
128
|
|
|
@@ -177,8 +178,9 @@ def explanation_view(scores, scale: float) -> dict | None:
|
|
|
177
178
|
|
|
178
179
|
# Paths the builder (and the Pagefind step after it) owns inside the output dir.
|
|
179
180
|
# They are removed before each build so deleted records leave no stale pages.
|
|
180
|
-
OWNED_PATHS = ("index.html", "about.html", "learned-baseline.html", "models",
|
|
181
|
-
"neurons", "research", "posts", "data", "pagefind"
|
|
181
|
+
OWNED_PATHS = ("index.html", "about.html", "404.html", "learned-baseline.html", "models",
|
|
182
|
+
"agents", "users", "neurons", "research", "posts", "data", "pagefind",
|
|
183
|
+
"schema") # fmt: skip
|
|
182
184
|
|
|
183
185
|
|
|
184
186
|
def _experiment_view(
|
|
@@ -101,7 +101,7 @@ def _points(found: dict, standings, own_model: str | None) -> list[MapPoint]:
|
|
|
101
101
|
x, y, neuron_href(model_slug(p["model"]), p["layer"], p["neuron"]),
|
|
102
102
|
f"L{p['layer']}/N{p['neuron']}{mark}",
|
|
103
103
|
status.status if status is not None else "unstudied", p["cluster"],
|
|
104
|
-
slot.get(number.get(p["cluster"]
|
|
104
|
+
slot.get(number.get(p["cluster"]), 0), named.get(p["cluster"], ""),
|
|
105
105
|
p["model"], own_model is None or p["model"] == own_model, rank[i],
|
|
106
106
|
_why(status),
|
|
107
107
|
)) # fmt: skip
|
{open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/coverage.py
RENAMED
|
@@ -58,7 +58,7 @@ def coverage_view(rows_by_model: dict[str, list[dict]]) -> dict[str, dict]:
|
|
|
58
58
|
for model, rows in rows_by_model.items():
|
|
59
59
|
if not rows:
|
|
60
60
|
continue
|
|
61
|
-
layers = [r | model_summary([r])
|
|
61
|
+
layers = [r | model_summary([r]) for r in rows]
|
|
62
62
|
out[model] = {
|
|
63
63
|
"summary": model_summary(rows),
|
|
64
64
|
"corpus": rows[0].get("corpus"),
|
{open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/pending.py
RENAMED
|
@@ -43,7 +43,7 @@ class Pending:
|
|
|
43
43
|
|
|
44
44
|
def parse(pr: dict) -> Pending | None:
|
|
45
45
|
"""A PR from ``gh pr list --json``, or None if its branch names no unit."""
|
|
46
|
-
found = BRANCH.match(pr.get("headRefName"
|
|
46
|
+
found = BRANCH.match(str(pr.get("headRefName")))
|
|
47
47
|
if found is None or pr.get("isCrossRepository", True):
|
|
48
48
|
return None
|
|
49
49
|
return Pending(
|
|
@@ -118,7 +118,11 @@ def _tokens(fig, reading, original, top: float, height: float) -> list[tuple[flo
|
|
|
118
118
|
"""Each token, with a bar for the route's total strength at it; their anchor points."""
|
|
119
119
|
totals = [sum(v[i] for v in reading.strength.values() if i < len(v))
|
|
120
120
|
for i in range(len(reading.tokens))] # fmt: skip
|
|
121
|
-
|
|
121
|
+
# Mutants: strict=None and no strict are the same as False. The rows of unequal length
|
|
122
|
+
# that make strict=True raise are tested in test_builder_route_figures_exact.py.
|
|
123
|
+
rows = original.strength.values()
|
|
124
|
+
columns = zip(*rows, strict=False) # pragma: no mutate, equivalent: see above
|
|
125
|
+
base = _peak([sum(col) for col in columns]) or 1.0
|
|
122
126
|
out = []
|
|
123
127
|
for i, tok in enumerate(reading.tokens):
|
|
124
128
|
y = top + (i + 1) * height / (len(reading.tokens) + 1)
|
{open_interpretability-0.6.1 → open_interpretability-0.6.3}/openinterpretability/builder/sections.py
RENAMED
|
@@ -14,6 +14,7 @@ from openinterpretability.builder.explanation_pages import render_explanations
|
|
|
14
14
|
from openinterpretability.builder.taxonomy_view import taxonomy_rows
|
|
15
15
|
from openinterpretability.core.licenses import DATA_TERMS
|
|
16
16
|
from openinterpretability.core.schemas import ReviewPolicy
|
|
17
|
+
from openinterpretability.record_schema import copy_schemas
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
def with_explanations(stats: dict, explanations) -> dict:
|
|
@@ -80,7 +81,7 @@ def render_reference_pages(
|
|
|
80
81
|
views = list(explanations)
|
|
81
82
|
|
|
82
83
|
def about(render) -> None:
|
|
83
|
-
"""Write About,
|
|
84
|
+
"""Write About, the page for a missing path, the record schemas, and the brand files.
|
|
84
85
|
|
|
85
86
|
Args:
|
|
86
87
|
render: The site's renderer.
|
|
@@ -89,6 +90,8 @@ def render_reference_pages(
|
|
|
89
90
|
taxonomy = taxonomy_rows(render.common["repo_url"])
|
|
90
91
|
render("about.html", "about.html", policy=ReviewPolicy(), license=license,
|
|
91
92
|
taxonomy=taxonomy, **DATA_TERMS) # fmt: skip
|
|
93
|
+
render("404.html", "404.html") # the host serves it for a path with no page (#3286)
|
|
94
|
+
report.pages.extend(copy_schemas(render.output_dir)) # each protocol's (#3291)
|
|
92
95
|
report.pages.extend(write_brand(render.output_dir))
|
|
93
96
|
|
|
94
97
|
def explained(render) -> None:
|
|
@@ -62,16 +62,26 @@ def members_of(model: ModelNode, unit: UnitNode) -> list[Member]:
|
|
|
62
62
|
return sorted(members, key=lambda m: (-abs(m.weight), m.neuron_idx))
|
|
63
63
|
|
|
64
64
|
|
|
65
|
+
# The members of a superposition that get a page and a link back, by |weight|. The sparse
|
|
66
|
+
# superpositions have at most 16 members. A rank-one LoRA direction (#7025) weighs every
|
|
67
|
+
# neuron of its layer. A page for each would add thousands of pages that say nothing
|
|
68
|
+
# (#7107). Its record and the registry export keep every member.
|
|
69
|
+
MEMBER_PAGES = 32
|
|
70
|
+
|
|
71
|
+
|
|
65
72
|
def add_members(models: Sequence[ModelNode]) -> None:
|
|
66
73
|
"""Give each superposition its members, and link each member neuron back to it.
|
|
67
74
|
|
|
68
|
-
|
|
69
|
-
|
|
75
|
+
Only the :data:`MEMBER_PAGES` largest members by |weight| are kept, and
|
|
76
|
+
``member_count`` says how many there are in all. A kept member neuron with no
|
|
77
|
+
experiment of its own gets a unit with no experiments in its layer's ``members``. The
|
|
78
|
+
site renders that unit as a short page.
|
|
70
79
|
"""
|
|
71
80
|
for model in models:
|
|
72
81
|
for layer in model.layers:
|
|
73
82
|
for unit in layer.superpositions:
|
|
74
|
-
|
|
83
|
+
found = members_of(model, unit)
|
|
84
|
+
unit.member_count, unit.members = len(found), found[:MEMBER_PAGES]
|
|
75
85
|
for m in unit.members:
|
|
76
86
|
neuron = _neuron(model, layer, m)
|
|
77
87
|
neuron.part_of.append(Membership(unit, m.relative))
|