open-interpretability 0.5.0__tar.gz → 0.6.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/.gitignore +3 -0
  2. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/CHANGELOG.md +142 -0
  3. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/PKG-INFO +2 -1
  4. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/__init__.py +8 -1
  5. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/agents/reviewer.py +5 -3
  6. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/charts.py +1 -1
  7. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/circuit_units.py +1 -0
  8. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/compiler.py +17 -73
  9. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/css.py +1 -0
  10. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/explanation_figures.py +3 -3
  11. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/explanation_pages.py +4 -3
  12. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/feeds.py +8 -30
  13. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/palette.py +4 -11
  14. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/pending.py +4 -13
  15. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/registry_pii.py +1 -0
  16. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/route_figures.py +3 -2
  17. open_interpretability-0.6.1/openinterpretability/builder/sections.py +104 -0
  18. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/significance.py +4 -2
  19. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/standing.py +25 -26
  20. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/statuses.py +1 -0
  21. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_answer_verdict.html +1 -1
  22. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_concept_map.html +1 -1
  23. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_dashboard.html +2 -1
  24. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_experiment.html +2 -1
  25. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_experiments.html +2 -1
  26. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_macros.html +2 -28
  27. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_patchscope.html +1 -1
  28. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_prior_art.html +1 -1
  29. open_interpretability-0.6.1/openinterpretability/builder/templates/_research_extra.html +2 -0
  30. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_rivals.html +1 -1
  31. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_specificity.html +1 -1
  32. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_steering.html +1 -1
  33. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_vocab_chart.html +1 -1
  34. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_wiring.html +1 -1
  35. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/answer.html +1 -1
  36. open_interpretability-0.6.1/openinterpretability/builder/templates/base.html +50 -0
  37. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/circuit_experiment.html +1 -1
  38. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/circuit_unit.html +2 -1
  39. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/explanation.html +2 -1
  40. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/index.html +2 -1
  41. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/model.html +2 -1
  42. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/neuron.html +2 -1
  43. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/users.py +8 -57
  44. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli.py +7 -54
  45. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_build.py +1 -0
  46. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_pause.py +17 -7
  47. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/cache_dirs.py +12 -1
  48. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/confounds.py +2 -2
  49. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/errata.py +6 -1
  50. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/exceptions.py +2 -2
  51. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/paths.py +5 -0
  52. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/pause.py +23 -3
  53. open_interpretability-0.6.1/openinterpretability/core/project.py +13 -0
  54. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/stats.py +27 -13
  55. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/strict.py +1 -2
  56. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/scan.py +1 -0
  57. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/patches/schema.py +5 -1
  58. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/patches/session.py +7 -4
  59. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/patches/store.py +15 -6
  60. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/planner.py +11 -13
  61. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/planner_models.py +1 -2
  62. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/planner_states.py +4 -1
  63. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/takedown_checks.py +1 -0
  64. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/pyproject.toml +113 -85
  65. open_interpretability-0.5.0/labinacan/__init__.py +0 -7
  66. open_interpretability-0.5.0/labinacan/cache.py +0 -27
  67. open_interpretability-0.5.0/labinacan/data/__init__.py +0 -1
  68. open_interpretability-0.5.0/labinacan/data/offensive_words.txt +0 -58
  69. open_interpretability-0.5.0/labinacan/data/public_suffix_list.dat +0 -15771
  70. open_interpretability-0.5.0/labinacan/progress.py +0 -144
  71. open_interpretability-0.5.0/labinacan/sensitive.py +0 -254
  72. open_interpretability-0.5.0/labinacan/site/__init__.py +0 -1
  73. open_interpretability-0.5.0/labinacan/site/alphaxiv.py +0 -78
  74. open_interpretability-0.5.0/labinacan/site/cluster_map.py +0 -188
  75. open_interpretability-0.5.0/labinacan/site/contents.py +0 -111
  76. open_interpretability-0.5.0/labinacan/site/css.py +0 -161
  77. open_interpretability-0.5.0/labinacan/site/maths.py +0 -83
  78. open_interpretability-0.5.0/labinacan/site/palette.py +0 -63
  79. open_interpretability-0.5.0/labinacan/site/parallel.py +0 -143
  80. open_interpretability-0.5.0/labinacan/site/pii.py +0 -224
  81. open_interpretability-0.5.0/labinacan/site/social_media.py +0 -275
  82. open_interpretability-0.5.0/labinacan/site/takedowns.py +0 -134
  83. open_interpretability-0.5.0/labinacan/strict.py +0 -15
  84. open_interpretability-0.5.0/openinterpretability/builder/brand.py +0 -82
  85. open_interpretability-0.5.0/openinterpretability/builder/changelog_page.py +0 -61
  86. open_interpretability-0.5.0/openinterpretability/builder/disk_memo.py +0 -65
  87. open_interpretability-0.5.0/openinterpretability/builder/fonts/GUST-FONT-LICENSE.txt +0 -30
  88. open_interpretability-0.5.0/openinterpretability/builder/fonts/OFL.txt +0 -103
  89. open_interpretability-0.5.0/openinterpretability/builder/fonts/README.md +0 -17
  90. open_interpretability-0.5.0/openinterpretability/builder/fonts/cmu-serif-500-italic.woff2 +0 -0
  91. open_interpretability-0.5.0/openinterpretability/builder/fonts/cmu-serif-500-roman.woff2 +0 -0
  92. open_interpretability-0.5.0/openinterpretability/builder/fonts/cmu-serif-700-italic.woff2 +0 -0
  93. open_interpretability-0.5.0/openinterpretability/builder/fonts/cmu-serif-700-roman.woff2 +0 -0
  94. open_interpretability-0.5.0/openinterpretability/builder/fonts/cmu-typewriter-text-500-roman.woff2 +0 -0
  95. open_interpretability-0.5.0/openinterpretability/builder/fonts/latinmodern-math.otf +0 -0
  96. open_interpretability-0.5.0/openinterpretability/builder/literature_map_view.py +0 -329
  97. open_interpretability-0.5.0/openinterpretability/builder/literature_pages.py +0 -147
  98. open_interpretability-0.5.0/openinterpretability/builder/paper_pdf.py +0 -168
  99. open_interpretability-0.5.0/openinterpretability/builder/research.py +0 -450
  100. open_interpretability-0.5.0/openinterpretability/builder/research_feeds.py +0 -247
  101. open_interpretability-0.5.0/openinterpretability/builder/sections.py +0 -143
  102. open_interpretability-0.5.0/openinterpretability/builder/templates/_map_theme.html +0 -92
  103. open_interpretability-0.5.0/openinterpretability/builder/templates/_prose.html +0 -32
  104. open_interpretability-0.5.0/openinterpretability/builder/templates/base.html +0 -169
  105. open_interpretability-0.5.0/openinterpretability/builder/templates/changelog.html +0 -26
  106. open_interpretability-0.5.0/openinterpretability/builder/templates/literature.html +0 -66
  107. open_interpretability-0.5.0/openinterpretability/builder/templates/paper.html +0 -29
  108. open_interpretability-0.5.0/openinterpretability/builder/templates/paper_print.html +0 -49
  109. open_interpretability-0.5.0/openinterpretability/builder/templates/post.html +0 -25
  110. open_interpretability-0.5.0/openinterpretability/builder/templates/posts.html +0 -39
  111. open_interpretability-0.5.0/openinterpretability/builder/templates/redirect.html +0 -1
  112. open_interpretability-0.5.0/openinterpretability/builder/templates/research.html +0 -43
  113. open_interpretability-0.5.0/openinterpretability/cli_social.py +0 -108
  114. open_interpretability-0.5.0/openinterpretability/core/project.py +0 -65
  115. open_interpretability-0.5.0/openinterpretability/figures/__init__.py +0 -5
  116. open_interpretability-0.5.0/openinterpretability/figures/motion.py +0 -84
  117. open_interpretability-0.5.0/openinterpretability/figures/svg.py +0 -279
  118. open_interpretability-0.5.0/openinterpretability/social/__init__.py +0 -12
  119. open_interpretability-0.5.0/openinterpretability/social/feed.py +0 -109
  120. open_interpretability-0.5.0/openinterpretability/social/links.py +0 -113
  121. open_interpretability-0.5.0/openinterpretability/social/message.py +0 -163
  122. open_interpretability-0.5.0/openinterpretability/social/poster.py +0 -245
  123. open_interpretability-0.5.0/openinterpretability/social/run.py +0 -264
  124. open_interpretability-0.5.0/openinterpretability/social/thread.py +0 -226
  125. open_interpretability-0.5.0/openinterpretability/sync/__init__.py +0 -11
  126. open_interpretability-0.5.0/openinterpretability/sync/r2.py +0 -314
  127. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/CITATION.cff +0 -0
  128. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/LICENSE +0 -0
  129. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/README.md +0 -0
  130. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/agents/__init__.py +0 -0
  131. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/agents/base.py +0 -0
  132. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/agents/judge.py +0 -0
  133. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/agents/narrator.py +0 -0
  134. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/agents/probe_hints.py +0 -0
  135. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/agents/proposer.py +0 -0
  136. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/agents/proposer_profiles.py +0 -0
  137. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/agents/review_measurements.py +0 -0
  138. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/agreement.py +0 -0
  139. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/answer_lens.py +0 -0
  140. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/answer_prompts.py +0 -0
  141. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/answer_readings.py +0 -0
  142. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/answer_review.py +0 -0
  143. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/audit_options.py +0 -0
  144. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/baseline.py +0 -0
  145. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/benchmark.py +0 -0
  146. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/blends.py +0 -0
  147. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/__init__.py +0 -0
  148. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/agents.py +0 -0
  149. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/aligned.py +0 -0
  150. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/brand/logo.svg +0 -0
  151. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/brand/mark-32.png +0 -0
  152. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/brand/mark.svg +0 -0
  153. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/brand/og.png +0 -0
  154. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/circuit_pages.py +0 -0
  155. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/circuits.py +0 -0
  156. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/concept_map_view.py +0 -0
  157. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/corpora.py +0 -0
  158. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/coverage.py +0 -0
  159. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/dashboard.py +0 -0
  160. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/draws_export.py +0 -0
  161. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/experiment.py +0 -0
  162. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/heat.py +1 -1
  163. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/hrefs.py +0 -0
  164. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/learned_baseline.py +0 -0
  165. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/model_facts.py +0 -0
  166. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/neuronpedia_export.py +0 -0
  167. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/parquet_export.py +0 -0
  168. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/pieces.py +0 -0
  169. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/recent.py +0 -0
  170. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/registry_stats.py +0 -0
  171. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/sister_graph.py +0 -0
  172. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/sister_pages.py +0 -0
  173. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/slim.py +0 -0
  174. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/stopped.py +0 -0
  175. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/stops.py +0 -0
  176. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/superpositions.py +0 -0
  177. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/taxonomy_view.py +0 -0
  178. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_agent_role_cells.html +0 -0
  179. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_causal_chart.html +0 -0
  180. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_circuit.html +0 -0
  181. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_embedding3d.html +0 -0
  182. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_figure.html +0 -0
  183. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_figure_pause.html +0 -0
  184. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_gas3d.html +0 -0
  185. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_head_profile.html +0 -0
  186. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_members.html +0 -0
  187. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_record.html +0 -0
  188. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_route3d.html +0 -0
  189. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_route3d_waves.html +0 -0
  190. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_route_row.html +0 -0
  191. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_superposition.html +0 -0
  192. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/_taxonomy.html +0 -0
  193. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/about.html +0 -0
  194. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/agent.html +0 -0
  195. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/agents.html +0 -0
  196. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/atlas.html +0 -0
  197. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/circuit.html +0 -0
  198. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/circuits.html +0 -0
  199. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/experiment.html +0 -0
  200. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/explanation_prompt.html +0 -0
  201. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/explanations.html +0 -0
  202. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/hub.html +0 -0
  203. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/layer.html +0 -0
  204. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/learned-baseline.html +0 -0
  205. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/models.html +0 -0
  206. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/sister_match.html +0 -0
  207. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/sisters.html +0 -0
  208. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/superposition.html +0 -0
  209. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/user.html +0 -0
  210. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/wiki/experiment.md +0 -0
  211. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/wiki/index.md +0 -0
  212. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/wiki/neuron.md +0 -0
  213. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/templates/wiki/stop.md +0 -0
  214. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/tree.py +0 -0
  215. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/builder/wiki.py +0 -0
  216. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/checks.py +0 -0
  217. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/circuit_checks.py +0 -0
  218. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/circuit_ids.py +0 -0
  219. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/circuit_review.py +0 -0
  220. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/claude_sessions.py +0 -0
  221. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_answers.py +0 -0
  222. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_baseline.py +0 -0
  223. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_benchmark.py +0 -0
  224. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_check.py +0 -0
  225. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_circuits.py +0 -0
  226. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_claude_session.py +0 -0
  227. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_concepts.py +0 -0
  228. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_corpus.py +0 -0
  229. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_costs.py +0 -0
  230. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_coverage.py +0 -0
  231. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_crossref.py +0 -0
  232. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_errata.py +0 -0
  233. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_evidence.py +0 -0
  234. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_evidence_store.py +0 -0
  235. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_explain.py +1 -1
  236. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_interference.py +0 -0
  237. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_loop.py +0 -0
  238. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_map.py +0 -0
  239. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_memory.py +0 -0
  240. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_model_check.py +0 -0
  241. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_neuronpedia.py +0 -0
  242. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_patch.py +0 -0
  243. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_pole_effects.py +0 -0
  244. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_probing.py +0 -0
  245. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_provider.py +0 -0
  246. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_query.py +0 -0
  247. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_registry.py +0 -0
  248. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_reproduce.py +0 -0
  249. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_review.py +0 -0
  250. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_scan.py +0 -0
  251. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_score.py +0 -0
  252. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_sisters.py +0 -0
  253. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_submission.py +0 -0
  254. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_superpositions.py +0 -0
  255. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/cli_wiring.py +0 -0
  256. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/codeid.py +0 -0
  257. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/concept_map.py +0 -0
  258. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/concept_regions.py +0 -0
  259. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/concepts.py +0 -0
  260. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/__init__.py +0 -0
  261. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/agent_names.py +0 -0
  262. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/answer_records.py +0 -0
  263. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/attribution.py +0 -0
  264. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/causal.py +0 -0
  265. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/circuit_records.py +0 -0
  266. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/contributors.py +0 -0
  267. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/corpora.py +0 -0
  268. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/costs.py +0 -0
  269. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/draws.py +0 -0
  270. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/evidence.py +0 -0
  271. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/examples.py +0 -0
  272. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/explanation.py +0 -0
  273. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/explanation_records.py +0 -0
  274. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/fence.py +0 -0
  275. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/heavy_lock.py +0 -0
  276. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/identifiers.py +0 -0
  277. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/isolation.py +0 -0
  278. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/ledger.py +0 -0
  279. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/legacy_names.py +0 -0
  280. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/licenses.py +0 -0
  281. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/manifold.py +0 -0
  282. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/partners.py +0 -0
  283. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/patchscope.py +0 -0
  284. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/pricing.py +0 -0
  285. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/prior_art.py +0 -0
  286. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/probing.py +0 -0
  287. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/profiles.py +0 -0
  288. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/record_kinds.py +0 -0
  289. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/rivals.py +0 -0
  290. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/run_environment.py +0 -0
  291. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/schemas.py +0 -0
  292. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/specificity.py +0 -0
  293. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/steering.py +0 -0
  294. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/taxonomy.py +0 -0
  295. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/transcripts.py +0 -0
  296. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/core/wiring.py +0 -0
  297. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/corpus.py +0 -0
  298. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/corpus_cache.py +0 -0
  299. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/corpus_layouts.py +0 -0
  300. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/corpus_presets.py +0 -0
  301. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/corpus_rebuild.py +0 -0
  302. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/coverage.py +0 -0
  303. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/crossref.py +0 -0
  304. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/data/__init__.py +0 -0
  305. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/data/providers.toml +0 -0
  306. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/data/sample_corpus.txt +0 -0
  307. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/draw_steps.py +0 -0
  308. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/embedding_space.py +0 -0
  309. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/errata_checks.py +0 -0
  310. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/evidence.py +1 -1
  311. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/evidence_branch.py +0 -0
  312. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/evidence_lenses.py +0 -0
  313. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/experiment_loop.py +0 -0
  314. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain.py +1 -1
  315. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_backend.py +0 -0
  316. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_confirm.py +0 -0
  317. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_corpus.py +0 -0
  318. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_coverage.py +1 -1
  319. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_figure_data.py +0 -0
  320. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_groups.py +0 -0
  321. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_land.py +0 -0
  322. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_narrate.py +0 -0
  323. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_output.py +0 -0
  324. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_plan.py +0 -0
  325. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_print.py +0 -0
  326. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_reuse.py +0 -0
  327. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_run.py +0 -0
  328. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_share.py +0 -0
  329. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explain_stopped.py +0 -0
  330. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explanation_registry.py +0 -0
  331. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/explanation_targets.py +0 -0
  332. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/half_precision.py +0 -0
  333. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/__init__.py +0 -0
  334. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/__init__.py +0 -0
  335. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/backend.py +0 -0
  336. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/cache.py +0 -0
  337. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/chunks.py +0 -0
  338. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/convert.py +0 -0
  339. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/forward.py +0 -0
  340. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/ane/qualified.py +0 -0
  341. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/annotations.py +0 -0
  342. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/attribution.py +0 -0
  343. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/causal.py +0 -0
  344. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/circuit_measures.py +0 -0
  345. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/confounds.py +0 -0
  346. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/covariance.py +0 -0
  347. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/cpu_speed.py +0 -0
  348. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/crossref.py +0 -0
  349. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/cuda_devices.py +0 -0
  350. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/dead.py +0 -0
  351. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/devices.py +0 -0
  352. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/dictionaries.py +0 -0
  353. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/dreaming.py +0 -0
  354. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/environment.py +0 -0
  355. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/explanation_scores.py +0 -0
  356. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/features.py +0 -0
  357. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/first_position.py +0 -0
  358. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/heads.py +0 -0
  359. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/hooks.py +0 -0
  360. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/input_attribution.py +0 -0
  361. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/jlens.py +0 -0
  362. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/layer_cache.py +0 -0
  363. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/layer_major.py +0 -0
  364. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/lookahead.py +0 -0
  365. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/manifold.py +0 -0
  366. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/memory.py +0 -0
  367. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/moe.py +0 -0
  368. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/ov_lens.py +0 -0
  369. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/patcher.py +0 -0
  370. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/patchscope.py +0 -0
  371. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/prepare.py +0 -0
  372. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/probing.py +0 -0
  373. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/scan_backend.py +0 -0
  374. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/sister_passes.py +0 -0
  375. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/sisters.py +0 -0
  376. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/sites.py +0 -0
  377. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/specificity.py +0 -0
  378. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/steering.py +0 -0
  379. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/superpositions.py +0 -0
  380. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/units.py +0 -0
  381. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/wiring.py +0 -0
  382. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/harness/wiring_activations.py +0 -0
  383. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/hubs.py +0 -0
  384. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/interference/__init__.py +0 -0
  385. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/interference/behaviour.py +0 -0
  386. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/interference/fisher.py +0 -0
  387. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/interference/floors.py +0 -0
  388. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/interference/keep.py +0 -0
  389. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/interference/pruning.py +0 -0
  390. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/interference/report.py +0 -0
  391. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/interference/routes.py +0 -0
  392. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/interference/run.py +0 -0
  393. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/interference/template.py +0 -0
  394. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/interference/tuning.py +0 -0
  395. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/interference/units.py +0 -0
  396. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/inverse_claims.py +0 -0
  397. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/langid.py +0 -0
  398. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/loop_bugs.py +0 -0
  399. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/loop_local.py +0 -0
  400. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/loop_pending.py +0 -0
  401. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/loop_sessions.py +0 -0
  402. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/mcp_server.py +0 -0
  403. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/model_check.py +0 -0
  404. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/model_revisions.py +0 -0
  405. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/names.py +0 -0
  406. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/neuronpedia_baseline.py +0 -0
  407. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/neuronpedia_review.py +0 -0
  408. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/partner_context.py +0 -0
  409. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/patches/__init__.py +0 -0
  410. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/patches/apply.py +0 -0
  411. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/patches/gates.py +0 -0
  412. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/patches/graph.py +0 -0
  413. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/patches/history.py +0 -0
  414. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/patches/tensors.py +0 -0
  415. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/planner_circuits.py +0 -0
  416. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/planner_claims.py +0 -0
  417. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/planner_effects.py +0 -0
  418. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/planner_explanations.py +0 -0
  419. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/planner_heads.py +0 -0
  420. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/planner_sisters.py +0 -0
  421. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/planner_superpositions.py +0 -0
  422. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/pole_effects.py +0 -0
  423. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/prior_art.py +0 -0
  424. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/providers.py +0 -0
  425. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/registry_query.py +0 -0
  426. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/reproduce.py +0 -0
  427. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/reproduce_explanation.py +0 -0
  428. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/reproduce_policy.py +0 -0
  429. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/revision.py +0 -0
  430. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/runner_cache.py +0 -0
  431. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/score_controls.py +0 -0
  432. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/show.py +0 -0
  433. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/signing.py +0 -0
  434. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/sisters.py +0 -0
  435. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/superposition_finders.py +0 -0
  436. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/syntax.py +0 -0
  437. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/toxicity.py +0 -0
  438. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/until_verified.py +0 -0
  439. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/verdict_regression.py +0 -0
  440. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/wiring_backfill.py +0 -0
  441. {open_interpretability-0.5.0 → open_interpretability-0.6.1}/openinterpretability/wordnet.py +0 -0
