open-interpretability 0.6.0__tar.gz → 0.6.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/.gitignore +3 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/CHANGELOG.md +102 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/PKG-INFO +2 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/__init__.py +3 -2
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/charts.py +1 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/circuit_units.py +1 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/compiler.py +4 -3
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/css.py +1 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/explanation_figures.py +3 -3
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/explanation_pages.py +2 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/feeds.py +2 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/palette.py +1 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/pending.py +1 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/registry_pii.py +1 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/route_figures.py +3 -2
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/sections.py +1 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/significance.py +1 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/statuses.py +1 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_macros.html +1 -1
- open_interpretability-0.6.1/openinterpretability/builder/templates/_research_extra.html +2 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/base.html +1 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/users.py +1 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_build.py +1 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_pause.py +17 -7
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/cache_dirs.py +2 -2
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/confounds.py +2 -2
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/errata.py +6 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/pause.py +23 -3
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/project.py +2 -2
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/strict.py +1 -2
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/scan.py +1 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/patches/schema.py +5 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/patches/session.py +7 -4
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/patches/store.py +15 -6
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/planner_models.py +1 -2
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/planner_states.py +4 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/takedown_checks.py +1 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/pyproject.toml +70 -87
- open_interpretability-0.6.0/labinacan/__init__.py +0 -7
- open_interpretability-0.6.0/labinacan/cache.py +0 -27
- open_interpretability-0.6.0/labinacan/cli.py +0 -213
- open_interpretability-0.6.0/labinacan/config.py +0 -254
- open_interpretability-0.6.0/labinacan/data/__init__.py +0 -1
- open_interpretability-0.6.0/labinacan/data/offensive_words.txt +0 -58
- open_interpretability-0.6.0/labinacan/data/public_suffix_list.dat +0 -15771
- open_interpretability-0.6.0/labinacan/errors.py +0 -9
- open_interpretability-0.6.0/labinacan/progress.py +0 -146
- open_interpretability-0.6.0/labinacan/sensitive.py +0 -254
- open_interpretability-0.6.0/labinacan/site/__init__.py +0 -1
- open_interpretability-0.6.0/labinacan/site/alphaxiv.py +0 -78
- open_interpretability-0.6.0/labinacan/site/brand.py +0 -143
- open_interpretability-0.6.0/labinacan/site/changelog_page.py +0 -61
- open_interpretability-0.6.0/labinacan/site/cluster_map.py +0 -188
- open_interpretability-0.6.0/labinacan/site/contents.py +0 -111
- open_interpretability-0.6.0/labinacan/site/css.py +0 -161
- open_interpretability-0.6.0/labinacan/site/disk_memo.py +0 -63
- open_interpretability-0.6.0/labinacan/site/feeds.py +0 -76
- open_interpretability-0.6.0/labinacan/site/fonts/GUST-FONT-LICENSE.txt +0 -30
- open_interpretability-0.6.0/labinacan/site/fonts/OFL.txt +0 -103
- open_interpretability-0.6.0/labinacan/site/fonts/README.md +0 -17
- open_interpretability-0.6.0/labinacan/site/fonts/cmu-serif-500-italic.woff2 +0 -0
- open_interpretability-0.6.0/labinacan/site/fonts/cmu-serif-500-roman.woff2 +0 -0
- open_interpretability-0.6.0/labinacan/site/fonts/cmu-serif-700-italic.woff2 +0 -0
- open_interpretability-0.6.0/labinacan/site/fonts/cmu-serif-700-roman.woff2 +0 -0
- open_interpretability-0.6.0/labinacan/site/fonts/cmu-typewriter-text-500-roman.woff2 +0 -0
- open_interpretability-0.6.0/labinacan/site/fonts/latinmodern-math.otf +0 -0
- open_interpretability-0.6.0/labinacan/site/github.py +0 -158
- open_interpretability-0.6.0/labinacan/site/literature_map_view.py +0 -329
- open_interpretability-0.6.0/labinacan/site/literature_pages.py +0 -151
- open_interpretability-0.6.0/labinacan/site/maths.py +0 -83
- open_interpretability-0.6.0/labinacan/site/palette.py +0 -63
- open_interpretability-0.6.0/labinacan/site/paper_pdf.py +0 -170
- open_interpretability-0.6.0/labinacan/site/parallel.py +0 -144
- open_interpretability-0.6.0/labinacan/site/pii.py +0 -224
- open_interpretability-0.6.0/labinacan/site/render.py +0 -159
- open_interpretability-0.6.0/labinacan/site/research.py +0 -450
- open_interpretability-0.6.0/labinacan/site/research_feeds.py +0 -251
- open_interpretability-0.6.0/labinacan/site/sections.py +0 -110
- open_interpretability-0.6.0/labinacan/site/social_media.py +0 -275
- open_interpretability-0.6.0/labinacan/site/takedowns.py +0 -134
- open_interpretability-0.6.0/labinacan/site/templates/_map_theme.html +0 -92
- open_interpretability-0.6.0/labinacan/site/templates/_prose.html +0 -32
- open_interpretability-0.6.0/labinacan/site/templates/_site_macros.html +0 -27
- open_interpretability-0.6.0/labinacan/site/templates/changelog.html +0 -26
- open_interpretability-0.6.0/labinacan/site/templates/literature.html +0 -66
- open_interpretability-0.6.0/labinacan/site/templates/paper.html +0 -29
- open_interpretability-0.6.0/labinacan/site/templates/paper_print.html +0 -49
- open_interpretability-0.6.0/labinacan/site/templates/post.html +0 -25
- open_interpretability-0.6.0/labinacan/site/templates/posts.html +0 -39
- open_interpretability-0.6.0/labinacan/site/templates/redirect.html +0 -1
- open_interpretability-0.6.0/labinacan/site/templates/research.html +0 -43
- open_interpretability-0.6.0/labinacan/site/templates/site_base.html +0 -134
- open_interpretability-0.6.0/labinacan/social/__init__.py +0 -12
- open_interpretability-0.6.0/labinacan/social/feed.py +0 -111
- open_interpretability-0.6.0/labinacan/social/links.py +0 -113
- open_interpretability-0.6.0/labinacan/social/message.py +0 -163
- open_interpretability-0.6.0/labinacan/social/poster.py +0 -247
- open_interpretability-0.6.0/labinacan/social/run.py +0 -264
- open_interpretability-0.6.0/labinacan/social/thread.py +0 -226
- open_interpretability-0.6.0/labinacan/strict.py +0 -15
- open_interpretability-0.6.0/labinacan/sync/__init__.py +0 -11
- open_interpretability-0.6.0/labinacan/sync/r2.py +0 -315
- open_interpretability-0.6.0/openinterpretability/figures/__init__.py +0 -5
- open_interpretability-0.6.0/openinterpretability/figures/motion.py +0 -84
- open_interpretability-0.6.0/openinterpretability/figures/svg.py +0 -279
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/CITATION.cff +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/LICENSE +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/README.md +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/agents/__init__.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/agents/base.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/agents/judge.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/agents/narrator.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/agents/probe_hints.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/agents/proposer.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/agents/proposer_profiles.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/agents/review_measurements.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/agents/reviewer.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/agreement.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/answer_lens.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/answer_prompts.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/answer_readings.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/answer_review.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/audit_options.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/baseline.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/benchmark.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/blends.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/__init__.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/agents.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/aligned.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/brand/logo.svg +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/brand/mark-32.png +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/brand/mark.svg +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/brand/og.png +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/circuit_pages.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/circuits.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/concept_map_view.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/corpora.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/coverage.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/dashboard.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/draws_export.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/experiment.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/heat.py +1 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/hrefs.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/learned_baseline.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/model_facts.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/neuronpedia_export.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/parquet_export.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/pieces.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/recent.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/registry_stats.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/sister_graph.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/sister_pages.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/slim.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/standing.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/stopped.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/stops.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/superpositions.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/taxonomy_view.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_agent_role_cells.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_answer_verdict.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_causal_chart.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_circuit.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_concept_map.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_dashboard.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_embedding3d.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_experiment.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_experiments.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_figure.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_figure_pause.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_gas3d.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_head_profile.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_members.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_patchscope.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_prior_art.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_record.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_rivals.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_route3d.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_route3d_waves.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_route_row.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_specificity.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_steering.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_superposition.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_taxonomy.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_vocab_chart.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_wiring.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/about.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/agent.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/agents.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/answer.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/atlas.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/circuit.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/circuit_experiment.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/circuit_unit.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/circuits.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/experiment.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/explanation.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/explanation_prompt.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/explanations.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/hub.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/index.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/layer.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/learned-baseline.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/model.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/models.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/neuron.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/sister_match.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/sisters.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/superposition.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/user.html +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/wiki/experiment.md +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/wiki/index.md +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/wiki/neuron.md +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/wiki/stop.md +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/tree.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/wiki.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/checks.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/circuit_checks.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/circuit_ids.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/circuit_review.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/claude_sessions.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli.py +1 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_answers.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_baseline.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_benchmark.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_check.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_circuits.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_claude_session.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_concepts.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_corpus.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_costs.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_coverage.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_crossref.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_errata.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_evidence.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_evidence_store.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_explain.py +1 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_interference.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_loop.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_map.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_memory.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_model_check.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_neuronpedia.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_patch.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_pole_effects.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_probing.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_provider.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_query.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_registry.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_reproduce.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_review.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_scan.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_score.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_sisters.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_submission.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_superpositions.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_wiring.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/codeid.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/concept_map.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/concept_regions.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/concepts.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/__init__.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/agent_names.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/answer_records.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/attribution.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/causal.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/circuit_records.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/contributors.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/corpora.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/costs.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/draws.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/evidence.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/examples.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/exceptions.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/explanation.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/explanation_records.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/fence.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/heavy_lock.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/identifiers.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/isolation.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/ledger.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/legacy_names.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/licenses.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/manifold.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/partners.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/patchscope.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/paths.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/pricing.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/prior_art.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/probing.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/profiles.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/record_kinds.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/rivals.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/run_environment.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/schemas.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/specificity.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/stats.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/steering.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/taxonomy.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/transcripts.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/wiring.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/corpus.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/corpus_cache.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/corpus_layouts.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/corpus_presets.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/corpus_rebuild.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/coverage.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/crossref.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/data/__init__.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/data/providers.toml +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/data/sample_corpus.txt +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/draw_steps.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/embedding_space.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/errata_checks.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/evidence.py +1 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/evidence_branch.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/evidence_lenses.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/experiment_loop.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain.py +1 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_backend.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_confirm.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_corpus.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_coverage.py +1 -1
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_figure_data.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_groups.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_land.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_narrate.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_output.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_plan.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_print.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_reuse.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_run.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_share.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explain_stopped.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explanation_registry.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/explanation_targets.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/half_precision.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/__init__.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/__init__.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/backend.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/cache.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/chunks.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/convert.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/forward.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/qualified.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/annotations.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/attribution.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/causal.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/circuit_measures.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/confounds.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/covariance.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/cpu_speed.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/crossref.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/cuda_devices.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/dead.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/devices.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/dictionaries.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/dreaming.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/environment.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/explanation_scores.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/features.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/first_position.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/heads.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/hooks.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/input_attribution.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/jlens.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/layer_cache.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/layer_major.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/lookahead.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/manifold.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/memory.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/moe.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/ov_lens.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/patcher.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/patchscope.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/prepare.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/probing.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/scan_backend.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/sister_passes.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/sisters.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/sites.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/specificity.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/steering.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/superpositions.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/units.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/wiring.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/harness/wiring_activations.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/hubs.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/interference/__init__.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/interference/behaviour.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/interference/fisher.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/interference/floors.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/interference/keep.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/interference/pruning.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/interference/report.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/interference/routes.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/interference/run.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/interference/template.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/interference/tuning.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/interference/units.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/inverse_claims.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/langid.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/loop_bugs.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/loop_local.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/loop_pending.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/loop_sessions.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/mcp_server.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/model_check.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/model_revisions.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/names.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/neuronpedia_baseline.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/neuronpedia_review.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/partner_context.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/patches/__init__.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/patches/apply.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/patches/gates.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/patches/graph.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/patches/history.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/patches/tensors.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/planner.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/planner_circuits.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/planner_claims.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/planner_effects.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/planner_explanations.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/planner_heads.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/planner_sisters.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/planner_superpositions.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/pole_effects.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/prior_art.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/providers.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/registry_query.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/reproduce.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/reproduce_explanation.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/reproduce_policy.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/revision.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/runner_cache.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/score_controls.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/show.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/signing.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/sisters.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/superposition_finders.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/syntax.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/toxicity.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/until_verified.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/verdict_regression.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/wiring_backfill.py +0 -0
- {open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/wordnet.py +0 -0
|
@@ -13,6 +13,108 @@ Changes waiting for the next release are files in [changelog.d/](changelog.d/REA
|
|
|
13
13
|
|
|
14
14
|
## [Unreleased]
|
|
15
15
|
|
|
16
|
+
## [0.6.1] - 2026-11-27
|
|
17
|
+
|
|
18
|
+
Ships with protocol version **0.10**.
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- Property-based tests with Hypothesis for the verdict code (`tests/test_properties.py`, #3167). The review doesn't depend on test-prompt order, clustering doesn't depend on text order, standing doesn't depend on record order, and signing then verifying round-trips. Each runs the same examples every time.
|
|
23
|
+
- A literature page, `docs/literature/interference-weight-programming-and-lora.md`, sums up the 73 reviews of catastrophic interference, weight-space programming and LoRA (#4782). It puts them beside the repo's eight keep-test papers. Two follow-ups are new: a LoRA keep test (#6890) and a fine-tune that protects the VERIFIED poles (#6891).
|
|
24
|
+
- A new paper, *Do neuron explanations survive 4-bit NF4 rounding?*. It rounds each linear weight of Qwen2.5-0.5B and Qwen2.5-1.5B to QLoRA's NF4, and tests every VERIFIED explanation again. On Qwen2.5-0.5B, 281 of 362 explanations keep. On Qwen2.5-1.5B, 66 of 75 keep, more than the 58 to 62 that random changes of the same size keep. At the 99% point, the probes drift 6.7 to 10.5 times as far as under bfloat16. `scripts/nf4_keep.py` runs the test, and `scripts/nf4_keep_stats.py` gives the drift, the paired tests and QLoRA's normality test (#5158).
|
|
25
|
+
- A new paper, *Does pruning a few instruct-model neurons bring back the explanations that instruction tuning breaks?*. On Qwen2.5-0.5B-Instruct, it prunes the writes of the MLP neurons with the highest gradient times weight on the KL to the base model. Then it tests every VERIFIED explanation again. Pruning 5 neurons brings back 16 of the 63 explanations that fail on the instruct model, against 0 to 4 for random prunes. It also breaks 26 others and raises the KL, and larger prunes do more harm. `scripts/wrapper_prune.py` runs it, `scripts/wrapper_prune_check.py` checks the score one neuron at a time, and `scripts/wrapper_prune_stats.py` gives the tables (#5163).
|
|
26
|
+
- New paper, *Does a verified answer route keep on the instruct model?* (`papers/route-keep/`). The first passing route of Qwen2.5-0.5B, which copies " ball", still suffices on Qwen2.5-0.5B-Instruct. But the tuned model no longer needs it, so it fails the review there. `scripts/route_keep.py` runs the review on both models with five seeds (#5164).
|
|
27
|
+
- New paper, *Are rank-1 LoRA directions as explainable as native neurons?* (`papers/lora-units/`). It trains a rank-1 LoRA on every MLP projection of Qwen2.5-0.5B, on s1K-1.1. The audit verifies far fewer of its units than native neurons: 1 of 20 `down_proj` directions, against 12 of 20 random native poles. The directions are dense, are active on about 17 times as many tokens and fail on the hard negatives. `scripts/lora_units.py` trains the adapter and writes its units, and `scripts/lora_units_stats.py` writes the tables (#5166).
|
|
28
|
+
- A new paper, *Which neuron explanations survive a ROME edit?*. It edits 10 unrelated facts into pythia-70m at layer 2, one at a time, and tests each of 176 VERIFIED explanations again. No pole at or below the edit layer changes. Above it, ROME flips 25 of 870 readings, against 40 for random rank-one edits of the same norm. `scripts/rome_keep.py` runs the edits, and `scripts/rome_keep_stats.py` gives the tables (#5167).
|
|
29
|
+
- A new paper, *A traffic map of neuron explanations: which sites of pythia-70m does a change disturb?*. It scores each neuron write and attention head of pythia-70m by the gradient of the 176 VERIFIED explanations' probe readings. Then it tests the map with a random change of norm 1 at 118 sites. Over sites drawn evenly across the map, traffic predicts the explanations that flip (Spearman's ρ = 0.66). It predicts the drift of their readings with ρ = 0.80. Most of that is depth. At the top site, one change flips 22 of 176 explanations. `scripts/traffic_map.py` builds and tests the map, `scripts/traffic_dormant.py` reads each neuron's activity, and `scripts/traffic_stats.py` gives the tables (#5231).
|
|
30
|
+
- A new paper, *How do neuron explanations fail as ROME edits pile up at one layer?*. It makes 100 ROME edits in turn at layer 2 of pythia-70m and tests 180 VERIFIED explanations again at 19 checkpoints. The 88 explanations above the layer fade steadily with the weight distance, with no threshold. Random edits of the same norms erase them faster. `scripts/rome_sequence.py` runs the edits, and `scripts/rome_sequence_stats.py` gives the tables (#5362).
|
|
31
|
+
- New paper, *Do neuron explanations come back on the weight average of a base and an instruct model?* (`papers/weight-average-keep/`). On Qwen2.5-1.5B, the weight average keeps 73 of 80 explanations, against 69 for the instruct model. The explanations fail a few at a time along the line between the models. `scripts/weight_average_keep.py` runs the test at each step with a random change of the same size, and `scripts/weight_average_keep_stats.py` writes the tables (#5404).
|
|
32
|
+
- A literature page, `docs/literature/xsum.md`, reviews Narayan, Cohen and Lapata (2018), the source of the XSum dataset (#6323). Each summary is a BBC article's introductory sentence. `papers/sequential-tuning/` cites it correctly. On the pinned Hub commit, its 1,500-character cut shortens 58% of the sampled training articles, and none of the sampled pairs has an empty article.
|
|
33
|
+
- A literature page for *Training Verifiers to Solve Math Word Problems* (Cobbe et al., 2021), the source of GSM8K. It checks what `papers/sequential-tuning/` says of the dataset and its licence (#6324).
|
|
34
|
+
- A literature page for *Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge* (Clark et al., 2018), the source of ARC-Easy. It checks what `papers/sequential-tuning/` says of the benchmark, and records that most questions allow non-commercial research only (#6325).
|
|
35
|
+
- A literature page for *Auditing Post-Training Unlearning in Diffusion Language Models using Sparse Autoencoders* (Seo and Kim, 2026). It records that the chosen features barely beat a random subspace of the same rank, and says what carries over to #5220 (#6375).
|
|
36
|
+
- A literature page for *Weight-Space Programming and Mechanistic Interpretability for Model Editing in Particle Physics* (Bonnet-Guerrini, Ioannou-Nikolaides and Petersen, 2026). It is evidence for arm G of the fix plan (#5220) (#6376).
|
|
37
|
+
- A literature page for *Mechanistic Failure Modes of Weight Pruning in Transformer Language Models* (Faumi and Sumanathilaka, 2026). It motivates #6400 (#6404).
|
|
38
|
+
- A literature page for *CoEvoBench: Can LLMs Drive Recursive Co-Evolution of Agentic Systems?* (Xiao et al., 2026). It sets the paper's finding, a strong first improvement and then a stall, beside this project's own loop (#6420).
|
|
39
|
+
- A review of gBench, Google DeepMind's harness for the serving performance and capability of open models (`docs/literature/gbench.md`, #6433). Its hashed scaffold beside each score leads to #6985.
|
|
40
|
+
- A review of *Understanding, Predicting, and Steering LLM Behavior via Representational Effective Theory* (`docs/literature/representational-effective-theory.md`). Its learned macrostates summarise a prefix of hidden states. They predict sycophancy early and steer reasoning, but its interpretability score has no random-encoder control. No unit is audited, so its status is not applicable (#6441).
|
|
41
|
+
- A review of *Parasite Features: Causal Abstraction Through Spurious Pathways* (`docs/literature/parasite-features.md`). A learned alignment map can join two unrelated directions so that they pass interchange tests, although the model does not use them. No verdict rests on such a map. The answer experiments already gate on the paper's ablation control, and the illusions checklist now lists the paper (#6442).
|
|
42
|
+
- **A review of *Presenting Neural Networks via Coherent Functors*** (Pugh, Grundy, Cirstea and Harris, 2026), at `docs/literature/coherent-functors.md`. Its status is not applicable: the paper is theory with no experiments, and it covers only dense feed-forward networks over finite floats (#6446).
|
|
43
|
+
- **A review of *LLMs Memorize Their Own Hallucinations During Post-Training*** (Atmakuru and Goyal, 2026), at `docs/literature/hallucination-memorisation.md`. Its status is not applicable. The paper measures memorisation by behaviour only, in models the registry does not hold. Its headline of 4.83 points is the mean of the train column, not the gap from held-out (#6447).
|
|
44
|
+
- A literature review of *Ambient LLMs: Data-Efficient Supervised Fine-tuning via Temperature Matching* (Daras et al., 2026), `docs/literature/ambient-llms.md` (#6449).
|
|
45
|
+
- A literature review of *Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena* (Zheng et al., 2023), `docs/literature/llm-as-a-judge-mt-bench.md` (#6453).
|
|
46
|
+
- `make mutation FILES=a.py,b.py` mutates every function of the named package files, for the whole-package mutation work (#6491). The first four files of `patches/` (`schema.py`, `session.py`, `store.py`, `tensors.py`) have no surviving mutant.
|
|
47
|
+
- A review of Best-Paper-Writing-Skill against `write-paper` (`docs/literature/best-paper-writing-skill.md`, #6493). It sorts each rule as adopted, rejected or already covered, and measures the papers against its checks.
|
|
48
|
+
- `python -m labinacan.config` prints the project's values as shell assignments, so that a generic skill's commands name `$REPO` and the others, not this project's values (#6630).
|
|
49
|
+
- `python -m labinacan.site.build` builds the site of a project that has no build of its own, from its `templates/` folder and labinacan's default `base.html` and `index.html`. `labinacan.mk` uses it, labinacan's stylesheet and a cache folder by default (#6631).
|
|
50
|
+
- `scripts/check_leftovers.py` counts this project's words in the files that the labinacan template takes (`scripts/template_paths.txt`). Its baseline (`scripts/leftovers_baseline.txt`) can only come down, and the template is cut when it is empty (#6631).
|
|
51
|
+
- *Why training rests neurons below GELU's dip* gains two rows in Table 25 and in Figure 10 (#6785). The conditions `gelu_final_all_ln2_dropout_0` and `gelu_final_all_ln1_dropout_0` centre the final norm with all four norms before the MLP, or with all four before attention. With every `ln_2`, GELU's output's push points up in the −1.5 to −0.75 bin on 0.85 of neurons, against 0.88 with every norm. With every `ln_1`, it stays at 0.63, near the final-only 0.60. So the norms before the MLP, as a set, give the up push below the rest.
|
|
52
|
+
- *Why training rests neurons below GELU's dip* gains Tables 27 and 28. Pythia-70m's size and 32 times our batch together bring the push's match with the next move to Pythia's. But the push still points down in 20 to 24 of 30 checkpoints and layers, against Pythia's 13. A 32× batch makes the push less steady at each step, not weaker. `PushRecorder` adds the push over the parts of a step, so `train --push-every` now works with `--micro-batch`. The condition `pythia_size_batch_32x` and `scripts/batch_push_compare.py` are new (#6806).
|
|
53
|
+
- **`core/errata.py` joins the verdict code that `make mutation` mutates.** Its fast edge tests, `tests/test_errata_edges.py`, pin these:
|
|
54
|
+
- the harness, protocol and date rules, and a record with no verdict.
|
|
55
|
+
- edits that end at a list index, and edits applied in order.
|
|
56
|
+
- set-aside records, and the reading of the errata file.
|
|
57
|
+
|
|
58
|
+
All 2,062 mutants of the six files die, in about 3.5 minutes (#6810).
|
|
59
|
+
- **`planner_models.py` joins the verdict code that `make mutation` mutates.** `tests/test_planner_models.py` now fakes the Hugging Face Hub. It checks which model and which `download` flag reach it, and both namings of a model's size and heads. It also checks the records that coverage skips, and the count of verified neurons. The explore weight is now written as `(1 + covered) ** -0.5`, with no constant numerator to mutate (#6810).
|
|
60
|
+
- **`planner_states.py` joins the verdict code that `make mutation` mutates.** Its fast tests, `tests/test_planner_states.py`, pin these:
|
|
61
|
+
- the skip of records whose evidence is missing.
|
|
62
|
+
- the record that a unit keeps when a later one is set aside.
|
|
63
|
+
- the count of independent reviews.
|
|
64
|
+
|
|
65
|
+
All 2,113 mutants of the seven files die, in about 3 minutes (#6810).
|
|
66
|
+
- **`agents/review_measurements.py` joins the verdict code that `make mutation` mutates.** It measures the probes, counterfactuals, lookahead and causal readouts that a verdict rests on. The selected reviewer tests already kill all 322 of its mutants. All 2,617 mutants of the nine files die, in about 3.5 minutes (#6810).
|
|
67
|
+
- **`builder/significance.py` joins the verdict code that `make mutation` mutates.** New tests pin its strength lines, its rounding, the even-chance direction, the record's own policy and the memo. All 1,941 mutants of the five files die, in about 2.5 minutes (#6810).
|
|
68
|
+
- **labinacan-template is a copier template.** `copier copy gh:8W9aG/labinacan-template` asks for the project's values and brand, and a task sets up the repository with `gh`. A project installs `labinacan` from PyPI, and takes later template changes with `copier update` (`docs/development.md`, #7002).
|
|
69
|
+
- A fitting harness for the phase 4a arms A–F of the copy-family fix, `scripts/fix_arms.py`. Each fit is written as a draft patch, checked at zero strength and given the interference report (#7006).
|
|
70
|
+
|
|
71
|
+
### Changed
|
|
72
|
+
|
|
73
|
+
- **CI's generic checks have a workflow of their own** (#6630). `.github/workflows/labinacan-ci.yml` holds the jobs that any autoresearch project runs: code changes, *Lint and tests*, mutation testing and accessibility. The jobs keep their names, so branch protection still finds *Lint and tests*. `ci.yml` keeps this project's jobs: experiment records, record changes, reproduction and the model cache. The generic workflow reads the project's packages with `make packages`, and runs `make project-lint` for the project's own checks, so it holds no value of this project. `tests/test_labinacan_config.py` checks that. `auto-merge.yml` waits for both workflows' runs when a PR leaves draft.
|
|
74
|
+
- **The link check is generic** (#6630). `links.yml` builds the site with `make build`, under the memory cap that CI passes as `BUILD_WRAPPER`, and caches under the folder that `make -s cache-dir` prints. So the file holds no value of this project. The Makefile's `BUILD_COMMAND` starts with `$(BUILD_WRAPPER)`, and its `CACHE_DIR_COMMAND` prints `legacy_names.cache_base()`. `tests/test_labinacan_config.py` checks `links.yml` too.
|
|
75
|
+
- **The Makefile has a generic part** (#6630). `labinacan.mk` holds the targets that any autoresearch project uses, such as `install`, `test`, `coverage`, `mutation`, `lint`, `vale`, `ste`, `build`, `css` and `serve`. The Makefile sets this project's values (`DIST_NAME`, `PACKAGES`, `TEST_WRAPPER`, `CSS_MODULE`, `BUILD_COMMAND` and `PROJECT_LINT`), includes it, and keeps its own targets. Each target runs the same commands as before, as `make -n` shows. In `make lint`, the check of the old package name now runs earlier, in `project-lint`. `tests/test_labinacan_config.py` checks that `labinacan.mk` holds no value of this project.
|
|
76
|
+
- The `release` skill is now generic: its commands read the project's values from `python -m labinacan.config`, and this project's steps, refreshes, checks and title are in its `project.md` (#6630).
|
|
77
|
+
- The `semantic-versioning` skill is now generic: this project's surfaces and the commands that find their changes are in its `project.md` (#6630).
|
|
78
|
+
- Ruff, coverage, diff-cover and PyMarkdown read their own files (`ruff.toml`, `.coveragerc`, `.diff-cover.toml`, `.pymarkdown.yml`), which hold no value of a project. Make and CI name the packages for coverage from `PACKAGES` (#6630).
|
|
79
|
+
- The `write-paper` skill is now generic: this project's authors, site, terms and model papers are in its `project.md` (#6630).
|
|
80
|
+
- `scripts/mutation.py` reads the packages from `[tool.mutmut] source_paths`, and the folders to leave out of mutmut's copy from `[tool.labinacan] mutation_skip`. It names no package or folder of this project (#6631).
|
|
81
|
+
- A project with no X account leaves `X` out of `[project.urls]`. Its pages then have no X link and no `twitter:site` tag (#6631).
|
|
82
|
+
- labinacan's templates take the breadcrumb's first step from `home_label`, and include a project's `_research_extra.html` on the Research index. Its examples, docstrings and Vale rules name nothing of this project (#6631).
|
|
83
|
+
- The last of the template's files name nothing of this project, and the leftover baseline is empty (#6631). The figure helpers move to `labinacan.figures`. `changelog.py`, `exchange.py`, `a11y_check.py`, `publish.yml` and the data-only rule of `labinacan-ci.yml` read the project's values from `pyproject.toml`.
|
|
84
|
+
- The generic scripts read the project's packages, generated files and size budget from the config (`scripts/repo_config.py`, `[tool.labinacan] generated`, `[tool.labinacan.size_budget]`) (#6631).
|
|
85
|
+
- The `single-source-of-truth`, `commenting`, `test-new-paths`, `next-issue`, `literature-review` and `paper-animation` skills hold no value of this project. Each has a `project.md` with this project's part, and `work-an-issue` reads the repository from `gh` (#6631).
|
|
86
|
+
- The generic tests name nothing of this project. Its own tests move to `tests/test_project_config.py`, `tests/test_wiki_markdown.py` and `tests/test_site_changelog.py`, which the template doesn't take. `[tool.labinacan] automatic_issue_workflows` lists the workflows whose failure issues an agent may work (#6631).
|
|
87
|
+
- Three preprints say the project's terms in plain words, and define *pole* in their Method after Cammarata (2026): `why-neurons-rest`, `copy-first-unit` and `spd-input-projections` (#6851). The gate pattern no longer matches a method's own gates, such as SPD's.
|
|
88
|
+
- A paper uses no term of the project's own (#6851). `papers/terms.toml` lists each with its plain phrase, and `scripts/papers.py check` finds them in a preprint's prose, captions, figure titles and thread. The preprints that wait for their rewrite are in `papers/terms_pending.txt`. *Pole* stays, as the field's term.
|
|
89
|
+
- A preprint's abstract has a budget of about 130–220 words, with the one or two numbers that carry its claim (`write-paper`). `scripts/papers.py check` fails a preprint whose abstract is over 220 words, and it counts a formula as one word. Published papers are frozen and skip the check. Ten preprints had abstracts over the cap, and each now keeps its claim and its headline numbers (#6929).
|
|
90
|
+
- A figure caption's first sentence is the figure's finding, in the words of its SVG title. The sentences after it say what the marks are (`write-paper`). `scripts/papers.py check` fails a preprint whose caption does not open with its figure's title. Published papers are frozen and skip the check. The 65 captions of the preprints now open with their findings (#6930).
|
|
91
|
+
- This project now installs `labinacan` 0.1.1 from PyPI, pinned exactly, and no longer keeps its own `labinacan/` folder. The tests that only tested labinacan moved to 8W9aG/labinacan with it. `docs/development.md` says how a fix to labinacan now flows: a PR and a release there, then a version bump here (#7003).
|
|
92
|
+
- **Depend on labinacan 0.1.3.** Its maths refuses a formula whose MathML holds markup other than MathML's own (#7076).
|
|
93
|
+
- **Auto-merge reads the PR's files one name per line.** Each name is checked whole against the record rule (#7076).
|
|
94
|
+
- **Registry coverage, refreshed for 0.6.1** (`docs/analyses/registry-coverage.jsonl`, 2026-11-27). It gives each model's VERIFIED poles and the mean share of the loss that they recover, against the 2026-11-26 run:
|
|
95
|
+
|
|
96
|
+
| Model | VERIFIED poles | Share of poles | Mean recovered |
|
|
97
|
+
| --- | --- | --- | --- |
|
|
98
|
+
| pythia-70m | 172 → 185 | 0.75% | 0.034 → 0.036 |
|
|
99
|
+
| GPT-2 | 224 → 225 | 0.31% | −0.058 → −0.058 |
|
|
100
|
+
| Qwen2.5-0.5B | 362 → 380 | 0.16% | 0.011 → 0.012 |
|
|
101
|
+
| Qwen2.5-1.5B | 75 → 80 | 0.02% | 0.001 → 0.001 |
|
|
102
|
+
- **Sister search, refreshed for 0.6.1.** The search added 96 rows for poles VERIFIED since 0.6.0, and found 9 new sisters:
|
|
103
|
+
- pythia-70m: 2 against each of Qwen2.5-0.5B, Qwen2.5-1.5B and GPT-2, from 10 poles.
|
|
104
|
+
- Qwen2.5-0.5B: 2 against Qwen2.5-1.5B and none against pythia-70m or GPT-2, from 17 poles.
|
|
105
|
+
- Qwen2.5-1.5B: 1 against Qwen2.5-0.5B, from 5 poles.
|
|
106
|
+
|
|
107
|
+
The strongest are Qwen2.5-0.5B L3/N4450+ with Qwen2.5-1.5B L7/N95− (Pearson 0.73), pythia-70m L4/N509+ with GPT-2 L8/N248+ (0.58), and pythia-70m L1/N162+ with Qwen2.5-1.5B L0/N2013+ (0.53). Each new sister is now a `sister` draw.
|
|
108
|
+
|
|
109
|
+
### Fixed
|
|
110
|
+
|
|
111
|
+
- Fixes that the template's example project needed (#6631). The generic tests work for any project's config. `a11y_check.py` needs one page of each kind, in place of a count of five. The Linear jobs exit cleanly with no key, and `labinacan` has its own `__version__`.
|
|
112
|
+
- A changelog with a title and no version heading no longer stops the site build. A new project's changelog has none yet (#6736).
|
|
113
|
+
- `open-interpretability pause` with no option no longer extends a standing pause. It shows the pause and exits 75, as `--status` does. `--for` or `--reason` replaces a standing pause. An agent that meant to check a pause had renewed one every hour, for about 10 hours. The pause file's `by` now also names the working directory, and the agent when `$OPENINTERPRETABILITY_AGENT` is set. The `choose-next-experiment` skill, `docs/experiments.md` and the loop's prompt name `pause --status` for the check (#6839).
|
|
114
|
+
- `test_a_second_process_waits_until_the_first_exits` no longer fails on a busy machine: the first process holds the lock until the test releases it, not for a fixed time (#6916).
|
|
115
|
+
- **A mutant of `plan_next` no longer lives by chance.** A new test checks that the plan passes its own seed to the explanation draw. A draw with no seed is random, and a random pick could match the test's seeded one (#7027).
|
|
116
|
+
- **The site builds again past 50,000 pages.** labinacan 0.1.2 writes `sitemap.xml` as a sitemap index, with numbered parts, when the pages are more than one sitemap holds. The deploy had stopped at 90,908 pages. The LoRA superpositions of #7025 list every neuron of their layer, and each member neuron gets a short page (#7054).
|
|
117
|
+
|
|
16
118
|
## [0.6.0] - 2026-11-26
|
|
17
119
|
|
|
18
120
|
Ships with protocol version **0.10**.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: open-interpretability
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.1
|
|
4
4
|
Summary: Open Interpretability: an agent-run mechanistic interpretability project, with an audited registry of native neurons in open-weight models.
|
|
5
5
|
Project-URL: Homepage, https://open-interpretability.com/
|
|
6
6
|
Project-URL: Repository, https://github.com/8W9aG/openinterpretability
|
|
@@ -20,6 +20,7 @@ Requires-Dist: duckdb>=1.0.0
|
|
|
20
20
|
Requires-Dist: fasttext-predict>=0.9.2
|
|
21
21
|
Requires-Dist: instructor>=1.3.0
|
|
22
22
|
Requires-Dist: jinja2>=3.1.3
|
|
23
|
+
Requires-Dist: labinacan[pii,r2]==0.1.3
|
|
23
24
|
Requires-Dist: latex2mathml>=3.81.1
|
|
24
25
|
Requires-Dist: litellm>=1.40.0
|
|
25
26
|
Requires-Dist: magika<2,>=1.0.3
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/__init__.py
RENAMED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
"""Open Interpretability: an agent-run interpretability project and its neuron registry."""
|
|
2
2
|
|
|
3
3
|
from labinacan import config as _config
|
|
4
|
+
|
|
4
5
|
from openinterpretability.core.legacy_names import adopt_legacy_env
|
|
5
6
|
from openinterpretability.core.paths import CLONE_PYPROJECT, DEFAULT_PYPROJECT, PACKAGED_PYPROJECT
|
|
6
7
|
|
|
7
|
-
__version__ = "0.6.
|
|
8
|
+
__version__ = "0.6.1"
|
|
8
9
|
# The name on PyPI, and of the installed distribution (issue #3251). The import name is
|
|
9
10
|
# `openinterpretability` (issue #4089).
|
|
10
11
|
DISTRIBUTION = "open-interpretability"
|
|
11
12
|
|
|
12
13
|
adopt_legacy_env() # the old environment variables, for one release (core/legacy_names.py)
|
|
13
14
|
|
|
14
|
-
# labinacan
|
|
15
|
+
# labinacan reads this project's values from a pyproject.toml (#6629). It reads the working
|
|
15
16
|
# directory's when it has them. Else it reads the copy that an install holds, else the clone's.
|
|
16
17
|
_config.use(DEFAULT_PYPROJECT, PACKAGED_PYPROJECT, CLONE_PYPROJECT)
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/charts.py
RENAMED
|
@@ -18,7 +18,7 @@ CHART_TEXT_PX = 12
|
|
|
18
18
|
# A hand-drawn diagram (the About page's taxonomy) keeps the text sizes it was drawn with,
|
|
19
19
|
# 9 to 14. It draws at this multiple of its viewBox, so its 9 px labels read at about 11 px.
|
|
20
20
|
# Its widest part, 760 wide, then fits the 960 px content column
|
|
21
|
-
# (labinacan
|
|
21
|
+
# (labinacan.site.css's COLUMN_REM, #5726).
|
|
22
22
|
DIAGRAM_SCALE = 1.26
|
|
23
23
|
|
|
24
24
|
|
|
@@ -271,6 +271,7 @@ def _location(model, members: list[str]) -> tuple[float | None, float | None]:
|
|
|
271
271
|
def circuit_views(model, data: CircuitData, edges: list) -> list[CircuitView]:
|
|
272
272
|
"""The model's registry circuits, by id, with ``edges`` (``circuit_edges``) among members."""
|
|
273
273
|
from labinacan.site.pii import scrub
|
|
274
|
+
|
|
274
275
|
from openinterpretability.builder.circuits import _layout
|
|
275
276
|
from openinterpretability.builder.hrefs import circuit_experiment_href, circuit_href
|
|
276
277
|
from openinterpretability.circuit_ids import load_events
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/compiler.py
RENAMED
|
@@ -13,12 +13,12 @@ from pathlib import Path
|
|
|
13
13
|
from tempfile import TemporaryDirectory
|
|
14
14
|
|
|
15
15
|
from jinja2 import ChoiceLoader, Environment, PackageLoader, StrictUndefined, select_autoescape
|
|
16
|
-
from pydantic import ValidationError
|
|
17
|
-
|
|
18
16
|
from labinacan.sensitive import is_offensive
|
|
19
17
|
from labinacan.site.parallel import in_background, render_in_parallel
|
|
20
18
|
from labinacan.site.pii import save_spans, scrub
|
|
21
19
|
from labinacan.site.render import Renderer, clean_owned, number_filters, write_redirect
|
|
20
|
+
from pydantic import ValidationError
|
|
21
|
+
|
|
22
22
|
from openinterpretability import __version__
|
|
23
23
|
from openinterpretability import sisters as sister_lib
|
|
24
24
|
from openinterpretability.builder import charts, palette, pieces, statuses
|
|
@@ -311,7 +311,7 @@ def compile_site(
|
|
|
311
311
|
hand_over(records, experiments, archive and archive.paths) # each slim record's file
|
|
312
312
|
# Statistics read the true text: build_tree counts near-duplicate probes, and the queries
|
|
313
313
|
# group readings by explanation. Only what the site publishes is scrubbed. The two
|
|
314
|
-
# exports run in the background while the pages render (labinacan
|
|
314
|
+
# exports run in the background while the pages render (labinacan.site.parallel).
|
|
315
315
|
stats_result = in_background(lambda: _true_text_stats(experiments, draws, corpus_sources), jobs)
|
|
316
316
|
scrub_experiments(experiments) # what the pages show: the record and its errata notes
|
|
317
317
|
parquet = in_background(lambda: export_registry(experiments, output_dir, corpus_sources), jobs)
|
|
@@ -383,6 +383,7 @@ def _site_context(site_title: str, corpus_sources: dict | None, experiments, pen
|
|
|
383
383
|
return {
|
|
384
384
|
**project_links(),
|
|
385
385
|
"site_title": site_title,
|
|
386
|
+
"home_label": "Registry", # the first step of each page's breadcrumb (#6631)
|
|
386
387
|
"corpus_sources": corpus_sources or {}, # for records with no corpus_source of their own
|
|
387
388
|
"model_licenses": configured_licenses(),
|
|
388
389
|
"version": __version__,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""The figures of an explanation page, drawn at build time from the record's data (#4479).
|
|
2
2
|
|
|
3
|
-
They use the paper figures' system (:mod:`
|
|
3
|
+
They use the paper figures' system (:mod:`labinacan.figures`). Each figure is
|
|
4
4
|
its own SVG file next to the page. An animated one also has a static copy, which shows its
|
|
5
5
|
last frame. The page's button swaps the two, and reduced motion stops the animation too.
|
|
6
6
|
No figure rests on colour alone. A status is a marker's shape, a kind of unit is a fill
|
|
@@ -20,8 +20,8 @@ from __future__ import annotations
|
|
|
20
20
|
|
|
21
21
|
from dataclasses import dataclass, field
|
|
22
22
|
|
|
23
|
-
from
|
|
24
|
-
from
|
|
23
|
+
from labinacan.figures.motion import reveal
|
|
24
|
+
from labinacan.figures.svg import WIDTH, Figure, Panel, number
|
|
25
25
|
|
|
26
26
|
STATIC = "*{animation:none!important}" # the static copy: every mark at its resting frame
|
|
27
27
|
CYCLE = "9s"
|
|
@@ -249,6 +249,7 @@ def load_views(wiki_dir: Path, states: dict | None = None) -> list[PromptView]:
|
|
|
249
249
|
text is scrubbed of personal data, as the site publishes it.
|
|
250
250
|
"""
|
|
251
251
|
from labinacan.site.pii import scrub
|
|
252
|
+
|
|
252
253
|
from openinterpretability.core.answer_records import load_paths as load_answers
|
|
253
254
|
from openinterpretability.core.explanation_records import load_all
|
|
254
255
|
from openinterpretability.planner import load_states
|
|
@@ -260,7 +261,7 @@ def load_views(wiki_dir: Path, states: dict | None = None) -> list[PromptView]:
|
|
|
260
261
|
prompts = []
|
|
261
262
|
for records in found.values():
|
|
262
263
|
# What the site publishes is scrubbed of personal data and takedowns, as for
|
|
263
|
-
# experiments (labinacan
|
|
264
|
+
# experiments (labinacan.site.pii, #4750).
|
|
264
265
|
views = [_view(path, scrub(record), states, wiki_dir) for path, record in records]
|
|
265
266
|
by_id = {v.record.id: v for v in views}
|
|
266
267
|
for v in views:
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/feeds.py
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""The site's feed of new VERIFIED units, beside labinacan's sitemap and ``robots.txt`` (#3285).
|
|
2
2
|
|
|
3
3
|
The feed comes from the records, never the clock. So an unchanged registry rebuilds it byte
|
|
4
|
-
for byte, and the deploy uploads (and purges) nothing. ``labinacan
|
|
4
|
+
for byte, and the deploy uploads (and purges) nothing. ``labinacan.site.feeds`` writes
|
|
5
5
|
the sitemap and ``robots.txt`` (#6628).
|
|
6
6
|
"""
|
|
7
7
|
|
|
@@ -12,6 +12,7 @@ from datetime import UTC
|
|
|
12
12
|
from xml.sax.saxutils import escape
|
|
13
13
|
|
|
14
14
|
from labinacan.site.feeds import write_site_files
|
|
15
|
+
|
|
15
16
|
from openinterpretability.builder.experiment import Experiment
|
|
16
17
|
|
|
17
18
|
FEED_ENTRIES = 50
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/palette.py
RENAMED
|
@@ -9,7 +9,7 @@ and that badge text stays readable on each fill.
|
|
|
9
9
|
The pole colours are Tailwind's orange-600 and sky-600, already a safe pair.
|
|
10
10
|
|
|
11
11
|
Templates use them as Tailwind colours (``status-verified``, ``pole-positive``,
|
|
12
|
-
``brand-700``). ``labinacan
|
|
12
|
+
``brand-700``). ``labinacan.site.css`` adds them to Tailwind's config from
|
|
13
13
|
:func:`tailwind_colors`. The token heatmaps use :data:`POLE_RGB`.
|
|
14
14
|
"""
|
|
15
15
|
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/pending.py
RENAMED
|
@@ -57,6 +57,6 @@ def parse(pr: dict) -> Pending | None:
|
|
|
57
57
|
def open_experiments() -> list[Pending]:
|
|
58
58
|
"""The open experiment PRs of this repository, newest first; empty without ``gh``."""
|
|
59
59
|
fields = "number,url,headRefName,isCrossRepository,isDraft,createdAt"
|
|
60
|
-
prs = open_prs(fields) # labinacan
|
|
60
|
+
prs = open_prs(fields) # labinacan.site.github: none without gh (#6628)
|
|
61
61
|
found = [p for p in map(parse, prs) if p is not None]
|
|
62
62
|
return sorted(found, key=lambda p: (p.opened, p.number), reverse=True)
|
|
@@ -17,6 +17,7 @@ from typing import Any
|
|
|
17
17
|
|
|
18
18
|
from labinacan.site import pii
|
|
19
19
|
from labinacan.site.pii import REMOVED_TOKEN, redact_text, scrub, scrub_field
|
|
20
|
+
|
|
20
21
|
from openinterpretability.core.cache_dirs import cache_root
|
|
21
22
|
from openinterpretability.core.confounds import PII_DETECTOR
|
|
22
23
|
from openinterpretability.core.schemas import AuditRecord
|
|
@@ -21,6 +21,9 @@ strength is size and width, and sign is a line style.
|
|
|
21
21
|
|
|
22
22
|
from __future__ import annotations
|
|
23
23
|
|
|
24
|
+
from labinacan.figures.motion import reveal
|
|
25
|
+
from labinacan.figures.svg import WIDTH, Figure, number
|
|
26
|
+
|
|
24
27
|
from openinterpretability.builder.explanation_figures import (
|
|
25
28
|
CYCLE,
|
|
26
29
|
DEFS,
|
|
@@ -30,8 +33,6 @@ from openinterpretability.builder.explanation_figures import (
|
|
|
30
33
|
_finish,
|
|
31
34
|
)
|
|
32
35
|
from openinterpretability.core.answer_records import parse_unit
|
|
33
|
-
from openinterpretability.figures.motion import reveal
|
|
34
|
-
from openinterpretability.figures.svg import WIDTH, Figure, number
|
|
35
36
|
|
|
36
37
|
LEFT, RIGHT = 130, WIDTH - 130 # the units' columns lie between the tokens and the answer
|
|
37
38
|
MAX_SCALE = 2.0 # a unit's mark grows to at most twice its size on the original prompt
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/sections.py
RENAMED
|
@@ -8,6 +8,7 @@ from pathlib import Path
|
|
|
8
8
|
|
|
9
9
|
from labinacan.site.brand import write_brand
|
|
10
10
|
from labinacan.site.sections import render_sections
|
|
11
|
+
|
|
11
12
|
from openinterpretability import DISTRIBUTION
|
|
12
13
|
from openinterpretability.builder.explanation_pages import render_explanations
|
|
13
14
|
from openinterpretability.builder.taxonomy_view import taxonomy_rows
|
|
@@ -29,6 +29,7 @@ from pathlib import Path
|
|
|
29
29
|
from typing import Literal
|
|
30
30
|
|
|
31
31
|
from labinacan.site.disk_memo import DiskMemo
|
|
32
|
+
|
|
32
33
|
from openinterpretability.core import stats
|
|
33
34
|
from openinterpretability.core.cache_dirs import build_cache
|
|
34
35
|
from openinterpretability.core.schemas import AuditRecord, ReviewPolicy
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
{%- endmacro %}
|
|
52
52
|
|
|
53
53
|
{# Tokens shaded by pole strength; hover (or tap) a token for its exact value. #}
|
|
54
|
-
{# Masks an example that matched the word list of labinacan
|
|
54
|
+
{# Masks an example that matched the word list of labinacan.sensitive until the reader opts in. CSS only, so it works with no script. Pagefind leaves it out, so search results do not show the text. #}
|
|
55
55
|
{% macro spoiler(masked) -%}
|
|
56
56
|
{%- if masked -%}
|
|
57
57
|
<div class="spoiler" data-pagefind-ignore>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
{# This site's sentence on the Research index, which labinacan's research.html includes (#6631). #}
|
|
2
|
+
{% if explained %}The <a class="{{ link }}" href="{{ root }}explanations/index.html">explanations</a> say why a model gives one answer to one prompt, as far as the registry explains it.{% endif %}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{% extends "site_base.html" %}
|
|
2
|
-
{# This repo's parts of every page, in labinacan's frame (labinacan
|
|
2
|
+
{# This repo's parts of every page, in labinacan's frame (labinacan's site/templates/site_base.html, #6628).
|
|
3
3
|
Each block holds its lines exactly, indentation and last newline too: the frame's own lines are trimmed. #}
|
|
4
4
|
{% block generator %} <meta name="generator" content="openinterpretability {{ version }}">
|
|
5
5
|
{% endblock %}
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/builder/users.py
RENAMED
|
@@ -23,6 +23,7 @@ from collections.abc import Iterable
|
|
|
23
23
|
from pathlib import Path
|
|
24
24
|
|
|
25
25
|
from labinacan.site import github
|
|
26
|
+
|
|
26
27
|
from openinterpretability.core.cache_dirs import cache_root
|
|
27
28
|
from openinterpretability.core.contributors import contributor_problem
|
|
28
29
|
from openinterpretability.core.paths import DEFAULT_WIKI_DIR, experiments_dir
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_build.py
RENAMED
|
@@ -148,6 +148,7 @@ def build( # noqa: PLR0913 (one option per input file)
|
|
|
148
148
|
"""Compile every archived experiment into static pages and data/registry.parquet."""
|
|
149
149
|
from labinacan.site.parallel import default_jobs
|
|
150
150
|
from labinacan.site.takedowns import activate, load_takedowns
|
|
151
|
+
|
|
151
152
|
from openinterpretability.builder.compiler import compile_site
|
|
152
153
|
from openinterpretability.builder.coverage import load_rows as load_coverage
|
|
153
154
|
from openinterpretability.builder.model_facts import load_model_facts
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/cli_pause.py
RENAMED
|
@@ -12,14 +12,17 @@ from openinterpretability.core import pause
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
@cli.command(name="pause")
|
|
15
|
-
@click.option(
|
|
15
|
+
@click.option(
|
|
16
|
+
"--reason",
|
|
17
|
+
default=None,
|
|
18
|
+
help=f"Why new experiments wait. [default: {pause.DEFAULT_REASON}]",
|
|
19
|
+
)
|
|
16
20
|
@click.option(
|
|
17
21
|
"--for",
|
|
18
22
|
"minutes",
|
|
19
|
-
default=
|
|
20
|
-
show_default=True,
|
|
23
|
+
default=None,
|
|
21
24
|
type=click.FloatRange(min=0, min_open=True),
|
|
22
|
-
help="Minutes until the pause ends by itself.",
|
|
25
|
+
help=f"Minutes until the pause ends by itself. [default: {pause.DEFAULT_MINUTES}]",
|
|
23
26
|
)
|
|
24
27
|
@click.option(
|
|
25
28
|
"--status",
|
|
@@ -31,12 +34,19 @@ def pause_command(reason, minutes, status):
|
|
|
31
34
|
|
|
32
35
|
While the pause lasts, `open-interpretability next` draws nothing and
|
|
33
36
|
scripts/experiment-loop.sh waits. See docs/experiments.md.
|
|
37
|
+
|
|
38
|
+
While a pause stands, a bare `pause` only shows it and exits 75, like
|
|
39
|
+
`--status`, so a check by mistake doesn't extend it (#6839). Give --for or
|
|
40
|
+
--reason to replace a standing pause.
|
|
34
41
|
"""
|
|
35
|
-
|
|
36
|
-
|
|
42
|
+
current = pause.read()
|
|
43
|
+
if status or (current and reason is None and minutes is None):
|
|
37
44
|
click.echo(current.describe() if current else "New experiments are not paused.")
|
|
38
45
|
raise SystemExit(pause.EXIT_PAUSED if current else 0)
|
|
39
|
-
|
|
46
|
+
new = pause.start(reason or pause.DEFAULT_REASON, minutes or pause.DEFAULT_MINUTES)
|
|
47
|
+
if current:
|
|
48
|
+
click.echo(f"Replaced the earlier pause (by {current.by}).")
|
|
49
|
+
click.echo(new.describe())
|
|
40
50
|
|
|
41
51
|
|
|
42
52
|
@cli.command(name="resume")
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/cache_dirs.py
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Where the on-disk caches live, in this project's cache folder (``labinacan
|
|
1
|
+
"""Where the on-disk caches live, in this project's cache folder (``labinacan.cache``)."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ from labinacan import cache
|
|
|
10
10
|
def build_cache() -> Path | None:
|
|
11
11
|
"""The build's memo folder: ``$OPENINTERPRETABILITY_BUILD_CACHE``, else ``<cache>/build``.
|
|
12
12
|
|
|
13
|
-
``off`` turns it off (``labinacan
|
|
13
|
+
``off`` turns it off (``labinacan.site.disk_memo``, #6628).
|
|
14
14
|
|
|
15
15
|
Returns:
|
|
16
16
|
The folder, or None when the cache is off.
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/confounds.py
RENAMED
|
@@ -26,12 +26,12 @@ BRACKET_DEPTH = "bracket depth"
|
|
|
26
26
|
ROUND_DEPTH = "round depth"
|
|
27
27
|
INDENT_DEPTH = "indent depth"
|
|
28
28
|
SYNTAX_CONSTRUCT = "syntax construct"
|
|
29
|
-
# The label sets of what `labinacan
|
|
29
|
+
# The label sets of what `labinacan.sensitive`, `toxicity.py` and `names.py` find in a document,
|
|
30
30
|
# and the label of every other token. Tokens with no label leave R² and mutual
|
|
31
31
|
# information, so a label set that named only the matches would always measure zero.
|
|
32
32
|
PERSONAL_DATA = "personal data"
|
|
33
33
|
# The personal-data search's name in records' ``label_detector``. The search moved to
|
|
34
|
-
# labinacan
|
|
34
|
+
# labinacan.sensitive (#6628), and records keep this name for it.
|
|
35
35
|
PII_DETECTOR = "openinterpretability.sensitive"
|
|
36
36
|
TOXICITY = "toxicity" # a model's guess (`openinterpretability/toxicity.py`)
|
|
37
37
|
HATE_SPEECH = "hate speech" # a model's guess (`openinterpretability/toxicity.py`)
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/errata.py
RENAMED
|
@@ -172,7 +172,12 @@ def parse_errata(text: str) -> list[Erratum]:
|
|
|
172
172
|
def load_errata(wiki_dir: Path | str = DEFAULT_WIKI_DIR) -> list[Erratum]:
|
|
173
173
|
"""Every erratum in ``wiki_dir``, in file order; none if there is no errata file."""
|
|
174
174
|
path = errata_path(wiki_dir)
|
|
175
|
-
|
|
175
|
+
if not path.exists():
|
|
176
|
+
return []
|
|
177
|
+
# Python reads UTF-8 by default on every platform here (PEP 538, 540), and "UTF-8" names
|
|
178
|
+
# the same codec. A mutant of the encoding changes nothing that a test can see.
|
|
179
|
+
text = path.read_text(encoding="utf-8") # pragma: no mutate, equivalent: see above
|
|
180
|
+
return parse_errata(text)
|
|
176
181
|
|
|
177
182
|
|
|
178
183
|
def covering(errata: Sequence[Erratum], record: AuditRecord) -> list[Erratum]:
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/pause.py
RENAMED
|
@@ -23,6 +23,7 @@ from pathlib import Path
|
|
|
23
23
|
|
|
24
24
|
ENV = "OPENINTERPRETABILITY_PAUSE_FILE"
|
|
25
25
|
DEFAULT_MINUTES = 120
|
|
26
|
+
DEFAULT_REASON = "a measurement needs a quiet machine"
|
|
26
27
|
EXIT_PAUSED = 75 # EX_TEMPFAIL from sysexits.h: try again later
|
|
27
28
|
|
|
28
29
|
|
|
@@ -74,16 +75,35 @@ def read(now: datetime | None = None) -> Pause | None:
|
|
|
74
75
|
return pause
|
|
75
76
|
|
|
76
77
|
|
|
78
|
+
def origin() -> str:
|
|
79
|
+
"""Who sets a pause: the user, the process, the working directory and the agent, if any.
|
|
80
|
+
|
|
81
|
+
The process is gone a second later. The directory and the agent's ID tell an agent's
|
|
82
|
+
pause from the maintainer's (#6839). The agent's ID is
|
|
83
|
+
``$OPENINTERPRETABILITY_AGENT``, the variable that ``scripts/claims.py`` reads.
|
|
84
|
+
|
|
85
|
+
Returns:
|
|
86
|
+
One line, such as ``ann, process 42, in /home/ann/repo, agent agent-1a2b``.
|
|
87
|
+
"""
|
|
88
|
+
from labinacan.config import env
|
|
89
|
+
|
|
90
|
+
who = f"{getpass.getuser()}, process {os.getpid()}, in {os.getcwd()}"
|
|
91
|
+
agent = os.environ.get(env("AGENT"), "").strip()
|
|
92
|
+
return f"{who}, agent {agent}" if agent else who
|
|
93
|
+
|
|
94
|
+
|
|
77
95
|
def start(reason: str, minutes: float = DEFAULT_MINUTES, now: datetime | None = None) -> Pause:
|
|
78
96
|
"""Pause new experiments for ``minutes``, and return the pause."""
|
|
79
97
|
now = now or datetime.now(UTC)
|
|
80
|
-
who =
|
|
98
|
+
who = origin()
|
|
81
99
|
until = now + timedelta(minutes=minutes)
|
|
82
100
|
pause = Pause(reason, who, now.isoformat(), until.isoformat())
|
|
83
101
|
path = pause_file()
|
|
84
102
|
path.parent.mkdir(parents=True, exist_ok=True)
|
|
85
|
-
|
|
86
|
-
|
|
103
|
+
unique = secrets.token_hex(4) # pragma: no mutate, equivalent: any unique name will do
|
|
104
|
+
text = json.dumps(asdict(pause), indent=1) # pragma: no mutate, equivalent: read() parses it
|
|
105
|
+
tmp = path.with_name(f".{path.name}.{unique}")
|
|
106
|
+
tmp.write_text(text)
|
|
87
107
|
os.replace(tmp, path)
|
|
88
108
|
return pause
|
|
89
109
|
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/core/project.py
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"""The project's public links, read by ``labinacan
|
|
1
|
+
"""The project's public links, read by ``labinacan.config`` from ``pyproject.toml``.
|
|
2
2
|
|
|
3
3
|
``[project.urls]`` holds the site's URL (``Homepage``), the repo's (``Repository``) and the X
|
|
4
4
|
account's (``X``). ``[project] maintainers`` holds the contact email, because PyPI accepts
|
|
5
5
|
only http(s) URLs in ``[project.urls]`` (#6434). The reader is generic, so it lives in
|
|
6
|
-
``labinacan
|
|
6
|
+
the ``labinacan`` package (#6629). This module keeps the names that the project imports.
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
9
|
from __future__ import annotations
|
{open_interpretability-0.6.0 → open_interpretability-0.6.1}/openinterpretability/patches/schema.py
RENAMED
|
@@ -18,6 +18,10 @@ from pydantic import BaseModel, ConfigDict, Field, model_validator
|
|
|
18
18
|
|
|
19
19
|
REGISTRY_VERSION = 1
|
|
20
20
|
VERDICTS = ("fixed", "not fixed") # evidence["verdict"], #5220 §9.1
|
|
21
|
+
# The text encoding of every patch file, whatever the machine's locale (#6491).
|
|
22
|
+
ENCODING = "utf-8"
|
|
23
|
+
# How a patch's body is written for its hash: keys sorted, no spaces, text as it is.
|
|
24
|
+
CANONICAL_JSON = {"sort_keys": True, "separators": (",", ":"), "ensure_ascii": False}
|
|
21
25
|
|
|
22
26
|
|
|
23
27
|
@dataclass(frozen=True)
|
|
@@ -143,7 +147,7 @@ class Patch(BaseModel):
|
|
|
143
147
|
def content_id(self) -> str:
|
|
144
148
|
"""The SHA-256 of the record without ``id``: the patch's id, like a commit hash."""
|
|
145
149
|
body = self.model_dump(mode="json", exclude={"id"})
|
|
146
|
-
text = json.dumps(body,
|
|
150
|
+
text = json.dumps(body, **CANONICAL_JSON)
|
|
147
151
|
return hashlib.sha256(text.encode()).hexdigest()
|
|
148
152
|
|
|
149
153
|
def sealed(self) -> Patch:
|