open-interpretability 0.2.1__tar.gz → 0.4.0__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.
Files changed (415) hide show
  1. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/CHANGELOG.md +194 -0
  2. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/PKG-INFO +9 -4
  3. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/README.md +1 -1
  4. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/__init__.py +2 -2
  5. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/agents/base.py +1 -1
  6. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/answer_prompts.py +16 -4
  7. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/answer_review.py +44 -7
  8. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/benchmark.py +2 -2
  9. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/agents.py +4 -1
  10. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/charts.py +10 -66
  11. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/circuits.py +29 -21
  12. open_interpretability-0.4.0/openinterpretability/builder/cluster_map.py +129 -0
  13. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/compiler.py +14 -23
  14. open_interpretability-0.4.0/openinterpretability/builder/concept_map_view.py +204 -0
  15. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/css.py +7 -1
  16. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/dashboard.py +30 -4
  17. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/explanation_pages.py +53 -4
  18. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/feeds.py +5 -3
  19. open_interpretability-0.4.0/openinterpretability/builder/literature_map_view.py +182 -0
  20. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/literature_pages.py +37 -88
  21. open_interpretability-0.4.0/openinterpretability/builder/maths.py +83 -0
  22. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/model_facts.py +11 -6
  23. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/parquet_export.py +6 -2
  24. open_interpretability-0.4.0/openinterpretability/builder/pieces.py +164 -0
  25. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/registry_stats.py +1 -16
  26. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/research.py +183 -24
  27. open_interpretability-0.4.0/openinterpretability/builder/research_feeds.py +203 -0
  28. open_interpretability-0.4.0/openinterpretability/builder/sections.py +118 -0
  29. open_interpretability-0.4.0/openinterpretability/builder/social_media.py +164 -0
  30. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/standing.py +35 -25
  31. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/statuses.py +7 -0
  32. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_answer_verdict.html +5 -3
  33. open_interpretability-0.4.0/openinterpretability/builder/templates/_causal_chart.html +41 -0
  34. open_interpretability-0.4.0/openinterpretability/builder/templates/_concept_map.html +56 -0
  35. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_dashboard.html +17 -20
  36. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_embedding3d.html +35 -0
  37. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_experiment.html +245 -247
  38. open_interpretability-0.4.0/openinterpretability/builder/templates/_experiments.html +68 -0
  39. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_macros.html +88 -27
  40. open_interpretability-0.4.0/openinterpretability/builder/templates/_map_theme.html +91 -0
  41. open_interpretability-0.4.0/openinterpretability/builder/templates/_members.html +29 -0
  42. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_patchscope.html +7 -5
  43. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_prior_art.html +6 -4
  44. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_prose.html +9 -1
  45. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_rivals.html +6 -4
  46. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_route3d.html +3 -3
  47. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_specificity.html +6 -5
  48. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_steering.html +6 -5
  49. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_superposition.html +2 -30
  50. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_taxonomy.html +9 -8
  51. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_vocab_chart.html +12 -11
  52. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_wiring.html +13 -11
  53. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/about.html +7 -6
  54. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/agent.html +2 -2
  55. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/agents.html +8 -8
  56. open_interpretability-0.4.0/openinterpretability/builder/templates/answer.html +128 -0
  57. open_interpretability-0.4.0/openinterpretability/builder/templates/atlas.html +113 -0
  58. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/base.html +10 -8
  59. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/changelog.html +1 -1
  60. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/circuit.html +1 -1
  61. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/circuit_unit.html +13 -13
  62. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/circuits.html +1 -1
  63. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/experiment.html +2 -2
  64. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/explanation.html +30 -16
  65. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/explanation_prompt.html +4 -4
  66. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/explanations.html +1 -1
  67. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/hub.html +2 -2
  68. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/index.html +74 -86
  69. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/layer.html +38 -24
  70. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/learned-baseline.html +2 -2
  71. open_interpretability-0.4.0/openinterpretability/builder/templates/literature.html +66 -0
  72. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/model.html +32 -44
  73. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/models.html +3 -2
  74. open_interpretability-0.4.0/openinterpretability/builder/templates/neuron.html +155 -0
  75. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/paper.html +7 -1
  76. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/paper_print.html +3 -1
  77. open_interpretability-0.4.0/openinterpretability/builder/templates/post.html +24 -0
  78. open_interpretability-0.4.0/openinterpretability/builder/templates/posts.html +39 -0
  79. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/research.html +10 -2
  80. open_interpretability-0.4.0/openinterpretability/builder/templates/superposition.html +37 -0
  81. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/user.html +1 -1
  82. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli.py +6 -1
  83. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_answers.py +24 -10
  84. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_build.py +11 -1
  85. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_corpus.py +5 -3
  86. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_evidence.py +4 -4
  87. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_explain.py +38 -80
  88. open_interpretability-0.4.0/openinterpretability/cli_interference.py +82 -0
  89. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_loop.py +15 -4
  90. open_interpretability-0.4.0/openinterpretability/cli_map.py +50 -0
  91. open_interpretability-0.4.0/openinterpretability/cli_patch.py +261 -0
  92. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_provider.py +1 -1
  93. open_interpretability-0.4.0/openinterpretability/cli_query.py +90 -0
  94. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_registry.py +62 -8
  95. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_reproduce.py +19 -8
  96. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_review.py +13 -2
  97. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_scan.py +1 -1
  98. open_interpretability-0.4.0/openinterpretability/cli_social.py +83 -0
  99. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_submission.py +1 -1
  100. open_interpretability-0.4.0/openinterpretability/concept_map.py +300 -0
  101. open_interpretability-0.4.0/openinterpretability/concept_regions.py +165 -0
  102. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/concepts.py +2 -1
  103. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/answer_records.py +94 -9
  104. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/costs.py +1 -1
  105. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/isolation.py +1 -1
  106. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/ledger.py +2 -0
  107. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/partners.py +3 -0
  108. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/pricing.py +2 -2
  109. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/project.py +21 -1
  110. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/record_kinds.py +1 -0
  111. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/transcripts.py +2 -2
  112. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/corpus_layouts.py +1 -1
  113. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/crossref.py +2 -2
  114. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/experiment_loop.py +27 -0
  115. open_interpretability-0.4.0/openinterpretability/explain_print.py +82 -0
  116. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/ane/forward.py +2 -2
  117. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/covariance.py +40 -5
  118. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/devices.py +1 -1
  119. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/dreaming.py +90 -7
  120. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/progress.py +1 -1
  121. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/scan.py +9 -2
  122. open_interpretability-0.4.0/openinterpretability/interference/__init__.py +14 -0
  123. open_interpretability-0.4.0/openinterpretability/interference/behaviour.py +97 -0
  124. open_interpretability-0.4.0/openinterpretability/interference/floors.py +134 -0
  125. open_interpretability-0.4.0/openinterpretability/interference/keep.py +179 -0
  126. open_interpretability-0.4.0/openinterpretability/interference/report.py +167 -0
  127. open_interpretability-0.4.0/openinterpretability/interference/routes.py +106 -0
  128. open_interpretability-0.4.0/openinterpretability/interference/run.py +166 -0
  129. open_interpretability-0.4.0/openinterpretability/interference/units.py +95 -0
  130. open_interpretability-0.4.0/openinterpretability/mcp_server.py +87 -0
  131. open_interpretability-0.4.0/openinterpretability/partner_context.py +72 -0
  132. open_interpretability-0.4.0/openinterpretability/patches/__init__.py +14 -0
  133. open_interpretability-0.4.0/openinterpretability/patches/apply.py +277 -0
  134. open_interpretability-0.4.0/openinterpretability/patches/gates.py +158 -0
  135. open_interpretability-0.4.0/openinterpretability/patches/graph.py +170 -0
  136. open_interpretability-0.4.0/openinterpretability/patches/history.py +250 -0
  137. open_interpretability-0.4.0/openinterpretability/patches/schema.py +171 -0
  138. open_interpretability-0.4.0/openinterpretability/patches/session.py +68 -0
  139. open_interpretability-0.4.0/openinterpretability/patches/store.py +108 -0
  140. open_interpretability-0.4.0/openinterpretability/patches/tensors.py +70 -0
  141. open_interpretability-0.4.0/openinterpretability/registry_query.py +205 -0
  142. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/reproduce.py +12 -12
  143. open_interpretability-0.4.0/openinterpretability/revision.py +88 -0
  144. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/signing.py +70 -2
  145. open_interpretability-0.4.0/openinterpretability/social/__init__.py +12 -0
  146. open_interpretability-0.4.0/openinterpretability/social/feed.py +76 -0
  147. open_interpretability-0.4.0/openinterpretability/social/message.py +163 -0
  148. open_interpretability-0.4.0/openinterpretability/social/poster.py +223 -0
  149. open_interpretability-0.4.0/openinterpretability/social/run.py +189 -0
  150. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/sync/r2.py +1 -1
  151. open_interpretability-0.4.0/openinterpretability/until_verified.py +80 -0
  152. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/pyproject.toml +47 -10
  153. open_interpretability-0.2.1/openinterpretability/builder/concept_map_view.py +0 -95
  154. open_interpretability-0.2.1/openinterpretability/builder/pieces.py +0 -154
  155. open_interpretability-0.2.1/openinterpretability/builder/sections.py +0 -62
  156. open_interpretability-0.2.1/openinterpretability/builder/templates/_causal_chart.html +0 -67
  157. open_interpretability-0.2.1/openinterpretability/builder/templates/_concept_map.html +0 -35
  158. open_interpretability-0.2.1/openinterpretability/builder/templates/answer.html +0 -104
  159. open_interpretability-0.2.1/openinterpretability/builder/templates/literature.html +0 -39
  160. open_interpretability-0.2.1/openinterpretability/builder/templates/neuron.html +0 -220
  161. open_interpretability-0.2.1/openinterpretability/builder/templates/users.html +0 -39
  162. open_interpretability-0.2.1/openinterpretability/cli_map.py +0 -44
  163. open_interpretability-0.2.1/openinterpretability/concept_map.py +0 -238
  164. open_interpretability-0.2.1/openinterpretability/revision.py +0 -45
  165. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/.gitignore +0 -0
  166. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/CITATION.cff +0 -0
  167. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/LICENSE +0 -0
  168. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/agents/__init__.py +0 -0
  169. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/agents/judge.py +0 -0
  170. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/agents/narrator.py +0 -0
  171. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/agents/probe_hints.py +0 -0
  172. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/agents/proposer.py +0 -0
  173. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/agents/proposer_profiles.py +0 -0
  174. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/agents/review_measurements.py +0 -0
  175. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/agents/reviewer.py +0 -0
  176. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/agreement.py +0 -0
  177. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/answer_lens.py +0 -0
  178. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/answer_readings.py +0 -0
  179. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/audit_options.py +0 -0
  180. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/baseline.py +0 -0
  181. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/blends.py +0 -0
  182. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/__init__.py +0 -0
  183. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/aligned.py +0 -0
  184. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/brand/logo.svg +0 -0
  185. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/brand/mark-32.png +0 -0
  186. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/brand/mark.svg +0 -0
  187. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/brand/og.png +0 -0
  188. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/brand.py +0 -0
  189. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/changelog_page.py +0 -0
  190. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/circuit_pages.py +0 -0
  191. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/circuit_units.py +0 -0
  192. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/contents.py +0 -0
  193. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/corpora.py +0 -0
  194. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/coverage.py +0 -0
  195. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/disk_memo.py +0 -0
  196. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/draws_export.py +0 -0
  197. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/experiment.py +0 -0
  198. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/explanation_figures.py +0 -0
  199. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/fonts/GUST-FONT-LICENSE.txt +0 -0
  200. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/fonts/OFL.txt +0 -0
  201. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/fonts/README.md +0 -0
  202. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/fonts/cmu-serif-500-italic.woff2 +0 -0
  203. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/fonts/cmu-serif-500-roman.woff2 +0 -0
  204. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/fonts/cmu-serif-700-italic.woff2 +0 -0
  205. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/fonts/cmu-serif-700-roman.woff2 +0 -0
  206. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/fonts/cmu-typewriter-text-500-roman.woff2 +0 -0
  207. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/fonts/latinmodern-math.otf +0 -0
  208. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/heat.py +0 -0
  209. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/hrefs.py +0 -0
  210. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/learned_baseline.py +0 -0
  211. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/neuronpedia_export.py +0 -0
  212. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/palette.py +0 -0
  213. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/paper_pdf.py +0 -0
  214. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/parallel.py +0 -0
  215. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/pending.py +0 -0
  216. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/pii.py +0 -0
  217. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/recent.py +0 -0
  218. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/route_figures.py +0 -0
  219. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/significance.py +0 -0
  220. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/sister_graph.py +0 -0
  221. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/slim.py +0 -0
  222. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/stopped.py +0 -0
  223. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/stops.py +0 -0
  224. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/superpositions.py +0 -0
  225. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/taxonomy_view.py +0 -0
  226. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_agent_role_cells.html +0 -0
  227. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_circuit.html +0 -0
  228. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_figure.html +0 -0
  229. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_figure_pause.html +0 -0
  230. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_gas3d.html +0 -0
  231. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_route3d_waves.html +0 -0
  232. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/_route_row.html +0 -0
  233. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/redirect.html +0 -0
  234. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/wiki/experiment.md +0 -0
  235. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/wiki/index.md +0 -0
  236. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/wiki/neuron.md +0 -0
  237. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/templates/wiki/stop.md +0 -0
  238. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/tree.py +0 -0
  239. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/users.py +0 -0
  240. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/builder/wiki.py +0 -0
  241. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/checks.py +0 -0
  242. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/circuit_checks.py +0 -0
  243. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/circuit_ids.py +0 -0
  244. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/circuit_review.py +0 -0
  245. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_baseline.py +0 -0
  246. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_benchmark.py +0 -0
  247. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_check.py +0 -0
  248. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_circuits.py +0 -0
  249. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_concepts.py +0 -0
  250. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_costs.py +0 -0
  251. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_coverage.py +0 -0
  252. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_crossref.py +0 -0
  253. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_errata.py +0 -0
  254. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_evidence_store.py +0 -0
  255. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_memory.py +0 -0
  256. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_neuronpedia.py +0 -0
  257. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_pause.py +0 -0
  258. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_pole_effects.py +0 -0
  259. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_probing.py +0 -0
  260. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_score.py +0 -0
  261. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_sisters.py +0 -0
  262. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_superpositions.py +0 -0
  263. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/cli_wiring.py +0 -0
  264. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/codeid.py +0 -0
  265. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/__init__.py +0 -0
  266. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/agent_names.py +0 -0
  267. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/attribution.py +0 -0
  268. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/cache_dirs.py +0 -0
  269. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/causal.py +0 -0
  270. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/circuit_records.py +0 -0
  271. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/confounds.py +0 -0
  272. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/contributors.py +0 -0
  273. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/corpora.py +0 -0
  274. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/draws.py +0 -0
  275. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/errata.py +0 -0
  276. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/evidence.py +0 -0
  277. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/examples.py +0 -0
  278. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/exceptions.py +0 -0
  279. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/explanation.py +0 -0
  280. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/explanation_records.py +0 -0
  281. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/fence.py +0 -0
  282. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/heavy_lock.py +0 -0
  283. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/identifiers.py +0 -0
  284. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/legacy_names.py +0 -0
  285. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/licenses.py +0 -0
  286. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/manifold.py +0 -0
  287. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/patchscope.py +0 -0
  288. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/paths.py +0 -0
  289. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/pause.py +0 -0
  290. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/prior_art.py +0 -0
  291. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/probing.py +0 -0
  292. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/profiles.py +0 -0
  293. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/rivals.py +0 -0
  294. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/run_environment.py +0 -0
  295. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/schemas.py +0 -0
  296. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/specificity.py +0 -0
  297. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/stats.py +0 -0
  298. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/steering.py +0 -0
  299. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/strict.py +0 -0
  300. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/takedowns.py +0 -0
  301. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/taxonomy.py +0 -0
  302. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/core/wiring.py +0 -0
  303. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/corpus.py +0 -0
  304. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/corpus_cache.py +0 -0
  305. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/corpus_presets.py +0 -0
  306. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/corpus_rebuild.py +0 -0
  307. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/coverage.py +0 -0
  308. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/data/__init__.py +0 -0
  309. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/data/offensive_words.txt +0 -0
  310. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/data/providers.toml +0 -0
  311. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/data/public_suffix_list.dat +0 -0
  312. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/data/sample_corpus.txt +0 -0
  313. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/draw_steps.py +0 -0
  314. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/embedding_space.py +0 -0
  315. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/errata_checks.py +0 -0
  316. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/evidence.py +0 -0
  317. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/evidence_branch.py +0 -0
  318. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/evidence_lenses.py +0 -0
  319. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/explain.py +0 -0
  320. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/explain_coverage.py +0 -0
  321. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/explain_figure_data.py +0 -0
  322. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/explain_groups.py +0 -0
  323. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/explain_land.py +0 -0
  324. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/explain_narrate.py +0 -0
  325. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/explain_plan.py +0 -0
  326. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/explain_reuse.py +0 -0
  327. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/explain_run.py +0 -0
  328. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/explain_stopped.py +0 -0
  329. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/explanation_registry.py +0 -0
  330. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/explanation_targets.py +0 -0
  331. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/figures/__init__.py +0 -0
  332. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/figures/motion.py +0 -0
  333. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/figures/svg.py +0 -0
  334. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/half_precision.py +0 -0
  335. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/__init__.py +0 -0
  336. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/ane/__init__.py +0 -0
  337. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/ane/backend.py +0 -0
  338. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/ane/cache.py +0 -0
  339. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/ane/chunks.py +0 -0
  340. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/ane/convert.py +0 -0
  341. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/ane/qualified.py +0 -0
  342. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/annotations.py +0 -0
  343. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/attribution.py +0 -0
  344. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/causal.py +0 -0
  345. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/circuit_measures.py +0 -0
  346. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/confounds.py +0 -0
  347. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/cpu_speed.py +0 -0
  348. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/crossref.py +0 -0
  349. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/cuda_devices.py +0 -0
  350. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/dead.py +0 -0
  351. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/dictionaries.py +0 -0
  352. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/environment.py +0 -0
  353. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/explanation_scores.py +0 -0
  354. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/features.py +0 -0
  355. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/first_position.py +0 -0
  356. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/heads.py +0 -0
  357. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/hooks.py +0 -0
  358. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/input_attribution.py +0 -0
  359. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/jlens.py +0 -0
  360. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/layer_cache.py +0 -0
  361. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/layer_major.py +0 -0
  362. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/lookahead.py +0 -0
  363. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/manifold.py +0 -0
  364. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/memory.py +0 -0
  365. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/moe.py +0 -0
  366. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/patcher.py +0 -0
  367. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/patchscope.py +0 -0
  368. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/prepare.py +0 -0
  369. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/probing.py +0 -0
  370. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/scan_backend.py +0 -0
  371. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/sister_passes.py +0 -0
  372. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/sisters.py +0 -0
  373. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/sites.py +0 -0
  374. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/specificity.py +0 -0
  375. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/steering.py +0 -0
  376. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/superpositions.py +0 -0
  377. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/units.py +0 -0
  378. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/wiring.py +0 -0
  379. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/harness/wiring_activations.py +0 -0
  380. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/hubs.py +0 -0
  381. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/inverse_claims.py +0 -0
  382. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/langid.py +0 -0
  383. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/loop_bugs.py +0 -0
  384. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/model_revisions.py +0 -0
  385. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/names.py +0 -0
  386. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/neuronpedia_baseline.py +0 -0
  387. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/neuronpedia_review.py +0 -0
  388. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/planner.py +0 -0
  389. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/planner_circuits.py +0 -0
  390. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/planner_claims.py +0 -0
  391. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/planner_effects.py +0 -0
  392. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/planner_explanations.py +0 -0
  393. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/planner_heads.py +0 -0
  394. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/planner_models.py +0 -0
  395. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/planner_sisters.py +0 -0
  396. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/planner_states.py +0 -0
  397. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/planner_superpositions.py +0 -0
  398. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/pole_effects.py +0 -0
  399. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/prior_art.py +0 -0
  400. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/providers.py +0 -0
  401. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/reproduce_explanation.py +0 -0
  402. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/reproduce_policy.py +0 -0
  403. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/runner_cache.py +0 -0
  404. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/score_controls.py +0 -0
  405. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/sensitive.py +0 -0
  406. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/show.py +0 -0
  407. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/sisters.py +0 -0
  408. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/superposition_finders.py +0 -0
  409. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/sync/__init__.py +0 -0
  410. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/syntax.py +0 -0
  411. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/takedown_checks.py +0 -0
  412. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/toxicity.py +0 -0
  413. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/verdict_regression.py +0 -0
  414. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/wiring_backfill.py +0 -0
  415. {open_interpretability-0.2.1 → open_interpretability-0.4.0}/openinterpretability/wordnet.py +0 -0