@@ -237,3 +237,6 @@ hf_models/**/*.safetensors
237
237
  *.private.jsonl
238
238
  # mutmut's copy of the package (make mutation, #5763)
239
239
  mutants/
240
+
241
+ # The token cache of scripts/train_resting.py (--cache tokens.pt), over 100 MB (#6785).
242
+ /tokens.pt
@@ -13,6 +13,148 @@ Changes waiting for the next release are files in [changelog.d/](changelog.d/REA
13
13
 
14
14
  ## [Unreleased]
15
15
 
16
+ ## [0.6.1] - 2026-11-27
17
+
18
+ Ships with protocol version **0.10**.
19
+
20
+ ### Added
21
+
22
+ - Property-based tests with Hypothesis for the verdict code (`tests/test_properties.py`, #3167). The review doesn't depend on test-prompt order, clustering doesn't depend on text order, standing doesn't depend on record order, and signing then verifying round-trips. Each runs the same examples every time.
23
+ - A literature page, `docs/literature/interference-weight-programming-and-lora.md`, sums up the 73 reviews of catastrophic interference, weight-space programming and LoRA (#4782). It puts them beside the repo's eight keep-test papers. Two follow-ups are new: a LoRA keep test (#6890) and a fine-tune that protects the VERIFIED poles (#6891).
24
+ - A new paper, *Do neuron explanations survive 4-bit NF4 rounding?*. It rounds each linear weight of Qwen2.5-0.5B and Qwen2.5-1.5B to QLoRA's NF4, and tests every VERIFIED explanation again. On Qwen2.5-0.5B, 281 of 362 explanations keep. On Qwen2.5-1.5B, 66 of 75 keep, more than the 58 to 62 that random changes of the same size keep. At the 99% point, the probes drift 6.7 to 10.5 times as far as under bfloat16. `scripts/nf4_keep.py` runs the test, and `scripts/nf4_keep_stats.py` gives the drift, the paired tests and QLoRA's normality test (#5158).
25
+ - A new paper, *Does pruning a few instruct-model neurons bring back the explanations that instruction tuning breaks?*. On Qwen2.5-0.5B-Instruct, it prunes the writes of the MLP neurons with the highest gradient times weight on the KL to the base model. Then it tests every VERIFIED explanation again. Pruning 5 neurons brings back 16 of the 63 explanations that fail on the instruct model, against 0 to 4 for random prunes. It also breaks 26 others and raises the KL, and larger prunes do more harm. `scripts/wrapper_prune.py` runs it, `scripts/wrapper_prune_check.py` checks the score one neuron at a time, and `scripts/wrapper_prune_stats.py` gives the tables (#5163).
26
+ - New paper, *Does a verified answer route keep on the instruct model?* (`papers/route-keep/`). The first passing route of Qwen2.5-0.5B, which copies " ball", still suffices on Qwen2.5-0.5B-Instruct. But the tuned model no longer needs it, so it fails the review there. `scripts/route_keep.py` runs the review on both models with five seeds (#5164).
27
+ - New paper, *Are rank-1 LoRA directions as explainable as native neurons?* (`papers/lora-units/`). It trains a rank-1 LoRA on every MLP projection of Qwen2.5-0.5B, on s1K-1.1. The audit verifies far fewer of its units than native neurons: 1 of 20 `down_proj` directions, against 12 of 20 random native poles. The directions are dense, are active on about 17 times as many tokens and fail on the hard negatives. `scripts/lora_units.py` trains the adapter and writes its units, and `scripts/lora_units_stats.py` writes the tables (#5166).
28
+ - A new paper, *Which neuron explanations survive a ROME edit?*. It edits 10 unrelated facts into pythia-70m at layer 2, one at a time, and tests each of 176 VERIFIED explanations again. No pole at or below the edit layer changes. Above it, ROME flips 25 of 870 readings, against 40 for random rank-one edits of the same norm. `scripts/rome_keep.py` runs the edits, and `scripts/rome_keep_stats.py` gives the tables (#5167).
29
+ - A new paper, *A traffic map of neuron explanations: which sites of pythia-70m does a change disturb?*. It scores each neuron write and attention head of pythia-70m by the gradient of the 176 VERIFIED explanations' probe readings. Then it tests the map with a random change of norm 1 at 118 sites. Over sites drawn evenly across the map, traffic predicts the explanations that flip (Spearman's ρ = 0.66). It predicts the drift of their readings with ρ = 0.80. Most of that is depth. At the top site, one change flips 22 of 176 explanations. `scripts/traffic_map.py` builds and tests the map, `scripts/traffic_dormant.py` reads each neuron's activity, and `scripts/traffic_stats.py` gives the tables (#5231).
30
+ - A new paper, *How do neuron explanations fail as ROME edits pile up at one layer?*. It makes 100 ROME edits in turn at layer 2 of pythia-70m and tests 180 VERIFIED explanations again at 19 checkpoints. The 88 explanations above the layer fade steadily with the weight distance, with no threshold. Random edits of the same norms erase them faster. `scripts/rome_sequence.py` runs the edits, and `scripts/rome_sequence_stats.py` gives the tables (#5362).
31
+ - New paper, *Do neuron explanations come back on the weight average of a base and an instruct model?* (`papers/weight-average-keep/`). On Qwen2.5-1.5B, the weight average keeps 73 of 80 explanations, against 69 for the instruct model. The explanations fail a few at a time along the line between the models. `scripts/weight_average_keep.py` runs the test at each step with a random change of the same size, and `scripts/weight_average_keep_stats.py` writes the tables (#5404).
32
+ - A literature page, `docs/literature/xsum.md`, reviews Narayan, Cohen and Lapata (2018), the source of the XSum dataset (#6323). Each summary is a BBC article's introductory sentence. `papers/sequential-tuning/` cites it correctly. On the pinned Hub commit, its 1,500-character cut shortens 58% of the sampled training articles, and none of the sampled pairs has an empty article.
33
+ - A literature page for *Training Verifiers to Solve Math Word Problems* (Cobbe et al., 2021), the source of GSM8K. It checks what `papers/sequential-tuning/` says of the dataset and its licence (#6324).
34
+ - A literature page for *Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge* (Clark et al., 2018), the source of ARC-Easy. It checks what `papers/sequential-tuning/` says of the benchmark, and records that most questions allow non-commercial research only (#6325).
35
+ - A literature page for *Auditing Post-Training Unlearning in Diffusion Language Models using Sparse Autoencoders* (Seo and Kim, 2026). It records that the chosen features barely beat a random subspace of the same rank, and says what carries over to #5220 (#6375).
36
+ - A literature page for *Weight-Space Programming and Mechanistic Interpretability for Model Editing in Particle Physics* (Bonnet-Guerrini, Ioannou-Nikolaides and Petersen, 2026). It is evidence for arm G of the fix plan (#5220) (#6376).
37
+ - A literature page for *Mechanistic Failure Modes of Weight Pruning in Transformer Language Models* (Faumi and Sumanathilaka, 2026). It motivates #6400 (#6404).
38
+ - A literature page for *CoEvoBench: Can LLMs Drive Recursive Co-Evolution of Agentic Systems?* (Xiao et al., 2026). It sets the paper's finding, a strong first improvement and then a stall, beside this project's own loop (#6420).
39
+ - A review of gBench, Google DeepMind's harness for the serving performance and capability of open models (`docs/literature/gbench.md`, #6433). Its hashed scaffold beside each score leads to #6985.
40
+ - A review of *Understanding, Predicting, and Steering LLM Behavior via Representational Effective Theory* (`docs/literature/representational-effective-theory.md`). Its learned macrostates summarise a prefix of hidden states. They predict sycophancy early and steer reasoning, but its interpretability score has no random-encoder control. No unit is audited, so its status is not applicable (#6441).
41
+ - A review of *Parasite Features: Causal Abstraction Through Spurious Pathways* (`docs/literature/parasite-features.md`). A learned alignment map can join two unrelated directions so that they pass interchange tests, although the model does not use them. No verdict rests on such a map. The answer experiments already gate on the paper's ablation control, and the illusions checklist now lists the paper (#6442).
42
+ - **A review of *Presenting Neural Networks via Coherent Functors*** (Pugh, Grundy, Cirstea and Harris, 2026), at `docs/literature/coherent-functors.md`. Its status is not applicable: the paper is theory with no experiments, and it covers only dense feed-forward networks over finite floats (#6446).
43
+ - **A review of *LLMs Memorize Their Own Hallucinations During Post-Training*** (Atmakuru and Goyal, 2026), at `docs/literature/hallucination-memorisation.md`. Its status is not applicable. The paper measures memorisation by behaviour only, in models the registry does not hold. Its headline of 4.83 points is the mean of the train column, not the gap from held-out (#6447).
44
+ - A literature review of *Ambient LLMs: Data-Efficient Supervised Fine-tuning via Temperature Matching* (Daras et al., 2026), `docs/literature/ambient-llms.md` (#6449).
45
+ - A literature review of *Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena* (Zheng et al., 2023), `docs/literature/llm-as-a-judge-mt-bench.md` (#6453).
46
+ - `make mutation FILES=a.py,b.py` mutates every function of the named package files, for the whole-package mutation work (#6491). The first four files of `patches/` (`schema.py`, `session.py`, `store.py`, `tensors.py`) have no surviving mutant.
47
+ - A review of Best-Paper-Writing-Skill against `write-paper` (`docs/literature/best-paper-writing-skill.md`, #6493). It sorts each rule as adopted, rejected or already covered, and measures the papers against its checks.
48
+ - `python -m labinacan.config` prints the project's values as shell assignments, so that a generic skill's commands name `$REPO` and the others, not this project's values (#6630).
49
+ - `python -m labinacan.site.build` builds the site of a project that has no build of its own, from its `templates/` folder and labinacan's default `base.html` and `index.html`. `labinacan.mk` uses it, labinacan's stylesheet and a cache folder by default (#6631).
50
+ - `scripts/check_leftovers.py` counts this project's words in the files that the labinacan template takes (`scripts/template_paths.txt`). Its baseline (`scripts/leftovers_baseline.txt`) can only come down, and the template is cut when it is empty (#6631).
51
+ - *Why training rests neurons below GELU's dip* gains two rows in Table 25 and in Figure 10 (#6785). The conditions `gelu_final_all_ln2_dropout_0` and `gelu_final_all_ln1_dropout_0` centre the final norm with all four norms before the MLP, or with all four before attention. With every `ln_2`, GELU's output's push points up in the −1.5 to −0.75 bin on 0.85 of neurons, against 0.88 with every norm. With every `ln_1`, it stays at 0.63, near the final-only 0.60. So the norms before the MLP, as a set, give the up push below the rest.
52
+ - *Why training rests neurons below GELU's dip* gains Tables 27 and 28. Pythia-70m's size and 32 times our batch together bring the push's match with the next move to Pythia's. But the push still points down in 20 to 24 of 30 checkpoints and layers, against Pythia's 13. A 32× batch makes the push less steady at each step, not weaker. `PushRecorder` adds the push over the parts of a step, so `train --push-every` now works with `--micro-batch`. The condition `pythia_size_batch_32x` and `scripts/batch_push_compare.py` are new (#6806).
53
+ - **`core/errata.py` joins the verdict code that `make mutation` mutates.** Its fast edge tests, `tests/test_errata_edges.py`, pin these:
54
+ - the harness, protocol and date rules, and a record with no verdict.
55
+ - edits that end at a list index, and edits applied in order.
56
+ - set-aside records, and the reading of the errata file.
57
+
58
+ All 2,062 mutants of the six files die, in about 3.5 minutes (#6810).
59
+ - **`planner_models.py` joins the verdict code that `make mutation` mutates.** `tests/test_planner_models.py` now fakes the Hugging Face Hub. It checks which model and which `download` flag reach it, and both namings of a model's size and heads. It also checks the records that coverage skips, and the count of verified neurons. The explore weight is now written as `(1 + covered) ** -0.5`, with no constant numerator to mutate (#6810).
60
+ - **`planner_states.py` joins the verdict code that `make mutation` mutates.** Its fast tests, `tests/test_planner_states.py`, pin these:
61
+ - the skip of records whose evidence is missing.
62
+ - the record that a unit keeps when a later one is set aside.
63
+ - the count of independent reviews.
64
+
65
+ All 2,113 mutants of the seven files die, in about 3 minutes (#6810).
66
+ - **`agents/review_measurements.py` joins the verdict code that `make mutation` mutates.** It measures the probes, counterfactuals, lookahead and causal readouts that a verdict rests on. The selected reviewer tests already kill all 322 of its mutants. All 2,617 mutants of the nine files die, in about 3.5 minutes (#6810).
67
+ - **`builder/significance.py` joins the verdict code that `make mutation` mutates.** New tests pin its strength lines, its rounding, the even-chance direction, the record's own policy and the memo. All 1,941 mutants of the five files die, in about 2.5 minutes (#6810).
68
+ - **labinacan-template is a copier template.** `copier copy gh:8W9aG/labinacan-template` asks for the project's values and brand, and a task sets up the repository with `gh`. A project installs `labinacan` from PyPI, and takes later template changes with `copier update` (`docs/development.md`, #7002).
69
+ - A fitting harness for the phase 4a arms A–F of the copy-family fix, `scripts/fix_arms.py`. Each fit is written as a draft patch, checked at zero strength and given the interference report (#7006).
70
+
71
+ ### Changed
72
+
73
+ - **CI's generic checks have a workflow of their own** (#6630). `.github/workflows/labinacan-ci.yml` holds the jobs that any autoresearch project runs: code changes, *Lint and tests*, mutation testing and accessibility. The jobs keep their names, so branch protection still finds *Lint and tests*. `ci.yml` keeps this project's jobs: experiment records, record changes, reproduction and the model cache. The generic workflow reads the project's packages with `make packages`, and runs `make project-lint` for the project's own checks, so it holds no value of this project. `tests/test_labinacan_config.py` checks that. `auto-merge.yml` waits for both workflows' runs when a PR leaves draft.
74
+ - **The link check is generic** (#6630). `links.yml` builds the site with `make build`, under the memory cap that CI passes as `BUILD_WRAPPER`, and caches under the folder that `make -s cache-dir` prints. So the file holds no value of this project. The Makefile's `BUILD_COMMAND` starts with `$(BUILD_WRAPPER)`, and its `CACHE_DIR_COMMAND` prints `legacy_names.cache_base()`. `tests/test_labinacan_config.py` checks `links.yml` too.
75
+ - **The Makefile has a generic part** (#6630). `labinacan.mk` holds the targets that any autoresearch project uses, such as `install`, `test`, `coverage`, `mutation`, `lint`, `vale`, `ste`, `build`, `css` and `serve`. The Makefile sets this project's values (`DIST_NAME`, `PACKAGES`, `TEST_WRAPPER`, `CSS_MODULE`, `BUILD_COMMAND` and `PROJECT_LINT`), includes it, and keeps its own targets. Each target runs the same commands as before, as `make -n` shows. In `make lint`, the check of the old package name now runs earlier, in `project-lint`. `tests/test_labinacan_config.py` checks that `labinacan.mk` holds no value of this project.
76
+ - The `release` skill is now generic: its commands read the project's values from `python -m labinacan.config`, and this project's steps, refreshes, checks and title are in its `project.md` (#6630).
77
+ - The `semantic-versioning` skill is now generic: this project's surfaces and the commands that find their changes are in its `project.md` (#6630).
78
+ - Ruff, coverage, diff-cover and PyMarkdown read their own files (`ruff.toml`, `.coveragerc`, `.diff-cover.toml`, `.pymarkdown.yml`), which hold no value of a project. Make and CI name the packages for coverage from `PACKAGES` (#6630).
79
+ - The `write-paper` skill is now generic: this project's authors, site, terms and model papers are in its `project.md` (#6630).
80
+ - `scripts/mutation.py` reads the packages from `[tool.mutmut] source_paths`, and the folders to leave out of mutmut's copy from `[tool.labinacan] mutation_skip`. It names no package or folder of this project (#6631).
81
+ - A project with no X account leaves `X` out of `[project.urls]`. Its pages then have no X link and no `twitter:site` tag (#6631).
82
+ - labinacan's templates take the breadcrumb's first step from `home_label`, and include a project's `_research_extra.html` on the Research index. Its examples, docstrings and Vale rules name nothing of this project (#6631).
83
+ - The last of the template's files name nothing of this project, and the leftover baseline is empty (#6631). The figure helpers move to `labinacan.figures`. `changelog.py`, `exchange.py`, `a11y_check.py`, `publish.yml` and the data-only rule of `labinacan-ci.yml` read the project's values from `pyproject.toml`.
84
+ - The generic scripts read the project's packages, generated files and size budget from the config (`scripts/repo_config.py`, `[tool.labinacan] generated`, `[tool.labinacan.size_budget]`) (#6631).
85
+ - The `single-source-of-truth`, `commenting`, `test-new-paths`, `next-issue`, `literature-review` and `paper-animation` skills hold no value of this project. Each has a `project.md` with this project's part, and `work-an-issue` reads the repository from `gh` (#6631).
86
+ - The generic tests name nothing of this project. Its own tests move to `tests/test_project_config.py`, `tests/test_wiki_markdown.py` and `tests/test_site_changelog.py`, which the template doesn't take. `[tool.labinacan] automatic_issue_workflows` lists the workflows whose failure issues an agent may work (#6631).
87
+ - Three preprints say the project's terms in plain words, and define *pole* in their Method after Cammarata (2026): `why-neurons-rest`, `copy-first-unit` and `spd-input-projections` (#6851). The gate pattern no longer matches a method's own gates, such as SPD's.
88
+ - A paper uses no term of the project's own (#6851). `papers/terms.toml` lists each with its plain phrase, and `scripts/papers.py check` finds them in a preprint's prose, captions, figure titles and thread. The preprints that wait for their rewrite are in `papers/terms_pending.txt`. *Pole* stays, as the field's term.
89
+ - A preprint's abstract has a budget of about 130–220 words, with the one or two numbers that carry its claim (`write-paper`). `scripts/papers.py check` fails a preprint whose abstract is over 220 words, and it counts a formula as one word. Published papers are frozen and skip the check. Ten preprints had abstracts over the cap, and each now keeps its claim and its headline numbers (#6929).
90
+ - A figure caption's first sentence is the figure's finding, in the words of its SVG title. The sentences after it say what the marks are (`write-paper`). `scripts/papers.py check` fails a preprint whose caption does not open with its figure's title. Published papers are frozen and skip the check. The 65 captions of the preprints now open with their findings (#6930).
91
+ - This project now installs `labinacan` 0.1.1 from PyPI, pinned exactly, and no longer keeps its own `labinacan/` folder. The tests that only tested labinacan moved to 8W9aG/labinacan with it. `docs/development.md` says how a fix to labinacan now flows: a PR and a release there, then a version bump here (#7003).
92
+ - **Depend on labinacan 0.1.3.** Its maths refuses a formula whose MathML holds markup other than MathML's own (#7076).
93
+ - **Auto-merge reads the PR's files one name per line.** Each name is checked whole against the record rule (#7076).
94
+ - **Registry coverage, refreshed for 0.6.1** (`docs/analyses/registry-coverage.jsonl`, 2026-11-27). It gives each model's VERIFIED poles and the mean share of the loss that they recover, against the 2026-11-26 run:
95
+
96
+ | Model | VERIFIED poles | Share of poles | Mean recovered |
97
+ | --- | --- | --- | --- |
98
+ | pythia-70m | 172 → 185 | 0.75% | 0.034 → 0.036 |
99
+ | GPT-2 | 224 → 225 | 0.31% | −0.058 → −0.058 |
100
+ | Qwen2.5-0.5B | 362 → 380 | 0.16% | 0.011 → 0.012 |
101
+ | Qwen2.5-1.5B | 75 → 80 | 0.02% | 0.001 → 0.001 |
102
+ - **Sister search, refreshed for 0.6.1.** The search added 96 rows for poles VERIFIED since 0.6.0, and found 9 new sisters:
103
+ - pythia-70m: 2 against each of Qwen2.5-0.5B, Qwen2.5-1.5B and GPT-2, from 10 poles.
104
+ - Qwen2.5-0.5B: 2 against Qwen2.5-1.5B and none against pythia-70m or GPT-2, from 17 poles.
105
+ - Qwen2.5-1.5B: 1 against Qwen2.5-0.5B, from 5 poles.
106
+
107
+ The strongest are Qwen2.5-0.5B L3/N4450+ with Qwen2.5-1.5B L7/N95− (Pearson 0.73), pythia-70m L4/N509+ with GPT-2 L8/N248+ (0.58), and pythia-70m L1/N162+ with Qwen2.5-1.5B L0/N2013+ (0.53). Each new sister is now a `sister` draw.
108
+
109
+ ### Fixed
110
+
111
+ - Fixes that the template's example project needed (#6631). The generic tests work for any project's config. `a11y_check.py` needs one page of each kind, in place of a count of five. The Linear jobs exit cleanly with no key, and `labinacan` has its own `__version__`.
112
+ - A changelog with a title and no version heading no longer stops the site build. A new project's changelog has none yet (#6736).
113
+ - `open-interpretability pause` with no option no longer extends a standing pause. It shows the pause and exits 75, as `--status` does. `--for` or `--reason` replaces a standing pause. An agent that meant to check a pause had renewed one every hour, for about 10 hours. The pause file's `by` now also names the working directory, and the agent when `$OPENINTERPRETABILITY_AGENT` is set. The `choose-next-experiment` skill, `docs/experiments.md` and the loop's prompt name `pause --status` for the check (#6839).
114
+ - `test_a_second_process_waits_until_the_first_exits` no longer fails on a busy machine: the first process holds the lock until the test releases it, not for a fixed time (#6916).
115
+ - **A mutant of `plan_next` no longer lives by chance.** A new test checks that the plan passes its own seed to the explanation draw. A draw with no seed is random, and a random pick could match the test's seeded one (#7027).
116
+ - **The site builds again past 50,000 pages.** labinacan 0.1.2 writes `sitemap.xml` as a sitemap index, with numbered parts, when the pages are more than one sitemap holds. The deploy had stopped at 90,908 pages. The LoRA superpositions of #7025 list every neuron of their layer, and each member neuron gets a short page (#7054).
117
+
118
+ ## [0.6.0] - 2026-11-26
119
+
120
+ Ships with protocol version **0.10**.
121
+
122
+ ### Added
123
+
124
+ - `scripts/base_instruct_kl.py` reads the base-to-instruct output KL at each VERIFIED pole's probes and top contexts, on plain text and in the chat template (#5141). It runs both Qwen2.5 pairs. As a predictor of an explanation's failure, it gives AUROCs of 0.49 to 0.54 on Qwen2.5-0.5B. `papers/fisher-keep/` reports it with a figure, and its rows are in `docs/analyses/base-instruct-kl.jsonl`.
125
+ - **A ceiling for weight-only checks** (#5144). `papers/token-set-ceiling/` labels the explanation of each of the 826 VERIFIED neuron poles as a token-set rule, a context rule or a gated token set. Only 147 are token-set rules, 17.8% (95% interval 15.3% to 20.6%), and most sit in the first third of each model. A second rater gives κ = 0.77, and `token_r2` separates the token-set poles with an AUROC of 0.91. `scripts/token_set_ceiling.py` joins the labels with the records.
126
+ - A literature page, `docs/literature/edit-ready-training.md`, reviews Ropinski and Kranz (2026), *Training Vision Models for LLM-Driven Weight-Space Programming* (#6031). Edit-Ready Training raises LLM agents' net edit score on image classifiers by 0.12 over plain training. It does not measure whether units become easier to read, and it edits no language model.
127
+ - A literature page, `docs/literature/sentiment-treebank.md`, reviews Socher et al. (2013), the source of the Stanford Sentiment Treebank (#6322). The Hub copy's SST-2 training split also holds the treebank's phrases, with a median of 7 words, and its validation split holds whole sentences. So `papers/sequential-tuning/` now says that most of its SST-2 training pairs are phrases.
128
+ - **Repeated mutation runs** (#6359). `make mutation RUNS=5` runs mutation testing 5 times, each from a clean `mutants/` and in its own test order (pytest-randomly seeds 1 to 5). It reports each run's counts, and fails when a mutant fails in a run or changes its result between runs. The `test-new-paths` skill now says that a surviving mutant in a changed verdict file blocks the PR.
129
+ - `scripts/train_resting.py` can centre any set of LayerNorms, such as `final,L2.ln_1` (#6465). Eight new conditions centre the final norm and one block norm. `papers/why-neurons-rest/` reports them in Table 25 and Figure 10. No single block norm restores GELU's up push below the rest, and the norms before the MLP help most.
130
+ - *Why training rests neurons below GELU's dip* gains Table 26. Pythia's batch and Pythia-70m's size each bring the checkpoint test's match with the next move down to Pythia's level. Neither makes the push point down less often. `train_resting.py train --micro-batch` adds up the gradient over parts of a batch. The new conditions `pythia_batch_32x` and `pythia_size` train with 32 times the batch, and at Pythia-70m's width and depth (#6499).
131
+ - **Several agents can work issues and releases at once.** `scripts/issue_state.py --claim <number>` claims an issue with a branch that only one agent can create, and sets it In Progress. A second agent gets exit code 3 and takes the next issue. `--claim-release <tag>` claims the release, `--unclaim <number>` drops an issue's claims, and `--whoami` prints the agent's ID that comments carry. `next_issue.py` prints the claim command for each pick. The `next-issue`, `work-an-issue` and `release` skills claim before any work, and `docs/development.md` gives the rules for several agents (#6725).
132
+ - A new paper, *Tuning or size? A matched random change for neuron explanations under instruction tuning*. It adds to each Qwen2.5 base model a random change with the instruct change's norm in every weight matrix, then tests each VERIFIED explanation again. On Qwen2.5-0.5B, the random change keeps 296 to 301 of 361 explanations, and the instruct change keeps 298. On Qwen2.5-1.5B, the random change keeps 72 or 73 of 75, and the instruct change keeps 65. `scripts/random_delta_keep.py` runs the test. It reads the probes in batches, and it reads the first-token check in one pass for all poles. `scripts/random_change_stats.py` gives the paired tests (#5154).
133
+
134
+ ### Changed
135
+
136
+ - **No mutant survives in `core/stats.py`** (#6359). New tests in `tests/test_core_stats.py` kill the 39 surviving mutants and the one timeout of the first full run. They cover ties, chunk sizes, the clamp of rho at ±1 and the recorded posterior values. `cluster_texts` now finds a root in a bounded loop, so a broken root test gives wrong labels and does not hang. The chunk loops split the column indices, and rho subtracts the mean rank (n − 1)/2. Three mutants that only revisit joined pairs are recorded as equivalent.
137
+ - **No mutant survives in `planner.py`** (#6359). Mutation testing now also runs `test_planner_heads.py`, `test_planner_claims.py`, `test_planner_models.py` and `test_draw_steps.py`. New tests in `tests/test_planner.py` check the rationale and commands of each follow-up, and the decay at its 6 h and 24 h boundaries. They also check the draw in proportion to `weight ** (1 / temperature)` and the settings read from `pyproject.toml`. Others check how the plan's seed and claims reach the explore, sister, explanation and circuit draws. `plan_next` reads `pyproject.toml` through `DEFAULT_PYPROJECT`, and `rng.choices` takes its default of one draw.
138
+ - **No mutant survives in `agents/reviewer.py`** (#6359). So `make mutation` now ends with 0 survived, 0 no-test and 0 timeouts on all four verdict files: 1,851 mutants in 2 min 14 s. Mutation testing now also runs eight fast tests that reach the reviewer, such as `test_agents.py` and `test_fence.py`. New tests check the exact token-check prompt for a neuron and a head, `repeated_runs`, and the wiring that a review measures by default. `repeated_runs` reads each common run with `takewhile`, so a mutant can no longer make it loop without end.
139
+ - **No mutant survives in `builder/standing.py`** (#6359). The standing tests that build no site moved from `tests/test_compiler.py` to `tests/test_builder_standing.py`, which mutation testing runs. New tests cover the order of readings in an even split, scores exactly `SCORE_MARGIN` apart and a missing score. They also cover each experiment's role, the newest earlier VERIFIED hypothesis and errata that set experiments aside. Others check `contested_units` and each count of `reviewer_agreement`. Four branches that changed no result are now simpler. Two mutants that cannot change a result have a recorded reason.
140
+ - **Breaking.** The `deploy` and `social` commands, the R2 sync and `SyncError` now live in labinacan: `labinacan/cli.py`, `labinacan/sync/` and `labinacan/errors.py` (#6628). A project mounts the commands on its CLI with `site_commands`, giving its site-URL variable and default. This repo mounts them, so `open-interpretability deploy` and `open-interpretability social` work as before. `core.exceptions.SyncError` is labinacan's, and the CLI prints labinacan's errors as text. A deploy with no built site now says "build the site first".
141
+ - **Breaking.** The build's GitHub reads now live in `labinacan/site/github.py`: `open_prs` (with `gh`), `get_json` and `pr_authors`, with its cache (#6628). `builder/pending.py` keeps the experiment branches' names, and `builder/users.py` keeps the records' merged PRs. This repo passes its cache file, its rule for handles and its User-Agent. `builder/hrefs.py` stays, because its paths are all the registry's.
142
+ - The `chevron`, `read_more` and `fold` macros now live in labinacan's `_site_macros.html`, beside `paper_status` (#6628). This repo's templates import them from there, and its `_macros.html` keeps the registry's badges, marks, tables and charts. `about.html` and `user.html` stay: their content is the registry's.
143
+ - **Breaking.** The build's on-disk memo (`DiskMemo`) and the sitemap and `robots.txt` now live in labinacan: `labinacan/site/disk_memo.py` and `labinacan/site/feeds.py` (#6628). `DiskMemo` takes its cache folder as a function, and this repo passes `core.cache_dirs.build_cache`. `builder/feeds.py` keeps the feed of new VERIFIED units.
144
+ - **Breaking.** The site's renderer now lives in `labinacan/site/render.py`, with `write_redirect`, `clean_owned` and the number filters (`number_filters`, `pct_fine`) (#6628). The project passes the paths that its build owns to `clean_owned`. This repo keeps `OWNED_PATHS` and its templates' globals in `builder/compiler.py`. The compiler's private `_Renderer`, `_write_redirect` and `_pct_fine` are gone.
145
+ - `labinacan/site/sections.py` writes the sections that any project's site has: Changelog, the literature review, Research with its feeds, and Posts (#6628). A project passes its own sections as callbacks, and what else the Research index gets. This repo passes About, with the brand's images, and the explanations. `builder/sections.py` keeps `render_reference_pages` with the same arguments.
146
+ - **Breaking.** The site's Research, Posts, literature-review and Changelog pages, the paper PDFs and their fonts now live in `labinacan/site/`, and the X posting in `labinacan/social/` (#6628). The modules are `research`, `research_feeds`, `literature_pages`, `literature_map_view`, `changelog_page` and `paper_pdf`. Code that imported them from `openinterpretability.builder` or `openinterpretability.social` imports them from `labinacan`. `open-interpretability social` works as before.
147
+ - Every page's frame is now labinacan's `site_base.html`: the head, the stylesheet, the search box and its script, and the footer's frame (#6628). This repo's `base.html` extends it. Its blocks hold the generator, the VERIFIED feed, the registry's styles, the search box's label, the nav and the footer. `paper_status` moves to labinacan's `_site_macros.html`.
148
+ - The templates of the papers, posts, literature reviews, Changelog and redirect pages now live in `labinacan/site/templates/` (#6628). The site's template environment reads this repo's templates first, then labinacan's, so they still extend this repo's `base.html`. The figure templates stay, because only the explanation pages use them.
149
+ - **One project config for labinacan** (#6629). `labinacan/config.py` reads the project's values from its `pyproject.toml`. `[project]` gives the command, the description, the URLs and the maintainer. A new `[tool.labinacan]` table gives the name, the package and the prefix of the environment variables. The environment variables, the feed's thread namespace, the social poster's user agent and two templates in `labinacan/` now read it. So `labinacan/` holds no value of this project, and `tests/test_labinacan_config.py` checks that. `core/project.py` keeps its names and reads them there. The built site is unchanged.
150
+ - **The Linear and GitHub scripts read the project config** (#6629). `[tool.labinacan]` gains `linear_team` and `maintainer`, and `ProjectConfig.repo` derives `owner/name` from `[project.urls] Repository`. `scripts/issue_state.py`, `linear_sync.py`, `next_issue.py` and `claims.py` now take the repo slug, the Linear team key, the maintainer's login and the agent variable's name from there. Two GraphQL queries take the owner and the name as variables. `tests/test_labinacan_config.py` checks that these scripts hold no value of this project.
151
+ - **Registry coverage refreshed** for the 0.6.0 release (`docs/analyses/registry-coverage.jsonl`, 70 rows dated 2026-11-26). Pythia-70m rose from 160 to 172 VERIFIED poles, and its mean recovered share per layer from 0.032 to 0.034 (random 0.022). GPT-2 rose from 221 to 224 poles, and its mean stays negative (−0.058) because keeping only L10's poles raises the loss (−0.924). Qwen2.5-0.5B (362 poles, 0.011) and Qwen2.5-1.5B (75 poles, 0.001) did not change.
152
+ - **Sister rows refreshed** for the 0.6.0 release. The search added 45 rows and 8 sisters, for the poles VERIFIED since the last run. Pythia-70m's 12 new poles found 3 sisters in Qwen2.5-0.5B, 1 in Qwen2.5-1.5B and 3 in GPT-2. GPT-2's 3 new poles found 1 sister in Pythia-70m. The strongest are GPT-2 L1/N1758+ → Pythia-70m L0/N1101+ (r = 0.79), Pythia-70m L5/N259+ → GPT-2 L6/N1862+ (0.78) and Pythia-70m L0/N1295+ → GPT-2 L0/N2697+ (0.78). Each is now a `sister` draw.
153
+
154
+ ### Fixed
155
+
156
+ - **Mutation testing no longer times out a mutant whose tests take no time** (#6829). mutmut gives a mutant (its tests' measured time + `timeout_constant`) × 15 × 2 CPU seconds. With the default of 1, a mutant whose tests measure 0 s had 30 s. A parallel run sometimes used more than that on the fork of each test process (SIGXCPU). So the same mutant was killed in one run and timed out in another. `[tool.mutmut] timeout_constant = 10` gives such a mutant 300 s. Before the fix, two of three runs of the 62 mutants of `labinacan/config.py` timed out one. After it, five runs killed all 62 each time.
157
+
16
158
  ## [0.5.0] - 2026-11-24
17
159
 
18
160
  Ships with protocol version **0.10**.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: open-interpretability
3
- Version: 0.5.0
3
+ Version: 0.6.1
4
4
  Summary: Open Interpretability: an agent-run mechanistic interpretability project, with an audited registry of native neurons in open-weight models.
5
5
  Project-URL: Homepage, https://open-interpretability.com/
6
6
  Project-URL: Repository, https://github.com/8W9aG/openinterpretability
@@ -20,6 +20,7 @@ Requires-Dist: duckdb>=1.0.0
20
20
  Requires-Dist: fasttext-predict>=0.9.2
21
21
  Requires-Dist: instructor>=1.3.0
22
22
  Requires-Dist: jinja2>=3.1.3
23
+ Requires-Dist: labinacan[pii,r2]==0.1.3
23
24
  Requires-Dist: latex2mathml>=3.81.1
24
25
  Requires-Dist: litellm>=1.40.0
25
26
  Requires-Dist: magika<2,>=1.0.3
@@ -1,10 +1,17 @@
1
1
  """Open Interpretability: an agent-run interpretability project and its neuron registry."""
2
2
 
3
+ from labinacan import config as _config
4
+
3
5
  from openinterpretability.core.legacy_names import adopt_legacy_env
6
+ from openinterpretability.core.paths import CLONE_PYPROJECT, DEFAULT_PYPROJECT, PACKAGED_PYPROJECT
4
7
 
5
- __version__ = "0.5.0"
8
+ __version__ = "0.6.1"
6
9
  # The name on PyPI, and of the installed distribution (issue #3251). The import name is
7
10
  # `openinterpretability` (issue #4089).
8
11
  DISTRIBUTION = "open-interpretability"
9
12
 
10
13
  adopt_legacy_env() # the old environment variables, for one release (core/legacy_names.py)
14
+
15
+ # labinacan reads this project's values from a pyproject.toml (#6629). It reads the working
16
+ # directory's when it has them. Else it reads the copy that an install holds, else the clone's.
17
+ _config.use(DEFAULT_PYPROJECT, PACKAGED_PYPROJECT, CLONE_PYPROJECT)
@@ -10,6 +10,8 @@ from __future__ import annotations
10
10
 
11
11
  from collections.abc import Sequence
12
12
  from datetime import UTC, datetime
13
+ from itertools import takewhile
14
+ from operator import eq
13
15
 
14
16
  from pydantic import BaseModel, Field
15
17
 
@@ -267,9 +269,9 @@ def repeated_runs(ids: Sequence[int]) -> list[tuple[int, int]]:
267
269
  match = [0] * len(ids)
268
270
  for j in range(len(ids)):
269
271
  for i in range(j):
270
- k = 0
271
- while k <= i and ids[i - k] == ids[j - k]:
272
- k += 1
272
+ # The length of the common run that ends at i and at j. Read backwards from i and
273
+ # j, it stops at the first pair that differs, or at the start of ids.
274
+ k = sum(takewhile(bool, map(eq, ids[i::-1], ids[j::-1])))
273
275
  match[j] = max(match[j], k)
274
276
  return [
275
277
  (j - match[j] + 1, j + 1)
@@ -18,7 +18,7 @@ CHART_TEXT_PX = 12
18
18
  # A hand-drawn diagram (the About page's taxonomy) keeps the text sizes it was drawn with,
19
19
  # 9 to 14. It draws at this multiple of its viewBox, so its 9 px labels read at about 11 px.
20
20
  # Its widest part, 760 wide, then fits the 960 px content column
21
- # (labinacan/site/css.py's COLUMN_REM, #5726).
21
+ # (labinacan.site.css's COLUMN_REM, #5726).
22
22
  DIAGRAM_SCALE = 1.26
23
23
 
24
24
 
@@ -271,6 +271,7 @@ def _location(model, members: list[str]) -> tuple[float | None, float | None]:
271
271
  def circuit_views(model, data: CircuitData, edges: list) -> list[CircuitView]:
272
272
  """The model's registry circuits, by id, with ``edges`` (``circuit_edges``) among members."""
273
273
  from labinacan.site.pii import scrub
274
+
274
275
  from openinterpretability.builder.circuits import _layout
275
276
  from openinterpretability.builder.hrefs import circuit_experiment_href, circuit_href
276
277
  from openinterpretability.circuit_ids import load_events
@@ -7,20 +7,18 @@ Each unit page lists all of its experiments, null results too, most conclusive f
7
7
 
8
8
  from __future__ import annotations
9
9
 
10
- import math
11
- import shutil
12
10
  from collections.abc import Sequence
13
11
  from dataclasses import dataclass, field
14
12
  from pathlib import Path
15
13
  from tempfile import TemporaryDirectory
16
14
 
17
- from jinja2 import Environment, PackageLoader, StrictUndefined, select_autoescape
18
- from pydantic import ValidationError
19
-
15
+ from jinja2 import ChoiceLoader, Environment, PackageLoader, StrictUndefined, select_autoescape
20
16
  from labinacan.sensitive import is_offensive
21
- from labinacan.site.contents import add_contents
22
17
  from labinacan.site.parallel import in_background, render_in_parallel
23
18
  from labinacan.site.pii import save_spans, scrub
19
+ from labinacan.site.render import Renderer, clean_owned, number_filters, write_redirect
20
+ from pydantic import ValidationError
21
+
24
22
  from openinterpretability import __version__
25
23
  from openinterpretability import sisters as sister_lib
26
24
  from openinterpretability.builder import charts, palette, pieces, statuses
@@ -99,18 +97,18 @@ def _environment(grid_scale: int = 1) -> Environment:
99
97
  of every model's grid (#5836).
100
98
  """
101
99
  env = Environment(
102
- loader=PackageLoader("openinterpretability.builder", "templates"),
100
+ loader=ChoiceLoader(
101
+ [ # this repo's templates first, then labinacan's (#6628)
102
+ PackageLoader("openinterpretability.builder", "templates"),
103
+ PackageLoader("labinacan.site", "templates"),
104
+ ]
105
+ ),
103
106
  autoescape=select_autoescape(["html"]),
104
107
  undefined=StrictUndefined,
105
108
  trim_blocks=True,
106
109
  lstrip_blocks=True,
107
110
  )
108
- env.filters["pct"] = lambda v: "—" if v is None else f"{100 * v:.0f}%"
109
- env.filters["pct_fine"] = _pct_fine
110
- env.filters["num"] = lambda v, d=3: "—" if v is None else f"{v:.{d}f}"
111
- env.filters["thousands"] = lambda v: "?" if v is None else f"{v:,}"
112
- # p-values below 0.001 would round to 0.000, so show them in scientific notation.
113
- env.filters["pval"] = lambda v: "—" if v is None else f"{v:.3f}" if v >= 0.001 else f"{v:.1e}"
111
+ number_filters(env) # pct, pct_fine, num, thousands and pval
114
112
  env.globals["roles"] = ROLES
115
113
  env.globals["charts"] = charts # page-level charts: the layer map
116
114
  env.globals["pieces"] = pieces # the pieces bars of a model and of a layer
@@ -127,20 +125,6 @@ def _environment(grid_scale: int = 1) -> Environment:
127
125
  return env
128
126
 
129
127
 
130
- def _pct_fine(v: float | None) -> str:
131
- """A signed percentage with two significant figures, so 1 in 100k isn't shown as 0%."""
132
- if v is None:
133
- return "—"
134
- if v == 0:
135
- return "0%"
136
- decimals = max(0, 1 - math.floor(math.log10(100 * abs(v))))
137
- return f"{100 * v:.{decimals}f}%"
138
-
139
-
140
- def _root_for(rel_path: str) -> str:
141
- return "../" * (len(Path(rel_path).parts) - 1)
142
-
143
-
144
128
  # Detection outcomes, the explanation's mistakes first.
145
129
  OUTCOMES = {
146
130
  (True, False): "missed",
@@ -197,15 +181,6 @@ OWNED_PATHS = ("index.html", "about.html", "learned-baseline.html", "models", "a
197
181
  "neurons", "research", "posts", "data", "pagefind") # fmt: skip
198
182
 
199
183
 
200
- def _clean_owned_paths(output_dir: Path) -> None:
201
- for name in OWNED_PATHS:
202
- path = output_dir / name
203
- if path.is_dir():
204
- shutil.rmtree(path)
205
- elif path.exists():
206
- path.unlink()
207
-
208
-
209
184
  def _experiment_view(
210
185
  e: Experiment, studied: set[str], rows: dict | None = None, circuit: str | None = None
211
186
  ) -> dict:
@@ -325,7 +300,7 @@ def compile_site(
325
300
  ``coverage_rows`` (``builder.coverage.load_rows``) give each model page its coverage.
326
301
  """
327
302
  rows, output_dir = wiring_rows or {}, Path(output_dir)
328
- _clean_owned_paths(output_dir)
303
+ clean_owned(output_dir, OWNED_PATHS)
329
304
  output_dir.mkdir(parents=True, exist_ok=True)
330
305
 
331
306
  models = build_tree(records, errata, users, archive and archive.claims)
@@ -336,7 +311,7 @@ def compile_site(
336
311
  hand_over(records, experiments, archive and archive.paths) # each slim record's file
337
312
  # Statistics read the true text: build_tree counts near-duplicate probes, and the queries
338
313
  # group readings by explanation. Only what the site publishes is scrubbed. The two
339
- # exports run in the background while the pages render (labinacan/site/parallel.py).
314
+ # exports run in the background while the pages render (labinacan.site.parallel).
340
315
  stats_result = in_background(lambda: _true_text_stats(experiments, draws, corpus_sources), jobs)
341
316
  scrub_experiments(experiments) # what the pages show: the record and its errata notes
342
317
  parquet = in_background(lambda: export_registry(experiments, output_dir, corpus_sources), jobs)
@@ -345,7 +320,7 @@ def compile_site(
345
320
 
346
321
  common = _site_context(site_title, corpus_sources, experiments, pending)
347
322
  common |= model_page_extras(coverage_rows or {}, explanations, circuits or {}, concept_map)
348
- render = _Renderer(_environment(pieces.grid_scale(models)), output_dir, common, report, jobs)
323
+ render = Renderer(_environment(pieces.grid_scale(models)), output_dir, common, report, jobs)
349
324
  studied = {n.href for m in models for layer in m.layers for n in (*layer.pages, *layer.stopped)}
350
325
  by_unit = stops_by_unit((*draws, *stops))
351
326
  stats = stats_for_pages(render, stats_result(), explanations) # the model pages use it
@@ -382,7 +357,7 @@ def _render_agents(render, experiments, output_dir, report) -> list:
382
357
  for agent in agents:
383
358
  render(agent.href, "agent.html", agent=agent)
384
359
  for old, new in legacy_redirects(agents).items():
385
- _write_redirect(output_dir / old, Path(new).name, report)
360
+ write_redirect(output_dir / old, Path(new).name, report)
386
361
  return agents
387
362
 
388
363
 
@@ -408,6 +383,7 @@ def _site_context(site_title: str, corpus_sources: dict | None, experiments, pen
408
383
  return {
409
384
  **project_links(),
410
385
  "site_title": site_title,
386
+ "home_label": "Registry", # the first step of each page's breadcrumb (#6631)
411
387
  "corpus_sources": corpus_sources or {}, # for records with no corpus_source of their own
412
388
  "model_licenses": configured_licenses(),
413
389
  "version": __version__,
@@ -418,40 +394,8 @@ def _site_context(site_title: str, corpus_sources: dict | None, experiments, pen
418
394
  }
419
395
 
420
396
 
421
- def _write_redirect(out: Path, target: str, report: BuildReport) -> None:
422
- """A page that used to live at ``out`` and now lives at ``target`` (relative to it)."""
423
- out.parent.mkdir(parents=True, exist_ok=True)
424
- out.write_text(
425
- f'<!doctype html><meta charset="utf-8"><title>Moved</title>'
426
- f'<link rel="canonical" href="{target}"><meta name="robots" content="noindex">'
427
- f'<meta http-equiv="refresh" content="0; url={target}">'
428
- f'<p>This page moved to <a href="{target}">{target}</a>.</p>\n'
429
- )
430
- report.pages.append(out)
431
-
432
-
433
- @dataclass
434
- class _Renderer:
435
- """Renders a template to a path under the output dir, with the site-wide context."""
436
-
437
- env: Environment
438
- output_dir: Path
439
- common: dict
440
- report: BuildReport
441
- jobs: int = 1 # worker processes for the unit pages (labinacan/site/parallel.py)
442
-
443
- def __call__(self, rel: str, template: str, **context) -> None:
444
- out = self.output_dir / rel
445
- out.parent.mkdir(parents=True, exist_ok=True)
446
- page = self.env.get_template(template)
447
- url = self.common["site_url"] + rel
448
- html = page.render(**self.common, root=_root_for(rel), canonical=url, **context)
449
- out.write_text(add_contents(html)) # ids on headings, and contents on a long page
450
- self.report.pages.append(out)
451
-
452
-
453
397
  def _render_model(
454
- render: _Renderer,
398
+ render: Renderer,
455
399
  model,
456
400
  rows: dict,
457
401
  studied: set,
@@ -6,6 +6,7 @@ python -m openinterpretability.builder.css --site dist
6
6
  from __future__ import annotations
7
7
 
8
8
  from labinacan.site import css
9
+
9
10
  from openinterpretability.builder import palette
10
11
  from openinterpretability.core.legacy_names import cache_base
11
12
 
@@ -1,6 +1,6 @@
1
1
  """The figures of an explanation page, drawn at build time from the record's data (#4479).
2
2
 
3
- They use the paper figures' system (:mod:`openinterpretability.figures`). Each figure is
3
+ They use the paper figures' system (:mod:`labinacan.figures`). Each figure is
4
4
  its own SVG file next to the page. An animated one also has a static copy, which shows its
5
5
  last frame. The page's button swaps the two, and reduced motion stops the animation too.
6
6
  No figure rests on colour alone. A status is a marker's shape, a kind of unit is a fill
@@ -20,8 +20,8 @@ from __future__ import annotations
20
20
 
21
21
  from dataclasses import dataclass, field
22
22
 
23
- from openinterpretability.figures.motion import reveal
24
- from openinterpretability.figures.svg import WIDTH, Figure, Panel, number
23
+ from labinacan.figures.motion import reveal
24
+ from labinacan.figures.svg import WIDTH, Figure, Panel, number
25
25
 
26
26
  STATIC = "*{animation:none!important}" # the static copy: every mark at its resting frame
27
27
  CYCLE = "9s"
@@ -249,6 +249,7 @@ def load_views(wiki_dir: Path, states: dict | None = None) -> list[PromptView]:
249
249
  text is scrubbed of personal data, as the site publishes it.
250
250
  """
251
251
  from labinacan.site.pii import scrub
252
+
252
253
  from openinterpretability.core.answer_records import load_paths as load_answers
253
254
  from openinterpretability.core.explanation_records import load_all
254
255
  from openinterpretability.planner import load_states
@@ -260,7 +261,7 @@ def load_views(wiki_dir: Path, states: dict | None = None) -> list[PromptView]:
260
261
  prompts = []
261
262
  for records in found.values():
262
263
  # What the site publishes is scrubbed of personal data and takedowns, as for
263
- # experiments (labinacan/site/pii.py, #4750).
264
+ # experiments (labinacan.site.pii, #4750).
264
265
  views = [_view(path, scrub(record), states, wiki_dir) for path, record in records]
265
266
  by_id = {v.record.id: v for v in views}
266
267
  for v in views:
@@ -316,7 +317,7 @@ def render_explanations(
316
317
  pages: The unit pages that the build writes. A unit with no page gets no link
317
318
  (#5727). None links every unit, as a test with no unit pages needs.
318
319
  """
319
- from openinterpretability.builder.compiler import _write_redirect
320
+ from labinacan.site.render import write_redirect
320
321
 
321
322
  if not prompts:
322
323
  return
@@ -324,7 +325,7 @@ def render_explanations(
324
325
  for prompt in prompts:
325
326
  render(prompt.href, "explanation_prompt.html", prompt=prompt)
326
327
  old = render.output_dir / prompt.legacy_href
327
- _write_redirect(old, f"../../{prompt.href}", render.report)
328
+ write_redirect(old, f"../../{prompt.href}", render.report)
328
329
  for answer in prompt.answers: # one page per answer experiment (#4909)
329
330
  answer.pages = pages
330
331
  from openinterpretability.builder.route_figures import route3d
@@ -1,42 +1,21 @@
1
- """The site's sitemap, its feed of new VERIFIED units and its ``robots.txt`` (#3285).
1
+ """The site's feed of new VERIFIED units, beside labinacan's sitemap and ``robots.txt`` (#3285).
2
2
 
3
- Each file comes from the data, never the clock. So an unchanged registry rebuilds them
4
- byte for byte, and the deploy uploads (and purges) nothing.
3
+ The feed comes from the records, never the clock. So an unchanged registry rebuilds it byte
4
+ for byte, and the deploy uploads (and purges) nothing. ``labinacan.site.feeds`` writes
5
+ the sitemap and ``robots.txt`` (#6628).
5
6
  """
6
7
 
7
8
  from __future__ import annotations
8
9
 
9
- import re
10
10
  from collections.abc import Sequence
11
11
  from datetime import UTC
12
- from pathlib import Path
13
12
  from xml.sax.saxutils import escape
14
13
 
14
+ from labinacan.site.feeds import write_site_files
15
+
15
16
  from openinterpretability.builder.experiment import Experiment
16
17
 
17
18
  FEED_ENTRIES = 50
18
- # The sitemap protocol allows at most this many URLs in one file.
19
- SITEMAP_LIMIT = 50_000
20
- # Any robots meta that says noindex: a redirect's, or a draft post's "noindex, nofollow".
21
- NOINDEX = re.compile(r'<meta name="robots" content="[^"]*\bnoindex\b')
22
-
23
-
24
- def sitemap(pages: Sequence[Path], output_dir: Path, site_url: str) -> str:
25
- """The sitemap of ``pages``, the HTML files the build wrote, without the redirects."""
26
- urls = []
27
- for page in sorted({p for p in pages if p.suffix == ".html"}):
28
- if NOINDEX.search(page.read_text(encoding="utf-8", errors="replace")):
29
- continue # a redirect to a page that moved, or a draft post (#5551)
30
- rel = page.relative_to(output_dir).as_posix()
31
- urls.append(site_url + ("" if rel == "index.html" else rel))
32
- if len(urls) > SITEMAP_LIMIT:
33
- raise ValueError(f"{len(urls)} pages: split the sitemap, which holds {SITEMAP_LIMIT}")
34
- body = "".join(f" <url><loc>{escape(url)}</loc></url>\n" for url in urls)
35
- return (
36
- '<?xml version="1.0" encoding="UTF-8"?>\n'
37
- '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n'
38
- f"{body}</urlset>\n"
39
- )
40
19
 
41
20
 
42
21
  def _when(experiment: Experiment) -> str:
@@ -75,6 +54,5 @@ def feed(experiments: Sequence[Experiment], site_url: str, site_title: str) -> s
75
54
  def write_feeds(report, experiments: Sequence[Experiment], common: dict) -> None:
76
55
  """Write ``sitemap.xml``, ``feed.xml`` and ``robots.txt`` in the build's output dir."""
77
56
  out, url = report.output_dir, common["site_url"]
78
- (out / "sitemap.xml").write_text(sitemap(report.pages, out, url), encoding="utf-8")
79
- (out / "feed.xml").write_text(feed(experiments, url, common["site_title"]), encoding="utf-8")
80
- (out / "robots.txt").write_text(f"User-agent: *\nAllow: /\nSitemap: {url}sitemap.xml\n")
57
+ write_site_files(out, report.pages, url)
58
+ (out / "feed.xml").write_bytes(feed(experiments, url, common["site_title"]).encode())
@@ -9,7 +9,7 @@ and that badge text stays readable on each fill.
9
9
  The pole colours are Tailwind's orange-600 and sky-600, already a safe pair.
10
10
 
11
11
  Templates use them as Tailwind colours (``status-verified``, ``pole-positive``,
12
- ``brand-700``). ``labinacan/site/css.py`` adds them to Tailwind's config from
12
+ ``brand-700``). ``labinacan.site.css`` adds them to Tailwind's config from
13
13
  :func:`tailwind_colors`. The token heatmaps use :data:`POLE_RGB`.
14
14
  """
15
15
 
@@ -31,16 +31,9 @@ BRAND_HEX = {
31
31
  500: "#10b981", 600: "#059669", 700: "#047857", 800: "#065f46", 900: "#064e3b",
32
32
  950: "#022c22",
33
33
  } # fmt: skip
34
- # The mark's colours: the model layouts' own yellow, orange and blue (#4465). VERIFIED's blue
35
- # is too dark for the dark tile, so the blue is the negative pole's sky. They differ in
36
- # lightness as well as hue, and none is a green.
37
- MARK_HEX = {
38
- "yellow": STATUS_HEX["NEEDS_REVISION"],
39
- "orange": STATUS_HEX["REJECTED"],
40
- "blue": POLE_HEX["negative"],
41
- }
42
- MARK_TILE = "#0F172A" # Tailwind's slate-900: the mark's tile
43
- INK = {"light": "#0F172A", "dark": "#F8FAFC"} # the wordmark: slate-900, and slate-50 in dark mode
34
+ # The mark's colours and its tile are the brand's, in pyproject.toml's
35
+ # [tool.labinacan.brand] (#6629). tests/test_brand.py checks that the mark's colours are the
36
+ # layouts' own.
44
37
  # Light and dark page surfaces (base.html: bg-white, dark:bg-slate-950).
45
38
  SURFACES = {"light": "#FFFFFF", "dark": "#020617"}
46
39