open-interpretability 0.3.0__tar.gz → 0.4.2__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.3.0 → open_interpretability-0.4.2}/.gitignore +2 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/CHANGELOG.md +195 -0
- open_interpretability-0.4.2/PKG-INFO +100 -0
- open_interpretability-0.4.2/README.md +38 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/__init__.py +2 -2
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/agents/narrator.py +21 -3
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/answer_review.py +62 -1
- open_interpretability-0.4.2/openinterpretability/builder/alphaxiv.py +78 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/charts.py +10 -66
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/cluster_map.py +59 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/compiler.py +14 -6
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/css.py +7 -1
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/dashboard.py +26 -7
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/explanation_pages.py +48 -4
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/feeds.py +5 -3
- open_interpretability-0.4.2/openinterpretability/builder/literature_map_view.py +329 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/literature_pages.py +5 -1
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/parquet_export.py +6 -2
- open_interpretability-0.4.2/openinterpretability/builder/pieces.py +279 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/research.py +159 -10
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/research_feeds.py +88 -8
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/sections.py +36 -4
- open_interpretability-0.4.2/openinterpretability/builder/social_media.py +275 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/statuses.py +8 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_answer_verdict.html +5 -3
- open_interpretability-0.4.2/openinterpretability/builder/templates/_causal_chart.html +41 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_concept_map.html +10 -8
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_dashboard.html +15 -18
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_experiment.html +245 -247
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_experiments.html +5 -6
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_macros.html +87 -26
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_map_theme.html +1 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_members.html +1 -1
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_patchscope.html +7 -5
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_prior_art.html +6 -4
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_prose.html +5 -1
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_rivals.html +6 -4
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_route3d.html +3 -3
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_specificity.html +6 -5
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_steering.html +6 -5
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_superposition.html +1 -1
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_taxonomy.html +9 -8
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_vocab_chart.html +12 -11
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_wiring.html +13 -11
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/about.html +4 -3
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/agents.html +2 -2
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/answer.html +36 -28
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/atlas.html +3 -3
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/base.html +6 -6
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/changelog.html +1 -1
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/circuit.html +1 -1
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/circuit_unit.html +13 -13
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/circuits.html +1 -1
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/experiment.html +2 -2
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/explanation.html +30 -16
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/explanation_prompt.html +5 -5
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/explanations.html +1 -1
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/hub.html +2 -2
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/index.html +68 -64
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/layer.html +6 -24
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/learned-baseline.html +2 -2
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/literature.html +5 -5
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/model.html +39 -44
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/models.html +3 -3
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/neuron.html +20 -19
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/paper.html +9 -2
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/paper_print.html +1 -1
- open_interpretability-0.4.2/openinterpretability/builder/templates/post.html +25 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/posts.html +3 -2
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/research.html +4 -2
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/superposition.html +1 -1
- open_interpretability-0.4.2/openinterpretability/claude_sessions.py +168 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli.py +5 -1
- open_interpretability-0.4.2/openinterpretability/cli_claude_session.py +39 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_explain.py +182 -140
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_loop.py +13 -4
- open_interpretability-0.4.2/openinterpretability/cli_model_check.py +32 -0
- open_interpretability-0.4.2/openinterpretability/cli_query.py +90 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_sisters.py +5 -4
- open_interpretability-0.4.2/openinterpretability/cli_social.py +108 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/concept_map.py +5 -5
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/concepts.py +2 -1
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/explanation_records.py +8 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/project.py +18 -2
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/corpus_rebuild.py +66 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/draw_steps.py +1 -1
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/evidence_branch.py +53 -4
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/experiment_loop.py +97 -51
- open_interpretability-0.4.2/openinterpretability/explain_backend.py +155 -0
- open_interpretability-0.4.2/openinterpretability/explain_confirm.py +162 -0
- open_interpretability-0.4.2/openinterpretability/explain_corpus.py +104 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explain_coverage.py +10 -4
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explain_land.py +2 -0
- open_interpretability-0.4.2/openinterpretability/explain_output.py +134 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explain_plan.py +25 -2
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explain_run.py +61 -11
- open_interpretability-0.4.2/openinterpretability/explain_share.py +209 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explanation_targets.py +12 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/dreaming.py +89 -6
- open_interpretability-0.4.2/openinterpretability/harness/progress.py +144 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/sister_passes.py +2 -5
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/sisters.py +2 -3
- open_interpretability-0.4.2/openinterpretability/interference/fisher.py +354 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/interference/keep.py +34 -12
- open_interpretability-0.4.2/openinterpretability/interference/pruning.py +95 -0
- open_interpretability-0.4.2/openinterpretability/interference/template.py +105 -0
- open_interpretability-0.4.2/openinterpretability/interference/tuning.py +364 -0
- open_interpretability-0.4.2/openinterpretability/loop_local.py +82 -0
- open_interpretability-0.4.2/openinterpretability/loop_pending.py +95 -0
- open_interpretability-0.4.2/openinterpretability/loop_sessions.py +125 -0
- open_interpretability-0.4.2/openinterpretability/mcp_server.py +87 -0
- open_interpretability-0.4.2/openinterpretability/model_check.py +321 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/planner_explanations.py +3 -3
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/planner_states.py +3 -1
- open_interpretability-0.4.2/openinterpretability/registry_query.py +205 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/reproduce_explanation.py +4 -16
- open_interpretability-0.4.2/openinterpretability/social/__init__.py +12 -0
- open_interpretability-0.4.2/openinterpretability/social/feed.py +109 -0
- open_interpretability-0.4.2/openinterpretability/social/links.py +113 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/social/message.py +11 -32
- open_interpretability-0.4.2/openinterpretability/social/poster.py +245 -0
- open_interpretability-0.4.2/openinterpretability/social/run.py +264 -0
- open_interpretability-0.4.2/openinterpretability/social/thread.py +226 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/pyproject.toml +59 -3
- open_interpretability-0.3.0/PKG-INFO +0 -167
- open_interpretability-0.3.0/README.md +0 -108
- open_interpretability-0.3.0/openinterpretability/builder/literature_map_view.py +0 -182
- open_interpretability-0.3.0/openinterpretability/builder/pieces.py +0 -154
- open_interpretability-0.3.0/openinterpretability/builder/templates/_causal_chart.html +0 -67
- open_interpretability-0.3.0/openinterpretability/builder/templates/post.html +0 -18
- open_interpretability-0.3.0/openinterpretability/cli_social.py +0 -86
- open_interpretability-0.3.0/openinterpretability/harness/progress.py +0 -61
- open_interpretability-0.3.0/openinterpretability/social/__init__.py +0 -12
- open_interpretability-0.3.0/openinterpretability/social/feed.py +0 -50
- open_interpretability-0.3.0/openinterpretability/social/poster.py +0 -112
- open_interpretability-0.3.0/openinterpretability/social/run.py +0 -175
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/CITATION.cff +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/LICENSE +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/agents/__init__.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/agents/base.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/agents/judge.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/agents/probe_hints.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/agents/proposer.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/agents/proposer_profiles.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/agents/review_measurements.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/agents/reviewer.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/agreement.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/answer_lens.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/answer_prompts.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/answer_readings.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/audit_options.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/baseline.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/benchmark.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/blends.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/__init__.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/agents.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/aligned.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/brand/logo.svg +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/brand/mark-32.png +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/brand/mark.svg +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/brand/og.png +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/brand.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/changelog_page.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/circuit_pages.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/circuit_units.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/circuits.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/concept_map_view.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/contents.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/corpora.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/coverage.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/disk_memo.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/draws_export.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/experiment.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/explanation_figures.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/fonts/GUST-FONT-LICENSE.txt +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/fonts/OFL.txt +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/fonts/README.md +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/fonts/cmu-serif-500-italic.woff2 +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/fonts/cmu-serif-500-roman.woff2 +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/fonts/cmu-serif-700-italic.woff2 +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/fonts/cmu-serif-700-roman.woff2 +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/fonts/cmu-typewriter-text-500-roman.woff2 +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/fonts/latinmodern-math.otf +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/heat.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/hrefs.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/learned_baseline.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/maths.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/model_facts.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/neuronpedia_export.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/palette.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/paper_pdf.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/parallel.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/pending.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/pii.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/recent.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/registry_stats.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/route_figures.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/significance.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/sister_graph.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/slim.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/standing.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/stopped.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/stops.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/superpositions.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/taxonomy_view.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_agent_role_cells.html +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_circuit.html +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_embedding3d.html +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_figure.html +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_figure_pause.html +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_gas3d.html +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_route3d_waves.html +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/_route_row.html +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/agent.html +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/redirect.html +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/user.html +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/wiki/experiment.md +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/wiki/index.md +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/wiki/neuron.md +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/templates/wiki/stop.md +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/tree.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/users.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/builder/wiki.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/checks.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/circuit_checks.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/circuit_ids.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/circuit_review.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_answers.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_baseline.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_benchmark.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_build.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_check.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_circuits.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_concepts.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_corpus.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_costs.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_coverage.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_crossref.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_errata.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_evidence.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_evidence_store.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_interference.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_map.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_memory.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_neuronpedia.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_patch.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_pause.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_pole_effects.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_probing.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_provider.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_registry.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_reproduce.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_review.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_scan.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_score.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_submission.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_superpositions.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/cli_wiring.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/codeid.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/concept_regions.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/__init__.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/agent_names.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/answer_records.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/attribution.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/cache_dirs.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/causal.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/circuit_records.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/confounds.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/contributors.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/corpora.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/costs.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/draws.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/errata.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/evidence.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/examples.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/exceptions.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/explanation.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/fence.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/heavy_lock.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/identifiers.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/isolation.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/ledger.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/legacy_names.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/licenses.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/manifold.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/partners.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/patchscope.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/paths.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/pause.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/pricing.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/prior_art.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/probing.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/profiles.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/record_kinds.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/rivals.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/run_environment.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/schemas.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/specificity.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/stats.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/steering.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/strict.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/takedowns.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/taxonomy.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/transcripts.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/core/wiring.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/corpus.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/corpus_cache.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/corpus_layouts.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/corpus_presets.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/coverage.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/crossref.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/data/__init__.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/data/offensive_words.txt +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/data/providers.toml +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/data/public_suffix_list.dat +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/data/sample_corpus.txt +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/embedding_space.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/errata_checks.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/evidence.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/evidence_lenses.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explain.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explain_figure_data.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explain_groups.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explain_narrate.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explain_print.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explain_reuse.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explain_stopped.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/explanation_registry.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/figures/__init__.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/figures/motion.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/figures/svg.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/half_precision.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/__init__.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/ane/__init__.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/ane/backend.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/ane/cache.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/ane/chunks.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/ane/convert.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/ane/forward.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/ane/qualified.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/annotations.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/attribution.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/causal.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/circuit_measures.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/confounds.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/covariance.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/cpu_speed.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/crossref.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/cuda_devices.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/dead.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/devices.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/dictionaries.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/environment.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/explanation_scores.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/features.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/first_position.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/heads.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/hooks.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/input_attribution.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/jlens.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/layer_cache.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/layer_major.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/lookahead.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/manifold.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/memory.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/moe.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/patcher.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/patchscope.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/prepare.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/probing.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/scan.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/scan_backend.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/sites.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/specificity.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/steering.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/superpositions.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/units.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/wiring.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/harness/wiring_activations.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/hubs.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/interference/__init__.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/interference/behaviour.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/interference/floors.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/interference/report.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/interference/routes.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/interference/run.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/interference/units.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/inverse_claims.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/langid.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/loop_bugs.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/model_revisions.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/names.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/neuronpedia_baseline.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/neuronpedia_review.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/partner_context.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/patches/__init__.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/patches/apply.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/patches/gates.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/patches/graph.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/patches/history.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/patches/schema.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/patches/session.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/patches/store.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/patches/tensors.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/planner.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/planner_circuits.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/planner_claims.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/planner_effects.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/planner_heads.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/planner_models.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/planner_sisters.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/planner_superpositions.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/pole_effects.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/prior_art.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/providers.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/reproduce.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/reproduce_policy.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/revision.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/runner_cache.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/score_controls.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/sensitive.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/show.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/signing.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/sisters.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/superposition_finders.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/sync/__init__.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/sync/r2.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/syntax.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/takedown_checks.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/toxicity.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/until_verified.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/verdict_regression.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/wiring_backfill.py +0 -0
- {open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/wordnet.py +0 -0
|
@@ -13,6 +13,201 @@ Changes waiting for the next release are files in [changelog.d/](changelog.d/REA
|
|
|
13
13
|
|
|
14
14
|
## [Unreleased]
|
|
15
15
|
|
|
16
|
+
## [0.4.2] - 2026-11-23
|
|
17
|
+
|
|
18
|
+
Ships with protocol version **0.10**. A hotfix of 0.4.1, which PyPI refused.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- PyPI refused 0.4.1, because an email link in `[project.urls]` is not a valid Project-URL. The contact address is now the `maintainers` email in `pyproject.toml`, which the site reads as before (#6434).
|
|
23
|
+
|
|
24
|
+
## [0.4.1] - 2026-11-23
|
|
25
|
+
|
|
26
|
+
Ships with protocol version **0.10**.
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
|
|
30
|
+
- **Why L2 and L3 shut with only the block LayerNorms open.** In `papers/why-neurons-rest/`, the MLPs' mean output grows until a shared constant is 3–4 times the part of the block LayerNorms' input that differs between tokens (#3192). Dropout's own pull goes through the later blocks' LayerNorms and the final LayerNorm alike. `train_resting.py` now records each block's offset ratio, and `scripts/dropout_routes.py` splits dropout's pull by route.
|
|
31
|
+
- **How to add a model, and a check for it** (#3370). `docs/adding-a-model.md` gives the process: the gate, the choice, the check, the config, the reproduction floor and the release refresh. It also says why a model needs no learned dictionary and no SPD model, with the numbers. The new `open-interpretability model-check <model>` loads the model and checks that the hooks find its layers, MLP, attention and norms. It names the MLP's family and the block's shape, runs one ablation and checks the config. Each configured model passes it.
|
|
32
|
+
- A review of *Mechanistic Insights into LoRA: Layer Sparsity for Adaptive Fine-Tuning via Path Patching* (Zuo, Huang and Wang, 2026), in `docs/literature/lora-layer-sparsity-path-patching.md` (#3389). Its status is planned: it could set a layer arm for #5125. The method zero-ablates whole blocks, not paths, so it ranks layers, not units.
|
|
33
|
+
- A review of *Task Vectors Can Be Linearly Decomposed into Interpretable and Controllable Components* (Horiba, Cho and Yakoh, 2026), in `docs/literature/task-vectors-linear-decomposition.md` (#3403). Its status is not applicable. The task vector is an in-context activation, not a weight difference, and the paper studies no units.
|
|
34
|
+
- A review of Edward Benson's post *Embedding a state machine in a neural network* (2026), in `docs/literature/embedding-state-machine.md` (#3404). Its status is not applicable: the post names no host model, gives no code and measures nothing. A planted latch is one way to build the context rules that the ground-truth plants of #3201 could not hold.
|
|
35
|
+
- A review of *Sparks of Weight-Space Programming* (Takehi, Teoh, Zhang and Khattab, 2026), a blog post, in `docs/literature/rikiyat-weight-space-programming.md` (#3405). Its status is planned. An LLM names copying heads from weights alone, but needs activations for a behaviour that depends on context. That is evidence for #5144.
|
|
36
|
+
- A short review of Jürgen Schmidhuber's page on the 1991 fast weight programmer and Transformers, in `docs/literature/fast-weight-programmer-1991-transformer.md` (#3416). Its status is not applicable: it is a history page with no method or measurement.
|
|
37
|
+
- A review of *Unifying and Beyond the Theory of Pervasive Capability Degradation in LLM Post-training SFT from Feature Interference* (Chen, Zhu and Wang, 2026) (#3437). The page is `docs/literature/sft-capability-degradation-feature-interference.md`, with status planned. It predicts "ghost" activations after narrow fine-tuning, which the interference report's hard negatives could test.
|
|
38
|
+
- A review of ROTATE, *Disentangling MLP Neuron Weights in Vocabulary Space* (Avrahamy, Gur-Arieh and Geva, 2026), in `docs/literature/rotate.md` (#3446). Its status is planned. Its kurtosis statistic already failed as a predictor here (#3226), so #5871 tests the vocabulary channels themselves against VERIFIED explanations.
|
|
39
|
+
- A review of *SWEET: Mitigating Spurious Feature Reliance in LLM Reasoning via Weight Editing* (Fu et al., 2026), in `docs/literature/sweet-spurious-feature-weight-editing.md` (#3458). Its status is planned. It edits single MLP neurons chosen by attribution, with no random-unit control.
|
|
40
|
+
- A review of *Interpretable Weight-Space Programming Builds Transparent Transformers and Brain Encoding Models* (Mehta et al., 2026), in `docs/literature/interpretable-weight-space-programming.md` (#4471). Its status is planned. Its rebuild-from-description test is evidence for #3249.
|
|
41
|
+
- Paper *Does Fisher importance predict which explanations survive instruction tuning?*, in `papers/fisher-keep/` (#5118). A neuron's diagonal Fisher in Qwen2.5-0.5B does not predict whether its VERIFIED explanation keeps on the instruct model. The AUC is 0.475, against a within-layer null of 0.523 (p = 0.21). `openinterpretability/interference/fisher.py` reads the true and empirical Fisher and the activation RMS of every MLP neuron. `scripts/fisher_keep.py` runs the tests.
|
|
42
|
+
- **Do explanations that fail come back?** (#5119). `papers/neuron-development/` has a new section with Figure 3 and Table 3. Of the 13 explanations of Pythia-70m that hold at step 16,000 and fail later, 9 pass again before the final step. 18 of their 23 failures are within two probes of a gate. `scripts/figures_development_savings.py` counts each failure's shortfall in probes.
|
|
43
|
+
- **Paper: how many of a neuron's weights does its explanation need?** in `papers/pruning-keep/` (#5122). It zeroes the smallest 50%, 75% or 90% of each VERIFIED Pythia-70m neuron's input weights, with a random null. At 90%, 63 of 127 explanations keep by magnitude, against 17 at random. `openinterpretability/interference/pruning.py` prunes a neuron's input rows and restores them. `scripts/pruning_keep.py` runs the keep test.
|
|
44
|
+
- **Paper: do neuron explanations survive a sequence of narrow fine-tunes?** `papers/sequential-tuning/` fine-tunes Qwen2.5-0.5B and its instruct model on SST-2, then XSum, then GSM8K. After each stage it re-tests the VERIFIED explanations and scores ARC-Easy (#5125). About three quarters keep after three stages. The first update costs the most, and the benchmark does not track the losses. `scripts/sequential_tuning.py` runs it, and `openinterpretability/interference/tuning.py` holds the fine-tuning and the measures.
|
|
45
|
+
- **Paper: is it the template or the tuning?** in `papers/template-or-tuning/` (#5126). It reads the probes of each VERIFIED pole of Qwen2.5-0.5B in four conditions. The base and instruct models each read plain text and one chat template. The template alone costs the base model 76 of 360 explanations. The tuning costs 61 on plain text and a net 19 inside the template. `openinterpretability/interference/template.py` builds a corpus sample inside a chat template. `scripts/template_tuning.py` runs the four readings. The keep test's chat readings can now render with another model's template.
|
|
46
|
+
- **The first alphaXiv AI Track paper** (#5259). The paper `papers/syntax-positive-controls/` is on alphaXiv, and its `CITATION.cff` records the URL. The paper page links it.
|
|
47
|
+
- **alphaXiv issues for Muse** (#5259). `scripts/papers.py submit <slug> --issue` opens an issue labelled `muse` that asks Muse to post a published paper to the alphaXiv AI Track. The issue gives the steps and each field of the form. The `release` skill opens one for each paper published since the last tag. `scripts/next_issue.py` never picks, resumes or lists an issue labelled `muse`.
|
|
48
|
+
- **alphaXiv AI Track submissions** (#5259). `scripts/papers.py submit <slug>` writes the upload package of a published paper to `build/alphaxiv/<slug>/`. The package is the PDF that `make build` prints, and `submission.md` with each field of the form. alphaXiv has no upload API, so the maintainer approves the package and uploads it from the project account. `scripts/papers.py alphaxiv <slug> <url>` then records the URL in the paper's `CITATION.cff`, outside the frozen hash. The paper's page links it. The `release` skill prepares a package for each paper published since the last tag.
|
|
49
|
+
- **`make mutation`** (#5763). mutmut 3.8.1 runs on the verdict code: `core/stats.py`, `builder/standing.py`, `agents/reviewer.py` and `planner.py`, with their own tests. It takes about 5 minutes. `[tool.mutmut]` in `pyproject.toml` copies the whole package into `mutants/`, which fixes the import error of the first try. A first run killed 982 of 1,894 mutants, and 379 survived. Run it by hand, not in CI. The `test-new-paths` skill runs it for a change to the verdict code.
|
|
50
|
+
- **A literature page on compiling exact circuits into an LLM** (#5810). *A CPU Inside an LLM* (`docs/literature/cpu-inside-an-llm.md`) reviews Sah (2026). It asks whether the compiled circuit leaves the host model's units and their explanations unchanged. The paper measures only output behaviour, so the page says how the repo would test each unit.
|
|
51
|
+
- **`explain --local`, and `open-interpretability explain-share`** (#5827).
|
|
52
|
+
- `explain --run --local` and `--complete --local` run an explanation end to end in your own checkout, with no GitHub call: no claim, push or PR. Each experiment writes the same record, with the same inputs, into your `wiki/`. The coverage counts it at once.
|
|
53
|
+
- The explanation record lists those experiments under `run.local`, and its page says how many are local.
|
|
54
|
+
- `explain-share <record>` opens one PR with the record and every local experiment it used. As for any landing, it doesn't wait for CI. It names any unit that gained a record on main since.
|
|
55
|
+
- `--land` stays the default.
|
|
56
|
+
- **`explain` asks before it spends LLM tokens, and shows where it is** (#5830).
|
|
57
|
+
- Before `--run`, `--complete` or a narrated `--level` calls an LLM, it says what will run and estimates the tokens and the cost from the model's recent experiments. Then it asks, with no as the default.
|
|
58
|
+
- `-y`/`--yes` skips the question. With no terminal and no `--yes`, it refuses, and so never hangs. The planner's explanation draws pass `--yes`.
|
|
59
|
+
- Each stage prints `[i/N]` as it starts. On a terminal, every long loop shows a bar with the time left. These are the baselines, the random sets, the gains, the plan and the minimal set. In a run, each experiment says its count, unit and attempt.
|
|
60
|
+
- `--quiet` turns the stage lines and bars off, and `--json` implies it.
|
|
61
|
+
- **`explain` with Claude Code and no API key** (#5831).
|
|
62
|
+
- With no `--proposer`, `--reviewer` or `--provider`, and `claude` on `PATH`, `explain --run` runs each planned experiment in a headless Claude Code session, whose subagents answer. It still draws by coverage gain and measures the coverage between sessions. Without `claude`, it says what to do instead.
|
|
63
|
+
- `scripts/experiment-loop.sh` and `explain --run` share one launcher, the new `open-interpretability claude-session`.
|
|
64
|
+
- Inside Claude Code, the narrator is a subagent (`external/`) when `--narrator-model` isn't given.
|
|
65
|
+
- The new `explain` skill runs a whole explanation in a Claude Code session: the plan, its experiments, the answer experiment, the narration and the record.
|
|
66
|
+
- **X threads for papers and posts** (#5833).
|
|
67
|
+
- A paper or a post can hold `thread.yaml`: 2 to 10 tweets, each about one section, with the section's figures. The agent that writes the paper or post writes it in the same PR.
|
|
68
|
+
- `make build` and `make test` check each thread: the length and the number of its tweets, its sections and its links. They also check each figure's alt text and drawn image.
|
|
69
|
+
- The feed carries the thread, and `social post` posts it as one unit, each tweet a reply to the one before. A thread starts only when today's budget has room for all of it. After a failure it resumes from the next tweet, and never posts a tweet twice.
|
|
70
|
+
- `scripts/social_images.py` draws each figure that a thread names. The published paper on the bracket neuron, and the post on `explain`, have threads.
|
|
71
|
+
- **Each paper and post links to its X post** (#5840). The deploy posts a paper or a post to X. Then a new job writes the post's URL as `x_url` in the folder's `media/social.json`, and opens a PR. The PR merges by itself once CI passes. The page then shows "Thread on X", as a plain link with no script from X. `social post --record` and `social link` do the work. The deploy job keeps its read-only token, and only the new job writes.
|
|
72
|
+
- **Mutation testing of a branch's changes.** `make mutation BASE=origin/main` mutates the package files that the branch changes, and runs the tests that import them (#5856). It fails when a mutant survives or no test reaches one. Record an equivalent mutant on its line with `# pragma: no mutate, equivalent: <why>`. The `test-new-paths` and `work-an-issue` skills run it before a PR is opened.
|
|
73
|
+
- **A literature page on pushing every neuron of Qwen3-8B** (#6030). *Mapping Every Neuron in Qwen3-8B* (`docs/literature/mapping-every-neuron-qwen3-8b.md`) reviews Fermion Research's census of single-neuron switches and its random-neuron controls. #6032 holds a pilot on the registry's VERIFIED poles.
|
|
74
|
+
- Only an issue that the maintainer opened, or gave a thumbs up, may have the `muse` label. `scripts/issue_state.py --muse-check` checks the rule, and the *Muse label* workflow removes the label from any other issue (`docs/muse.md`, #6393).
|
|
75
|
+
|
|
76
|
+
### Changed
|
|
77
|
+
|
|
78
|
+
- **Second attempts on the agreement circuit's late neurons** (#4058). Seven units of Qwen2.5-0.5B's agreement circuit got a `revise` follow-up. Six verified, so 13 of the top 20 are now VERIFIED, and 8 of 12 in layers 16–23 against 2 of 12 before. `docs/analyses/sva-circuit.md` has the table. Ranks 21–100 moved to #6011.
|
|
79
|
+
- **`explain --run`, `--complete` and `--record` no longer wait for CI** (#5826). Landing opens the PR ready for review and goes on at once. `auto-merge.yml` merges a qualified PR when CI passes, and a maintainer merges the others. Before, each landing could wait 45 minutes, so a run by a contributor whose CI needs approval took the longest and counted nothing.
|
|
80
|
+
- **A run counts the records of its open PRs.** The next draw and the coverage after the run see them, so a VERIFIED unit is not drawn again. No experiment's commit holds them. The explanation record lists them as `pending`, and its PR body and page show them.
|
|
81
|
+
- **`explain` builds its own corpus when `--corpus` isn't given** (#5829). Before, it read `corpus.jsonl`, which a fresh clone or a pip install doesn't have, so `explain` failed at once. Now it uses the registry's scan corpus, the first 500 documents of pile-10k at a pinned commit. It uses `./corpus.jsonl` when that file holds the same bytes. Otherwise it builds the corpus once into the rebuilt-corpora cache and reuses it, so every explanation of a model keeps the same means. `--corpus` still overrides it.
|
|
82
|
+
- **The status grid's height is a count** (#5836). On a model card and a model page, a cell is a small stacked bar of its block's studied neurons, 3 px each. The bar is split by status, with VERIFIED at the bottom. Every model's grid has one scale, set by the largest block, so cards compare. Before, a cell's height repeated its best status. On a layer page, each cell is one neuron at full height. The legend's swatches are all one size, and the hover text gives each block's counts by status.
|
|
83
|
+
- **The learned-basis baseline moved to its model's page** (#5838). The home page no longer shows it. The `openai-community/gpt2` page shows it under the model's counts, labelled, with its link to the baseline page. A model with no baseline shows nothing. The build waits for the stats before it writes the model pages, which adds about 14 s to a 5-minute build.
|
|
84
|
+
- `README.md` is down to 38 lines (#5843). It covers how to run an experiment and how to explain an answer. It gives one command each and no option lists, then a short list of links. The tools table, memory and download sizes, and the loop's merge rule move to `docs/experiments.md`, in *What you need* and *Letting an agent run it*. Installing the package moves to `docs/development.md`.
|
|
85
|
+
- **The explain post is rewritten, with figures** (#5851). *Explaining an AI's answer* follows pythia-70m from "The sun rises in the" to " sky", and then a " days" mistake. It has 10 figures drawn from the records, and a test fails if one drifts from its data. It stays a draft, unlisted at `posts/drafts/explain/`.
|
|
86
|
+
- **The site's contact email is `contact@open-interpretability.com`** (#5853). The footer and the about page read it from `Contact` in `pyproject.toml`'s `[project.urls]`. The package's author email doesn't change.
|
|
87
|
+
- Every line that a pull request changes must now be covered by a test, or marked `# pragma: no cover` with its reason (#5855). The threshold is set once, as `[tool.diff_cover] fail_under = 100` in `pyproject.toml`. `make coverage` and CI's diff-cover step both read it. The `test-new-paths` skill says when the pragma is allowed. New tests close the gaps in 217 modules, from those that missed one line to the largest CLI modules. Package coverage rises from 90.92% to 100%, and the floor from 90 to 100. Three unreachable guards are marked with their reasons, and one redundant check in `concept_map.py` is removed.
|
|
88
|
+
- The secret scan no longer takes the validity date of a test ssh signer line, such as `valid-before="20200101Z"`, for a key (#5855). `.gitleaks.toml` allows that pattern by line, and its old `[allowlist]` table moves to the `[[allowlists]]` form, which gitleaks needs for two lists.
|
|
89
|
+
- **`explain` plans no answer experiment when the units' effects cancel.** Ablating every unit must cut the answer's log-probability by more than any of 4 random sets matched to the minimal set. Otherwise `necessity` and `sufficiency` have no baseline, and the plan gives the reason in place of the attempt's commands. The decision rule doesn't change (`openinterpretability/answer_review.py`, `openinterpretability/explain_plan.py`, #5967).
|
|
90
|
+
- **No daily limit on posts to X.** `social post` posted at most 15 tweets in any 24 hours, so a thread could wait a day. Every new entry now posts on the run that finds it. X's own limits apply, and a post that X refuses fails the deploy's step, which reports it (`openinterpretability/social/run.py`, #6081).
|
|
91
|
+
- Headless `claude -p` sessions (`explain --run`, `scripts/experiment-loop.sh`) now load only the project's settings. They may run `uv run open-interpretability`, but not all of `uv run`. They are denied workflow runs, `gh api`, merges, secrets, releases, free Python, git configuration, and forced or deleting pushes. `$OPENINTERPRETABILITY_SESSION_GH_TOKEN` gives the sessions their own GitHub token. The loop script's sessions now leave the merge to `auto-merge.yml` (#6393).
|
|
92
|
+
- Adding a model now includes a step that tries the ANE (`docs/adding-a-model.md`). Convert the model's architecture for Core ML, run `scripts/ane_qualify.py`, and record the result, also if it fails. A model that fails still joins, and its scans run on torch.
|
|
93
|
+
- The registry coverage ran again on 2026-11-23. The share of the loss rise that the VERIFIED poles recover, against matched random poles, is:
|
|
94
|
+
- GPT-2: 6.9% against 0.6%, with 218 poles (was 4.0%, with 208).
|
|
95
|
+
- Pythia-70m: 4.5% against 0.5%, with 150 poles (was 4.3%, with 115).
|
|
96
|
+
- Qwen2.5-0.5B: 0.38% against 0.30%, with 363 poles (was 0.39% against 0.06%). The random share rose, so the gap is now small.
|
|
97
|
+
- Qwen2.5-1.5B: 0.01%, with 73 poles (unchanged).
|
|
98
|
+
- **A project, not a lab.** The README, the About page, the package and CLI descriptions and the site's meta description now call Open Interpretability a project, not a lab.
|
|
99
|
+
- **The explain post is published.** *Explaining an AI's answer* now lists on the Posts page at `posts/explain/`, in the maintainer's rewrite, with its head figure for X and link cards. The draft URL stops working.
|
|
100
|
+
- The sister search ran for the poles VERIFIED since v0.4.0. It added 192 rows and 43 new sisters, across 11 ordered model pairs. Pythia-70m gained the most sisters: 8 in GPT-2, 7 in Qwen2.5-0.5B and 7 in Qwen2.5-1.5B. The strongest new sisters are GPT-2 L0/N908+ with Pythia-70m L0/N1277+ (Pearson 0.96), and GPT-2 L0/N2874+ with Pythia-70m L0/N897+ (0.95). The same GPT-2 pole matches Qwen2.5-1.5B L0/N1049− (0.92).
|
|
101
|
+
|
|
102
|
+
### Fixed
|
|
103
|
+
|
|
104
|
+
- **The literature map's cards, regions and colours** (#5798).
|
|
105
|
+
- The margin cards no longer run off the map, and their leader lines no longer cross. There are at most 8 a side.
|
|
106
|
+
- The cards name the reviews with status used that the most pages in `docs/` and `papers/` link to. Reviews in the index's model-architecture and data sections are left out.
|
|
107
|
+
- The "Queued, not reviewed yet" region is gone. Each queued paper sits in its topic's region, because the issue template's stock words are no longer embedded.
|
|
108
|
+
- There are now 8 regions, one per palette colour. Regions that touch never share a hue family. The colouring keeps the validator's colour-blind clashes off the borders with the most links.
|
|
109
|
+
- Regions are more compact: 90% of the dots are nearest their own region's centre, against 75% before.
|
|
110
|
+
- The called-out dots are smaller, with an outline.
|
|
111
|
+
- **The home page's stat tiles line up** (#5832). Each tile is a flex column, with its value at the bottom. So every value in a row sits on one baseline, also when a label such as "Neurons studied" wraps to two lines.
|
|
112
|
+
- `open-interpretability sisters` refuses `-k 0` and `--other` with no first model (#5890). Before, `-k 0` crashed the backward pass. `--other` with no `--model` and no configured models matched a pair with no first model and reported 0 poles. The search's checks for a unit with no match are gone, since `k` is at least 1.
|
|
113
|
+
- The interference report no longer fails on a corpus shorter than its sample (#5909). `sample_windows` keeps the whole windows that the corpus holds. A corpus shorter than one window is refused, with a message that names it.
|
|
114
|
+
- **The `explain` skill records the explanation before the answer experiment** (#5964). The answer experiment's proposer starts from the recorded explanation, so it failed when the record came last. Now the skill records at the mechanism level, then runs the answer experiment, then adds the narration, which also reads the answer experiment.
|
|
115
|
+
- **`explain` lands its record when the loop worktree was deleted, and keeps it when landing fails** (#5965). Git still lists a worktree whose folder was deleted, and refused to add it again. Now the loop adds it with `-f`. `explain --record` writes the record before it lands. If landing fails, the record stays, with its narration, and the error says how to land it later with `explain-share`.
|
|
116
|
+
- **An explanation names the model that narrated it** (#5966). An `external/` narrator, such as the `explanation-narrator` subagent, now puts its model ID in its answer. The record stores `external/<that ID>` as `narrator_model`, not the placeholder `external/claude-code`.
|
|
117
|
+
- **The experiment loop keeps branches that other worktrees have** (#6039). Before each experiment, `reset` drops old `experiment/*` branches. It now skips a branch that a worktree has checked out, which git refuses to delete. A stale worktree had stopped every experiment of an `explain --run`.
|
|
118
|
+
- **Posts to X carry their figures again.** The poster downloaded each figure with Python's default user agent, which the site's CDN refuses with 403, so posts went out with text alone. It now sends a named user agent. A failed upload now fails the post, and the deploy reports it, in place of posting the text alone (`openinterpretability/social/poster.py`, #6072).
|
|
119
|
+
- The rebuilt-corpus cache refuses a record's corpus hash that isn't a SHA-256, so the hash can't name a file outside the cache. A paper page links its alphaXiv URL only when the URL matches the alphaXiv form (#6393).
|
|
120
|
+
- **Evidence branches only gain blobs** (#6166). `evidence_branch.push` used to replace `evidence/<branch>`. A second revision of one neuron reuses the experiment branch, so its push could drop a merged record's blob before the deploy had uploaded it. Then every code PR failed the experiment-records check. The push now keeps the blobs that the branch already holds, and leases on the commit that it read. If another push lands first, it reads the branch again.
|
|
121
|
+
|
|
122
|
+
## [0.4.0] - 2026-11-21
|
|
123
|
+
|
|
124
|
+
Ships with protocol version **0.10**.
|
|
125
|
+
|
|
126
|
+
### Added
|
|
127
|
+
|
|
128
|
+
- `make coverage` runs the tests with branch coverage and fails below 90%. CI also requires 90% of the lines that a pull request changes, with diff-cover (#3166).
|
|
129
|
+
- The new `test-new-paths` skill checks that a change tests each path that it adds (#3166).
|
|
130
|
+
- **Prompt A/B noise** (`scripts/ab_variance.py`, `docs/analyses/ab-variance.md`). Holding the hypotheses fixed cuts the units needed from 62 to 34, and 30 probes to 21 (#3198).
|
|
131
|
+
- `open-interpretability query` searches the registry by model, layer, kind, standing, explanation text or token, without a clone. `open-interpretability mcp` serves the search as a read-only MCP tool (#3242).
|
|
132
|
+
- **Dreaming, three arms** (`scripts/dream_arms.py`, `docs/analyses/dreaming.md`). VERIFIED explanations miss over half of firing dreams and call about 63% of silenced prompts active, on GPT-2 and pythia-70m (#3779).
|
|
133
|
+
- **Literature.** A review of *Language Models Use Trigonometry to Do Addition* (Kantamneni and Tegmark, 2025). Numbers as a helix bear on the read and write interfaces of the fix plan's math module (#5226).
|
|
134
|
+
- **Literature.** A review of *Finding Neurons in a Haystack: Case Studies with Sparse Probing* (Gurnee, Nanda, Pauly et al., 2023), the method behind the `sparse-probing-search` skill (#5227).
|
|
135
|
+
- **Literature.** A review of *Progress measures for grokking via mechanistic interpretability* (Nanda, Chan, Lieberum, Smith and Steinhardt, 2023). It is the reference for a complete arithmetic explanation in the fix plan (#5228).
|
|
136
|
+
- **Literature.** A review of *Can Mechanistic Interpretability Help Explain LLM Agent Failures? A Case Study on Web Element Hallucination* (Aghzal, Geva, Stein and Yao, 2026). A probe and a steering fix for one failure, with what each misses (#5263).
|
|
137
|
+
- **Literature.** A review of *Pretty Linear Liars: Unregularized Probes Favor Intervention-Unfaithful Features* (Emneby, Yocum and Allen, 2026). Weakly regularised probes can pick directions the model doesn't use (#5273).
|
|
138
|
+
- **Literature.** A review of *Abstention Direction in Large Language Models* (Itai, Hirako and Yamagiwa, 2026). It finds partly shared abstention directions, and it bears on making a model say it doesn't know (#5274).
|
|
139
|
+
- **Literature.** A review of *Probing Classifiers: Promises, Shortcomings, and Advances* (Belinkov, 2022), which `papers/default-on-poles` cites. Both of the paper's quotes match the source (#5312).
|
|
140
|
+
- **Literature.** A review of *The Pile: An 800GB Dataset of Diverse Text for Language Modeling* (Gao et al., 2020), the source of the scan corpus. Our citations check out, and the page says that the `pile-10k` subset and its licence come from the dataset card (#5313).
|
|
141
|
+
- **Literature.** A review of *Gaussian Error Linear Units (GELUs)* (Hendrycks and Gimpel, 2016), which three papers cite. The source never states GELU's minimum, so `papers/default-on-poles` now cites it for GELU only, and says that the −0.75 is our computation (#5314).
|
|
142
|
+
- **Literature.** A review of *Designing and Interpreting Probes with Control Tasks* (Hewitt and Liang, 2019), which `papers/default-on-poles` cites. Its quote and its account of selectivity match the source (#5315).
|
|
143
|
+
- **Literature.** A review of *The Hydra Effect: Emergent Self-repair in Language Model Computations* (McGrath et al., 2023), which `papers/default-on-poles` cites. Both quotes match the source. The page notes that the harness's freeze of later MLPs blocks their erasure but not the attention compensation that the paper names the Hydra effect. Issue #5654 follows that up (#5316).
|
|
144
|
+
- **Literature.** A review of *Universal Dependencies v2: An Evergrowing Multilingual Treebank Collection* (Nivre et al., 2020), the source of the `ud-upos` and `ud-deprel` presets. `papers/default-on-poles` cites it correctly (#5317).
|
|
145
|
+
- **Literature.** A review of *Language Models are Unsupervised Multitask Learners* (Radford et al., 2019), the GPT-2 paper, which six papers cite. The source never states the MLP width, so `papers/native-vs-learned` and `papers/spd-input-projections` now credit GPT-2's 3,072 neurons to the released weights (#5318).
|
|
146
|
+
- **Literature.** A review of *GLU Variants Improve Transformer* (Shazeer, 2020), which defines the SwiGLU layer of Qwen2.5's MLP. `papers/default-on-poles` cites it correctly (#5319).
|
|
147
|
+
- **Literature.** A review of *Massive Activations in Large Language Models* (Sun et al., 2024). The source measures massive activations in the residual stream, so `papers/default-on-poles` now names them apart from its first token's neuron activations (#5320).
|
|
148
|
+
- **Literature.** A review of *Intriguing Properties of Neural Networks* (Szegedy et al., 2014), the claim that random directions read as well as units. `papers/default-on-poles` quotes it correctly (#5321).
|
|
149
|
+
- **Literature.** A review of *Introduction to the CoNLL-2003 Shared Task* (Tjong Kim Sang and De Meulder, 2003). People tagged its named entities, and a tagger made its part-of-speech tags. The `conll2003-pos` preset's comment now says so (#5322).
|
|
150
|
+
- **Literature.** A review of *Efficient Streaming Language Models with Attention Sinks* (Xiao et al., 2023), the evidence behind the protocol's name for the first token. The source didn't test GPT-2, so `papers/default-on-poles` now names the models that it did test (#5323).
|
|
151
|
+
- **Literature.** A review of the *Qwen2.5 Technical Report* (Yang et al., 2024), the report on two configured models. The three papers that cite it match the source (#5324).
|
|
152
|
+
- **Literature.** A review of *Character-level Convolutional Networks for Text Classification* (Zhang et al., 2015), which built the AG News set. `papers/default-on-poles` now says that AG News's topics are its corpus's categories, which the source doesn't describe further (#5325).
|
|
153
|
+
- **Literature.** A review of *Universal Neurons in GPT2 Language Models* (Gurnee et al., 2024), the method behind the sister search. Both papers that cite it match the source (#5326).
|
|
154
|
+
- **Literature.** A review of *Convergent Learning: Do Different Neural Networks Learn the Same Representations?* (Li et al., 2016), the matching that the sister search's mutual step tightens. `papers/explanations-across-models` cites it correctly (#5327).
|
|
155
|
+
- **Literature.** A review of *Stochastic Parameter Decomposition* (Bushnaq et al., 2025). The source fixes the importance exponent, so `papers/spd-input-projections` now says that lowering it during training is its own choice (#5328).
|
|
156
|
+
- **Literature.** A review of *Transcoders Find Interpretable LLM Feature Circuits* (Dunefsky et al., 2024), the source of the learned-basis baseline's dictionary. `papers/native-vs-learned` cites it correctly (#5329).
|
|
157
|
+
- **Literature.** A review of *Network Dissection* (Bau et al., 2017). Its rotation test finds 80% fewer interpretable units after a random rotation. `papers/neuron-development` cites it correctly (#5330).
|
|
158
|
+
- **Literature.** A review of *Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling* (Biderman et al., 2023). It is the suite of pythia-70m and its checkpoints. Both papers that cite it match the source (#5331).
|
|
159
|
+
- **Literature.** A review of *OLMo: Accelerating the Science of Language Models* (Groeneveld et al., 2024), an open model that issues #4156 and #3377 plan to study. `papers/neuron-development` cites it correctly (#5332).
|
|
160
|
+
- **Literature.** A review of *Loss Landscape Degeneracy and Stagewise Development in Transformers* (Hoogland et al., 2025). It is the measure that #4156 plans to try on neurons. `papers/neuron-development` cites it correctly (#5333).
|
|
161
|
+
- **Literature.** A review of *The Local Learning Coefficient* (Lau et al., 2023), the measure that #4156 plans to use on training checkpoints. `papers/neuron-development` cites it correctly (#5334).
|
|
162
|
+
- **Literature.** A review of *PolyPythias* (van der Wal et al., 2025), in `docs/literature/polypythias.md`. Our citations of its nine extra pythia-70m runs check out (#5335).
|
|
163
|
+
- **Literature.** A review of *Attribution-based Parameter Decomposition* (Braun et al., 2025), the method that SPD replaced. `papers/spd-input-projections` cites it correctly (#5336).
|
|
164
|
+
- **Literature.** A review of *Who cares about brackets?* (Clark et al., 2023), a hackathon report on brackets in GPT-2 small. `papers/syntax-positive-controls` cites it correctly (#5337).
|
|
165
|
+
- **Literature.** A review of *Interpretability Illusions in the Generalization of Simplified Models* (Friedman et al., 2024). `papers/syntax-positive-controls` cites it correctly (#5338).
|
|
166
|
+
- **Literature.** A review of *Visualizing and Understanding Recurrent Networks* (Karpathy et al., 2015). `papers/syntax-positive-controls` cites it correctly (#5339).
|
|
167
|
+
- **Literature.** A review of *Attribution Patching Outperforms Automated Circuit Discovery* (Syed et al., 2023), the estimate that `pole_effects.py` uses (#5340).
|
|
168
|
+
- **Literature.** A review of Dugas et al. (2001), the paper that defines and names softplus. `papers/why-neurons-rest` cites it correctly (#5341).
|
|
169
|
+
- **Literature.** A review of Elfwing et al. (2017), the first paper on arXiv to define and name the SiLU. `papers/why-neurons-rest` cites it correctly (#5342).
|
|
170
|
+
- **Literature.** A review of *Decoupled Weight Decay Regularization* (Loshchilov and Hutter, 2019), the AdamW paper. `papers/why-neurons-rest` cites it correctly (#5343).
|
|
171
|
+
- **Literature.** A review of *Confidence Regulation Neurons in Language Models* (Stolfo et al., 2024), the source of two triage families. `papers/why-neurons-rest` cites it correctly (#5344).
|
|
172
|
+
- **Literature.** A review of *The Platonic Representation Hypothesis* (Huh et al., 2024). The reference in `papers/shared-concept-space` now names its ICML 2024 venue (#5419).
|
|
173
|
+
- **Literature.** A review of *UMAP* (McInnes et al., 2018), the layout of the concept and literature maps. `papers/shared-concept-space` cites it correctly (#5420).
|
|
174
|
+
- **Literature.** A review of *From Louvain to Leiden* (Traag et al., 2019), which finds the regions of both maps. `papers/shared-concept-space` cites it correctly (#5421).
|
|
175
|
+
- **Literature.** A review of *Sentence-BERT* (Reimers and Gurevych, 2019), whose library embeds both maps and the scorer's texts. `papers/shared-concept-space` cites it correctly (#5422).
|
|
176
|
+
- **Literature.** A review of *MiniLM* (Wang et al., 2020). `papers/shared-concept-space` now names its NeurIPS 2020 venue, and says what its embedder starts from (#5423).
|
|
177
|
+
- **Literature.** A review of *RL Post-Training in Diffusion Transformers Is Activation Steering* (Meral et al., 2026), from the research digest (#5512).
|
|
178
|
+
- **Literature.** A review of *CurvDelta* (Xiao et al., 2026), a curvature constraint on fine-tunes, from the research digest (#5514).
|
|
179
|
+
- **Draft posts.** A post marked `Draft` in `posts/README.md` builds at `posts/drafts/<slug>/`, with a badge and a `noindex` tag, in local builds and deploys. No index, feed or sitemap lists it. The first draft is *We are on X* (#5529, #5551).
|
|
180
|
+
- **Head figures on X and in link cards.** A paper's or post's post on X carries its head figure: a video when the figure animates, else an image, with its alt text (#5534). `scripts/social_images.py` draws them from the SVG, the feeds link them, and each page's link card shows its own figure.
|
|
181
|
+
- **Literature.** A review of *Automated Interpretability Metrics Do Not Distinguish Trained and Random Transformers* (Heap et al., 2025), with follow-up #5758 (#5559).
|
|
182
|
+
- **Literature.** A review of *Compressed Sensing for Capability Localization in Large Language Models* (Bair et al., 2026), for research question #5602 (#5600).
|
|
183
|
+
|
|
184
|
+
### Changed
|
|
185
|
+
|
|
186
|
+
- **Papers.** The maintainer is now the first author of every paper, and Open Interpretability the second. `scripts/papers.py` writes both into each paper's `CITATION.cff` from the root `CITATION.cff`, and its check fails on a paper that leaves them out. The paper pages, their PDFs and the Research index show the authors (#5260).
|
|
187
|
+
- **Breaking.** Posts to X now carry published papers and site posts only, not VERIFIED units (#5533). `open-interpretability social post` reads `--papers` and the new `--posts`. `--experiments` and `--site` are gone, with the digest post. A feed new to the saved state seeds and posts nothing, so the first deploy posts no old post.
|
|
188
|
+
- **Header.** The site's header no longer shows the "mechanistic interpretability lab" tagline. The meta description and the About page keep it (#5535).
|
|
189
|
+
- **The explain post.** *Why did the model say that?* is a draft again, rewritten on the two pythia-70m explanations. It walks through how an explanation is built: attribution, causal coverage, the matched random baseline and the answer experiment. It follows the " days" hallucination in depth (#5564).
|
|
190
|
+
- **Site.** Pages show the result first and keep the method text behind **Read more**. On an experiment page, the hypothesis, the verdict, the four deciding values and the gates are on top. Every other section is closed until the reader opens it, and a section with no data isn't shown. The minimal-pair table and the per-pair causal numbers are now one table. Two macros, `fold` and `read_more`, do this on every page (#5566).
|
|
191
|
+
- **About page.** The About page is as wide as the other pages. Its figures and the registry's parts use the full width, and its paragraphs keep the reading width that the home page uses (#5569).
|
|
192
|
+
- **Wrapping table text.** Prose pages are the literature index, papers, posts and the changelog. On them, a table cell longer than 40 characters now wraps, with a least width of 14rem. Short values and numbers stay on one line. The literature tables' Why column fits the page at desktop width (#5570).
|
|
193
|
+
- **Site.** The About page shows its full text again, without **Read more** (#5661).
|
|
194
|
+
- The site has one content column, 60rem wide, set once in `openinterpretability/builder/css.py` (#5726). Prose, captions, figures, tables and maps share its right edge. Prose was 48rem and papers were 52rem, and figures ran to the page's edge. The About page's taxonomy draws at 1.26 times its size, not 1.3, so that it fits.
|
|
195
|
+
- One function and one macro, both named `status_grid`, draw the status grid of the model cards, the model pages and the layer pages (#5797). The function is in `openinterpretability/builder/pieces.py`, and the macro is in `_macros.html`. A cell's colour and its height both give the best status in it. A VERIFIED cell is 10 px high, and each step down is 2 px less, to 2 px for STOPPED. Each legend swatch has its cell's shape and a count. The model page's map had marks that overlapped. Its cells are now blocks of neurons, 128 to a layer, and the map is as wide as the text.
|
|
196
|
+
- **Registry coverage refreshed on 2026-11-21.** There are 70 new layer rows, with these VERIFIED poles per model:
|
|
197
|
+
- Qwen2.5-0.5B: 350 poles (was 347), at most 1.9% of the loss recovered in any layer.
|
|
198
|
+
- Qwen2.5-1.5B: 67 poles (was 63), at most 0.4%.
|
|
199
|
+
- GPT-2: 208 poles (was 206), at most 13.0%.
|
|
200
|
+
- Pythia-70m: 115 poles (was 107), at most 6.8% (was 6.7%).
|
|
201
|
+
- **Sister neurons.** The 0.4.0 refresh searched the 18 poles VERIFIED since the last run against each other configured model. It added 54 new rows and 12 new sisters. Pythia-70m (8 poles) added the most rows, and Qwen2.5-1.5B against Qwen2.5-0.5B added the most sisters (3). The strongest are Qwen2.5-1.5B L8/N982+ with Qwen2.5-0.5B L4/N940+ (Pearson 0.78), GPT-2 L11/N932+ with Qwen2.5-1.5B L22/N5178+ (0.68), and Pythia-70m L1/N394+ with Qwen2.5-1.5B L1/N5813− (0.62).
|
|
202
|
+
|
|
203
|
+
### Fixed
|
|
204
|
+
|
|
205
|
+
- **Site.** Two accessibility fixes on the Research and Posts pages. Each figure link is hidden from screen readers and the tab order, because the title beside it goes to the same page. Each table in a paper, post or literature page can take keyboard focus, so a reader without a mouse can scroll it. The axe check in CI now also covers the Research index and one paper (#5649).
|
|
206
|
+
- **Site.** Chart text stays one size on every screen. Each chart with text now draws at its natural size, through one `chart` macro, and its text is 12 px, from `CHART_TEXT_PX` in `builder/charts.py`. A chart wider than the screen scrolls in its own box, never the page. On the home page, "Verdicts per model" is 640 px wide, and "Verdicts per layer" uses a grid with no chart alone on a row. The About page's diagrams keep their drawn text sizes at a fixed 1.3 times their size (#5660).
|
|
207
|
+
- Model cards on the home and Models pages have one layout: the name, then four statistics in a grid. Their pieces bars fill the card, with 64 cells and 6 px per layer on every model. A cell with a VERIFIED pole is drawn full height, so the status shows without colour (#5724).
|
|
208
|
+
- Answer and explanation pages link a unit only when the site has its page. A neuron with no experiment shows as plain text, marked "not yet studied" (#5727).
|
|
209
|
+
- `open-interpretability query` prints a record's text in its table with no control characters (#5816). A tab, a newline or a carriage return becomes a space, and any other control character becomes its `\x` code. `--json` already escaped them.
|
|
210
|
+
|
|
16
211
|
## [0.3.0] - 2026-11-20
|
|
17
212
|
|
|
18
213
|
Ships with protocol version **0.10**.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: open-interpretability
|
|
3
|
+
Version: 0.4.2
|
|
4
|
+
Summary: Open Interpretability: an agent-run mechanistic interpretability project, with an audited registry of native neurons in open-weight models.
|
|
5
|
+
Project-URL: Homepage, https://open-interpretability.com/
|
|
6
|
+
Project-URL: Repository, https://github.com/8W9aG/openinterpretability
|
|
7
|
+
Project-URL: X, https://x.com/openinterpret
|
|
8
|
+
Author-email: Will Sackfield <will.sackfield+openinterpretability@gmail.com>
|
|
9
|
+
Maintainer-email: Open Interpretability <contact@open-interpretability.com>
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
14
|
+
Requires-Python: >=3.11
|
|
15
|
+
Requires-Dist: accelerate>=0.30.0
|
|
16
|
+
Requires-Dist: boto3>=1.34.0
|
|
17
|
+
Requires-Dist: click>=8.1.0
|
|
18
|
+
Requires-Dist: coremltools>=9.0; sys_platform == 'darwin' and platform_machine == 'arm64'
|
|
19
|
+
Requires-Dist: duckdb>=1.0.0
|
|
20
|
+
Requires-Dist: fasttext-predict>=0.9.2
|
|
21
|
+
Requires-Dist: instructor>=1.3.0
|
|
22
|
+
Requires-Dist: jinja2>=3.1.3
|
|
23
|
+
Requires-Dist: latex2mathml>=3.81.1
|
|
24
|
+
Requires-Dist: litellm>=1.40.0
|
|
25
|
+
Requires-Dist: magika<2,>=1.0.3
|
|
26
|
+
Requires-Dist: markdown-it-py>=4.0
|
|
27
|
+
Requires-Dist: mdit-py-plugins>=0.6.1
|
|
28
|
+
Requires-Dist: nltk>=3.8
|
|
29
|
+
Requires-Dist: presidio-analyzer>=2.2
|
|
30
|
+
Requires-Dist: pyarrow>=26.0.1
|
|
31
|
+
Requires-Dist: pydantic>=2.7.0
|
|
32
|
+
Requires-Dist: spacy-curated-transformers<1,>=0.3
|
|
33
|
+
Requires-Dist: tldextract>=5.1
|
|
34
|
+
Requires-Dist: torch>=2.2.0
|
|
35
|
+
Requires-Dist: transformers>=5.22.2
|
|
36
|
+
Requires-Dist: tree-sitter-bash>=0.25.1
|
|
37
|
+
Requires-Dist: tree-sitter-c-sharp>=0.23.5
|
|
38
|
+
Requires-Dist: tree-sitter-c>=0.24.2
|
|
39
|
+
Requires-Dist: tree-sitter-cpp>=0.23.4
|
|
40
|
+
Requires-Dist: tree-sitter-go>=0.25.0
|
|
41
|
+
Requires-Dist: tree-sitter-haskell>=0.24.1
|
|
42
|
+
Requires-Dist: tree-sitter-java>=0.23.5
|
|
43
|
+
Requires-Dist: tree-sitter-javascript>=0.25.0
|
|
44
|
+
Requires-Dist: tree-sitter-lua>=0.5.0
|
|
45
|
+
Requires-Dist: tree-sitter-php>=0.25.1
|
|
46
|
+
Requires-Dist: tree-sitter-python>=0.25.0
|
|
47
|
+
Requires-Dist: tree-sitter-ruby>=0.23.1
|
|
48
|
+
Requires-Dist: tree-sitter-rust>=0.24.2
|
|
49
|
+
Requires-Dist: tree-sitter-scala>=0.26.11
|
|
50
|
+
Requires-Dist: tree-sitter-typescript>=0.23.2
|
|
51
|
+
Requires-Dist: tree-sitter>=0.26.1
|
|
52
|
+
Provides-Extra: map
|
|
53
|
+
Requires-Dist: igraph>=0.11; extra == 'map'
|
|
54
|
+
Requires-Dist: leidenalg>=0.10.2; extra == 'map'
|
|
55
|
+
Requires-Dist: sentence-transformers>=5.0; extra == 'map'
|
|
56
|
+
Requires-Dist: umap-learn>=0.5.7; extra == 'map'
|
|
57
|
+
Provides-Extra: mcp
|
|
58
|
+
Requires-Dist: mcp>=2.0; extra == 'mcp'
|
|
59
|
+
Provides-Extra: site
|
|
60
|
+
Requires-Dist: pagefind[bin]>=1.3.0; extra == 'site'
|
|
61
|
+
Description-Content-Type: text/markdown
|
|
62
|
+
|
|
63
|
+

|
|
64
|
+
|
|
65
|
+
# Open Interpretability
|
|
66
|
+
|
|
67
|
+
[](https://doi.org/10.5281/zenodo.24150022)
|
|
68
|
+
[](https://pypi.org/project/open-interpretability/)
|
|
69
|
+
|
|
70
|
+
An open project, run with agents, that explains the native neurons and attention heads of open-weight language models and publishes each result at **[open-interpretability.com](https://open-interpretability.com/)**.
|
|
71
|
+
|
|
72
|
+
## Before you start
|
|
73
|
+
|
|
74
|
+
You need [Git](https://git-scm.com/), [Python](https://www.python.org/) 3.11+, [uv](https://docs.astral.sh/uv/), [Claude Code](https://claude.com/claude-code) and the [GitHub CLI](https://cli.github.com/). Run `gh auth login` once, so the loop can fork the repository and open pull requests. A laptop CPU is enough.
|
|
75
|
+
|
|
76
|
+
## Run an experiment
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
gh repo fork 8W9aG/openinterpretability --clone
|
|
80
|
+
cd openinterpretability
|
|
81
|
+
claude "/loop /land-experiment"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Each experiment draws a neuron and proposes what it does. A different model then tries to break that claim, and the result goes in a pull request. The loop runs one experiment after another until you stop it.
|
|
85
|
+
|
|
86
|
+
## Explain an answer
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
uv run open-interpretability explain "The sun rises in the"
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
It lists the units that carry the model's answer, says which of them the registry explains, and lists the experiments that would explain the rest. It reads `corpus.jsonl`, which [The scan corpus](docs/experiments.md#the-scan-corpus) says how to build.
|
|
93
|
+
|
|
94
|
+
## More
|
|
95
|
+
|
|
96
|
+
- [docs/experiments.md](docs/experiments.md): what you need, other ways to run, API keys, and every option.
|
|
97
|
+
- [docs/PROTOCOL.md](docs/PROTOCOL.md): how a verdict is decided.
|
|
98
|
+
- [docs/development.md](docs/development.md): installing the package, the code, CI and the site.
|
|
99
|
+
- [CONTRIBUTING.md](CONTRIBUTING.md) and [SECURITY.md](SECURITY.md): how to contribute, and how to report a security problem.
|
|
100
|
+
- [CITATION.cff](CITATION.cff): how to cite. The code is under [MIT](LICENSE), and the records under [CC-BY-4.0](wiki/LICENSE.md).
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Open Interpretability
|
|
4
|
+
|
|
5
|
+
[](https://doi.org/10.5281/zenodo.24150022)
|
|
6
|
+
[](https://pypi.org/project/open-interpretability/)
|
|
7
|
+
|
|
8
|
+
An open project, run with agents, that explains the native neurons and attention heads of open-weight language models and publishes each result at **[open-interpretability.com](https://open-interpretability.com/)**.
|
|
9
|
+
|
|
10
|
+
## Before you start
|
|
11
|
+
|
|
12
|
+
You need [Git](https://git-scm.com/), [Python](https://www.python.org/) 3.11+, [uv](https://docs.astral.sh/uv/), [Claude Code](https://claude.com/claude-code) and the [GitHub CLI](https://cli.github.com/). Run `gh auth login` once, so the loop can fork the repository and open pull requests. A laptop CPU is enough.
|
|
13
|
+
|
|
14
|
+
## Run an experiment
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
gh repo fork 8W9aG/openinterpretability --clone
|
|
18
|
+
cd openinterpretability
|
|
19
|
+
claude "/loop /land-experiment"
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Each experiment draws a neuron and proposes what it does. A different model then tries to break that claim, and the result goes in a pull request. The loop runs one experiment after another until you stop it.
|
|
23
|
+
|
|
24
|
+
## Explain an answer
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
uv run open-interpretability explain "The sun rises in the"
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
It lists the units that carry the model's answer, says which of them the registry explains, and lists the experiments that would explain the rest. It reads `corpus.jsonl`, which [The scan corpus](docs/experiments.md#the-scan-corpus) says how to build.
|
|
31
|
+
|
|
32
|
+
## More
|
|
33
|
+
|
|
34
|
+
- [docs/experiments.md](docs/experiments.md): what you need, other ways to run, API keys, and every option.
|
|
35
|
+
- [docs/PROTOCOL.md](docs/PROTOCOL.md): how a verdict is decided.
|
|
36
|
+
- [docs/development.md](docs/development.md): installing the package, the code, CI and the site.
|
|
37
|
+
- [CONTRIBUTING.md](CONTRIBUTING.md) and [SECURITY.md](SECURITY.md): how to contribute, and how to report a security problem.
|
|
38
|
+
- [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.3.0 → open_interpretability-0.4.2}/openinterpretability/__init__.py
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"""Open Interpretability: an agent-run
|
|
1
|
+
"""Open Interpretability: an agent-run interpretability project and its neuron registry."""
|
|
2
2
|
|
|
3
3
|
from openinterpretability.core.legacy_names import adopt_legacy_env
|
|
4
4
|
|
|
5
|
-
__version__ = "0.
|
|
5
|
+
__version__ = "0.4.2"
|
|
6
6
|
# The name on PyPI, and of the installed distribution (issue #3251). The import name is
|
|
7
7
|
# `openinterpretability` (issue #4089).
|
|
8
8
|
DISTRIBUTION = "open-interpretability"
|
{open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/agents/narrator.py
RENAMED
|
@@ -13,7 +13,8 @@ import json
|
|
|
13
13
|
|
|
14
14
|
from pydantic import BaseModel, Field
|
|
15
15
|
|
|
16
|
-
from openinterpretability.agents.base import LLMAgent
|
|
16
|
+
from openinterpretability.agents.base import LLMAgent, recorded_model
|
|
17
|
+
from openinterpretability.core.agent_names import EXTERNAL_PREFIX, canonical_agent
|
|
17
18
|
from openinterpretability.core.fence import FENCE_RULE
|
|
18
19
|
|
|
19
20
|
|
|
@@ -67,6 +68,13 @@ its unit on a scan corpus, so it may not cover this prompt. Say so if you rely o
|
|
|
67
68
|
{FENCE_RULE}"""
|
|
68
69
|
|
|
69
70
|
|
|
71
|
+
class ReportedNarrative(Narrative): # noqa: D101 (a docstring would join the JSON schema)
|
|
72
|
+
model: str = Field(
|
|
73
|
+
description="Your exact model ID, for example claude-sonnet-5-5. The record names "
|
|
74
|
+
"this model as the narrator."
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
|
|
70
78
|
class Narrator(LLMAgent):
|
|
71
79
|
"""Writes the long form and the paragraph from the evidence (module docstring)."""
|
|
72
80
|
|
|
@@ -74,9 +82,19 @@ class Narrator(LLMAgent):
|
|
|
74
82
|
role = "narrator"
|
|
75
83
|
|
|
76
84
|
def narrate(self, evidence: dict) -> Narrative:
|
|
77
|
-
"""The long form and the paragraph for ``evidence``.
|
|
85
|
+
"""The long form and the paragraph for ``evidence``.
|
|
86
|
+
|
|
87
|
+
An ``external/`` narrator also reports its model ID. ``self.model`` then becomes
|
|
88
|
+
``external/<that ID>``, so the record names the model that wrote the text.
|
|
89
|
+
"""
|
|
78
90
|
task = (
|
|
79
91
|
"Explain why the model gives this answer, from this evidence only.\n\n"
|
|
80
92
|
f"```json\n{json.dumps(evidence, indent=1)}\n```"
|
|
81
93
|
)
|
|
82
|
-
|
|
94
|
+
if not self.model.startswith(EXTERNAL_PREFIX):
|
|
95
|
+
return self.structured(Narrative, task)
|
|
96
|
+
# An external answerer reports the model that wrote the text, and the record names
|
|
97
|
+
# that model, not the placeholder such as external/claude-code (#5966).
|
|
98
|
+
told = self.structured(ReportedNarrative, task)
|
|
99
|
+
self.model = recorded_model(EXTERNAL_PREFIX + canonical_agent(told.model)) or self.model
|
|
100
|
+
return Narrative.model_validate(told.model_dump(exclude={"model"}))
|
{open_interpretability-0.3.0 → open_interpretability-0.4.2}/openinterpretability/answer_review.py
RENAMED
|
@@ -29,7 +29,14 @@ from openinterpretability.core.answer_records import (
|
|
|
29
29
|
parse_unit,
|
|
30
30
|
)
|
|
31
31
|
from openinterpretability.explain import mean_ablation
|
|
32
|
-
from openinterpretability.explain_coverage import
|
|
32
|
+
from openinterpretability.explain_coverage import (
|
|
33
|
+
DRAWS,
|
|
34
|
+
SEED,
|
|
35
|
+
_log_prob,
|
|
36
|
+
_share,
|
|
37
|
+
keep_hooks,
|
|
38
|
+
matched_draw,
|
|
39
|
+
)
|
|
33
40
|
from openinterpretability.explain_groups import HEAD
|
|
34
41
|
|
|
35
42
|
|
|
@@ -155,6 +162,60 @@ def draw_seed() -> int:
|
|
|
155
162
|
return secrets.randbelow(2**31)
|
|
156
163
|
|
|
157
164
|
|
|
165
|
+
def dependence(runner, means, prompt: str, token: int, position: int, coverage: dict,
|
|
166
|
+
*, draws: int = DRAWS, seed: int = SEED) -> dict: # fmt: skip
|
|
167
|
+
"""Whether the gates ``necessity`` and ``sufficiency`` have a baseline on a prompt (#5967).
|
|
168
|
+
|
|
169
|
+
Both gates divide by the all-unit cut. That is the answer's clean log-probability minus
|
|
170
|
+
its log-probability with every unit mean-ablated. The units' effects can cancel. Then
|
|
171
|
+
that cut is near 0 or negative, and no route can pass the two gates. ``explain`` then
|
|
172
|
+
plans no answer experiment (:func:`~openinterpretability.explain_plan.answer_step`).
|
|
173
|
+
|
|
174
|
+
The scale for "near 0" comes from ``draws`` random sets, matched by kind and layer to the
|
|
175
|
+
coverage's minimal set. That set is the likeliest route before a claim exists. Each set
|
|
176
|
+
is mean-ablated alone, and its cut is measured as the review measures a route's cut
|
|
177
|
+
(:func:`measure`).
|
|
178
|
+
|
|
179
|
+
Args:
|
|
180
|
+
runner: The model.
|
|
181
|
+
means: Each unit's corpus mean.
|
|
182
|
+
prompt: The prompt.
|
|
183
|
+
token: The answer's token id.
|
|
184
|
+
position: The answer's position.
|
|
185
|
+
coverage: The output of :func:`~openinterpretability.explain_coverage.prompt_coverage`.
|
|
186
|
+
Its ``clean``, ``ablated`` and ``minimal_units`` are used.
|
|
187
|
+
draws: The number of random sets.
|
|
188
|
+
seed: The seed of the random sets.
|
|
189
|
+
|
|
190
|
+
Returns:
|
|
191
|
+
``all_cut``, ``null_cuts`` and ``measurable`` (:func:`measurable`).
|
|
192
|
+
"""
|
|
193
|
+
rng, units = random.Random(seed), every_unit(runner, means)
|
|
194
|
+
nulls = [matched_draw(rng, units, coverage["minimal_units"]) for _ in range(draws)]
|
|
195
|
+
clean = coverage["clean"]
|
|
196
|
+
cuts = [clean - _log_prob(runner, prompt, token, position, mean_ablation(n, means, runner))
|
|
197
|
+
for n in nulls] # fmt: skip
|
|
198
|
+
all_cut = clean - coverage["ablated"]
|
|
199
|
+
return {"all_cut": all_cut, "null_cuts": cuts, "measurable": measurable(all_cut, cuts)}
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
def measurable(all_cut: float, null_cuts: list[float]) -> bool:
|
|
203
|
+
"""Whether ``all_cut`` is greater than the largest absolute cut of the random sets (#5967).
|
|
204
|
+
|
|
205
|
+
Then ablating every unit does more than ablating any random set of the route's size.
|
|
206
|
+
So the route's share of the all-unit cut means something.
|
|
207
|
+
|
|
208
|
+
Args:
|
|
209
|
+
all_cut: The clean log-probability minus the log-probability with every unit
|
|
210
|
+
mean-ablated.
|
|
211
|
+
null_cuts: The cut of each random set. With none, ``all_cut`` must be positive.
|
|
212
|
+
|
|
213
|
+
Returns:
|
|
214
|
+
True when the gates ``necessity`` and ``sufficiency`` have a baseline.
|
|
215
|
+
"""
|
|
216
|
+
return all_cut > max((abs(c) for c in null_cuts), default=0.0)
|
|
217
|
+
|
|
218
|
+
|
|
158
219
|
def measure(runner, means, claim: AnswerClaim, probes: AnswerProbes, policy: AnswerPolicy,
|
|
159
220
|
seed: int = 0) -> AnswerMeasures: # fmt: skip
|
|
160
221
|
"""Every measure of the module docstring, for ``claim`` on ``probes``."""
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"""A paper's alphaXiv page, from its ``CITATION.cff`` (#5259).
|
|
2
|
+
|
|
3
|
+
``scripts/papers.py`` records the URL and checks it. The site links it only when it has
|
|
4
|
+
the alphaXiv form, whatever the file says.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
import re
|
|
10
|
+
from pathlib import Path
|
|
11
|
+
|
|
12
|
+
import yaml # a dependency of transformers and huggingface_hub
|
|
13
|
+
|
|
14
|
+
# A published paper's page on the alphaXiv AI Track (#5259): a ``url`` identifier of its
|
|
15
|
+
# CITATION.cff, with this description. The field is outside the paper's frozen hash.
|
|
16
|
+
ALPHAXIV = "alphaXiv AI Track"
|
|
17
|
+
ALPHAXIV_URL = re.compile(r"https://www\.alphaxiv\.org/abs/[\w.\-]+(?:v\d+)?")
|
|
18
|
+
|
|
19
|
+
__all__ = ["ALPHAXIV", "ALPHAXIV_URL", "alphaxiv_url", "cited_alphaxiv"]
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def cited_alphaxiv(folder: Path) -> str | None:
|
|
23
|
+
r"""The ``url`` identifier that the paper's ``CITATION.cff`` gives for alphaXiv, unchecked.
|
|
24
|
+
|
|
25
|
+
``scripts/papers.py check`` reads it to find a bad value. The site uses
|
|
26
|
+
:func:`alphaxiv_url`, which links only a value of the alphaXiv form.
|
|
27
|
+
|
|
28
|
+
Args:
|
|
29
|
+
folder: The paper's folder.
|
|
30
|
+
|
|
31
|
+
Returns:
|
|
32
|
+
The value, or None when the paper has no citation file or no such identifier.
|
|
33
|
+
|
|
34
|
+
Examples:
|
|
35
|
+
>>> import tempfile
|
|
36
|
+
>>> folder = Path(tempfile.mkdtemp())
|
|
37
|
+
>>> cited_alphaxiv(folder) is None
|
|
38
|
+
True
|
|
39
|
+
>>> _ = (folder / "CITATION.cff").write_text(
|
|
40
|
+
... "identifiers:\n- type: url\n value: javascript:alert(1)\n"
|
|
41
|
+
... " description: alphaXiv AI Track\n")
|
|
42
|
+
>>> cited_alphaxiv(folder)
|
|
43
|
+
'javascript:alert(1)'
|
|
44
|
+
"""
|
|
45
|
+
path = folder / "CITATION.cff"
|
|
46
|
+
if not path.is_file():
|
|
47
|
+
return None
|
|
48
|
+
found = yaml.safe_load(path.read_text(encoding="utf-8")).get("identifiers") or []
|
|
49
|
+
return next((str(i["value"]) for i in found
|
|
50
|
+
if i.get("type") == "url" and i.get("description") == ALPHAXIV), None) # fmt: skip
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def alphaxiv_url(folder: Path) -> str | None:
|
|
54
|
+
r"""The paper's alphaXiv URL, from its ``CITATION.cff``, when it has the alphaXiv form.
|
|
55
|
+
|
|
56
|
+
Args:
|
|
57
|
+
folder: The paper's folder.
|
|
58
|
+
|
|
59
|
+
Returns:
|
|
60
|
+
The URL. None when the paper gives none, or gives a value that isn't an alphaXiv URL
|
|
61
|
+
(:data:`ALPHAXIV_URL`), so the page never links it.
|
|
62
|
+
|
|
63
|
+
Examples:
|
|
64
|
+
>>> import tempfile
|
|
65
|
+
>>> folder = Path(tempfile.mkdtemp())
|
|
66
|
+
>>> _ = (folder / "CITATION.cff").write_text(
|
|
67
|
+
... "identifiers:\n- type: url\n value: https://www.alphaxiv.org/abs/2611.00001\n"
|
|
68
|
+
... " description: alphaXiv AI Track\n")
|
|
69
|
+
>>> alphaxiv_url(folder)
|
|
70
|
+
'https://www.alphaxiv.org/abs/2611.00001'
|
|
71
|
+
>>> _ = (folder / "CITATION.cff").write_text(
|
|
72
|
+
... "identifiers:\n- type: url\n value: javascript:alert(1)\n"
|
|
73
|
+
... " description: alphaXiv AI Track\n")
|
|
74
|
+
>>> alphaxiv_url(folder) is None
|
|
75
|
+
True
|
|
76
|
+
"""
|
|
77
|
+
url = cited_alphaxiv(folder)
|
|
78
|
+
return url if url and ALPHAXIV_URL.fullmatch(url) else None
|