@@ -13,6 +13,200 @@ Changes waiting for the next release are files in [changelog.d/](changelog.d/REA
13
13
 
14
14
  ## [Unreleased]
15
15
 
16
+ ## [0.4.0] - 2026-11-21
17
+
18
+ Ships with protocol version **0.10**.
19
+
20
+ ### Added
21
+
22
+ - `make coverage` runs the tests with branch coverage and fails below 90%. CI also requires 90% of the lines that a pull request changes, with diff-cover (#3166).
23
+ - The new `test-new-paths` skill checks that a change tests each path that it adds (#3166).
24
+ - **Prompt A/B noise** (`scripts/ab_variance.py`, `docs/analyses/ab-variance.md`). Holding the hypotheses fixed cuts the units needed from 62 to 34, and 30 probes to 21 (#3198).
25
+ - `open-interpretability query` searches the registry by model, layer, kind, standing, explanation text or token, without a clone. `open-interpretability mcp` serves the search as a read-only MCP tool (#3242).
26
+ - **Dreaming, three arms** (`scripts/dream_arms.py`, `docs/analyses/dreaming.md`). VERIFIED explanations miss over half of firing dreams and call about 63% of silenced prompts active, on GPT-2 and pythia-70m (#3779).
27
+ - **Literature.** A review of *Language Models Use Trigonometry to Do Addition* (Kantamneni and Tegmark, 2025). Numbers as a helix bear on the read and write interfaces of the fix plan's math module (#5226).
28
+ - **Literature.** A review of *Finding Neurons in a Haystack: Case Studies with Sparse Probing* (Gurnee, Nanda, Pauly et al., 2023), the method behind the `sparse-probing-search` skill (#5227).
29
+ - **Literature.** A review of *Progress measures for grokking via mechanistic interpretability* (Nanda, Chan, Lieberum, Smith and Steinhardt, 2023). It is the reference for a complete arithmetic explanation in the fix plan (#5228).
30
+ - **Literature.** A review of *Can Mechanistic Interpretability Help Explain LLM Agent Failures? A Case Study on Web Element Hallucination* (Aghzal, Geva, Stein and Yao, 2026). A probe and a steering fix for one failure, with what each misses (#5263).
31
+ - **Literature.** A review of *Pretty Linear Liars: Unregularized Probes Favor Intervention-Unfaithful Features* (Emneby, Yocum and Allen, 2026). Weakly regularised probes can pick directions the model doesn't use (#5273).
32
+ - **Literature.** A review of *Abstention Direction in Large Language Models* (Itai, Hirako and Yamagiwa, 2026). It finds partly shared abstention directions, and it bears on making a model say it doesn't know (#5274).
33
+ - **Literature.** A review of *Probing Classifiers: Promises, Shortcomings, and Advances* (Belinkov, 2022), which `papers/default-on-poles` cites. Both of the paper's quotes match the source (#5312).
34
+ - **Literature.** A review of *The Pile: An 800GB Dataset of Diverse Text for Language Modeling* (Gao et al., 2020), the source of the scan corpus. Our citations check out, and the page says that the `pile-10k` subset and its licence come from the dataset card (#5313).
35
+ - **Literature.** A review of *Gaussian Error Linear Units (GELUs)* (Hendrycks and Gimpel, 2016), which three papers cite. The source never states GELU's minimum, so `papers/default-on-poles` now cites it for GELU only, and says that the −0.75 is our computation (#5314).
36
+ - **Literature.** A review of *Designing and Interpreting Probes with Control Tasks* (Hewitt and Liang, 2019), which `papers/default-on-poles` cites. Its quote and its account of selectivity match the source (#5315).
37
+ - **Literature.** A review of *The Hydra Effect: Emergent Self-repair in Language Model Computations* (McGrath et al., 2023), which `papers/default-on-poles` cites. Both quotes match the source. The page notes that the harness's freeze of later MLPs blocks their erasure but not the attention compensation that the paper names the Hydra effect. Issue #5654 follows that up (#5316).
38
+ - **Literature.** A review of *Universal Dependencies v2: An Evergrowing Multilingual Treebank Collection* (Nivre et al., 2020), the source of the `ud-upos` and `ud-deprel` presets. `papers/default-on-poles` cites it correctly (#5317).
39
+ - **Literature.** A review of *Language Models are Unsupervised Multitask Learners* (Radford et al., 2019), the GPT-2 paper, which six papers cite. The source never states the MLP width, so `papers/native-vs-learned` and `papers/spd-input-projections` now credit GPT-2's 3,072 neurons to the released weights (#5318).
40
+ - **Literature.** A review of *GLU Variants Improve Transformer* (Shazeer, 2020), which defines the SwiGLU layer of Qwen2.5's MLP. `papers/default-on-poles` cites it correctly (#5319).
41
+ - **Literature.** A review of *Massive Activations in Large Language Models* (Sun et al., 2024). The source measures massive activations in the residual stream, so `papers/default-on-poles` now names them apart from its first token's neuron activations (#5320).
42
+ - **Literature.** A review of *Intriguing Properties of Neural Networks* (Szegedy et al., 2014), the claim that random directions read as well as units. `papers/default-on-poles` quotes it correctly (#5321).
43
+ - **Literature.** A review of *Introduction to the CoNLL-2003 Shared Task* (Tjong Kim Sang and De Meulder, 2003). People tagged its named entities, and a tagger made its part-of-speech tags. The `conll2003-pos` preset's comment now says so (#5322).
44
+ - **Literature.** A review of *Efficient Streaming Language Models with Attention Sinks* (Xiao et al., 2023), the evidence behind the protocol's name for the first token. The source didn't test GPT-2, so `papers/default-on-poles` now names the models that it did test (#5323).
45
+ - **Literature.** A review of the *Qwen2.5 Technical Report* (Yang et al., 2024), the report on two configured models. The three papers that cite it match the source (#5324).
46
+ - **Literature.** A review of *Character-level Convolutional Networks for Text Classification* (Zhang et al., 2015), which built the AG News set. `papers/default-on-poles` now says that AG News's topics are its corpus's categories, which the source doesn't describe further (#5325).
47
+ - **Literature.** A review of *Universal Neurons in GPT2 Language Models* (Gurnee et al., 2024), the method behind the sister search. Both papers that cite it match the source (#5326).
48
+ - **Literature.** A review of *Convergent Learning: Do Different Neural Networks Learn the Same Representations?* (Li et al., 2016), the matching that the sister search's mutual step tightens. `papers/explanations-across-models` cites it correctly (#5327).
49
+ - **Literature.** A review of *Stochastic Parameter Decomposition* (Bushnaq et al., 2025). The source fixes the importance exponent, so `papers/spd-input-projections` now says that lowering it during training is its own choice (#5328).
50
+ - **Literature.** A review of *Transcoders Find Interpretable LLM Feature Circuits* (Dunefsky et al., 2024), the source of the learned-basis baseline's dictionary. `papers/native-vs-learned` cites it correctly (#5329).
51
+ - **Literature.** A review of *Network Dissection* (Bau et al., 2017). Its rotation test finds 80% fewer interpretable units after a random rotation. `papers/neuron-development` cites it correctly (#5330).
52
+ - **Literature.** A review of *Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling* (Biderman et al., 2023). It is the suite of pythia-70m and its checkpoints. Both papers that cite it match the source (#5331).
53
+ - **Literature.** A review of *OLMo: Accelerating the Science of Language Models* (Groeneveld et al., 2024), an open model that issues #4156 and #3377 plan to study. `papers/neuron-development` cites it correctly (#5332).
54
+ - **Literature.** A review of *Loss Landscape Degeneracy and Stagewise Development in Transformers* (Hoogland et al., 2025). It is the measure that #4156 plans to try on neurons. `papers/neuron-development` cites it correctly (#5333).
55
+ - **Literature.** A review of *The Local Learning Coefficient* (Lau et al., 2023), the measure that #4156 plans to use on training checkpoints. `papers/neuron-development` cites it correctly (#5334).
56
+ - **Literature.** A review of *PolyPythias* (van der Wal et al., 2025), in `docs/literature/polypythias.md`. Our citations of its nine extra pythia-70m runs check out (#5335).
57
+ - **Literature.** A review of *Attribution-based Parameter Decomposition* (Braun et al., 2025), the method that SPD replaced. `papers/spd-input-projections` cites it correctly (#5336).
58
+ - **Literature.** A review of *Who cares about brackets?* (Clark et al., 2023), a hackathon report on brackets in GPT-2 small. `papers/syntax-positive-controls` cites it correctly (#5337).
59
+ - **Literature.** A review of *Interpretability Illusions in the Generalization of Simplified Models* (Friedman et al., 2024). `papers/syntax-positive-controls` cites it correctly (#5338).
60
+ - **Literature.** A review of *Visualizing and Understanding Recurrent Networks* (Karpathy et al., 2015). `papers/syntax-positive-controls` cites it correctly (#5339).
61
+ - **Literature.** A review of *Attribution Patching Outperforms Automated Circuit Discovery* (Syed et al., 2023), the estimate that `pole_effects.py` uses (#5340).
62
+ - **Literature.** A review of Dugas et al. (2001), the paper that defines and names softplus. `papers/why-neurons-rest` cites it correctly (#5341).
63
+ - **Literature.** A review of Elfwing et al. (2017), the first paper on arXiv to define and name the SiLU. `papers/why-neurons-rest` cites it correctly (#5342).
64
+ - **Literature.** A review of *Decoupled Weight Decay Regularization* (Loshchilov and Hutter, 2019), the AdamW paper. `papers/why-neurons-rest` cites it correctly (#5343).
65
+ - **Literature.** A review of *Confidence Regulation Neurons in Language Models* (Stolfo et al., 2024), the source of two triage families. `papers/why-neurons-rest` cites it correctly (#5344).
66
+ - **Literature.** A review of *The Platonic Representation Hypothesis* (Huh et al., 2024). The reference in `papers/shared-concept-space` now names its ICML 2024 venue (#5419).
67
+ - **Literature.** A review of *UMAP* (McInnes et al., 2018), the layout of the concept and literature maps. `papers/shared-concept-space` cites it correctly (#5420).
68
+ - **Literature.** A review of *From Louvain to Leiden* (Traag et al., 2019), which finds the regions of both maps. `papers/shared-concept-space` cites it correctly (#5421).
69
+ - **Literature.** A review of *Sentence-BERT* (Reimers and Gurevych, 2019), whose library embeds both maps and the scorer's texts. `papers/shared-concept-space` cites it correctly (#5422).
70
+ - **Literature.** A review of *MiniLM* (Wang et al., 2020). `papers/shared-concept-space` now names its NeurIPS 2020 venue, and says what its embedder starts from (#5423).
71
+ - **Literature.** A review of *RL Post-Training in Diffusion Transformers Is Activation Steering* (Meral et al., 2026), from the research digest (#5512).
72
+ - **Literature.** A review of *CurvDelta* (Xiao et al., 2026), a curvature constraint on fine-tunes, from the research digest (#5514).
73
+ - **Draft posts.** A post marked `Draft` in `posts/README.md` builds at `posts/drafts/<slug>/`, with a badge and a `noindex` tag, in local builds and deploys. No index, feed or sitemap lists it. The first draft is *We are on X* (#5529, #5551).
74
+ - **Head figures on X and in link cards.** A paper's or post's post on X carries its head figure: a video when the figure animates, else an image, with its alt text (#5534). `scripts/social_images.py` draws them from the SVG, the feeds link them, and each page's link card shows its own figure.
75
+ - **Literature.** A review of *Automated Interpretability Metrics Do Not Distinguish Trained and Random Transformers* (Heap et al., 2025), with follow-up #5758 (#5559).
76
+ - **Literature.** A review of *Compressed Sensing for Capability Localization in Large Language Models* (Bair et al., 2026), for research question #5602 (#5600).
77
+
78
+ ### Changed
79
+
80
+ - **Papers.** The maintainer is now the first author of every paper, and Open Interpretability the second. `scripts/papers.py` writes both into each paper's `CITATION.cff` from the root `CITATION.cff`, and its check fails on a paper that leaves them out. The paper pages, their PDFs and the Research index show the authors (#5260).
81
+ - **Breaking.** Posts to X now carry published papers and site posts only, not VERIFIED units (#5533). `open-interpretability social post` reads `--papers` and the new `--posts`. `--experiments` and `--site` are gone, with the digest post. A feed new to the saved state seeds and posts nothing, so the first deploy posts no old post.
82
+ - **Header.** The site's header no longer shows the "mechanistic interpretability lab" tagline. The meta description and the About page keep it (#5535).
83
+ - **The explain post.** *Why did the model say that?* is a draft again, rewritten on the two pythia-70m explanations. It walks through how an explanation is built: attribution, causal coverage, the matched random baseline and the answer experiment. It follows the " days" hallucination in depth (#5564).
84
+ - **Site.** Pages show the result first and keep the method text behind **Read more**. On an experiment page, the hypothesis, the verdict, the four deciding values and the gates are on top. Every other section is closed until the reader opens it, and a section with no data isn't shown. The minimal-pair table and the per-pair causal numbers are now one table. Two macros, `fold` and `read_more`, do this on every page (#5566).
85
+ - **About page.** The About page is as wide as the other pages. Its figures and the registry's parts use the full width, and its paragraphs keep the reading width that the home page uses (#5569).
86
+ - **Wrapping table text.** Prose pages are the literature index, papers, posts and the changelog. On them, a table cell longer than 40 characters now wraps, with a least width of 14rem. Short values and numbers stay on one line. The literature tables' Why column fits the page at desktop width (#5570).
87
+ - **Site.** The About page shows its full text again, without **Read more** (#5661).
88
+ - The site has one content column, 60rem wide, set once in `openinterpretability/builder/css.py` (#5726). Prose, captions, figures, tables and maps share its right edge. Prose was 48rem and papers were 52rem, and figures ran to the page's edge. The About page's taxonomy draws at 1.26 times its size, not 1.3, so that it fits.
89
+ - One function and one macro, both named `status_grid`, draw the status grid of the model cards, the model pages and the layer pages (#5797). The function is in `openinterpretability/builder/pieces.py`, and the macro is in `_macros.html`. A cell's colour and its height both give the best status in it. A VERIFIED cell is 10 px high, and each step down is 2 px less, to 2 px for STOPPED. Each legend swatch has its cell's shape and a count. The model page's map had marks that overlapped. Its cells are now blocks of neurons, 128 to a layer, and the map is as wide as the text.
90
+ - **Registry coverage refreshed on 2026-11-21.** There are 70 new layer rows, with these VERIFIED poles per model:
91
+ - Qwen2.5-0.5B: 350 poles (was 347), at most 1.9% of the loss recovered in any layer.
92
+ - Qwen2.5-1.5B: 67 poles (was 63), at most 0.4%.
93
+ - GPT-2: 208 poles (was 206), at most 13.0%.
94
+ - Pythia-70m: 115 poles (was 107), at most 6.8% (was 6.7%).
95
+ - **Sister neurons.** The 0.4.0 refresh searched the 18 poles VERIFIED since the last run against each other configured model. It added 54 new rows and 12 new sisters. Pythia-70m (8 poles) added the most rows, and Qwen2.5-1.5B against Qwen2.5-0.5B added the most sisters (3). The strongest are Qwen2.5-1.5B L8/N982+ with Qwen2.5-0.5B L4/N940+ (Pearson 0.78), GPT-2 L11/N932+ with Qwen2.5-1.5B L22/N5178+ (0.68), and Pythia-70m L1/N394+ with Qwen2.5-1.5B L1/N5813− (0.62).
96
+
97
+ ### Fixed
98
+
99
+ - **Site.** Two accessibility fixes on the Research and Posts pages. Each figure link is hidden from screen readers and the tab order, because the title beside it goes to the same page. Each table in a paper, post or literature page can take keyboard focus, so a reader without a mouse can scroll it. The axe check in CI now also covers the Research index and one paper (#5649).
100
+ - **Site.** Chart text stays one size on every screen. Each chart with text now draws at its natural size, through one `chart` macro, and its text is 12 px, from `CHART_TEXT_PX` in `builder/charts.py`. A chart wider than the screen scrolls in its own box, never the page. On the home page, "Verdicts per model" is 640 px wide, and "Verdicts per layer" uses a grid with no chart alone on a row. The About page's diagrams keep their drawn text sizes at a fixed 1.3 times their size (#5660).
101
+ - Model cards on the home and Models pages have one layout: the name, then four statistics in a grid. Their pieces bars fill the card, with 64 cells and 6 px per layer on every model. A cell with a VERIFIED pole is drawn full height, so the status shows without colour (#5724).
102
+ - Answer and explanation pages link a unit only when the site has its page. A neuron with no experiment shows as plain text, marked "not yet studied" (#5727).
103
+ - `open-interpretability query` prints a record's text in its table with no control characters (#5816). A tab, a newline or a carriage return becomes a space, and any other control character becomes its `\x` code. `--json` already escaped them.
104
+
105
+ ## [0.3.0] - 2026-11-20
106
+
107
+ Ships with protocol version **0.10**.
108
+
109
+ ### Added
110
+
111
+ - **`make lint` asks for a comment in each long function body** (#3159). `scripts/check_body_comments.py` fails on a function whose body, after its docstring, runs to 20 lines or more with no `#` comment. It is ratcheted in: the 272 functions that broke the rule are listed in `scripts/body_comments_baseline.txt`, and the list may only shrink. The `commenting` skill says what such a comment should say.
112
+ - **A weekly link check** (#3170). The *Check links* workflow builds the site and checks every internal link and anchor in it (`scripts/check_site_links.py`). It also checks the external links in the Markdown with lychee (`lychee.toml`). It runs on Mondays, not per PR, so a flaky host doesn't block a merge. A failure opens an issue.
113
+ - **The proposer sees what the registry knows about a pole's partners** (#3240). After the co-activating poles, the prompt gives each studied partner's standing and the explanation it rests on. It gives each unstudied partner's strongest tokens in the scan's uniform sample (`CorrelatedNeuron.top_tokens`, a new optional field). Both are fenced as data (`openinterpretability/partner_context.py`).
114
+ - **Issues record "blocked by" relations, and the next-issue pick skips blocked ones** (#3842). `scripts/issue_state.py --blocked-by <issue> <blocker>` adds Linear's relation and GitHub's native dependency. `scripts/linear_sync.py` keeps the two the same each hour. Linear wins for an issue it names blockers for, and GitHub's blockers fill Linear's gaps. `scripts/next_issue.py` skips a candidate while an issue that blocks it is open, and says which one. The `next-issue` and `work-an-issue` skills say when to record a relation.
115
+ - **APA style for comments and docstrings.** `make vale` now also checks the APA 7 rules that a pattern can check (`.vale/styles/APA`). They cover "et al.", the comma before a year, "&" against "and", and "e.g." and "i.e." only in parentheses. They also cover "%" after a numeral. The comments that broke them are fixed. The `commenting` skill lists the rules and the ones left out (#3931).
116
+ - **Docstrings describe every argument.** `make lint` now fails on a new function whose docstring's `Args:` section misses an argument or names one the signature lacks (`scripts/check_docstring_args.py`). Today's 3,571 gaps sit in a baseline that only shrinks. interrogate now counts private functions, over `openinterpretability` and `scripts`, at 86%. The `commenting` skill writes the rule down (#3938).
117
+ - **Superpositions have their own page and table** (#4006). A superposition's page (`superposition.html`) shows its status, explanation, members and experiments, with none of a neuron's sections. Each layer page has a *Superpositions* table: id, status, members, experiments and explanation. Superpositions are no longer listed in the layer's units table. The members section and the experiments table are now shared partials (`_members.html`, `_experiments.html`). A superposition's breadcrumb names it (`Superposition S<id>`), where it read `Superposition 0`.
118
+ - **Papers write maths in LaTeX, and the site typesets it** (#4211). The Research section reads `$...$` and `$$...$$` (`mdit-py-plugins`' dollarmath) and writes MathML at build time (`latex2mathml`), so pages load no script or font for maths. A formula that the site can't read stops the build. The `write-paper` skill has a new *Mathematics* section, and `tests/test_papers.py` fails on maths written as Unicode text. The current papers are converted.
119
+ - **Atom feeds of the papers and the literature reviews** (#4256). The build writes `research/papers.xml` and `research/literature.xml`, and the Research, paper and literature pages link them. A paper's date is the one in `papers/README.md`, and a review's date is the commit that added it. So an unchanged repository rebuilds both feeds byte for byte.
120
+ - **Posts to X.** After each deploy, `open-interpretability social post` posts new VERIFIED experiments and newly published papers to X. It makes at most 3 posts a run and 15 a day, and one digest post for more. A new feed, `research/published.xml`, lists only the published papers (`docs/development.md`, *Posts to X*, #4463).
121
+ - **Until-verified draws** (#4485). One draw in four keeps experimenting on its unit until it is VERIFIED, for up to 3 turns, all on one PR. The share is `UNTIL_VERIFIED_SHARE`, drawn from the plan's seed. A turn after NEEDS_REVISION revises the hypothesis, and one after REJECTED tries a new one. A VERIFIED or STOPPED verdict ends the draw early. `next` and `loop` take `--until-verified/--no-until-verified` and `--max-turns`. `next --continue <slug>` prints the next turn's steps for an agent. The ledger records the mode, and a draw counts once. Each turn's proposer sees every earlier attempt on the unit, through the `supersedes` chain.
122
+ - **The home page counts explanations** (#4574). A seventh tile, *Explanations*, gives the number of prompts with a published explanation, and links to the Explanations index. It counts one per prompt and model, whatever the number of runs. The tiles wrap to 2 or 4 columns on narrower screens, with no empty cell.
123
+ - **Concept map regions and focus.** Each region of the concept maps now has a faint shape with a dashed outline around the points nearest its centre. This holds on the model pages and the atlas. Hover over a pole, or move to it with Tab, and its whole region stays bright with a solid outline. The card adds the first sentence of the pole's explanation (#4578).
124
+ - **One shared concept map.** `open-interpretability map` now fits one map for every configured model, in `data/concept-maps/shared.json`. A later run keeps each old pole where it is and places the new ones among their nearest neighbours. Only `map --refit` moves old points. Each model page draws its own poles on the shared map, with the other models' poles as hollow rings. A new page, `models/atlas.html`, shows every model's poles filling in, with each model's region coverage and each pair's overlap. The paper `papers/shared-concept-space/` reports the measure (#4586).
125
+ - **Posts.** The site has a Posts section, with an index, a page for each post and an Atom feed (`posts/posts.xml`). The first post shows how to use `open-interpretability explain`. `docs/posts.md` says how to write a post.
126
+ - **A literature review of MEMIT, *Mass-Editing Memory in a Transformer*** (#4869), at `docs/literature/memit.md`. It is the closed-form edit baseline that the fix plan #5220 names. The page shows that only poles at or below the lowest edited layer keep their activations by construction.
127
+ - **A literature review of *Model Editing at Scale leads to Gradual and Catastrophic Forgetting*** (#4870), at `docs/literature/editing-at-scale-forgetting.md`. Under sequential edits, ROME and MEMIT forget slowly and then collapse. The follow-up #5362 tests that on pythia-70m's VERIFIED poles. The literature map now searches Leiden's resolution for about 10 regions. A fixed one went from 10 to 13 regions when one review was added. It also uses all 8 palette colours.
128
+ - **A literature review of *Model soups*** (#4871), at `docs/literature/model-soups.md`. Averaging the weights of fine-tunes from one start helps on ImageNet but not on GLUE, and the paper measures no units. The page notes that the patch format's `additive` merge is a sum, not a soup's mean (#5298). The follow-up #5404 tests whether VERIFIED poles come back on a base-and-instruct average.
129
+ - **Literature: Editing Models with Task Arithmetic.** A review page, `docs/literature/task-arithmetic.md`, for the task-vector rules that #5298 would build (#4872).
130
+ - **Literature: Task Arithmetic in the Tangent Space.** A review page, `docs/literature/tangent-space-task-arithmetic.md`, on weight disentanglement and its error as a check for patch merges (#4873).
131
+ - **Literature: TIES-Merging.** A review page, `docs/literature/ties-merging.md`, for the resolution rule that #5298 would add to patch merges (#4874).
132
+ - **Literature: AlphaEdit.** A review page, `docs/literature/alphaedit.md`, on null-space constrained editing and what it guarantees for the registry's explanations (#4875).
133
+ - **Literature: Knowledge in Superposition.** A review page, `docs/literature/knowledge-in-superposition.md`, on why sequential edits interfere through overlapping MLP keys (#4876).
134
+ - **Literature: Superpose Task-specific Features for Model Merging.** A review page, `docs/literature/superpose-task-features.md`, on a data-free, per-layer merge rule that suits low-rank patches (#4877).
135
+ - **Literature: Task Singular Vectors.** A review page, `docs/literature/task-singular-vectors.md`, on a low-rank merge rule and a weight-only interference measure (#4878).
136
+ - **Explanation pages.** In the 3D embedding space, a ring marks the token under the reading cursor and moves with it through the layers. It shows by its shape and size, not colour, and it holds still under reduced motion.
137
+ - **Literature.** A review of *Classical Energies Learn to Reason 1,000x Faster than Looped Models* (Hoover, Blayney and Whittington, 2026). It reads a puzzle's rules from an energy model's weights (#5218).
138
+ - **Literature.** A review of *Linking Rapid Learning to Compositional Structure in Neural Networks* (Tenenbaum and McCoy, 2026). It shows meta-learned parameter vectors that add like word vectors (#5219).
139
+ - **Literature.** A review of *Transformer-Patcher: One Mistake worth One Neuron* (Huang, Shen, Zhang et al., 2023). It adds one neuron for each mistake, and it is the closest method to arms G and I of the fix plan (#5221).
140
+ - **Literature.** A review of *Net2Net: Accelerating Learning via Knowledge Transfer* (Chen, Goodfellow and Shlens, 2015). It grows a trained network with its function kept, which bears on the fix plan's added modules (#5222).
141
+ - **Literature.** A review of *Generalization through Memorization: Nearest Neighbor Language Models* (Khandelwal, Levy, Jurafsky et al., 2019). It adds a datastore to a frozen model, which bears on the fix plan's side table (#5223).
142
+ - **Literature.** A review of *Inducing Causal Structure for Interpretable Neural Networks* (Geiger, Wu, Lu et al., 2021). Interchange intervention training bears on the read adapters of the fix plan's compiled module (#5224).
143
+ - **Literature.** A review of *Arithmetic Without Algorithms: Language Models Solve Math With a Bag of Heuristics* (Nikankin, Reusch, Mueller and Belinkov, 2024). Arithmetic runs on many heuristic neurons, which bears on the fix plan's math module (#5225).
144
+ - **Fix patches: a commit-like format for fixes to a base model** (#5229, part 1). `openinterpretability/patches/` adds the patch record, which names its base, its parents and an ordered list of declarative operations. The operations come from a versioned registry: weight edits, added neurons, layers and modules, pruning, gates, steering and clamps. The patch's id is its content hash. A patch applies in memory through hooks and removes exactly, and a zero-start check guards it. Patches have history like git commits: replay, log, diff, branches, merges, reverts and rebases. `main` takes only a fixed patch, and a merge checks for parameter, order and footprint conflicts. Commands come in part 2.
145
+ - **The interference report, part 1** (#5230). `open-interpretability interference --model BASE` takes `--changed MODEL` or `--patch REF`. It compares a changed model with its base:
146
+ - It re-tests every VERIFIED pole's probes, the keep test of `docs/analyses/base-instruct.md`, which now lives in `openinterpretability/interference/keep.py`.
147
+ - It reads every neuron's activation correlation and output column, and the token-level KL and the answers of explained prompts.
148
+ - Each measure also runs against two noise floors, the base against itself and a matched random change, and a change counts only above both.
149
+ - It writes JSONL rows, the footprint of moved neurons (studied or not), and a verdict: *no known interference*, *interference* or *footprint not yet studied*.
150
+ - **A copy-failure family for fixes** (#5232). `scripts/copy_family.py` builds 855 wrong-copy and 194 right-copy prompts on pythia-70m. Each has measured probabilities and ranks, and greedy and sampled continuations. Seeded splits hold out every train prompt's reverse and every shared-number failure (`docs/analyses/copy-family.jsonl`, `.md`). `copy_family.py review-prompt` writes the frozen-fix hold-out task for a reviewer, who sees no fix and no measure.
151
+ - **Can a gate find the copy failures?** `docs/analyses/copy-gate.md` (`scripts/copy_gate.py`) fits text-keyed and mechanism-keyed gates on the copy family. After the last layer, a probe that also learned from corpus text catches 58% of held-out failures. It opens on 5 of 97 right copies and on none of 18,000 corpus tokens. At the layers where a module would sit, no gate is usable (#5233).
152
+ - **Every cited work gets a review page.** `tests/test_papers.py` now fails when a paper cites a work, by arXiv ID, DOI or ACL Anthology link, that has no page in `docs/literature/` and no line in `papers/awaiting_review.txt`. The list holds today's 33 such works, each with its literature issue, and it only shrinks (`scripts/cited_works.py`). The `write-paper`, `literature-review` and `release` skills say so (#5346).
153
+ - **Doctests.** pytest now runs the package's docstring examples (`--doctest-modules`). `tests/test_doctests.py` fails on a public function with no `>>>` example, ratcheted by the module files in `scripts/doctests_baseline.txt`. Functions that can't run offline are listed, with a reason, in `scripts/doctests_exempt.txt`. `openinterpretability/social/` is the first area done. The `commenting` skill states the rule (#5356).
154
+ - **Docstrings document returns, yields and raises.** `make lint` now checks each new public function's docstring (`scripts/check_docstring_sections.py`). A returned value needs `Returns:`, and a generator needs `Yields:`. `Raises:` must match the exceptions that the body raises. Today's 1,421 gaps are in a baseline that only shrinks. `openinterpretability/social/` is done. The `commenting` skill states the rule (#5361).
155
+ - **X account.** Every page's footer links the project's X account, and link previews credit the account through `twitter:site`. The address is written once, in `pyproject.toml`.
156
+ - **CI fails a PR that closes an issue that a paper's status line still names** (#5395). `scripts/papers.py check --closing` reads the PR's closing issues, and fails if a preprint's line names one. A nightly job runs `check --online`, which asks GitHub for every issue on every line and fails on a closed one. Both read the line with the site's own parser, so an issue in brackets is a citation, not work left. The `write-paper` and `work-an-issue` skills give the close-out step.
157
+ - **Repost to X.** `open-interpretability social post --repost <id>` posts an entry that the first run recorded as seen. The deploy's manual dispatch takes the ids as its `repost` input.
158
+ - **Alerts for X.** A failed post to X now opens an issue, or comments on the open one, titled "Posting to X failed on main". The issue gives the HTTP status, and the deploy stays green.
159
+
160
+ ### Changed
161
+
162
+ - **Lint keeps code flat** (#3158). Ruff now applies flake8-return (`RET`), so no `else` follows a `return`, `raise`, `continue` or `break`. It also applies `PLR1702`, so no function nests more than 5 blocks. Two builder functions, `circuit_edges` and `reviewer_agreement`, were flattened into helpers with the same results. Two Click commands now return explicitly.
163
+ - **`make lint` fails on a comment that starts with a step number** (#3163). `scripts/check_step_comments.py` checks whole-line comments in Python, shell, YAML, JavaScript and templates, such as `# 1. Scan evidence.`. The number goes stale when a step moves, and the code's order is already the order. The four such comments in `openinterpretability/reproduce.py` no longer have numbers.
164
+ - **CodeQL scans `main` once a day, not on every merge** (#3178). `.github/workflows/codeql.yml` drops its `push` trigger and runs daily instead of weekly. Pull requests that change code are still scanned.
165
+ - **The tests run side by side** (#3266). `make test` and CI run pytest on one process per core with pytest-xdist. On a 10-core Mac the suite takes about a minute, against about four one at a time. `make test TEST_WORKERS=0` runs the tests one at a time, to chase a failure that only shows in parallel.
166
+ - **The default-on poles paper is in the new paper form** (#4245). `papers/default-on-poles/` now has an abstract, contributions, related work, numbered figures and tables, a discussion, limitations, a conclusion and appendices, and keeps every number and figure. It gives exact GELU's minimum and GPT-2's tanh form apart. It cites Szegedy et al. (2014), McGrath et al. (2023), Belinkov (2022) and Hewitt & Liang (2019) where it relied on them without a citation.
167
+ - **The explanations-across-models paper is in the new paper form** (#4246). It cites the Qwen2.5 report, GPT-2's vocabulary and Li et al. (2016) as prior art for one-to-one unit matching. It defines the Wilson interval, the Fisher exact test and balanced accuracy in the text. The median for other matches is 0.55, which replaces an earlier 0.56. Its figure gives each class its own shape, so no class rests on colour alone.
168
+ - **The paper on native neurons against learned dictionaries is in the new paper form** (#4247). It has an introduction, related work, a question-per-section body, a discussion, limitations and appendices, and keeps every number and figure. It now cites six more works from `docs/literature/` that bear on the neuron basis.
169
+ - **The paper on where SPD can favour GPT-2's neurons is in the new paper form** (#4248). It has an introduction, related work, three question sections, a discussion, limitations and appendices, and keeps every number and figure. It now cites four more works from `docs/literature/` that bear on the neuron basis.
170
+ - **The paper on a bracket neuron in GPT-2 is in the new paper form** (#4249). Its main body has an introduction, related work, five question sections, a discussion, limitations and a conclusion. The per-pole detail, the follow-ups and the Qwen2.5 runs move to appendices. It keeps every number, figure and reference, and cites four more works from `docs/literature/`.
171
+ - **The paper on why training rests neurons below GELU's dip is in the new paper form** (#4250). It has an introduction, related work, six question sections, a discussion, limitations, a conclusion and appendices for the detail. It keeps every number, figure and reference, and cites two more works from `docs/literature/`. It was the last paper in the old form, so `tests/test_papers.py` no longer keeps an old-form list.
172
+ - **The literature map and the models' concept maps have a new look** (#4577). It follows the cancer-research map that the issue cites. Each paper or pole is a dot in its cluster's colour on a soft glow. Each cluster has a numbered badge and a numbered legend, and status stays a shape. A card shows on hover or focus.
173
+ - The literature map embeds the queued papers with the reviews: 156 open literature issues, drawn as small dots.
174
+ - Its papers are laid out with UMAP and grouped by Leiden on a k-nearest-neighbour graph. Each region is named by the index section that most of its reviews are under.
175
+ - Callout cards in the margins name the papers that the repo uses. Hovering over a paper links its three nearest papers.
176
+ - The colours are the dataviz palette's, checked for colour-blind readers in both modes. `cluster_map.py` and `_map_theme.html` hold what the two maps share.
177
+ - **Sister graphs as wide as their text.** On a model page, each sister graph now shares the paragraph's width cap, so their right edges meet (#4579).
178
+ - **Breaking.** `open-interpretability map` takes no model argument, and the per-model files `data/concept-maps/<model>.json` are gone. The map leaves out the lines of the built-in sample corpus, which say nothing about a pole (#4586).
179
+ - **Home page charts as wide as their text.** The registry dashboard's timeline and verdicts-per-model chart now span the content width, as the summary text above them does. They keep their height and label size (#4587).
180
+ - **A mechanistic interpretability lab.** The site's header, the About page, the README and the package description now describe Open Interpretability as a mechanistic interpretability lab, run with agents. The registry is what it publishes. "Registry" stays where it means the dataset (#4615).
181
+ - **No Most conclusive results on the home page.** The section and its query are gone, and so is PROTOCOL §6's bullet about it. Conclusiveness stays everywhere else: in each unit's ordering, the evidence badges, the layer column, the *Conclusive nulls* total and `registry.parquet` (#4616).
182
+ - **One Contributors page.** The Agents page is now *Contributors*, at the same `agents/index.html`. It lists the agents and, in its *People* table, the people who ran them. The Users index is gone. Each person's own page stays, and its breadcrumb leads to Contributors (#4620).
183
+ - **CI skips the reproduce job and CodeQL on PRs that only add signed records** (#4669). *Record changes* runs a gate from the base branch (`openinterpretability/signing.py`, `needs_reproduction`). It skips *Reproduce records* only when every changed record is an experiment record whose signature verifies in its key's window. Any other case, or any error, still reproduces. `reproduce` now counts signed records apart: `1 signed (reproduction skipped). 0/0 record(s) reproduced.` CodeQL moves from default setup to `.github/workflows/codeql.yml`, with the same languages and weekly schedule, and skips PRs that change only `wiki/`.
184
+ - **No CI on draft pull requests.** CI, the secret scan and CodeQL skip every job while a pull request is a draft. Marking it ready for review starts the full run. A skipped job reports success, so auto-merge now waits on `ready_for_review` until that run finishes, and never merges on a draft's skipped results (#4690).
185
+ - **Each release refreshes the concept maps on the model pages** (#4785). A new `make maps` target runs `open-interpretability map` for every configured model, and the `release` skill runs it next to the coverage and circuit refreshes. The release PR commits the maps and says how many poles and clusters each one gained. Before this, the maps were built once by hand on 2026-11-17.
186
+ - **Contact email.** The site's footer and about page give will.sackfield+openinterpretability@gmail.com. It comes from the package's author email in `pyproject.toml`, so the package metadata on PyPI changes too.
187
+ - **Answer rule 1.1** (#4892). The reviewer writes 2–3 corrupted prompts of its own, and `patching` must pass on each. So the proposer can no longer choose the corrupted prompt after measuring. `patching_null` gates the 75th percentile of the random sets' |share| on each corrupted prompt, not the mean. The review draws the random sets' seed and records it (`answers review --seed` defaults to none). Each answer page shows every gate's margin from its line. Records judged by rule 1.0 keep their verdicts.
188
+ - **Deploy on release.** Publishing a GitHub release now starts the registry deploy. The release PR merges by the bot, whose token starts no push run, so before this the site waited for the next scheduled run. The release skill checks that the deploy passed.
189
+ - **Commands for fix patches** (#5229, part 2). The new `open-interpretability patch` group has `seal`, `show`, `log`, `diff`, `branches`, `branch`, `delete-branch`, `merge`, `revert`, `rebase` and `check` (the zero-start check). `answers review` and `explain` take `--patch` with `--evidence-out`. They run on the patched model and write their result as the fix's evidence, never to the registry. `docs/patches.md` gives the workflow.
190
+ - **The interference report, part 2** (#5230). It adds the route level: VERIFIED answer routes reviewed again on each side, and explanation coverage measured again. It adds local scope, the token KL split by where each gate of a gated patch opens and stays shut. A footprint past 1,000 neurons is written per layer.
191
+ - `docs/analyses/interference.md` gives the two runs. pythia-70m against a zero-scale patch shows no known interference. Qwen2.5-1.5B against its instruct model reproduces `base-instruct.md`: all 42 poles that both runs tested get the same keep result.
192
+ - **Posts to X.** A VERIFIED experiment's post on X now gives its unit, its verdict and its link, with no text from the record.
193
+ - **Circuit ids updated.** GPT-2 has 4 circuits, with new, merged and gone ones. The other models' circuits are unchanged.
194
+ - **Registry coverage refreshed on 2026-11-20.** There are 70 new layer rows, with these VERIFIED poles per model:
195
+ - Qwen2.5-0.5B: 347 poles (was 344), at most 1.9% of the loss recovered in any layer.
196
+ - Qwen2.5-1.5B: 63 poles (was 56), at most 0.4%.
197
+ - GPT-2: 206 poles (was 202), at most 13.0% (was 12.3%).
198
+ - Pythia-70m: 107 poles (was 95), at most 6.7%.
199
+ - **Each release runs CodeQL on `main` and fixes everything it finds.** The `release` skill starts a scan, waits for it and fixes every open alert, whatever its severity. Then it scans again and checks that no alert is left, before the release branch is cut.
200
+ - **Sister neurons.** The 0.3.0 refresh searched the 26 poles VERIFIED since the last run against each other configured model: 78 new rows and 5 new sisters. Pythia-70m (12 poles) and Qwen2.5-1.5B (7) added the most rows. The strongest are Qwen2.5-0.5B L3/N3573− with GPT-2 L1/N1435+ (Pearson 0.55) and with Qwen2.5-1.5B L2/N4183+ (0.53), and Pythia-70m L4/N883+ with Qwen2.5-0.5B L15/N3296+ (0.38).
201
+
202
+ ### Fixed
203
+
204
+ - **The map legends pass the colour-contrast check** (#4577). A white number on the blue or orange swatch was below 4.5:1, so axe-core failed the model page. Each legend line now has a plain colour square with the number in normal text beside it.
205
+ - **Paper status lines no longer name closed issues as work left** (#5394). The rewrites of #4247, #4248 and #4250 come off their papers' lines. The paper on a bracket neuron in GPT-2 had no work left, so it is published. Its citation file now holds the frozen hash of its text.
206
+ - **Reproducing a record with a 16-bit scan and a float32 review.** `reproduce` now measures the counterfactuals with the scan's runner. It compares them within the tolerance of the scan's dtype, as it already did for the top examples. The proposer measures the counterfactuals in the scan's session. A bfloat16 record's deltas no longer fail the float32 tolerance on another device (#5417).
207
+ - **Literature map and feed.** The map and the literature feed now redact the index's reasons and credits, and the queued issue titles, as the index page does.
208
+ - **An old `ssh-keygen` no longer looks like an expired signing key** ([openinterpretability/signing.py](openinterpretability/signing.py)). OpenSSH 8.9 (Ubuntu 22.04) cannot read the allowed-signers times that end in "Z". So it ignored the signer line, and auto-signing deleted each new signature as "outside its window". Now the warning says that `ssh-keygen` is too old, and that a newer one must go first on `PATH`.
209
+
16
210
  ## [0.2.1] - 2026-11-19
17
211
 
18
212
  Ships with protocol version **0.10**.
@@ -1,10 +1,11 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: open-interpretability
3
- Version: 0.2.1
4
- Summary: Open Interpretability: an agent-audited mechanistic interpretability registry for native neurons in open-weight models.
3
+ Version: 0.4.0
4
+ Summary: Open Interpretability: an agent-run mechanistic interpretability lab, 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
7
- Author-email: Will Sackfield <will.sackfield@gmail.com>
7
+ Project-URL: X, https://x.com/openinterpret
8
+ Author-email: Will Sackfield <will.sackfield+openinterpretability@gmail.com>
8
9
  License-Expression: MIT
9
10
  License-File: LICENSE
10
11
  Classifier: Programming Language :: Python :: 3
@@ -18,9 +19,11 @@ Requires-Dist: duckdb>=1.0.0
18
19
  Requires-Dist: fasttext-predict>=0.9.2
19
20
  Requires-Dist: instructor>=1.3.0
20
21
  Requires-Dist: jinja2>=3.1.3
22
+ Requires-Dist: latex2mathml>=3.81.1
21
23
  Requires-Dist: litellm>=1.40.0
22
24
  Requires-Dist: magika<2,>=1.0.3
23
25
  Requires-Dist: markdown-it-py>=4.0
26
+ Requires-Dist: mdit-py-plugins>=0.6.1
24
27
  Requires-Dist: nltk>=3.8
25
28
  Requires-Dist: presidio-analyzer>=2.2
26
29
  Requires-Dist: pyarrow>=26.0.1
@@ -50,6 +53,8 @@ Requires-Dist: igraph>=0.11; extra == 'map'
50
53
  Requires-Dist: leidenalg>=0.10.2; extra == 'map'
51
54
  Requires-Dist: sentence-transformers>=5.0; extra == 'map'
52
55
  Requires-Dist: umap-learn>=0.5.7; extra == 'map'
56
+ Provides-Extra: mcp
57
+ Requires-Dist: mcp>=2.0; extra == 'mcp'
53
58
  Provides-Extra: site
54
59
  Requires-Dist: pagefind[bin]>=1.3.0; extra == 'site'
55
60
  Description-Content-Type: text/markdown
@@ -61,7 +66,7 @@ Description-Content-Type: text/markdown
61
66
  [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.24150022.svg)](https://doi.org/10.5281/zenodo.24150022)
62
67
  [![PyPI](https://img.shields.io/pypi/v/open-interpretability.svg)](https://pypi.org/project/open-interpretability/)
63
68
 
64
- `openinterpretability` is an open, agent-audited mechanistic interpretability registry and testing protocol for open-weight foundation models (Llama, Qwen, Mistral, …).
69
+ `openinterpretability` is an open mechanistic interpretability lab, run with agents. It publishes an agent-audited registry of native neurons and the testing protocol behind it, for open-weight foundation models (Llama, Qwen, Mistral, …).
65
70
 
66
71
  The registry is published at **[open-interpretability.com](https://open-interpretability.com/)**: every experiment, unit, model and paper, with search and the Parquet export.
67
72
 
@@ -5,7 +5,7 @@
5
5
  [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.24150022.svg)](https://doi.org/10.5281/zenodo.24150022)
6
6
  [![PyPI](https://img.shields.io/pypi/v/open-interpretability.svg)](https://pypi.org/project/open-interpretability/)
7
7
 
8
- `openinterpretability` is an open, agent-audited mechanistic interpretability registry and testing protocol for open-weight foundation models (Llama, Qwen, Mistral, …).
8
+ `openinterpretability` is an open mechanistic interpretability lab, run with agents. It publishes an agent-audited registry of native neurons and the testing protocol behind it, for open-weight foundation models (Llama, Qwen, Mistral, …).
9
9
 
10
10
  The registry is published at **[open-interpretability.com](https://open-interpretability.com/)**: every experiment, unit, model and paper, with search and the Parquet export.
11
11
 
@@ -1,8 +1,8 @@
1
- """Open Interpretability: an agent-audited registry of native neurons in open-weight models."""
1
+ """Open Interpretability: an agent-run mechanistic interpretability lab and its neuron registry."""
2
2
 
3
3
  from openinterpretability.core.legacy_names import adopt_legacy_env
4
4
 
5
- __version__ = "0.2.1"
5
+ __version__ = "0.4.0"
6
6
  # The name on PyPI, and of the installed distribution (issue #3251). The import name is
7
7
  # `openinterpretability` (issue #4089).
8
8
  DISTRIBUTION = "open-interpretability"
@@ -75,7 +75,7 @@ class LLMAgent:
75
75
  ``"ollama/..."``) or ``"external/<name>"``. An external model is answered through
76
76
  files in ``exchange_dir``. The agent writes ``<Agent>.prompt.md``, with the response's
77
77
  JSON schema. Then it waits for ``<Agent>.response.json``. The full model string is what
78
- gets recorded, so name the model that actually answered, e.g. ``external/gpt-5``.
78
+ gets recorded, so name the model that actually answered, for example ``external/gpt-5``.
79
79
  Pass ``client`` to inject a pre-built instructor client (useful in tests).
80
80
  """
81
81
 
@@ -114,8 +114,11 @@ def proposer_prompt( # long-function: the prompt's text, one line of it per lin
114
114
  f"- With only the route live, at least {policy.min_sufficiency:.0%} of the answer "
115
115
  "comes back.",
116
116
  f"- Patching the route from `corrupted` moves the answer by at least "
117
- f"{policy.min_patching:.0%} of the gap between the two prompts. Random sets move it "
118
- f"by at most {policy.max_null_patching:.0%}.",
117
+ f"{policy.min_patching:.0%} of the gap between the two prompts. The reviewer writes "
118
+ f"{policy.min_reviewer_corrupted}–3 more corrupted prompts, and the same must hold on "
119
+ f"each. The review draws the random sets after you submit, and on each prompt the "
120
+ f"{policy.null_quantile:.0%} quantile of their |share| must be at most "
121
+ f"{policy.max_null_patching:.0%}.",
119
122
  "- Each of your 4–8 counterfactuals says if the answer stays the top token (`kept`)",
120
123
  " or not (`changed`). All of them must come out as you say. A reviewer then writes",
121
124
  f" 10–30 more, blind, and {policy.min_probes:.0%} must come out as the claim says.",
@@ -143,17 +146,19 @@ def proposer_prompt( # long-function: the prompt's text, one line of it per lin
143
146
  ]) # fmt: skip
144
147
 
145
148
 
146
- def reviewer_prompt(probes_path: str, claim: AnswerClaim,
149
+ def reviewer_prompt(probes_path: str, claim: AnswerClaim, # long-function: the prompt's text
147
150
  agent_model: str = "<your model id>") -> str: # fmt: skip
148
151
  """The reviewer's task: write :class:`AnswerProbes` that try to break ``claim``."""
149
152
  template = {"prompts": [{"prompt": "<a prompt>", "expect": "changed", "why": "<why>"}],
153
+ "corrupted": ["<the prompt with the sources changed>", "<another>"],
150
154
  "reviewer_agent_model": agent_model} # fmt: skip
151
155
  roles = [f"- {u}: {claim.roles.get(u, '(no role given)')}" for u in claim.route]
152
156
  shown = [f"- {c.prompt!r}: {c.expect}" for c in claim.counterfactuals]
153
157
  told = [f"After this prompt, the model answers {claim.answer!r} by this route:", "",
154
158
  claim.prompt, "", f"- Sources: {', '.join(claim.sources)}",
155
159
  f"- Route: {' → '.join(claim.route)}", *roles, "", claim.explanation, "",
156
- "The proposer's own prompts (don't repeat them):", *shown] # fmt: skip
160
+ "The proposer's own prompts (don't repeat them):", *shown, "",
161
+ "The proposer's corrupted prompt (don't repeat it):", claim.corrupted] # fmt: skip
157
162
  return "\n".join([
158
163
  f"# Review an answer claim: {claim.model_name}",
159
164
  "",
@@ -172,6 +177,13 @@ def reviewer_prompt(probes_path: str, claim: AnswerClaim,
172
177
  "changed word order, and prompts where the answer is likely for another reason.",
173
178
  "You will never see the results.",
174
179
  "",
180
+ "Also write 2–3 corrupted prompts of your own (`corrupted`). Each is the claim's",
181
+ "prompt with its sources changed so that the answer should change, and it must have",
182
+ "the prompt's token count: swap a source word for another word of the same form.",
183
+ "The route must carry the answer's change from each of them, so choose ones that",
184
+ "test the claim, not ones that make it pass. The harness checks the token counts and",
185
+ "sends the file back if one is wrong.",
186
+ "",
175
187
  f"Write them as JSON to `{probes_path}`:",
176
188
  "",
177
189
  "```json",
@@ -2,14 +2,17 @@
2
2
 
3
3
  :func:`review` runs the claim's route on the model. It mean-ablates the route, keeps only
4
4
  the route live, and patches the route from the corrupted prompt. It does the same for
5
- matched random sets (:func:`~openinterpretability.explain_coverage.matched_draw`). Then it
6
- checks each counterfactual prompt. The baseline for ablation is each unit's mean on the
5
+ matched random sets (:func:`~openinterpretability.explain_coverage.matched_draw`). Under
6
+ rule 1.1 it also patches from each of the reviewer's corrupted prompts. It draws the random
7
+ sets' seed itself, so the proposer can't tune against them (#4892). Then it checks
8
+ each counterfactual prompt. The baseline for ablation is each unit's mean on the
7
9
  corpus, as ``explain`` uses (:func:`~openinterpretability.explain.unit_means`).
8
10
  """
9
11
 
10
12
  from __future__ import annotations
11
13
 
12
14
  import random
15
+ import secrets
13
16
  from datetime import UTC, datetime
14
17
 
15
18
  import torch
@@ -38,6 +41,24 @@ def answer_token(runner, answer: str) -> int:
38
41
  return ids[0]
39
42
 
40
43
 
44
+ def check_probes(tokenizer, claim: AnswerClaim, probes: AnswerProbes,
45
+ policy: AnswerPolicy) -> list[str]: # fmt: skip
46
+ """What is wrong with the reviewer's corrupted prompts under rule 1.1 (#4892)."""
47
+ if policy.protocol_version == "1.0":
48
+ return []
49
+ problems = []
50
+ if len(probes.corrupted) < policy.min_reviewer_corrupted:
51
+ problems.append(f"the reviewer wrote {len(probes.corrupted)} corrupted prompts, "
52
+ f"not {policy.min_reviewer_corrupted}–3") # fmt: skip
53
+ clean = len(tokenizer.encode(claim.prompt))
54
+ for c in probes.corrupted:
55
+ if len(tokenizer.encode(c)) != clean:
56
+ problems.append(f"the reviewer's corrupted prompt {c!r} is not {clean} tokens")
57
+ if c in (claim.prompt, claim.corrupted):
58
+ problems.append(f"the reviewer's corrupted prompt {c!r} repeats the claim's")
59
+ return problems
60
+
61
+
41
62
  def check_claim(tokenizer, claim: AnswerClaim) -> list[str]:
42
63
  """What is wrong with ``claim`` before any measure: token counts and unit labels."""
43
64
  problems = []
@@ -129,6 +150,11 @@ def _came_out(runner, token: int, prompts, tops: dict[str, str]) -> dict[str, bo
129
150
  return out
130
151
 
131
152
 
153
+ def draw_seed() -> int:
154
+ """A seed for the matched random sets, drawn at review time (rule 1.1, #4892)."""
155
+ return secrets.randbelow(2**31)
156
+
157
+
132
158
  def measure(runner, means, claim: AnswerClaim, probes: AnswerProbes, policy: AnswerPolicy,
133
159
  seed: int = 0) -> AnswerMeasures: # fmt: skip
134
160
  """Every measure of the module docstring, for ``claim`` on ``probes``."""
@@ -145,37 +171,48 @@ def measure(runner, means, claim: AnswerClaim, probes: AnswerProbes, policy: Ans
145
171
  def cut(units) -> float:
146
172
  return clean - lp(hooks=mean_ablation(units, means, runner))
147
173
 
148
- def patched(units) -> float | None:
149
- moved = clean - lp(hooks=patch_hooks(runner, claim.corrupted, units))
174
+ def patched(units, corrupted=claim.corrupted, gap=gap) -> float | None:
175
+ moved = clean - lp(hooks=patch_hooks(runner, corrupted, units))
150
176
  return moved / gap if abs(gap) > 1e-9 else None
151
177
 
178
+ def from_reviewer(c: str) -> tuple[float | None, list[float | None]]:
179
+ their_gap = clean - lp(c)
180
+ return patched(route, c, their_gap), [patched(n, c, their_gap) for n in nulls]
181
+
152
182
  rng, units = random.Random(seed), every_unit(runner, means)
153
183
  nulls = [matched_draw(rng, units, route) for _ in range(policy.null_sets)]
154
184
  tops: dict[str, str] = {}
185
+ theirs = {c: from_reviewer(c) for c in probes.corrupted}
155
186
  return AnswerMeasures(
156
187
  clean=clean, all_cut=clean - ablated, route_cut=cut(route),
157
188
  null_cuts=[cut(n) for n in nulls],
158
189
  sufficiency=_share(clean, ablated, lp(hooks=keep_hooks(runner, means, route))),
159
190
  corrupted_gap=gap, patching=patched(route), null_patching=[patched(n) for n in nulls],
191
+ reviewer_patching={c: v[0] for c, v in theirs.items()},
192
+ reviewer_null_patching={c: v[1] for c, v in theirs.items()}, null_seed=seed,
160
193
  controls=_came_out(runner, token, claim.counterfactuals, tops),
161
194
  probes=_came_out(runner, token, probes.prompts, tops), top_tokens=tops,
162
195
  ) # fmt: skip
163
196
 
164
197
 
165
198
  def review(runner, means, claim: AnswerClaim, probes: AnswerProbes,
166
- policy: AnswerPolicy | None = None, seed: int = 0,
199
+ policy: AnswerPolicy | None = None, seed: int | None = None,
167
200
  remeasures: str | None = None, texts=None) -> AnswerRecord: # fmt: skip
168
201
  """Measure ``claim`` on ``probes``, decide it, and return the record.
169
202
 
170
203
  The record holds the route's reading on every prompt too (#4917). ``remeasures`` names
171
- an earlier record of the same claim and probes that this one measures again.
204
+ an earlier record of the same claim and probes that this one measures again. With no
205
+ ``seed``, the review draws one, and the record keeps it (#4892).
172
206
  """
173
207
  from openinterpretability.answer_readings import read_all
174
208
 
175
209
  policy = policy or AnswerPolicy()
176
- problems = check_claim(runner.tokenizer, claim)
210
+ problems = check_claim(runner.tokenizer, claim) + check_probes(
211
+ runner.tokenizer, claim, probes, policy
212
+ )
177
213
  if problems:
178
214
  raise ValueError("; ".join(problems))
215
+ seed = draw_seed() if seed is None else seed
179
216
  measured = measure(runner, means, claim, probes, policy, seed)
180
217
  token = answer_token(runner, claim.answer)
181
218
  readings, routed = read_all(runner, means, claim, probes, token, texts)
@@ -51,7 +51,7 @@ TEST_EXPLANATIONS = "test/registry_explanations.jsonl"
51
51
  class Unit:
52
52
  """One benchmark unit: a neuron pole, its split and what measures it."""
53
53
 
54
- unit: str # the slug, e.g. ``Qwen--Qwen2.5-0.5B/L3/N7-positive``
54
+ unit: str # the slug, for example ``Qwen--Qwen2.5-0.5B/L3/N7-positive``
55
55
  model: str
56
56
  model_revision: str | None
57
57
  layer: int
@@ -255,7 +255,7 @@ def read_jsonl(path: Path) -> list[dict]:
255
255
 
256
256
 
257
257
  def write(frozen: Frozen, out_dir: Path) -> None:
258
- """Write a frozen version to ``out_dir`` (e.g. ``benchmark/v1``)."""
258
+ """Write a frozen version to ``out_dir`` (e.g., ``benchmark/v1``)."""
259
259
  out_dir.mkdir(parents=True, exist_ok=True)
260
260
  write_manifest(out_dir, frozen.manifest)
261
261
  write_jsonl(out_dir / UNITS, (u.__dict__ for u in frozen.units))
@@ -1,4 +1,7 @@
1
- """The agents page: per agent model and role, its experiments, VERIFIED rate and costs.
1
+ """The Contributors page: per agent model and role, its experiments, VERIFIED rate and costs.
2
+
3
+ The page lives at ``agents/index.html``, and its *People* table credits the people who
4
+ ran the agents (#4620).
2
5
 
3
6
  A model takes part in an experiment in one of three roles. It is the proposer
4
7
  (``submitting_agent_model``), the reviewer (``reviewer_agent_model``), or the judge that
@@ -8,9 +8,18 @@ from __future__ import annotations
8
8
  import math
9
9
  from functools import partial
10
10
 
11
- from openinterpretability.builder.statuses import MAP_STATUSES, STOPPED
11
+ from openinterpretability.builder.statuses import MAP_STATUSES
12
12
  from openinterpretability.core.schemas import Histogram
13
13
 
14
+ # The size of every chart's text, in CSS pixels (#5660). A chart draws at its natural size:
15
+ # its width and height equal its viewBox. So a reader sees this size at any screen width.
16
+ # It matches the page's small text (Tailwind's text-xs).
17
+ CHART_TEXT_PX = 12
18
+ # A hand-drawn diagram (the About page's taxonomy) keeps the text sizes it was drawn with,
19
+ # 9 to 14. It draws at this multiple of its viewBox, so its 9 px labels read at about 11 px.
20
+ # Its widest part, 760 wide, then fits the 960 px content column (css.COLUMN_REM, #5726).
21
+ DIAGRAM_SCALE = 1.26
22
+
14
23
 
15
24
  def histogram_bars(hist: Histogram | None, width: int = 600, height: int = 140) -> list[dict]:
16
25
  """SVG bar geometry; heights are log-scaled because activations are heavy-tailed."""
@@ -344,68 +353,3 @@ def pole_text(neuron) -> str:
344
353
  return ", ".join(f"{side} {st.status}" for side, st in neuron.standings.items()).replace(
345
354
  "_", " "
346
355
  )
347
-
348
-
349
- def layer_map(model, width: int = 640) -> dict | None:
350
- """Layer × neuron-index geometry: one row per layer, one mark per studied neuron.
351
-
352
- Each mark sits at the neuron's index, and takes its best pole's status (in
353
- ``MAP_STATUSES`` order). So the map shows coverage, and where the verified neurons are.
354
- Marks are drawn worst status first, so a verified neuron is never hidden under a
355
- neighbour. Models whose MLP
356
- width no record gives get no map: the index axis would have no end.
357
- """
358
- if not model.mlp_width or not model.neurons:
359
- return None
360
- left, right = 36, width - 8
361
- row, pitch, top = 10, 13, 4
362
- mark_w = max(3.0, (right - left) / model.mlp_width)
363
-
364
- def x(idx: int) -> float:
365
- return round(left + (right - left - mark_w) * idx / max(model.mlp_width - 1, 1), 2)
366
-
367
- marks, counts = _layer_marks(model, x, top, pitch)
368
- axis_y = top + model.n_layers * pitch + 2
369
- step = _nice_step(model.mlp_width)
370
- ticks = [(x(i), f"{i:,}") for i in range(0, model.mlp_width, int(step))]
371
- return {
372
- "width": width,
373
- "height": axis_y + 18,
374
- "left": left,
375
- "right": right,
376
- "row": row,
377
- "mark_w": round(mark_w, 2),
378
- "axis_y": axis_y,
379
- "rows": [(i, top + i * pitch) for i in range(model.n_layers)],
380
- "label_every": 1 if model.n_layers <= 16 else 2,
381
- "marks": marks,
382
- "ticks": ticks,
383
- "counts": counts,
384
- "unexplored": model.total_neurons - model.neurons,
385
- }
386
-
387
-
388
- def _layer_marks(model, x, top: float, pitch: float) -> tuple[list[dict], dict[str, int]]:
389
- """The map's marks, worst status first so the best draw on top, and a count per status."""
390
- counts = dict.fromkeys(MAP_STATUSES, 0)
391
- marks = []
392
- for layer in model.layers:
393
- y = top + layer.layer * pitch
394
- for n in layer.neurons:
395
- status = best_status(n)
396
- counts[status] += 1
397
- marks.append(
398
- {
399
- "x": x(n.idx),
400
- "y": y,
401
- "status": status,
402
- "href": n.href,
403
- "label": f"L{layer.layer} {n.label} · {pole_text(n)}",
404
- }
405
- )
406
- for n in layer.stopped:
407
- counts[STOPPED] += 1
408
- label = f"L{layer.layer} {stopped_label(n)}"
409
- marks.append({"x": x(n.idx), "y": y, "status": STOPPED, "href": n.href, "label": label})
410
- marks.sort(key=lambda m: -MAP_STATUSES.index(m["status"]))
411
- return marks, counts