open-interpretability 0.6.2__tar.gz → 0.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/CHANGELOG.md +76 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/PKG-INFO +2 -1
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/README.md +1 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/__init__.py +1 -1
- open_interpretability-0.6.3/openinterpretability/audit_options.py +175 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/circuit_units.py +3 -3
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/compiler.py +5 -3
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/concept_map_view.py +1 -1
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/coverage.py +1 -1
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/pending.py +1 -1
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/route_figures.py +5 -1
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/sections.py +4 -1
- open_interpretability-0.6.3/openinterpretability/builder/templates/404.html +23 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/experiment.html +1 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/tree.py +12 -7
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/users.py +1 -1
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/wiki.py +38 -3
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/claude_sessions.py +1 -2
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli.py +1 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_evidence.py +15 -28
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_explain.py +8 -3
- open_interpretability-0.6.3/openinterpretability/cli_explain_family.py +217 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_interference.py +21 -16
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_loop.py +3 -1
- open_interpretability-0.6.3/openinterpretability/cli_sisters.py +231 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/taxonomy.py +2 -1
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/draw_steps.py +7 -3
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/evidence.py +3 -3
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/experiment_loop.py +7 -2
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_confirm.py +1 -2
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_corpus.py +2 -2
- open_interpretability-0.6.3/openinterpretability/explain_family.py +230 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_run.py +89 -24
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_share.py +4 -4
- open_interpretability-0.6.3/openinterpretability/explain_slots.py +277 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explanation_targets.py +204 -20
- open_interpretability-0.6.3/openinterpretability/git_fetch.py +65 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/ane/backend.py +2 -1
- open_interpretability-0.6.3/openinterpretability/harness/ane/bundles.py +121 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/devices.py +15 -0
- open_interpretability-0.6.3/openinterpretability/harness/head_sisters.py +283 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/layer_cache.py +47 -2
- open_interpretability-0.6.3/openinterpretability/head_sisters.py +309 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/interference/floors.py +3 -4
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/loop_local.py +2 -2
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/loop_pending.py +4 -4
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/loop_sessions.py +51 -6
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/model_check.py +1 -2
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/planner.py +3 -1
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/planner_states.py +87 -9
- open_interpretability-0.6.3/openinterpretability/record_schema.py +177 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/registry_query.py +3 -3
- open_interpretability-0.6.3/openinterpretability/scan_reuse.py +204 -0
- open_interpretability-0.6.3/openinterpretability/verify_odds.py +138 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/pyproject.toml +4 -0
- open_interpretability-0.6.2/openinterpretability/audit_options.py +0 -89
- open_interpretability-0.6.2/openinterpretability/cli_sisters.py +0 -87
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/.gitignore +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/CITATION.cff +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/LICENSE +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/agents/__init__.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/agents/base.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/agents/judge.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/agents/narrator.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/agents/probe_hints.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/agents/proposer.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/agents/proposer_profiles.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/agents/review_measurements.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/agents/reviewer.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/agreement.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/answer_lens.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/answer_prompts.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/answer_readings.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/answer_review.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/baseline.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/benchmark.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/blends.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/__init__.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/agents.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/aligned.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/brand/logo.svg +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/brand/mark-32.png +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/brand/mark.svg +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/brand/og.png +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/charts.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/circuit_pages.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/circuits.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/corpora.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/css.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/dashboard.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/draws_export.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/experiment.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/explanation_figures.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/explanation_pages.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/feeds.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/heat.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/hrefs.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/learned_baseline.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/model_facts.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/neuronpedia_export.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/palette.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/parquet_export.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/pieces.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/recent.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/registry_pii.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/registry_stats.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/significance.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/sister_graph.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/sister_pages.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/slim.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/standing.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/statuses.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/stopped.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/stops.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/superpositions.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/taxonomy_view.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_agent_role_cells.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_answer_verdict.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_causal_chart.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_circuit.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_concept_map.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_dashboard.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_embedding3d.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_experiment.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_experiments.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_figure.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_figure_pause.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_gas3d.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_head_profile.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_macros.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_members.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_patchscope.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_prior_art.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_record.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_research_extra.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_rivals.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_route3d.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_route3d_waves.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_route_row.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_specificity.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_steering.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_superposition.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_taxonomy.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_vocab_chart.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/_wiring.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/about.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/agent.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/agents.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/answer.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/atlas.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/base.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/circuit.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/circuit_experiment.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/circuit_unit.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/circuits.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/explanation.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/explanation_prompt.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/explanations.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/hub.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/index.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/layer.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/learned-baseline.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/model.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/models.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/neuron.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/sister_match.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/sisters.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/superposition.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/user.html +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/wiki/experiment.md +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/wiki/index.md +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/wiki/neuron.md +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/templates/wiki/stop.md +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/checks.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/circuit_checks.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/circuit_ids.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/circuit_review.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_answers.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_baseline.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_benchmark.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_build.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_check.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_circuits.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_claude_session.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_concepts.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_corpus.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_costs.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_coverage.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_crossref.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_errata.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_evidence_store.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_map.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_memory.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_model_check.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_neuronpedia.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_patch.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_pause.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_pole_effects.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_probing.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_provider.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_query.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_registry.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_reproduce.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_review.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_scan.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_score.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_submission.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_superpositions.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/cli_wiring.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/codeid.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/concept_map.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/concept_regions.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/concepts.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/__init__.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/agent_names.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/answer_records.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/attribution.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/cache_dirs.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/causal.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/circuit_records.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/confounds.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/contributors.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/corpora.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/costs.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/draws.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/errata.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/evidence.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/examples.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/exceptions.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/explanation.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/explanation_records.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/fence.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/heavy_lock.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/identifiers.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/isolation.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/ledger.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/legacy_names.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/licenses.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/manifold.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/partners.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/patchscope.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/paths.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/pause.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/pricing.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/prior_art.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/probing.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/profiles.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/project.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/record_kinds.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/rivals.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/run_environment.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/schemas.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/specificity.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/stats.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/steering.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/strict.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/transcripts.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/core/wiring.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/corpus.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/corpus_cache.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/corpus_layouts.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/corpus_presets.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/corpus_rebuild.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/coverage.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/crossref.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/data/__init__.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/data/providers.toml +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/data/sample_corpus.txt +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/embedding_space.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/errata_checks.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/evidence_branch.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/evidence_lenses.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_backend.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_batched.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_coverage.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_figure_data.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_groups.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_joint.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_land.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_narrate.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_output.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_plan.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_print.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_reuse.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explain_stopped.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/explanation_registry.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/half_precision.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/__init__.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/ane/__init__.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/ane/cache.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/ane/chunks.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/ane/convert.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/ane/forward.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/ane/qualified.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/annotations.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/attribution.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/causal.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/circuit_measures.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/confounds.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/covariance.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/cpu_speed.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/crossref.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/cuda_devices.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/dead.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/dictionaries.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/dreaming.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/environment.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/explanation_scores.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/features.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/first_position.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/heads.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/hooks.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/input_attribution.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/jlens.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/layer_major.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/lookahead.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/manifold.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/memory.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/moe.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/ov_lens.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/patcher.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/patchscope.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/prepare.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/probing.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/scan.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/scan_backend.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/sister_passes.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/sisters.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/sites.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/specificity.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/steering.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/superpositions.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/units.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/wiring.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/harness/wiring_activations.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/hubs.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/interference/__init__.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/interference/behaviour.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/interference/fisher.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/interference/keep.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/interference/pruning.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/interference/report.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/interference/routes.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/interference/run.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/interference/template.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/interference/tuning.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/interference/units.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/inverse_claims.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/langid.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/loop_bugs.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/mcp_server.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/model_revisions.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/names.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/neuronpedia_baseline.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/neuronpedia_review.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/partner_context.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/patches/__init__.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/patches/apply.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/patches/gates.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/patches/graph.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/patches/history.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/patches/schema.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/patches/session.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/patches/store.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/patches/tensors.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/planner_circuits.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/planner_claims.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/planner_effects.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/planner_explanations.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/planner_heads.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/planner_models.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/planner_sisters.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/planner_superpositions.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/pole_effects.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/prior_art.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/providers.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/reproduce.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/reproduce_explanation.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/reproduce_policy.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/revision.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/runner_cache.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/score_controls.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/show.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/signing.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/sisters.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/superposition_finders.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/syntax.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/takedown_checks.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/toxicity.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/until_verified.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/verdict_regression.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/wiring_backfill.py +0 -0
- {open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/wordnet.py +0 -0
|
@@ -13,6 +13,82 @@ Changes waiting for the next release are files in [changelog.d/](changelog.d/REA
|
|
|
13
13
|
|
|
14
14
|
## [Unreleased]
|
|
15
15
|
|
|
16
|
+
## [0.6.3] - 2026-11-30
|
|
17
|
+
|
|
18
|
+
Ships with protocol version **0.10**.
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- `papers/default-on-poles/` adds a mirrored control, in Table 9 (`scripts/default_on_targets.py mirror`, #3195). The control keeps each neuron's learned direction and turns it round about the neuron's median. It predicts GPT-2's next-token distribution as well as the negative side does, or better. On L1–L11, the negative side minus the mirror is −0.015 to +0.004. So the negative side's small lead over random features comes from the direction that it shares with the positive side. The paper is now published.
|
|
23
|
+
- The site has a page for a path with no page, `404.html`. Its links start from the site's URL, so they work at any path, and search engines don't index it. The host must be set to serve it for a missing path.
|
|
24
|
+
- A JSON Schema of an experiment record, as its file is stored, is now in `schema/audit-record-<protocol version>.json`, and the site serves it at `/schema/`. Each record page links it. It allows each bulky evidence field as its `evidence_sha256` reference. All 4,761 record files validate against it.
|
|
25
|
+
- `open-interpretability head-sisters` finds each VERIFIED attention head's sister in the other models: a mutual best match, by head strength over a shared corpus, above a rotated-head reference. Its rows are in `docs/analyses/sister-heads.jsonl`, and `docs/analyses/sister-heads.md` gives the results.
|
|
26
|
+
- **A review of *A coefficient of agreement for nominal scales*** (Cohen, 1960), at `docs/literature/cohen-kappa.md`. Its status is used. It checks the token-set paper's kappas against Cohen's formulas: 0.77 and 0.88 hold. Kappas in the repo lack the standard error that Cohen gives, so #7412 adds it (#6792).
|
|
27
|
+
- **A review of *Probable inference, the law of succession, and statistical inference*** (Wilson, 1927), at `docs/literature/wilson-interval.md`. Its status is used. All six of the repo's Wilson functions match the note's formula, and the token-set paper's intervals check out. #7417 keeps one function (#6793).
|
|
28
|
+
- `docs/literature/spectral-unforgetting.md` reviews *Spectral Unforgetting* (Abro and Tahir, 2026). It cuts a fine-tune's weight change to its singular values above a hard threshold, with no data. On 14 single-task fine-tunes, it heals about as much benchmark damage as WiSE-FT and keeps more of the gains. #7491 tests the cut on the explanations that Qwen2.5-1.5B's instruct change breaks (#7067).
|
|
29
|
+
- `docs/literature/chantless.md` reviews Deus Experiments' *Chantless* post. It cuts a frozen model to a task-specific file, then silences late-layer MLP neurons chosen from up to 25 mistakes. Three of its six accepted switches lose 8–16 points of tool-call retention. It has no random-row control and doesn't study the silenced neurons (#7106).
|
|
30
|
+
- `docs/literature/self-improving-loopers.md` reviews *Recursive Self-Improving Loopers* (Eric E., 2026). Inkling-2-Mini breaks when it is forced to run a fourth pass. The paper fixes this with a closed-form edit of its loop-control weights, then with self-graded RL. It never tests its one-direction diagnosis causally, and it has no random-edit control (#7153).
|
|
31
|
+
- `docs/literature/neural-core-war.md` reviews *Neural Core War* (Fu, Huang, Duan and Dai, 2026). In it, two isolated LLM agents edit the same neuron output columns of one host model. Most of their edits overwrite columns that are already changed, yet the host stays fluent in 45 of 48 persistent worlds. The page measures damage on outputs only, and never checks its agents' column readings (#7159).
|
|
32
|
+
- `docs/literature/sciwrite.md` reviews *SciWrite* (Barba, 2026), an Agent Skill that reviews a manuscript's writing in six passes. It compares each pass with the repo's STE linter and paper checks. #7521 runs the skill on two papers to find the gaps that matter (#7190).
|
|
33
|
+
- `papers/why-neurons-rest/` adds a second seed to the full-batch run of Table 32. Seed 1 gives the same result as seed 0. L1 rests at −0.15 against Pythia-70m's −0.22. Over both seeds, the push points down in 25 of 60 checkpoints and layers. The paper is now published. #7437 holds a run to step 4,000 (#7317).
|
|
34
|
+
- `docs/literature/fractured-entangled-representation.md` reviews the fractured entangled representation hypothesis (Kumar, Clune, Lehman and Stanley, 2025). The unified-factored forgetting paper rests on it. Its evidence is one evolved and one SGD network, judged by eye, and it gives no metric (#7339).
|
|
35
|
+
- **`explain --run --parallel N` runs N experiments at once** (#7389). Each slot is its own process, in its own loop worktree (`<repo>-loop-<k>`). The slots share `logs/explain-run-<time>/`, which holds the unit that each slot runs and the attempts of each unit. So no two slots run one unit, and `--max-attempts` counts across them. It works only with Claude Code sessions. In the #7005 pilot, one experiment took about 28 minutes, one at a time.
|
|
36
|
+
- `scripts/replay_draws.py` replays the #7005 pilot's draws under two ranking rules (`docs/analyses/expected-gain-replay.md`, #7393). Ranking the targets of `explain --run` by expected gain needs more experiments than the plan's order to reach the pilot's 56.2% coverage. It takes a median of 68 with the registry's odds and 64 with the pilot's own, against 54. So the plan's order stays the default. Expected gain is available as `TargetedDraws(rank="expected")`, with the odds in `openinterpretability/verify_odds.py`.
|
|
37
|
+
- `scripts/papers.py check` fails a published paper that has no `thread.yaml` and no `x_url` yet, because it would post to X as one post (#7505). Nine preprints get their X threads and drawn figures: conformal-line, copy-first-unit, explanations-across-models, instruct-difference, native-vs-learned, neuron-development, shared-concept-space, spd-input-projections and token-set-ceiling.
|
|
38
|
+
- Recorded the alphaXiv AI Track URL of "Why training rests neurons below GELU's dip" in `papers/why-neurons-rest/CITATION.cff`, so the paper page links it (#7534).
|
|
39
|
+
- **What default-on negative poles do as a population** is on alphaXiv AI Track (#7535). The paper `papers/default-on-poles/` is on alphaXiv, and its `CITATION.cff` records the URL. The paper page links it.
|
|
40
|
+
- When the deploy posts a paper to X, it opens the paper's Muse issue (`docs/muse.md`) for alphaXiv. So a published paper no longer waits for the next release (#7538).
|
|
41
|
+
- A literature page reviews *Rigorously Assessing Natural Language Explanations of Neurons* (Huang et al., 2023). It compares the paper's tests with the verdict rule, and it corrects the two skills that cite the paper.
|
|
42
|
+
- `open-interpretability explain-family --prompts <file> --run` explains a family of prompts with one joint plan (#7819). A unit that helps several prompts is drawn first, and the run stops when every prompt reaches `--target`. `--record` then writes each prompt's own record. On eight copy-family prompts, a joint plan needed 118 experiments against 160 for separate plans (#7061).
|
|
43
|
+
- A preprint, `papers/what-predicts-verification/`, asks whether values known before the review tell which attempts on neuron poles will pass. It uses 4,498 attempts. On poles that it never trained on, a random forest has an AUC of 0.742, against 0.654 for the layer and the activation scale. `scripts/verify_features.py` builds the feature table, and `scripts/verify_forest.py` fits and scores the forests.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- **No mutant survives in 25 files of `builder/` (part 1)** (#6491). New exact tests cover `users`, `pending`, `coverage`, `circuit_pages`, `superpositions`, `slim`, `stopped`, `statuses` and `corpora`. Three mutants of `slim.full_record` and `SlimArchive` used to time out, because only slow tests reached that code. Fast tests now kill them. Three lines changed with no change in behaviour. `merged_prs` drops an `rstrip("/")` that can never apply. `pending.parse` reads a missing branch as `"None"`. `coverage_view` drops a merge that set a key again to the same value.
|
|
48
|
+
- **No mutant survives in 7 more files of `builder/` (part 2)** (#6491): `hrefs`, `model_facts`, `sister_graph`, `concept_map_view`, `learned_baseline`, `route_figures` and `sister_pages`. Four were clean already. New exact tests kill 246 survivors in the other three, among them 139 mutants of `route_figures`, which had no fast test at all. Two lines changed with no change in behaviour. In `concept_map_view._points`, an inner default of 0 went away, because slots are numbered from 1. In `route_figures._tokens`, a `zip` moved onto its own line, so that its two equivalent `strict` mutants carry a pragma.
|
|
49
|
+
- **No mutant survives in 7 more files of `builder/` (part 3)** (#6491): `agents`, `circuits`, `pieces`, `dashboard`, `circuit_units`, `standing` and `charts`. Four were clean already. New exact tests kill 174 survivors in the other three: 96 in `charts`, 57 in `circuit_units` and 21 in `circuits`. `circuit_units` now reads its lineage and record files as bytes, which `json` and pydantic decode as UTF-8, so the locale can no longer change them. `link_revisions` drops a guard that changed nothing.
|
|
50
|
+
- **An experiment session lands its record with `make check` alone** (#7390). The posted step said `make check lint test`, although the skills and CI skip lint and tests for a wiki-only branch. In the #7005 pilot that step took about 3 minutes a session. `check` on one record takes about 10 s. The `land-experiment` skill also skips the second `make check` after merging `main`, unless the merge brought changes outside `wiki/`.
|
|
51
|
+
- **`explain --run` no longer reads the whole registry twice between experiments** (#7391). The planner parses each record once per process and keeps the parse while the file is unchanged. `load_states` returns its last states when no record or errata file has changed. In the #7005 pilot each read took 130–160 s, and each gap read twice, for 5.4 minutes on average. With the cache, a second read of 4,470 records takes 0.6 s, and a gap parses only the new record. The run's log now gives each draw's time (`drew … in N s`).
|
|
52
|
+
- Revise and new-hypothesis draws reuse the scan of the record that they revise. `open-interpretability audit --reuse-scan <record>` takes the record's evidence when the unit, the model revision, the corpus and the scan options are the same. Otherwise it prints what differs and scans (#7392).
|
|
53
|
+
- **A draw rebuilds the planner's states in 2 s, not 10 s, when a record lands** (#7519). `claim_of` hashed every submission again on each rebuild, although records are write-once. The planner now keeps each cached record's claim, and `build_tree` uses a known claim for a record that no erratum edits. The site build passes claims already, and it no longer computes them twice. The `explain --run` log gives the time of the coverage measure and of the registry read. In the #7005 pilot, draws took 216 s on average with five slots on a loaded machine.
|
|
54
|
+
- `make test` copies a failed run's log to `logs/test-failed-<UTC time>.log`, because the next run overwrites `logs/test-last.log`. A failure that shows once in many runs can then still be read (#7554).
|
|
55
|
+
- **Registry coverage, refreshed for 0.6.3** (`docs/analyses/registry-coverage.jsonl`, 2026-11-29 and 2026-11-30). It gives each model's VERIFIED poles and the mean share of the loss that they recover, against the 2026-11-28 run:
|
|
56
|
+
|
|
57
|
+
| Model | VERIFIED poles | Share of poles | Mean recovered |
|
|
58
|
+
| --- | --- | --- | --- |
|
|
59
|
+
| pythia-70m | 202 → 284 | 1.16% | 0.037 → 0.045 |
|
|
60
|
+
| GPT-2 | 226 → 230 | 0.31% | −0.059 → −0.059 |
|
|
61
|
+
| Qwen2.5-0.5B | 382 → 395 | 0.17% | 0.012 → 0.012 |
|
|
62
|
+
| Qwen2.5-1.5B | 80 → 92 | 0.02% | 0.001 → 0.000 |
|
|
63
|
+
|
|
64
|
+
Pythia-70m gained the most, from the #7005 pilot's runs. GPT-2's mean stays negative, as in 0.6.2.
|
|
65
|
+
- The sister search ran again for v0.6.3, on the 82 poles VERIFIED since v0.6.2. They are 56 poles of pythia-70m, 12 of Qwen2.5-0.5B, 11 of Qwen2.5-1.5B and 3 of GPT-2. It added 246 rows and 49 sisters (`docs/analyses/sister-neurons.jsonl`). By pair, pythia-70m's poles found 13 sisters in Qwen2.5-0.5B, 13 in Qwen2.5-1.5B and 5 in GPT-2. Qwen2.5-0.5B's found 7 in Qwen2.5-1.5B. The strongest are GPT-2's L1/N478+ and Qwen2.5-0.5B's L0/N3048− (Pearson 0.95), and Qwen2.5-0.5B's L0/N848− and GPT-2's L0/N2874+ (0.91). The run took about 5.5 hours, on the CPU with 2 threads, because the GPU was busy when it started (#7857).
|
|
66
|
+
- `explain-family --run` now measures the family's coverage only when a prompt's explained units change, and its slots share that measure. Before, each slot measured every prompt against random sets before each draw, about 283 s of a 290 s draw. A reused measure says "reused" in the log.
|
|
67
|
+
|
|
68
|
+
### Fixed
|
|
69
|
+
|
|
70
|
+
- `scripts/next_issue.py --pull <number>` adds the issue that the `next-issue` skill chose, after it checks that the issue is the pick or a printed runner-up. `--pull` with no number still adds the pick. Before, a skipped pick could be pulled into the release in place of the runner-up that was worked (#3612).
|
|
71
|
+
- **An experiment's verdict comes from its record, not from the session's `RESULT:` line** (#7384). In the #7005 pilot, sessions wrote `unknown` for 10 merged PRs whose records held 4 VERIFIED, 5 NEEDS_REVISION and 1 REJECTED. They also wrote unit names with slashes and swapped fields. So the loop counted 14 VERIFIED where the records held 18. `explain --run` and the loop now read the newest record that the session's branch added on the drawn unit. The log says when the line and the record disagree.
|
|
72
|
+
- The planner and `explain --run` no longer offer an `opposite_pole` follow-up for a pole that a scan stopped on (dead or default-on) (#7454). They counted only units with an experiment record as studied, and a stopped pole has none, so it was drawn again. `planner_states.studied` adds the stop and draw records.
|
|
73
|
+
- Opening the scan cache now removes the temporary folders of scans whose process died (`LayerCache.sweep`, #7532). A killed scan left its folder behind. On 2026-11-28 there were 9, 21 GB in all, and they helped fill the data volume. A folder whose process still runs is left alone.
|
|
74
|
+
- A loop's `git fetch origin main` is tried again, up to 5 times, when it fails because another worktree holds the ref's lock (`openinterpretability/git_fetch.py`, #7533). A slot of `explain --run --parallel` exited at its start when two slots fetched at once.
|
|
75
|
+
- `next`, and the other commands that plan from the registry, now hold each record slim, as the site build does. On 4,619 records, the peak memory of `next` fell from 6.8 GB to 1.8 GB, and its draws stayed the same. In a 6 GB cell, the draw was killed three times.
|
|
76
|
+
- Test and mutation runs no longer fill the disk with temporary folders (#7550).
|
|
77
|
+
- Doctests use pytest's `tmp_path`, not `tempfile.mkdtemp`.
|
|
78
|
+
- `interference --patch` removes its noise store.
|
|
79
|
+
- pytest keeps only failed tests' `tmp_path` folders.
|
|
80
|
+
- `make test` runs in a fresh temporary folder of its own, and fails when a test leaves anything in it.
|
|
81
|
+
- `scripts/mutation.py` sends its runs' temporary files to a folder of their own and removes it. It also removes `mutants/` after a run with no surviving mutant, unless `--keep` is given.
|
|
82
|
+
- An ANE scan now bounds the macOS cache of compiled Core ML models (`~/Library/Caches/org.python.python/com.apple.e5rt.e5bundlecache`). When the cache is larger than 20 GB, the scan removes the bundles that no process used in the last 2 days. `OPENINTERPRETABILITY_E5_CACHE_GB` and `OPENINTERPRETABILITY_E5_CACHE_DAYS` change these values. The ANE scripts also remove their `.mlpackage` temporary folders. These folders had filled a disk.
|
|
83
|
+
- The deploy's step that opens each posted paper's Muse issue now runs when `LEDGER_TOKEN` is set. Its condition read the step's own `env`, which a step's `if` can't see, so the step never ran. A job-level flag now says whether the secret is set, without its value.
|
|
84
|
+
- `explain --run` now draws again for a unit that loses VERIFIED during the run. Before, a unit that was VERIFIED at the start, or that turned VERIFIED during the run, left the run's targets for good. So when another loop's record made it CONTESTED, the run never drew it. Each draw now puts such a unit back among the targets, by its gain.
|
|
85
|
+
- **The planner keeps each record's claim by its file's path and stamp, not by `id()`.** A record that is parsed again can take the `id()` of the object that it replaced, and so take its claim. One example is an open PR's record, which `explain --run` puts back before each draw. The pre-release sweep for v0.6.3 found this in #7519's cache.
|
|
86
|
+
- `sisters` and `head-sisters` with `--device auto` now choose the device again before each model load. A run that began while another job held the GPU took the CPU and kept it for hours after the GPU was free. Now a later load takes the GPU. The release skill's sister step passes `--device mps` on a Mac.
|
|
87
|
+
|
|
88
|
+
### Security
|
|
89
|
+
|
|
90
|
+
- `audit --reuse-scan` now reuses only evidence that the registry has verified. That means a record that an allowed signer signed, as `origin/main` lists them, and that names its corpus sample. Any other record is scanned again, and the audit says why.
|
|
91
|
+
|
|
16
92
|
## [0.6.2] - 2026-11-28
|
|
17
93
|
|
|
18
94
|
Ships with protocol version **0.10**.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: open-interpretability
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.3
|
|
4
4
|
Summary: Open Interpretability: an agent-run mechanistic interpretability project, with an audited registry of native neurons in open-weight models.
|
|
5
5
|
Project-URL: Homepage, https://open-interpretability.com/
|
|
6
6
|
Project-URL: Repository, https://github.com/8W9aG/openinterpretability
|
|
@@ -99,4 +99,5 @@ It lists the units that carry the model's answer, says which of them the registr
|
|
|
99
99
|
- [docs/PROTOCOL.md](docs/PROTOCOL.md): how a verdict is decided.
|
|
100
100
|
- [docs/development.md](docs/development.md): installing the package, the code, CI and the site.
|
|
101
101
|
- [CONTRIBUTING.md](CONTRIBUTING.md) and [SECURITY.md](SECURITY.md): how to contribute, and how to report a security problem.
|
|
102
|
+
- [schema/](schema/): the JSON Schema of an experiment record, one file per protocol version, so other tools can validate and read records without this package. The site serves it at `/schema/` (#3291).
|
|
102
103
|
- [CITATION.cff](CITATION.cff): how to cite. The code is under [MIT](LICENSE), and the records under [CC-BY-4.0](wiki/LICENSE.md).
|
|
@@ -35,4 +35,5 @@ It lists the units that carry the model's answer, says which of them the registr
|
|
|
35
35
|
- [docs/PROTOCOL.md](docs/PROTOCOL.md): how a verdict is decided.
|
|
36
36
|
- [docs/development.md](docs/development.md): installing the package, the code, CI and the site.
|
|
37
37
|
- [CONTRIBUTING.md](CONTRIBUTING.md) and [SECURITY.md](SECURITY.md): how to contribute, and how to report a security problem.
|
|
38
|
+
- [schema/](schema/): the JSON Schema of an experiment record, one file per protocol version, so other tools can validate and read records without this package. The site serves it at `/schema/` (#3291).
|
|
38
39
|
- [CITATION.cff](CITATION.cff): how to cite. The code is under [MIT](LICENSE), and the records under [CC-BY-4.0](wiki/LICENSE.md).
|
{open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/__init__.py
RENAMED
|
@@ -5,7 +5,7 @@ from labinacan import config as _config
|
|
|
5
5
|
from openinterpretability.core.legacy_names import adopt_legacy_env
|
|
6
6
|
from openinterpretability.core.paths import CLONE_PYPROJECT, DEFAULT_PYPROJECT, PACKAGED_PYPROJECT
|
|
7
7
|
|
|
8
|
-
__version__ = "0.6.
|
|
8
|
+
__version__ = "0.6.3"
|
|
9
9
|
# The name on PyPI, and of the installed distribution (issue #3251). The import name is
|
|
10
10
|
# `openinterpretability` (issue #4089).
|
|
11
11
|
DISTRIBUTION = "open-interpretability"
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
"""Options that ``open-interpretability audit`` and ``scan`` share, and how unit options resolve.
|
|
2
|
+
|
|
3
|
+
The shared ones are the scan cache and ``--selection``. The checks of ``audit``'s options
|
|
4
|
+
that go together, or apart, are here too.
|
|
5
|
+
|
|
6
|
+
``--selection`` says how a chosen unit was selected, as its provenance records it.
|
|
7
|
+
|
|
8
|
+
A ``--random`` draw records ``random`` and counts towards the registry statistics. A
|
|
9
|
+
unit given by layer and index records ``manual``, unless ``--selection`` says otherwise.
|
|
10
|
+
The planner's effect-weighted explore draws (issue #3486) pass ``attribution``. They are
|
|
11
|
+
drawn in proportion to an attribution-patching estimate, so they must not count as random.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
|
|
16
|
+
import json
|
|
17
|
+
from pathlib import Path
|
|
18
|
+
|
|
19
|
+
import click
|
|
20
|
+
|
|
21
|
+
from openinterpretability.inverse_claims import inverse_preamble # noqa: F401 (re-exported)
|
|
22
|
+
|
|
23
|
+
DEFAULT_TOP_K = 20
|
|
24
|
+
"""Top examples that a scan keeps by default (``audit --top-k``)."""
|
|
25
|
+
|
|
26
|
+
scan_cache_option = click.option(
|
|
27
|
+
"--scan-cache/--no-scan-cache",
|
|
28
|
+
"use_scan_cache",
|
|
29
|
+
default=True,
|
|
30
|
+
show_default=True,
|
|
31
|
+
help="Replay a cached scan of the layer, or store this one "
|
|
32
|
+
"(see `open-interpretability scan-cache`).",
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
reuse_scan_option = click.option(
|
|
37
|
+
"--reuse-scan",
|
|
38
|
+
"reuse_file",
|
|
39
|
+
type=click.Path(exists=True, dir_okay=False, path_type=Path),
|
|
40
|
+
help="Archived record of this unit (wiki/experiments/<slug>/<id>.json): reuse its scan "
|
|
41
|
+
"instead of scanning again, if the model revision, corpus and scan options are the same. "
|
|
42
|
+
"Otherwise scan as usual. A revise draw passes the record it revises.",
|
|
43
|
+
)
|
|
44
|
+
top_k_option = click.option(
|
|
45
|
+
"--top-k", default=DEFAULT_TOP_K, show_default=True, help="Examples shown to the proposer."
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def open_scan_cache(enabled: bool):
|
|
50
|
+
"""The default layer-scan cache, or ``None`` when ``enabled`` is false."""
|
|
51
|
+
from openinterpretability.harness.layer_cache import LayerCache
|
|
52
|
+
|
|
53
|
+
return LayerCache.default() if enabled else None
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
CHOSEN = ("manual", "attribution") # selections a unit given by layer and index may record
|
|
57
|
+
|
|
58
|
+
selection_option = click.option(
|
|
59
|
+
"--selection",
|
|
60
|
+
type=click.Choice(CHOSEN),
|
|
61
|
+
help="How a unit given by layer and index was chosen (default manual). The planner's "
|
|
62
|
+
"effect-weighted draws pass attribution. Ignored with --random.",
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def selection(random_pick: bool, chosen: str | None) -> str:
|
|
67
|
+
"""The ``provenance.selection`` of a scan."""
|
|
68
|
+
return "random" if random_pick else chosen or "manual"
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def read_superposition(path: Path, unit: str):
|
|
72
|
+
"""(unit, model, layer, profile) from a superposition's definition file."""
|
|
73
|
+
from pydantic import ValidationError
|
|
74
|
+
|
|
75
|
+
from openinterpretability.core.profiles import SuperpositionProfile
|
|
76
|
+
|
|
77
|
+
if unit != "neuron":
|
|
78
|
+
raise click.UsageError("--superposition is a unit of its own; don't combine it.")
|
|
79
|
+
data = json.loads(path.read_text(encoding="utf-8"))
|
|
80
|
+
try:
|
|
81
|
+
model, layer = data.pop("model"), data.pop("layer")
|
|
82
|
+
return "superposition", model, layer, SuperpositionProfile.model_validate(data)
|
|
83
|
+
except (KeyError, ValidationError) as exc:
|
|
84
|
+
raise click.BadParameter(str(exc), param_hint="--superposition") from exc
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def resolve_unit(unit, neuron, pole, head, feature, dictionary) -> str:
|
|
88
|
+
"""The unit ``--unit`` names, or the one the other options imply."""
|
|
89
|
+
if unit is None:
|
|
90
|
+
unit = "head" if head is not None else "neuron"
|
|
91
|
+
unit = "feature" if feature is not None or dictionary is not None else unit
|
|
92
|
+
if unit != "neuron" and (neuron is not None or pole is not None):
|
|
93
|
+
raise click.UsageError(f"--neuron and --pole are for neurons; a {unit} has neither.")
|
|
94
|
+
if head is not None and unit != "head":
|
|
95
|
+
raise click.UsageError("--head needs --unit head (or no --unit).")
|
|
96
|
+
if unit != "feature" and (feature is not None or dictionary is not None):
|
|
97
|
+
raise click.UsageError("--feature and --dictionary need --unit feature (or no --unit).")
|
|
98
|
+
return unit
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
inverse_option = click.option(
|
|
102
|
+
"--inverse",
|
|
103
|
+
is_flag=True,
|
|
104
|
+
help="Audit a default-on neuron pole with an inverse claim: when it goes quiet. "
|
|
105
|
+
"Reviewed with the gates' sides swapped (docs/PROTOCOL.md, Inverse claims, #4951).",
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
def check_steps(evidence_file, hypothesis_file, evidence_out, superseded_file, agent_model):
|
|
110
|
+
"""Refuse options that don't go together, or apart, across the one- and two-step audits.
|
|
111
|
+
|
|
112
|
+
Args:
|
|
113
|
+
evidence_file: The ``--evidence`` file, or None.
|
|
114
|
+
hypothesis_file: The ``--hypothesis`` file, or None.
|
|
115
|
+
evidence_out: The ``--evidence-out`` file, or None.
|
|
116
|
+
superseded_file: The ``--supersedes`` record, or None.
|
|
117
|
+
agent_model: The ``--agent-model``, or None.
|
|
118
|
+
|
|
119
|
+
Raises:
|
|
120
|
+
click.UsageError: Two options that go together are apart, or two that don't are together.
|
|
121
|
+
"""
|
|
122
|
+
if (evidence_file is None) != (hypothesis_file is None):
|
|
123
|
+
raise click.UsageError("--evidence and --hypothesis go together.")
|
|
124
|
+
if superseded_file is not None and evidence_out is not None:
|
|
125
|
+
raise click.UsageError(
|
|
126
|
+
"--supersedes goes on the step that writes the submission (with --hypothesis)."
|
|
127
|
+
)
|
|
128
|
+
if evidence_file is not None and evidence_out is not None:
|
|
129
|
+
raise click.UsageError("--evidence-out scans; --evidence reuses a scan. Pick one.")
|
|
130
|
+
if evidence_file is not None and not agent_model:
|
|
131
|
+
raise click.UsageError(
|
|
132
|
+
"--agent-model is required with --hypothesis: name the model that wrote it."
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def check_scan(evidence_file, model_name, stride, window_tokens) -> None:
|
|
137
|
+
"""Reject scan options that do not go together, before any model loads.
|
|
138
|
+
|
|
139
|
+
Args:
|
|
140
|
+
evidence_file: The ``--evidence`` file, or None.
|
|
141
|
+
model_name: The ``--model``, or None.
|
|
142
|
+
stride: The ``--stride``, or None.
|
|
143
|
+
window_tokens: The ``--window-tokens``, or None.
|
|
144
|
+
|
|
145
|
+
Raises:
|
|
146
|
+
click.UsageError: ``--stride`` without fitting windows, or no ``--model`` to scan.
|
|
147
|
+
"""
|
|
148
|
+
if stride is not None and (window_tokens is None or stride > window_tokens):
|
|
149
|
+
raise click.UsageError("--stride needs --window-tokens, and can't exceed it.")
|
|
150
|
+
if evidence_file is None and model_name is None:
|
|
151
|
+
raise click.UsageError("--model is required unless --evidence is given.")
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
def check_reuse(reuse_file: Path | None, evidence_file: Path | None, random_pick: bool) -> None:
|
|
155
|
+
"""Refuse ``--reuse-scan`` where there is no scan of a chosen unit to replace.
|
|
156
|
+
|
|
157
|
+
Args:
|
|
158
|
+
reuse_file: The ``--reuse-scan`` record, or None.
|
|
159
|
+
evidence_file: The ``--evidence`` file, or None. It already skips the scan.
|
|
160
|
+
random_pick: Whether ``--random`` draws the unit.
|
|
161
|
+
|
|
162
|
+
Raises:
|
|
163
|
+
click.UsageError: ``--reuse-scan`` with ``--evidence`` or with ``--random``.
|
|
164
|
+
|
|
165
|
+
>>> check_reuse(None, Path("ev.json"), True) # no --reuse-scan: nothing to check
|
|
166
|
+
>>> check_reuse(Path("r.json"), None, True)
|
|
167
|
+
Traceback (most recent call last):
|
|
168
|
+
click.exceptions.UsageError: --reuse-scan needs a chosen unit, not --random.
|
|
169
|
+
"""
|
|
170
|
+
if reuse_file is None:
|
|
171
|
+
return
|
|
172
|
+
if evidence_file is not None:
|
|
173
|
+
raise click.UsageError("--reuse-scan replaces a scan; --evidence already skips it.")
|
|
174
|
+
if random_pick:
|
|
175
|
+
raise click.UsageError("--reuse-scan needs a chosen unit, not --random.")
|
|
@@ -47,10 +47,10 @@ def load_circuit_data(wiki_dir: Path, circuits_dir: Path = CIRCUITS_DIR, hubs_di
|
|
|
47
47
|
|
|
48
48
|
out: dict[str, CircuitData] = {}
|
|
49
49
|
for path in sorted(Path(circuits_dir).glob("*.jsonl")):
|
|
50
|
-
lines = path.
|
|
50
|
+
lines = path.read_bytes().splitlines() # json reads UTF-8 bytes
|
|
51
51
|
out.setdefault(path.stem, CircuitData()).lineage = [json.loads(x) for x in lines if x]
|
|
52
52
|
for path in sorted((Path(wiki_dir) / CIRCUITS_WIKI).glob("*/*/*.json")):
|
|
53
|
-
record = CircuitRecord.model_validate_json(path.
|
|
53
|
+
record = CircuitRecord.model_validate_json(path.read_bytes())
|
|
54
54
|
source = path.relative_to(Path(wiki_dir).parent).as_posix()
|
|
55
55
|
out.setdefault(path.parts[-3], CircuitData()).records.append((source, record))
|
|
56
56
|
for path in sorted(Path(hubs_dir or HUBS_DIR).glob("*.jsonl")):
|
|
@@ -168,7 +168,7 @@ def link_revisions(views: list[ExperimentView]) -> None:
|
|
|
168
168
|
by_name = {key: v for v in views for key in (v.id, v.source)}
|
|
169
169
|
for view in views:
|
|
170
170
|
named = view.record.hypothesis.supersedes
|
|
171
|
-
older = by_name.get(named)
|
|
171
|
+
older = by_name.get(named) # no key is None: each is a record's path or name
|
|
172
172
|
if older is not None and older is not view:
|
|
173
173
|
view.supersedes = older
|
|
174
174
|
older.superseded_by.append(view)
|
{open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/compiler.py
RENAMED
|
@@ -19,7 +19,7 @@ from labinacan.site.pii import save_spans, scrub
|
|
|
19
19
|
from labinacan.site.render import Renderer, clean_owned, number_filters, write_redirect
|
|
20
20
|
from pydantic import ValidationError
|
|
21
21
|
|
|
22
|
-
from openinterpretability import __version__
|
|
22
|
+
from openinterpretability import __version__, record_schema
|
|
23
23
|
from openinterpretability import sisters as sister_lib
|
|
24
24
|
from openinterpretability.builder import charts, palette, pieces, statuses
|
|
25
25
|
from openinterpretability.builder.agents import (
|
|
@@ -122,6 +122,7 @@ def _environment(grid_scale: int = 1) -> Environment:
|
|
|
122
122
|
env.globals["language_mix"] = language_mix # a scan's tokens per language
|
|
123
123
|
env.globals["heat_html"] = heat_html # token heatmaps, built in Python for speed
|
|
124
124
|
env.globals["values_rows"] = values_rows # and the rows of their values tables
|
|
125
|
+
env.globals["record_schema"] = record_schema.current().as_posix() # records' schema (#3291)
|
|
125
126
|
return env
|
|
126
127
|
|
|
127
128
|
|
|
@@ -177,8 +178,9 @@ def explanation_view(scores, scale: float) -> dict | None:
|
|
|
177
178
|
|
|
178
179
|
# Paths the builder (and the Pagefind step after it) owns inside the output dir.
|
|
179
180
|
# They are removed before each build so deleted records leave no stale pages.
|
|
180
|
-
OWNED_PATHS = ("index.html", "about.html", "learned-baseline.html", "models",
|
|
181
|
-
"neurons", "research", "posts", "data", "pagefind"
|
|
181
|
+
OWNED_PATHS = ("index.html", "about.html", "404.html", "learned-baseline.html", "models",
|
|
182
|
+
"agents", "users", "neurons", "research", "posts", "data", "pagefind",
|
|
183
|
+
"schema") # fmt: skip
|
|
182
184
|
|
|
183
185
|
|
|
184
186
|
def _experiment_view(
|
|
@@ -101,7 +101,7 @@ def _points(found: dict, standings, own_model: str | None) -> list[MapPoint]:
|
|
|
101
101
|
x, y, neuron_href(model_slug(p["model"]), p["layer"], p["neuron"]),
|
|
102
102
|
f"L{p['layer']}/N{p['neuron']}{mark}",
|
|
103
103
|
status.status if status is not None else "unstudied", p["cluster"],
|
|
104
|
-
slot.get(number.get(p["cluster"]
|
|
104
|
+
slot.get(number.get(p["cluster"]), 0), named.get(p["cluster"], ""),
|
|
105
105
|
p["model"], own_model is None or p["model"] == own_model, rank[i],
|
|
106
106
|
_why(status),
|
|
107
107
|
)) # fmt: skip
|
{open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/coverage.py
RENAMED
|
@@ -58,7 +58,7 @@ def coverage_view(rows_by_model: dict[str, list[dict]]) -> dict[str, dict]:
|
|
|
58
58
|
for model, rows in rows_by_model.items():
|
|
59
59
|
if not rows:
|
|
60
60
|
continue
|
|
61
|
-
layers = [r | model_summary([r])
|
|
61
|
+
layers = [r | model_summary([r]) for r in rows]
|
|
62
62
|
out[model] = {
|
|
63
63
|
"summary": model_summary(rows),
|
|
64
64
|
"corpus": rows[0].get("corpus"),
|
{open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/pending.py
RENAMED
|
@@ -43,7 +43,7 @@ class Pending:
|
|
|
43
43
|
|
|
44
44
|
def parse(pr: dict) -> Pending | None:
|
|
45
45
|
"""A PR from ``gh pr list --json``, or None if its branch names no unit."""
|
|
46
|
-
found = BRANCH.match(pr.get("headRefName"
|
|
46
|
+
found = BRANCH.match(str(pr.get("headRefName")))
|
|
47
47
|
if found is None or pr.get("isCrossRepository", True):
|
|
48
48
|
return None
|
|
49
49
|
return Pending(
|
|
@@ -118,7 +118,11 @@ def _tokens(fig, reading, original, top: float, height: float) -> list[tuple[flo
|
|
|
118
118
|
"""Each token, with a bar for the route's total strength at it; their anchor points."""
|
|
119
119
|
totals = [sum(v[i] for v in reading.strength.values() if i < len(v))
|
|
120
120
|
for i in range(len(reading.tokens))] # fmt: skip
|
|
121
|
-
|
|
121
|
+
# Mutants: strict=None and no strict are the same as False. The rows of unequal length
|
|
122
|
+
# that make strict=True raise are tested in test_builder_route_figures_exact.py.
|
|
123
|
+
rows = original.strength.values()
|
|
124
|
+
columns = zip(*rows, strict=False) # pragma: no mutate, equivalent: see above
|
|
125
|
+
base = _peak([sum(col) for col in columns]) or 1.0
|
|
122
126
|
out = []
|
|
123
127
|
for i, tok in enumerate(reading.tokens):
|
|
124
128
|
y = top + (i + 1) * height / (len(reading.tokens) + 1)
|
{open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/sections.py
RENAMED
|
@@ -14,6 +14,7 @@ from openinterpretability.builder.explanation_pages import render_explanations
|
|
|
14
14
|
from openinterpretability.builder.taxonomy_view import taxonomy_rows
|
|
15
15
|
from openinterpretability.core.licenses import DATA_TERMS
|
|
16
16
|
from openinterpretability.core.schemas import ReviewPolicy
|
|
17
|
+
from openinterpretability.record_schema import copy_schemas
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
def with_explanations(stats: dict, explanations) -> dict:
|
|
@@ -80,7 +81,7 @@ def render_reference_pages(
|
|
|
80
81
|
views = list(explanations)
|
|
81
82
|
|
|
82
83
|
def about(render) -> None:
|
|
83
|
-
"""Write About,
|
|
84
|
+
"""Write About, the page for a missing path, the record schemas, and the brand files.
|
|
84
85
|
|
|
85
86
|
Args:
|
|
86
87
|
render: The site's renderer.
|
|
@@ -89,6 +90,8 @@ def render_reference_pages(
|
|
|
89
90
|
taxonomy = taxonomy_rows(render.common["repo_url"])
|
|
90
91
|
render("about.html", "about.html", policy=ReviewPolicy(), license=license,
|
|
91
92
|
taxonomy=taxonomy, **DATA_TERMS) # fmt: skip
|
|
93
|
+
render("404.html", "404.html") # the host serves it for a path with no page (#3286)
|
|
94
|
+
report.pages.extend(copy_schemas(render.output_dir)) # each protocol's (#3291)
|
|
92
95
|
report.pages.extend(write_brand(render.output_dir))
|
|
93
96
|
|
|
94
97
|
def explained(render) -> None:
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
{#- The page that the host serves for a path with no page (#3286). It can be served at any
|
|
3
|
+
path, so its links start from the site's URL, not from a relative root. -#}
|
|
4
|
+
{% set root = site_url %}
|
|
5
|
+
|
|
6
|
+
{% block title %}Page not found · {{ site_title }}{% endblock %}
|
|
7
|
+
|
|
8
|
+
{% block head %} <meta name="robots" content="noindex">
|
|
9
|
+
{% endblock %}
|
|
10
|
+
|
|
11
|
+
{% block content %}
|
|
12
|
+
<h1 class="text-2xl font-semibold">Page not found</h1>
|
|
13
|
+
<div class="mt-6 space-y-4 text-sm leading-relaxed text-slate-700 dark:text-slate-300">
|
|
14
|
+
<p>No page is at this address. The page may have moved, or the address may have a typo.</p>
|
|
15
|
+
<p>Search the site with the box above, or start from one of these pages:</p>
|
|
16
|
+
<ul class="list-disc space-y-1 pl-5">
|
|
17
|
+
<li><a class="text-brand-700 underline underline-offset-2 dark:text-brand-400" href="{{ root }}index.html">The registry</a></li>
|
|
18
|
+
<li><a class="text-brand-700 underline underline-offset-2 dark:text-brand-400" href="{{ root }}models/index.html">Models</a></li>
|
|
19
|
+
<li><a class="text-brand-700 underline underline-offset-2 dark:text-brand-400" href="{{ root }}research/index.html">Research</a></li>
|
|
20
|
+
<li><a class="text-brand-700 underline underline-offset-2 dark:text-brand-400" href="{{ root }}about.html">About</a></li>
|
|
21
|
+
</ul>
|
|
22
|
+
</div>
|
|
23
|
+
{% endblock %}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
Experiment {{ rank }} of {{ neuron.experiments | length }} on
|
|
15
15
|
<a class="underline-offset-2 hover:underline" href="{{ root }}{{ neuron.href }}">this {{ neuron.noun }}</a>, most conclusive first ·
|
|
16
16
|
<a class="underline-offset-2 hover:underline" href="{{ repo_url }}/blob/main/wiki/experiments/{{ v.ident.slug }}/{{ v.e.id }}.json">record</a>
|
|
17
|
+
(<a class="underline-offset-2 hover:underline" href="{{ root }}{{ record_schema }}">its schema</a>)
|
|
17
18
|
</p>
|
|
18
19
|
</header>
|
|
19
20
|
{% include "_experiment.html" %}
|
{open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/tree.py
RENAMED
|
@@ -364,9 +364,10 @@ def build_tree(
|
|
|
364
364
|
found = covering(errata, r)
|
|
365
365
|
edited, edits = apply_errata(r, found)
|
|
366
366
|
is_latest = latest[r.submission.identifier.slug] is r
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
367
|
+
# A known claim (a slim record's, builder/slim.py, or the planner's cache, #7519)
|
|
368
|
+
# holds only for a record that no erratum edited.
|
|
369
|
+
known = claims.get(id(r)) if claims and edited is r else None
|
|
370
|
+
experiment = _add_experiment(models, units, edited, is_latest, widths, known)
|
|
370
371
|
experiment.errata, experiment.edits = found, edits
|
|
371
372
|
experiment.loaded = id(r) # builder/slim.py finds its file by this
|
|
372
373
|
experiment.user = r.submission.contributor or (users or {}).get(record_ref(r))
|
|
@@ -395,9 +396,13 @@ def claim_of(r: AuditRecord) -> str:
|
|
|
395
396
|
|
|
396
397
|
|
|
397
398
|
def _add_experiment(
|
|
398
|
-
models: dict, units: dict, r: AuditRecord, is_latest: bool, widths: dict[str, int]
|
|
399
|
-
|
|
400
|
-
|
|
399
|
+
models: dict, units: dict, r: AuditRecord, is_latest: bool, widths: dict[str, int],
|
|
400
|
+
claim: str | None = None,
|
|
401
|
+
) -> Experiment: # fmt: skip
|
|
402
|
+
"""File ``r`` under its unit, creating the model and unit nodes on first sight.
|
|
403
|
+
|
|
404
|
+
``claim`` is ``r``'s claim when the caller knows it, so that it isn't hashed again.
|
|
405
|
+
"""
|
|
401
406
|
ident = r.submission.identifier
|
|
402
407
|
mslug = ident.model_slug
|
|
403
408
|
model = models.get(ident.model_name)
|
|
@@ -429,7 +434,7 @@ def _add_experiment(
|
|
|
429
434
|
significance(r),
|
|
430
435
|
experiment_id(r),
|
|
431
436
|
is_latest,
|
|
432
|
-
claim=claim_of(r),
|
|
437
|
+
claim=claim if claim is not None else claim_of(r),
|
|
433
438
|
)
|
|
434
439
|
units[key].experiments.append(experiment)
|
|
435
440
|
return experiment
|
{open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/users.py
RENAMED
|
@@ -44,7 +44,7 @@ def merged_prs(wiki_dir: Path | str = DEFAULT_WIKI_DIR, ref: str = "HEAD") -> di
|
|
|
44
44
|
|
|
45
45
|
if git("rev-parse", "--is-shallow-repository").strip() != "false":
|
|
46
46
|
return {}
|
|
47
|
-
root = experiments_dir(wiki_dir).as_posix()
|
|
47
|
+
root = experiments_dir(wiki_dir).as_posix() + "/"
|
|
48
48
|
log = git(
|
|
49
49
|
"log", "--first-parent", "--diff-filter=A", "--name-only", "--format=@%s", ref,
|
|
50
50
|
"--", root,
|
{open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/builder/wiki.py
RENAMED
|
@@ -332,8 +332,26 @@ def archive_record(record: AuditRecord, wiki_dir: Path) -> Path:
|
|
|
332
332
|
return path
|
|
333
333
|
|
|
334
334
|
|
|
335
|
+
def file_stamp(path: Path) -> tuple[int, int, int] | None:
|
|
336
|
+
"""The file's change time, size and inode, or None if there is no file.
|
|
337
|
+
|
|
338
|
+
A file with the same stamp has the same contents, so a parse of it still holds.
|
|
339
|
+
|
|
340
|
+
Args:
|
|
341
|
+
path: The file.
|
|
342
|
+
|
|
343
|
+
Returns:
|
|
344
|
+
``(mtime_ns, size, inode)``, or None when the file doesn't exist.
|
|
345
|
+
"""
|
|
346
|
+
try:
|
|
347
|
+
st = path.stat()
|
|
348
|
+
except FileNotFoundError:
|
|
349
|
+
return None
|
|
350
|
+
return st.st_mtime_ns, st.st_size, st.st_ino
|
|
351
|
+
|
|
352
|
+
|
|
335
353
|
def load_archive_paths(
|
|
336
|
-
wiki_dir: Path, skip_missing: bool = False, keep=None
|
|
354
|
+
wiki_dir: Path, skip_missing: bool = False, keep=None, cache: dict | None = None
|
|
337
355
|
) -> list[tuple[Path, AuditRecord]]:
|
|
338
356
|
"""Every archived experiment record with its path, oldest first.
|
|
339
357
|
|
|
@@ -342,6 +360,11 @@ def load_archive_paths(
|
|
|
342
360
|
reached the dataset can't stop them. The site build and the checks keep the default and
|
|
343
361
|
fail on it. ``keep(path, record)`` returns what to hold of each record as it loads: the
|
|
344
362
|
site build holds it slim (``builder.slim.SlimArchive``, #4652).
|
|
363
|
+
|
|
364
|
+
``cache`` maps a path to its :func:`file_stamp` and what ``keep`` held of its record. A
|
|
365
|
+
record whose file has the same stamp is not parsed again, and ``keep`` doesn't see it
|
|
366
|
+
again. The paths that are gone leave the cache. Records are write-once, so a long run
|
|
367
|
+
that reads the archive before each draw parses only the new records (#7391).
|
|
345
368
|
"""
|
|
346
369
|
import sys
|
|
347
370
|
|
|
@@ -349,14 +372,26 @@ def load_archive_paths(
|
|
|
349
372
|
|
|
350
373
|
root = experiments_dir(wiki_dir)
|
|
351
374
|
pairs = []
|
|
375
|
+
seen = set()
|
|
352
376
|
for p in sorted(root.rglob("*.json")):
|
|
377
|
+
seen.add(p)
|
|
378
|
+
stamp = file_stamp(p) if cache is not None else None
|
|
379
|
+
hit = cache.get(p) if cache is not None else None
|
|
353
380
|
try:
|
|
354
|
-
|
|
355
|
-
|
|
381
|
+
if hit is not None and hit[0] == stamp: # the same file: its parse still holds
|
|
382
|
+
held = hit[1]
|
|
383
|
+
else:
|
|
384
|
+
record = AuditRecord.model_validate_json(p.read_text(encoding="utf-8"))
|
|
385
|
+
held = keep(p, record) if keep else record
|
|
386
|
+
if cache is not None:
|
|
387
|
+
cache[p] = (stamp, held) # what keep held: a slim record (#7537)
|
|
388
|
+
pairs.append((p, held))
|
|
356
389
|
except EvidenceMissing as error:
|
|
357
390
|
if not skip_missing:
|
|
358
391
|
raise
|
|
359
392
|
print(f"warning: skipping {p}: {error}", file=sys.stderr)
|
|
393
|
+
for gone in set(cache or ()) - seen: # a pending record that the run took away again
|
|
394
|
+
del cache[gone]
|
|
360
395
|
return sorted(pairs, key=lambda pr: (pr[1].verdict.timestamp, pr[1].submission.identifier.slug))
|
|
361
396
|
|
|
362
397
|
|
{open_interpretability-0.6.2 → open_interpretability-0.6.3}/openinterpretability/claude_sessions.py
RENAMED
|
@@ -137,8 +137,7 @@ def session_text(result: Path) -> str:
|
|
|
137
137
|
The ``result`` field.
|
|
138
138
|
|
|
139
139
|
Examples:
|
|
140
|
-
>>>
|
|
141
|
-
>>> path = Path(tempfile.mkdtemp()) / "s.json"
|
|
140
|
+
>>> path = Path(getfixture("tmp_path")) / "s.json"
|
|
142
141
|
>>> _ = path.write_text('{"result": "done"}')
|
|
143
142
|
>>> session_text(path), session_text(path.with_name("missing.json"))
|
|
144
143
|
('done', '')
|