open-interpretability 0.4.2__tar.gz → 0.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (451) hide show
  1. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/CHANGELOG.md +87 -0
  2. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/PKG-INFO +1 -1
  3. open_interpretability-0.6.0/labinacan/__init__.py +7 -0
  4. open_interpretability-0.6.0/labinacan/cache.py +27 -0
  5. open_interpretability-0.6.0/labinacan/cli.py +213 -0
  6. open_interpretability-0.6.0/labinacan/config.py +254 -0
  7. open_interpretability-0.6.0/labinacan/data/__init__.py +1 -0
  8. open_interpretability-0.6.0/labinacan/errors.py +9 -0
  9. {open_interpretability-0.4.2/openinterpretability/harness → open_interpretability-0.6.0/labinacan}/progress.py +6 -4
  10. {open_interpretability-0.4.2/openinterpretability → open_interpretability-0.6.0/labinacan}/sensitive.py +24 -13
  11. open_interpretability-0.6.0/labinacan/site/__init__.py +1 -0
  12. open_interpretability-0.6.0/labinacan/site/brand.py +143 -0
  13. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/changelog_page.py +3 -3
  14. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/css.py +40 -21
  15. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/disk_memo.py +8 -10
  16. open_interpretability-0.6.0/labinacan/site/feeds.py +76 -0
  17. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/fonts/README.md +1 -1
  18. open_interpretability-0.6.0/labinacan/site/github.py +158 -0
  19. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/literature_map_view.py +3 -3
  20. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/literature_pages.py +9 -5
  21. open_interpretability-0.6.0/labinacan/site/palette.py +63 -0
  22. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/paper_pdf.py +4 -2
  23. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/parallel.py +24 -6
  24. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/pii.py +61 -96
  25. open_interpretability-0.6.0/labinacan/site/render.py +159 -0
  26. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/research.py +8 -8
  27. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/research_feeds.py +17 -13
  28. open_interpretability-0.6.0/labinacan/site/sections.py +110 -0
  29. {open_interpretability-0.4.2/openinterpretability/core → open_interpretability-0.6.0/labinacan/site}/takedowns.py +8 -10
  30. open_interpretability-0.6.0/labinacan/site/templates/_site_macros.html +27 -0
  31. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/templates/changelog.html +1 -1
  32. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/templates/literature.html +1 -1
  33. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/templates/paper.html +1 -1
  34. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/templates/paper_print.html +2 -2
  35. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/templates/posts.html +1 -1
  36. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/templates/research.html +2 -2
  37. open_interpretability-0.4.2/openinterpretability/builder/templates/base.html → open_interpretability-0.6.0/labinacan/site/templates/site_base.html +9 -44
  38. {open_interpretability-0.4.2/openinterpretability → open_interpretability-0.6.0/labinacan}/social/feed.py +3 -1
  39. {open_interpretability-0.4.2/openinterpretability → open_interpretability-0.6.0/labinacan}/social/links.py +2 -2
  40. {open_interpretability-0.4.2/openinterpretability → open_interpretability-0.6.0/labinacan}/social/message.py +4 -4
  41. {open_interpretability-0.4.2/openinterpretability → open_interpretability-0.6.0/labinacan}/social/poster.py +4 -2
  42. {open_interpretability-0.4.2/openinterpretability → open_interpretability-0.6.0/labinacan}/social/run.py +3 -3
  43. {open_interpretability-0.4.2/openinterpretability → open_interpretability-0.6.0/labinacan}/social/thread.py +2 -2
  44. {open_interpretability-0.4.2/openinterpretability/core → open_interpretability-0.6.0/labinacan}/strict.py +2 -6
  45. {open_interpretability-0.4.2/openinterpretability → open_interpretability-0.6.0/labinacan}/sync/__init__.py +2 -2
  46. {open_interpretability-0.4.2/openinterpretability → open_interpretability-0.6.0/labinacan}/sync/r2.py +17 -5
  47. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/__init__.py +7 -1
  48. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/agents/proposer_profiles.py +26 -2
  49. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/agents/reviewer.py +5 -3
  50. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/charts.py +2 -1
  51. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/circuit_pages.py +18 -2
  52. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/circuit_units.py +40 -5
  53. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/compiler.py +22 -78
  54. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/concept_map_view.py +1 -1
  55. open_interpretability-0.6.0/openinterpretability/builder/css.py +19 -0
  56. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/explanation_pages.py +4 -4
  57. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/feeds.py +7 -30
  58. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/heat.py +1 -1
  59. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/hrefs.py +54 -0
  60. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/palette.py +7 -31
  61. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/parquet_export.py +9 -0
  62. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/pending.py +4 -13
  63. open_interpretability-0.6.0/openinterpretability/builder/registry_pii.py +103 -0
  64. open_interpretability-0.6.0/openinterpretability/builder/sections.py +103 -0
  65. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/significance.py +3 -2
  66. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/sister_graph.py +6 -2
  67. open_interpretability-0.6.0/openinterpretability/builder/sister_pages.py +238 -0
  68. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/slim.py +1 -1
  69. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/standing.py +25 -26
  70. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/statuses.py +2 -1
  71. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_answer_verdict.html +1 -1
  72. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_concept_map.html +1 -1
  73. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_dashboard.html +2 -1
  74. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_experiment.html +3 -14
  75. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_experiments.html +2 -1
  76. open_interpretability-0.6.0/openinterpretability/builder/templates/_head_profile.html +27 -0
  77. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_macros.html +2 -28
  78. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_patchscope.html +1 -1
  79. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_prior_art.html +1 -1
  80. open_interpretability-0.6.0/openinterpretability/builder/templates/_record.html +32 -0
  81. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_rivals.html +1 -1
  82. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_specificity.html +1 -1
  83. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_steering.html +1 -1
  84. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_vocab_chart.html +1 -1
  85. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_wiring.html +1 -1
  86. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/answer.html +1 -1
  87. open_interpretability-0.6.0/openinterpretability/builder/templates/base.html +50 -0
  88. open_interpretability-0.6.0/openinterpretability/builder/templates/circuit_experiment.html +83 -0
  89. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/circuit_unit.html +7 -6
  90. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/explanation.html +2 -1
  91. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/index.html +2 -1
  92. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/model.html +6 -4
  93. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/neuron.html +4 -3
  94. open_interpretability-0.6.0/openinterpretability/builder/templates/sister_match.html +78 -0
  95. open_interpretability-0.6.0/openinterpretability/builder/templates/sisters.html +34 -0
  96. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/wiki/experiment.md +3 -0
  97. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/users.py +7 -57
  98. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli.py +7 -54
  99. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_build.py +2 -2
  100. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_explain.py +3 -3
  101. open_interpretability-0.6.0/openinterpretability/core/cache_dirs.py +25 -0
  102. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/confounds.py +4 -1
  103. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/exceptions.py +2 -2
  104. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/paths.py +5 -0
  105. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/profiles.py +41 -0
  106. open_interpretability-0.6.0/openinterpretability/core/project.py +13 -0
  107. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/schemas.py +1 -1
  108. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/stats.py +27 -13
  109. open_interpretability-0.6.0/openinterpretability/core/strict.py +13 -0
  110. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/draw_steps.py +29 -2
  111. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/evidence.py +5 -4
  112. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/experiment_loop.py +2 -0
  113. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain.py +1 -1
  114. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_coverage.py +1 -1
  115. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explanation_targets.py +30 -3
  116. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/circuit_measures.py +1 -1
  117. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/heads.py +29 -2
  118. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/input_attribution.py +1 -1
  119. open_interpretability-0.6.0/openinterpretability/harness/ov_lens.py +187 -0
  120. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/scan.py +2 -2
  121. open_interpretability-0.6.0/openinterpretability/loop_sessions.py +266 -0
  122. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/planner.py +11 -13
  123. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/planner_claims.py +4 -3
  124. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/sisters.py +8 -4
  125. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/takedown_checks.py +4 -4
  126. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/pyproject.toml +55 -7
  127. open_interpretability-0.4.2/openinterpretability/builder/brand.py +0 -82
  128. open_interpretability-0.4.2/openinterpretability/builder/sections.py +0 -143
  129. open_interpretability-0.4.2/openinterpretability/cli_social.py +0 -108
  130. open_interpretability-0.4.2/openinterpretability/core/cache_dirs.py +0 -16
  131. open_interpretability-0.4.2/openinterpretability/core/project.py +0 -65
  132. open_interpretability-0.4.2/openinterpretability/loop_sessions.py +0 -125
  133. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/.gitignore +0 -0
  134. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/CITATION.cff +0 -0
  135. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/LICENSE +0 -0
  136. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/README.md +0 -0
  137. {open_interpretability-0.4.2/openinterpretability → open_interpretability-0.6.0/labinacan}/data/offensive_words.txt +0 -0
  138. {open_interpretability-0.4.2/openinterpretability → open_interpretability-0.6.0/labinacan}/data/public_suffix_list.dat +0 -0
  139. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/alphaxiv.py +0 -0
  140. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/cluster_map.py +0 -0
  141. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/contents.py +0 -0
  142. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/fonts/GUST-FONT-LICENSE.txt +0 -0
  143. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/fonts/OFL.txt +0 -0
  144. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/fonts/cmu-serif-500-italic.woff2 +0 -0
  145. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/fonts/cmu-serif-500-roman.woff2 +0 -0
  146. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/fonts/cmu-serif-700-italic.woff2 +0 -0
  147. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/fonts/cmu-serif-700-roman.woff2 +0 -0
  148. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/fonts/cmu-typewriter-text-500-roman.woff2 +0 -0
  149. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/fonts/latinmodern-math.otf +0 -0
  150. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/maths.py +0 -0
  151. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/social_media.py +0 -0
  152. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/templates/_map_theme.html +0 -0
  153. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/templates/_prose.html +0 -0
  154. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/templates/post.html +0 -0
  155. {open_interpretability-0.4.2/openinterpretability/builder → open_interpretability-0.6.0/labinacan/site}/templates/redirect.html +0 -0
  156. {open_interpretability-0.4.2/openinterpretability → open_interpretability-0.6.0/labinacan}/social/__init__.py +0 -0
  157. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/agents/__init__.py +0 -0
  158. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/agents/base.py +0 -0
  159. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/agents/judge.py +0 -0
  160. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/agents/narrator.py +0 -0
  161. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/agents/probe_hints.py +0 -0
  162. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/agents/proposer.py +0 -0
  163. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/agents/review_measurements.py +0 -0
  164. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/agreement.py +0 -0
  165. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/answer_lens.py +0 -0
  166. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/answer_prompts.py +0 -0
  167. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/answer_readings.py +0 -0
  168. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/answer_review.py +0 -0
  169. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/audit_options.py +0 -0
  170. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/baseline.py +0 -0
  171. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/benchmark.py +0 -0
  172. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/blends.py +0 -0
  173. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/__init__.py +0 -0
  174. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/agents.py +0 -0
  175. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/aligned.py +0 -0
  176. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/brand/logo.svg +0 -0
  177. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/brand/mark-32.png +0 -0
  178. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/brand/mark.svg +0 -0
  179. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/brand/og.png +0 -0
  180. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/circuits.py +0 -0
  181. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/corpora.py +0 -0
  182. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/coverage.py +0 -0
  183. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/dashboard.py +0 -0
  184. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/draws_export.py +0 -0
  185. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/experiment.py +0 -0
  186. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/explanation_figures.py +0 -0
  187. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/learned_baseline.py +0 -0
  188. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/model_facts.py +0 -0
  189. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/neuronpedia_export.py +0 -0
  190. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/pieces.py +0 -0
  191. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/recent.py +0 -0
  192. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/registry_stats.py +0 -0
  193. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/route_figures.py +0 -0
  194. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/stopped.py +0 -0
  195. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/stops.py +0 -0
  196. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/superpositions.py +0 -0
  197. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/taxonomy_view.py +0 -0
  198. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_agent_role_cells.html +0 -0
  199. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_causal_chart.html +0 -0
  200. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_circuit.html +0 -0
  201. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_embedding3d.html +0 -0
  202. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_figure.html +0 -0
  203. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_figure_pause.html +0 -0
  204. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_gas3d.html +0 -0
  205. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_members.html +0 -0
  206. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_route3d.html +0 -0
  207. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_route3d_waves.html +0 -0
  208. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_route_row.html +0 -0
  209. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_superposition.html +0 -0
  210. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/_taxonomy.html +0 -0
  211. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/about.html +0 -0
  212. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/agent.html +0 -0
  213. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/agents.html +0 -0
  214. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/atlas.html +0 -0
  215. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/circuit.html +0 -0
  216. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/circuits.html +0 -0
  217. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/experiment.html +0 -0
  218. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/explanation_prompt.html +0 -0
  219. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/explanations.html +0 -0
  220. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/hub.html +0 -0
  221. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/layer.html +0 -0
  222. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/learned-baseline.html +0 -0
  223. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/models.html +0 -0
  224. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/superposition.html +0 -0
  225. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/user.html +0 -0
  226. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/wiki/index.md +0 -0
  227. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/wiki/neuron.md +0 -0
  228. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/templates/wiki/stop.md +0 -0
  229. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/tree.py +0 -0
  230. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/builder/wiki.py +0 -0
  231. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/checks.py +0 -0
  232. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/circuit_checks.py +0 -0
  233. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/circuit_ids.py +0 -0
  234. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/circuit_review.py +0 -0
  235. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/claude_sessions.py +0 -0
  236. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_answers.py +0 -0
  237. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_baseline.py +0 -0
  238. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_benchmark.py +0 -0
  239. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_check.py +0 -0
  240. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_circuits.py +0 -0
  241. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_claude_session.py +0 -0
  242. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_concepts.py +0 -0
  243. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_corpus.py +0 -0
  244. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_costs.py +0 -0
  245. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_coverage.py +0 -0
  246. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_crossref.py +0 -0
  247. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_errata.py +0 -0
  248. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_evidence.py +0 -0
  249. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_evidence_store.py +0 -0
  250. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_interference.py +0 -0
  251. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_loop.py +0 -0
  252. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_map.py +0 -0
  253. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_memory.py +0 -0
  254. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_model_check.py +0 -0
  255. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_neuronpedia.py +0 -0
  256. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_patch.py +0 -0
  257. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_pause.py +0 -0
  258. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_pole_effects.py +0 -0
  259. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_probing.py +0 -0
  260. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_provider.py +0 -0
  261. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_query.py +0 -0
  262. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_registry.py +0 -0
  263. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_reproduce.py +0 -0
  264. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_review.py +0 -0
  265. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_scan.py +0 -0
  266. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_score.py +0 -0
  267. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_sisters.py +0 -0
  268. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_submission.py +0 -0
  269. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_superpositions.py +0 -0
  270. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/cli_wiring.py +0 -0
  271. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/codeid.py +0 -0
  272. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/concept_map.py +0 -0
  273. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/concept_regions.py +0 -0
  274. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/concepts.py +0 -0
  275. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/__init__.py +0 -0
  276. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/agent_names.py +0 -0
  277. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/answer_records.py +0 -0
  278. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/attribution.py +0 -0
  279. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/causal.py +0 -0
  280. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/circuit_records.py +0 -0
  281. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/contributors.py +0 -0
  282. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/corpora.py +0 -0
  283. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/costs.py +0 -0
  284. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/draws.py +0 -0
  285. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/errata.py +0 -0
  286. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/evidence.py +0 -0
  287. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/examples.py +0 -0
  288. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/explanation.py +0 -0
  289. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/explanation_records.py +0 -0
  290. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/fence.py +0 -0
  291. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/heavy_lock.py +0 -0
  292. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/identifiers.py +0 -0
  293. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/isolation.py +0 -0
  294. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/ledger.py +0 -0
  295. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/legacy_names.py +0 -0
  296. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/licenses.py +0 -0
  297. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/manifold.py +0 -0
  298. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/partners.py +0 -0
  299. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/patchscope.py +0 -0
  300. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/pause.py +0 -0
  301. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/pricing.py +0 -0
  302. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/prior_art.py +0 -0
  303. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/probing.py +0 -0
  304. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/record_kinds.py +0 -0
  305. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/rivals.py +0 -0
  306. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/run_environment.py +0 -0
  307. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/specificity.py +0 -0
  308. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/steering.py +0 -0
  309. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/taxonomy.py +0 -0
  310. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/transcripts.py +0 -0
  311. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/core/wiring.py +0 -0
  312. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/corpus.py +0 -0
  313. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/corpus_cache.py +0 -0
  314. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/corpus_layouts.py +0 -0
  315. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/corpus_presets.py +0 -0
  316. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/corpus_rebuild.py +0 -0
  317. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/coverage.py +0 -0
  318. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/crossref.py +0 -0
  319. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/data/__init__.py +0 -0
  320. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/data/providers.toml +0 -0
  321. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/data/sample_corpus.txt +0 -0
  322. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/embedding_space.py +0 -0
  323. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/errata_checks.py +0 -0
  324. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/evidence_branch.py +0 -0
  325. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/evidence_lenses.py +0 -0
  326. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_backend.py +0 -0
  327. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_confirm.py +0 -0
  328. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_corpus.py +0 -0
  329. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_figure_data.py +0 -0
  330. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_groups.py +0 -0
  331. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_land.py +0 -0
  332. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_narrate.py +0 -0
  333. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_output.py +0 -0
  334. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_plan.py +0 -0
  335. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_print.py +0 -0
  336. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_reuse.py +0 -0
  337. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_run.py +0 -0
  338. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_share.py +0 -0
  339. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explain_stopped.py +0 -0
  340. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/explanation_registry.py +0 -0
  341. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/figures/__init__.py +0 -0
  342. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/figures/motion.py +0 -0
  343. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/figures/svg.py +0 -0
  344. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/half_precision.py +0 -0
  345. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/__init__.py +0 -0
  346. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/ane/__init__.py +0 -0
  347. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/ane/backend.py +0 -0
  348. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/ane/cache.py +0 -0
  349. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/ane/chunks.py +0 -0
  350. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/ane/convert.py +0 -0
  351. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/ane/forward.py +0 -0
  352. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/ane/qualified.py +0 -0
  353. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/annotations.py +0 -0
  354. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/attribution.py +0 -0
  355. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/causal.py +0 -0
  356. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/confounds.py +0 -0
  357. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/covariance.py +0 -0
  358. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/cpu_speed.py +0 -0
  359. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/crossref.py +0 -0
  360. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/cuda_devices.py +0 -0
  361. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/dead.py +0 -0
  362. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/devices.py +0 -0
  363. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/dictionaries.py +0 -0
  364. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/dreaming.py +0 -0
  365. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/environment.py +0 -0
  366. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/explanation_scores.py +0 -0
  367. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/features.py +0 -0
  368. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/first_position.py +0 -0
  369. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/hooks.py +0 -0
  370. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/jlens.py +0 -0
  371. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/layer_cache.py +0 -0
  372. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/layer_major.py +0 -0
  373. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/lookahead.py +0 -0
  374. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/manifold.py +0 -0
  375. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/memory.py +0 -0
  376. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/moe.py +0 -0
  377. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/patcher.py +0 -0
  378. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/patchscope.py +0 -0
  379. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/prepare.py +0 -0
  380. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/probing.py +0 -0
  381. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/scan_backend.py +0 -0
  382. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/sister_passes.py +0 -0
  383. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/sisters.py +0 -0
  384. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/sites.py +0 -0
  385. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/specificity.py +0 -0
  386. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/steering.py +0 -0
  387. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/superpositions.py +0 -0
  388. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/units.py +0 -0
  389. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/wiring.py +0 -0
  390. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/harness/wiring_activations.py +0 -0
  391. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/hubs.py +0 -0
  392. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/interference/__init__.py +0 -0
  393. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/interference/behaviour.py +0 -0
  394. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/interference/fisher.py +0 -0
  395. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/interference/floors.py +0 -0
  396. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/interference/keep.py +0 -0
  397. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/interference/pruning.py +0 -0
  398. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/interference/report.py +0 -0
  399. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/interference/routes.py +0 -0
  400. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/interference/run.py +0 -0
  401. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/interference/template.py +0 -0
  402. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/interference/tuning.py +0 -0
  403. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/interference/units.py +0 -0
  404. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/inverse_claims.py +0 -0
  405. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/langid.py +0 -0
  406. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/loop_bugs.py +0 -0
  407. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/loop_local.py +0 -0
  408. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/loop_pending.py +0 -0
  409. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/mcp_server.py +0 -0
  410. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/model_check.py +0 -0
  411. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/model_revisions.py +0 -0
  412. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/names.py +0 -0
  413. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/neuronpedia_baseline.py +0 -0
  414. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/neuronpedia_review.py +0 -0
  415. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/partner_context.py +0 -0
  416. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/patches/__init__.py +0 -0
  417. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/patches/apply.py +0 -0
  418. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/patches/gates.py +0 -0
  419. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/patches/graph.py +0 -0
  420. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/patches/history.py +0 -0
  421. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/patches/schema.py +0 -0
  422. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/patches/session.py +0 -0
  423. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/patches/store.py +0 -0
  424. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/patches/tensors.py +0 -0
  425. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/planner_circuits.py +0 -0
  426. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/planner_effects.py +0 -0
  427. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/planner_explanations.py +0 -0
  428. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/planner_heads.py +0 -0
  429. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/planner_models.py +0 -0
  430. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/planner_sisters.py +0 -0
  431. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/planner_states.py +0 -0
  432. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/planner_superpositions.py +0 -0
  433. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/pole_effects.py +0 -0
  434. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/prior_art.py +0 -0
  435. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/providers.py +0 -0
  436. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/registry_query.py +0 -0
  437. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/reproduce.py +0 -0
  438. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/reproduce_explanation.py +0 -0
  439. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/reproduce_policy.py +0 -0
  440. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/revision.py +0 -0
  441. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/runner_cache.py +0 -0
  442. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/score_controls.py +0 -0
  443. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/show.py +0 -0
  444. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/signing.py +0 -0
  445. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/superposition_finders.py +0 -0
  446. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/syntax.py +0 -0
  447. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/toxicity.py +0 -0
  448. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/until_verified.py +0 -0
  449. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/verdict_regression.py +0 -0
  450. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/wiring_backfill.py +0 -0
  451. {open_interpretability-0.4.2 → open_interpretability-0.6.0}/openinterpretability/wordnet.py +0 -0
@@ -13,6 +13,93 @@ Changes waiting for the next release are files in [changelog.d/](changelog.d/REA
13
13
 
14
14
  ## [Unreleased]
15
15
 
16
+ ## [0.6.0] - 2026-11-26
17
+
18
+ Ships with protocol version **0.10**.
19
+
20
+ ### Added
21
+
22
+ - `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`.
23
+ - **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.
24
+ - 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.
25
+ - 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.
26
+ - **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.
27
+ - `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.
28
+ - *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).
29
+ - **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).
30
+ - 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).
31
+
32
+ ### Changed
33
+
34
+ - **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.
35
+ - **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.
36
+ - **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.
37
+ - **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.
38
+ - **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".
39
+ - **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.
40
+ - 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.
41
+ - **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.
42
+ - **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.
43
+ - `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.
44
+ - **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.
45
+ - 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`.
46
+ - 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.
47
+ - **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.
48
+ - **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.
49
+ - **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.
50
+ - **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.
51
+
52
+ ### Fixed
53
+
54
+ - **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.
55
+
56
+ ## [0.5.0] - 2026-11-24
57
+
58
+ Ships with protocol version **0.10**.
59
+
60
+ ### Added
61
+
62
+ - `scripts/train_resting.py --spread-bins` also records the output's push per token in each bin of h. Five GELU norm conditions mirror the ReLU ones. *Why training rests neurons below GELU's dip* gains Table 23. For GELU and SiLU, the output's push points up below the rest. It still does when no norm and no dropout can see a constant (#3193).
63
+ - *Why training rests neurons below GELU's dip* gains Table 24: the gaps between Pythia's checkpoints don't explain its weak push. One densely saved run per seed, read at Pythia's spacing, still shows the push in 67%–87% of checkpoints and layers, against Pythia-70m's 43%. `pretrained_push.py small --step` reads a subset of a run's checkpoints (#4093).
64
+ - Head scans read each head's OV circuit through the vocabulary, from the weights alone (`HeadProfile.ov_lens`). The lens gives a copying score from the circuit's eigenvalues. It also gives the share of tokens that the head copies or suppresses. It maps each top example's attended token to the tokens that the head writes most. The proposer's prompt, the experiment page and the Parquet export show the lens. It is reported, not gated (#5062).
65
+ - `scripts/base_instruct_cka.py` gives each layer's linear CKA between a base model and its instruct model, raw and standardised, against a random-weights null. It also swaps each third of the blocks back to the base model and correlates the poles again. On Qwen2.5-0.5B, the whole layer changes a little, most in the middle third. That change comes partly through the earlier blocks (`docs/analyses/base-instruct.md`, #5127).
66
+ - `scripts/base_instruct_delta.py` reads the weight change of instruction tuning at each pole, and tests it against whether the pole's explanation keeps. On Qwen2.5-0.5B neither measure predicts it beyond depth: AUROCs of 0.60–0.62 fall to p of 0.32–0.82 when the labels are shuffled within each layer. The change is high-rank, and spread over almost every neuron (`docs/analyses/base-instruct.md`, #5133).
67
+ - `scripts/dormant_rank.py` measures dormant and never-firing poles, and each MLP layer's effective rank, at Pythia-70m's 20 checkpoints. `papers/neuron-development/` reports it in *Do the layers lose plasticity?*. The deeper layers collapse early and recover, then slowly lose rank after step 4,000, but almost no pole becomes dormant (#5134).
68
+ - `papers/instruct-difference/` and `scripts/base_instruct_patch.py` patch each layer's VERIFIED poles between Qwen2.5-0.5B and its instruct model on 128 chat conversations. Inside one layer, the VERIFIED poles close a median 0.2% of the base-to-instruct gap, about as much as random poles of the same number (#5140).
69
+ - A literature review of Li et al. (2026), which turns a trained attention network into a hard-logic predicate circuit (`docs/literature/hard-logic-predicate-circuit.md`, #5366).
70
+ - `docs/literature/general-progress-substitutes.md` reviews Marosi and Antal (2026). Withholding a skill's training data only delays the skill, and its acquisition cost is the measure that #6524 needs (#5515).
71
+ - CI runs mutation testing on the package files that a pull request changes. A surviving mutant fails the job, and the job summary lists it. The maintainer's PRs skip the job, because the maintainer runs it before opening them. Wiki-only PRs skip it too. A second job, *Mutation testing ran locally*, fails a maintainer PR that changes package code unless its body records a local run with no survivor. The `work-an-issue`, `next-issue` and `release` skills say when to run it (#5857).
72
+ - `make mutation BASE=origin/main` runs only the mutants in the functions that the branch changes, at most 100 of them, a seeded sample. On #6459's five files that is 7.7 minutes, against about an hour for the whole files (#5857).
73
+ - mutmut 3.8.1 is in the `dev` dependency group, so `make mutation` and CI need no `--with` (#5857).
74
+ - `papers/conformal-line/` and `scripts/conformal_line.py` give each of the 784 VERIFIED poles a split-conformal activation line. The fixed line fires on a median 0.7% to 23% of corpus windows, by model. At α = 0.05, 451 of the 784 explanations still pass their probe gates. The probes predicted quiet fire far above α in Qwen2.5 (#6417).
75
+ - Each circuit experiment has its own page beside its circuit's page, at `models/<model>/circuits/<id>/<timestamp>.html` (#6638). It shows the task, the explanation, and the members with their roles and links. It also shows the review, the measures against their gates, the probe pairs, and the record it revises or that revises it. The circuit's table links each experiment's page. It says whether each one is current or stale, independent or self-reviewed, and superseded. Circuit records now have personal data removed before the site shows them, as unit records do.
76
+ - Each sister match has its own page, under `sisters/`. It shows the two poles, each row's measures and every sister study between them, or says that none has run yet. Each model with sisters has an index of its matches (`models/<model>/sisters.html`). The model page's sister graph and table, and each neuron page's sister rows, link to the match's page (#6639).
77
+
78
+ ### Changed
79
+
80
+ - **Breaking.** The site's Tailwind build now lives in `labinacan/site/css.py`, and the colour maths (`luminance`, `badge_text` and `rgb`) in `labinacan/site/palette.py` (#6628). The project passes its colours to the build. This repo keeps its status, pole and brand colours in `builder/palette.py`. `python -m openinterpretability.builder.css` still builds the stylesheet in them.
81
+ - **Breaking.** The site's redaction core now lives in `labinacan/site/pii.py`: the search's cache, `find_spans`, `redact_text`, `redact_tokens` and `scrub` (#6628). A project tells it where to keep matches on disk with `configure`. Without that, it keeps nothing on disk and redacts the same. The record scrubbing stays in `builder/registry_pii.py`, which gives the core this repo's cache folder and search name. `labinacan/cache.py` takes the cache base as an argument, and `core/cache_dirs.py` passes this repo's base.
82
+ - **Breaking.** The personal-data and offensive-word search, its two data files, takedowns and `StrictModel` now live in `labinacan/` (#6628). `labinacan/sensitive.py` takes the search's name as an argument. This repo passes `openinterpretability.sensitive` (`core/confounds.py`), so new records write the same `label_detector` as before. The takedown functions now need the wiki folder.
83
+ - **Breaking.** The first generic parts of the site builder now live in a `labinacan/` package, beside `openinterpretability/` (#6207, #6628). `labinacan/site/` holds `contents`, `maths`, `alphaxiv`, `social_media`, `cluster_map` and `parallel`, and `labinacan/progress` the progress reports. A test checks that `labinacan/` imports nothing from `openinterpretability`. The wheel, the tests, coverage, mutation testing and the checkers all cover it. `scripts/mutation.py` now counts only the edited lines of a moved file.
84
+ - The registry coverage ran again on 2026-11-24. The share of the loss rise that the VERIFIED poles recover, against matched random poles, is:
85
+ - GPT-2: 7.8% against 0.9%, with 221 poles (was 6.9% against 0.6%, with 218).
86
+ - Pythia-70m: 4.6% against 0.5%, with 160 poles (was 4.5%, with 150).
87
+ - Qwen2.5-0.5B: 0.69% against 0.29%, with 362 poles (was 0.38% against 0.30%, with 363). The share rose although one pole fewer is VERIFIED. So the poles that changed carry more than the one that left.
88
+ - Qwen2.5-1.5B: 0.01%, with 75 poles (was 73).
89
+ - The sister search ran for the 19 poles VERIFIED since v0.4.2, on the same corpus (`ded48cfc…`). It added 57 rows and 8 sisters. GPT-2 gained 4: 2 in Qwen2.5-1.5B, 1 in Qwen2.5-0.5B and 1 in pythia-70m. Qwen2.5-1.5B gained 2, one each in Qwen2.5-0.5B and GPT-2. Pythia-70m gained 2, one each in the two Qwen models. The strongest is GPT-2 L0/N887+, with Qwen2.5-0.5B L0/N720− (r 0.92), Qwen2.5-1.5B L0/N5590+ (0.90) and pythia-70m L0/N273+ (0.88). Next is Qwen2.5-1.5B L22/N5737− with GPT-2 L0/N504+ (0.86). Each is now a `sister` draw, and each has a match page.
90
+
91
+ ### Fixed
92
+
93
+ - A follow-up draw claims `experiment/<key>-<kind>-<MMDDHHMMSS>`, so a second draw of a kind on a unit no longer collides with a merged PR's branch. A session that ran nothing gives its attempt and its `--run` count back. A session that landed a PR but printed no `RESULT:` line now counts. The run's summary says "not reached" for a target that it never drew (#6066).
94
+ - A deploy waits out a slow R2 response, and retries it. The R2 client has a 300-second read timeout and standard retries, up to 6 attempts. Before, one slow `DeleteObjects` call failed the deploy (#6101).
95
+ - An `explain --run` session's prompt now asks for one plain command per Bash call, with no `cd`, `&&`, pipes or `env` prefixes. An unattended run denies other shapes. When a session opens no PR, the loop names any branch it pushed. A pushed record gets the `gh pr create --head` command, and a pushed claim gets the command to delete it (#6145).
96
+ - An experiment's steps now mark its PR ready before the last push, so that push starts a full CI run. CI's and CodeQL's concurrency groups include the draft flag, so a draft-time run can't cancel the ready run. Before, a PR could sit ready with only skipped checks (#6179, #6247).
97
+ - A pytest worker could crash in a test that builds the site after running torch: the build forked a process that already ran torch's threads. `OPENINTERPRETABILITY_BUILD_JOBS` now caps a build's worker processes, and the test suite sets it to 1 (#6507).
98
+ - `scripts/literature_map.py` tries each of eight fixed seeds and keeps the most compact layout. One new review page can no longer drop the map under the test's gate. `map.json` names the seed it kept. The GitHub queue reader and the report moved to `scripts/literature_map_io.py` (#6529).
99
+ - A test may now run for 180 s, not 60 s, before pytest-timeout ends it. A whole-site build test ran past 55 s under coverage on a 2-core CI runner. Under xdist that ended the worker and showed as a crash with no trace. CI now lists the 15 slowest tests, so a creep toward the limit shows early. Making those builds cheaper is #6579 (#6561).
100
+ - A test that runs past its timeout now leaves evidence. Five seconds before pytest-timeout ends it, every stack goes to the worker's crash log under the test's name. Before, the timeout's own dump went to stderr, which a worker loses (#6561).
101
+ - A test worker that crashes now leaves evidence. Each xdist worker writes faulthandler's stack dump to `logs/faulthandler-<worker>.log`. When the tests fail, CI prints those files and any out-of-memory kill from the kernel log. Before, a crashed worker lost its stderr and left no trace (#6561).
102
+
16
103
  ## [0.4.2] - 2026-11-23
17
104
 
18
105
  Ships with protocol version **0.10**. A hotfix of 0.4.1, which PyPI refused.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: open-interpretability
3
- Version: 0.4.2
3
+ Version: 0.6.0
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
@@ -0,0 +1,7 @@
1
+ """labinacan: the parts of an autoresearch project that don't depend on its research focus.
2
+
3
+ A project builds its site, papers, posts and literature reviews with this package, and
4
+ keeps its own research code beside it (#6207). This repository is one such project.
5
+ ``labinacan/`` sits at the path it has in labinacan's own repository, so that this
6
+ repository can merge from it. It imports nothing from the project around it.
7
+ """
@@ -0,0 +1,27 @@
1
+ """Where a project's on-disk caches live (#6628)."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import os
6
+ from pathlib import Path
7
+
8
+
9
+ def cache_root(env: str, name: str, base: Path) -> Path | None:
10
+ """``$<env>``, else ``<base>/<name>``. ``None`` when ``$<env>`` turns the cache off.
11
+
12
+ Args:
13
+ env: The environment variable that moves the cache, or turns it off.
14
+ name: The cache's folder in ``base``.
15
+ base: The project's cache folder.
16
+
17
+ Returns:
18
+ The cache's folder, or ``None`` when it is off.
19
+
20
+ Examples:
21
+ >>> cache_root("LAB_NO_SUCH_CACHE", "pii", Path("/c")).as_posix()
22
+ '/c/pii'
23
+ """
24
+ value = os.environ.get(env)
25
+ if value is not None:
26
+ return None if value.lower() in ("", "0", "off", "false") else Path(value)
27
+ return base / name
@@ -0,0 +1,213 @@
1
+ """The commands that any project's site needs: ``deploy`` and ``social`` (#6628).
2
+
3
+ A project mounts them on its own CLI (:func:`site_commands`). ``deploy`` syncs the built site
4
+ to Cloudflare R2. ``social post`` reads the site's feeds of published papers and site
5
+ posts, and posts each new entry once (``labinacan/social``). The deploy workflow runs it
6
+ after each sync, with the X secrets. Without them it posts nothing and exits cleanly.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ import time
12
+ from collections.abc import Callable
13
+ from pathlib import Path
14
+
15
+ import click
16
+
17
+
18
+ @click.group(name="social")
19
+ def social_group() -> None:
20
+ """Post new published papers and site posts (#4463, #5533)."""
21
+
22
+
23
+ def _entries(path: Path | None) -> list:
24
+ from labinacan.social.feed import read_feed
25
+
26
+ return read_feed(path) if path is not None and path.exists() else []
27
+
28
+
29
+ @social_group.command(name="post")
30
+ @click.option("--papers", type=click.Path(path_type=Path), default=None,
31
+ help="The feed of published papers. Default: the build's.") # fmt: skip
32
+ @click.option("--posts", type=click.Path(path_type=Path), default=None,
33
+ help="The feed of site posts, never drafts. Default: the build's.") # fmt: skip
34
+ @click.option("--state", type=click.Path(path_type=Path), default=Path(".social/x.json"),
35
+ show_default=True, help="The ids posted so far.") # fmt: skip
36
+ @click.option("--dry-run", is_flag=True, help="Print the posts; post nothing, change no state.")
37
+ @click.option(
38
+ "--preview",
39
+ "newest",
40
+ type=int,
41
+ default=0,
42
+ help="Print the posts of the newest N entries of each feed, whatever the state.",
43
+ )
44
+ @click.option("--repost", multiple=True,
45
+ help="Post this entry id although the state has it, as the first run seeds "
46
+ "every entry (#5527). Repeat for more.") # fmt: skip
47
+ @click.option("--record", type=click.Path(path_type=Path), default=None,
48
+ help="Write the entries that this run posts, and their post URLs, here, for "
49
+ "`social link` (#5840).") # fmt: skip
50
+ def post_command(papers, posts, state, dry_run, newest, repost, record) -> None:
51
+ """Post each new published paper and site post once (#5533, #6081).
52
+
53
+ Args:
54
+ papers: The feed of published papers, or None for the build's.
55
+ posts: The feed of site posts, or None for the build's.
56
+ state: The JSON file of the ids posted or seen so far.
57
+ dry_run: Print the posts, and post nothing.
58
+ newest: Print the posts of this many newest entries of each feed, or 0.
59
+ repost: Entry ids to post although the state has them.
60
+ record: Where to write this run's posts, or None.
61
+
62
+ Raises:
63
+ click.ClickException: When a post fails, for example on an HTTP or network error.
64
+ """
65
+ from labinacan.site.research_feeds import POSTS_FEED, PUBLISHED_FEED
66
+ from labinacan.social.poster import XPoster, keys_from_env
67
+ from labinacan.social.run import State, planned, preview, run
68
+
69
+ papers = papers or Path("dist") / PUBLISHED_FEED # the paths the build writes
70
+ posts = posts or Path("dist") / POSTS_FEED
71
+ feeds = {"papers": _entries(papers), "posts": _entries(posts)}
72
+ if newest: # each tweet with its length and media, threads too (#5833)
73
+ for _, tweets in planned(State(), {k: v[:newest] for k, v in feeds.items()}):
74
+ click.echo(preview(tweets))
75
+ return
76
+ keys = keys_from_env()
77
+ if keys is None and not dry_run:
78
+ click.echo("The X secrets are not set, so nothing is posted.")
79
+ return
80
+ poster, posted = None if dry_run else XPoster(keys).post, []
81
+ try:
82
+ lines = run(state, feeds, poster, time.time(), frozenset(repost), posted)
83
+ except OSError as error: # an HTTP or network error: posts so far stay recorded
84
+ raise click.ClickException(f"posting failed: {error}") from error
85
+ finally:
86
+ if record is not None and posted: # what posted, even if a later post failed
87
+ from labinacan.social.links import write_records
88
+
89
+ write_records(record, posted)
90
+ click.echo("\n".join(lines))
91
+
92
+
93
+ @social_group.command(name="link")
94
+ @click.argument("posted", type=click.Path(exists=True, dir_okay=False, path_type=Path))
95
+ def link_command(posted) -> None:
96
+ """Write each posted entry's X URL into its folder's media/social.json (#5840).
97
+
98
+ POSTED is the file that `social post --record` wrote. The deploy runs this, and opens
99
+ a PR with the files it changes.
100
+
101
+ \f
102
+ Args:
103
+ posted: The file of this run's posts.
104
+ """
105
+ from labinacan.social.links import link
106
+
107
+ for path in link(posted):
108
+ click.echo(path.as_posix())
109
+
110
+
111
+ def deploy_command(site_url_env: str, site_url: Callable[[], str | None]) -> click.Command:
112
+ """The ``deploy`` command, with the project's site URL as the default.
113
+
114
+ Args:
115
+ site_url_env: The environment variable that sets the site's URL.
116
+ site_url: Returns the project's site URL, or None.
117
+
118
+ Returns:
119
+ The command.
120
+
121
+ Examples:
122
+ >>> deploy_command("LAB_SITE_URL", lambda: None).name
123
+ 'deploy'
124
+ """
125
+
126
+ @click.command(name="deploy")
127
+ @click.option("--dist-dir", default=Path("dist"), show_default=True,
128
+ type=click.Path(exists=True, file_okay=False, path_type=Path)) # fmt: skip
129
+ @click.option("--bucket", required=True, help="R2 bucket name.")
130
+ @click.option("--prefix", default="", help="Key prefix inside the bucket.")
131
+ @click.option("--delete", is_flag=True, help="Delete remote objects missing locally.")
132
+ @click.option("--dry-run", is_flag=True, help="Show what would change without uploading.")
133
+ @click.option(
134
+ "--site-url",
135
+ envvar=site_url_env,
136
+ default=site_url,
137
+ help="Public URL of the bucket root (default: the project's site URL). With CF_ZONE_ID "
138
+ "and CF_API_TOKEN set, the changed URLs are purged from Cloudflare's cache.",
139
+ )
140
+ def deploy(dist_dir, bucket, prefix, delete, dry_run, site_url):
141
+ """Delta-sync the built site to Cloudflare R2 (a no-op when nothing changed).
142
+
143
+ \f
144
+ Args:
145
+ dist_dir: The built site.
146
+ bucket: The R2 bucket.
147
+ prefix: The key prefix inside the bucket.
148
+ delete: Delete remote objects that the site no longer has.
149
+ dry_run: Show the changes, and upload nothing.
150
+ site_url: The public URL of the bucket's root, for the cache purge.
151
+ """
152
+ _deploy(dist_dir, bucket, prefix, delete, dry_run, site_url)
153
+
154
+ return deploy
155
+
156
+
157
+ def _deploy(dist_dir, bucket, prefix, delete, dry_run, site_url) -> None:
158
+ """Sync ``dist_dir`` to the bucket, then purge the changed URLs from Cloudflare's cache.
159
+
160
+ Args:
161
+ dist_dir: The built site.
162
+ bucket: The R2 bucket.
163
+ prefix: The key prefix inside the bucket.
164
+ delete: Delete remote objects that the site no longer has.
165
+ dry_run: Show the changes, and upload nothing.
166
+ site_url: The public URL of the bucket's root, for the cache purge.
167
+ """
168
+ import os
169
+
170
+ from labinacan.sync.r2 import (
171
+ R2Config,
172
+ make_client,
173
+ purge_cloudflare_cache,
174
+ purge_targets,
175
+ sync_directory,
176
+ )
177
+
178
+ client = make_client(R2Config.from_env())
179
+ plan = sync_directory(dist_dir, bucket, client, prefix=prefix, delete=delete,
180
+ dry_run=dry_run, log=click.echo) # fmt: skip
181
+ verb = "Would upload" if dry_run else "Uploaded"
182
+ click.echo(
183
+ f"{verb} {len(plan.uploads)}, unchanged {len(plan.unchanged)}, "
184
+ f"deleted {len(plan.deletes)}, derived skipped {len(plan.skipped_derived)}"
185
+ )
186
+ zone, token = os.environ.get("CF_ZONE_ID"), os.environ.get("CF_API_TOKEN")
187
+ if not (site_url and zone and token):
188
+ return
189
+ urls = purge_targets(plan, site_url, prefix)
190
+ if not urls:
191
+ click.echo("Nothing changed; no cache purge.")
192
+ elif dry_run:
193
+ click.echo(f"Would purge {len(urls)} URLs")
194
+ else:
195
+ purge_cloudflare_cache(zone, token, urls)
196
+ click.echo(f"Purged {len(urls)} URLs from the Cloudflare cache")
197
+
198
+
199
+ def site_commands(site_url_env: str, site_url: Callable[[], str | None]) -> list[click.Command]:
200
+ """The commands to mount on a project's CLI: ``deploy`` and the ``social`` group.
201
+
202
+ Args:
203
+ site_url_env: The environment variable that sets the site's URL.
204
+ site_url: Returns the project's site URL, or None.
205
+
206
+ Returns:
207
+ The commands.
208
+
209
+ Examples:
210
+ >>> [c.name for c in site_commands("LAB_SITE_URL", lambda: None)]
211
+ ['deploy', 'social']
212
+ """
213
+ return [deploy_command(site_url_env, site_url), social_group]
@@ -0,0 +1,254 @@
1
+ """The project's own values, from its ``pyproject.toml`` (#6629).
2
+
3
+ A generic file holds no value that differs between projects. It reads the value here.
4
+ ``[project]`` gives the distribution's name, which is also its command, its one-line
5
+ description, its URLs and its maintainer. ``[tool.labinacan]`` gives the rest. That is the
6
+ project's name as people read it, its Python package and the prefix of its environment
7
+ variables. It is also its Linear team, the maintainer's GitHub login and its Hugging Face
8
+ dataset.
9
+
10
+ The project tells this module where its ``pyproject.toml`` is, with :func:`use`. The first
11
+ path that holds a ``[tool.labinacan]`` table counts. Until then, the working directory's
12
+ ``pyproject.toml`` counts.
13
+ """
14
+
15
+ from __future__ import annotations
16
+
17
+ import tomllib
18
+ from dataclasses import dataclass
19
+ from email.utils import parseaddr
20
+ from functools import cache
21
+ from pathlib import Path
22
+
23
+ _PATHS: list[Path] = [Path("pyproject.toml")]
24
+
25
+
26
+ @dataclass(frozen=True)
27
+ class Brand:
28
+ """The project's brand: what its mark and wordmark are drawn from."""
29
+
30
+ folder: str # the folder of the brand's files, inside the project's package
31
+ tile: str # the colour of the mark's tile
32
+ ink: dict[str, str] # the wordmark's colour, by "light" and "dark"
33
+ colours: dict[str, str] # the mark's colours, by name
34
+ # The mark's cells, each (column, row, share filled, colour name). An empty cell has
35
+ # share 0 and colour "".
36
+ cells: tuple[tuple[int, int, float, str], ...]
37
+
38
+
39
+ def brand_of(table: dict | None) -> Brand | None:
40
+ """The brand in a ``[tool.labinacan.brand]`` table, or None when there is no table.
41
+
42
+ Args:
43
+ table: The table. Each cell gives the share filled in thirds.
44
+
45
+ Returns:
46
+ The brand.
47
+
48
+ Examples:
49
+ >>> brand_of(None) is None
50
+ True
51
+ >>> b = brand_of({"folder": "b", "tile": "#000", "ink": {}, "colours": {},
52
+ ... "cells": [[1, 2, 1, "red"], [0, 0, 0, ""]]})
53
+ >>> b.cells == ((1, 2, 1 / 3, "red"), (0, 0, 0.0, ""))
54
+ True
55
+ """
56
+ if table is None:
57
+ return None
58
+ return Brand(
59
+ folder=table["folder"], tile=table["tile"], ink=dict(table["ink"]),
60
+ colours=dict(table["colours"]),
61
+ cells=tuple((col, row, thirds / 3, colour) for col, row, thirds, colour in table["cells"]),
62
+ ) # fmt: skip
63
+
64
+
65
+ @dataclass(frozen=True)
66
+ class ProjectConfig:
67
+ """The values of one project that the generic code reads."""
68
+
69
+ name: str # as people read it, such as "A Project"
70
+ package: str # the Python package, which the changelog page names
71
+ command: str # the distribution's name and its command, such as "a-project"
72
+ env_prefix: str # environment variables are "<env_prefix>_<NAME>"
73
+ description: str # the one-line description, for social cards
74
+ site_url: str # the site's root, with a final "/"
75
+ repo_url: str
76
+ x_url: str
77
+ contact_email: str
78
+ linear_team: str # the key of the Linear team that mirrors the issues, such as "ABC"
79
+ maintainer: str # the maintainer's GitHub login
80
+ hf_dataset: str # the Hugging Face dataset of the public inputs, as "owner/name"
81
+ brand: Brand | None = None # [tool.labinacan.brand], or None for a project with no brand
82
+
83
+ @property
84
+ def repo(self) -> str:
85
+ """The GitHub repository as ``owner/name``, from ``repo_url``.
86
+
87
+ Returns:
88
+ The slug.
89
+
90
+ Examples:
91
+ >>> config().repo == config().repo_url.removeprefix("https://github.com/")
92
+ True
93
+ """
94
+ return self.repo_url.removeprefix("https://github.com/").strip("/")
95
+
96
+
97
+ def use(*paths: Path) -> None:
98
+ """Read the config from the first of ``paths`` that holds a ``[tool.labinacan]`` table.
99
+
100
+ Args:
101
+ *paths: The candidate ``pyproject.toml`` files, in order.
102
+
103
+ Examples:
104
+ >>> saved = list(_PATHS)
105
+ >>> use(Path("no-such-file.toml"))
106
+ >>> config()
107
+ Traceback (most recent call last):
108
+ ...
109
+ LookupError: no [tool.labinacan] table in no-such-file.toml
110
+ >>> use(*saved)
111
+ """
112
+ _PATHS[:] = [Path(p) for p in paths]
113
+ config.cache_clear()
114
+
115
+
116
+ def _tables(path: Path) -> tuple[dict, dict] | None:
117
+ """``([project], [tool.labinacan])`` of ``path``, or None when either is missing.
118
+
119
+ Args:
120
+ path: A ``pyproject.toml``.
121
+
122
+ Returns:
123
+ The two tables, or None.
124
+ """
125
+ try:
126
+ with open(path, "rb") as fh:
127
+ data = tomllib.load(fh)
128
+ except (OSError, tomllib.TOMLDecodeError):
129
+ return None
130
+ project, own = data.get("project"), data.get("tool", {}).get("labinacan")
131
+ return (project, own) if project and own else None
132
+
133
+
134
+ @cache
135
+ def config() -> ProjectConfig:
136
+ """The project's config, from the first path given to :func:`use`.
137
+
138
+ Returns:
139
+ The config.
140
+
141
+ Raises:
142
+ LookupError: No path holds both tables.
143
+
144
+ Examples:
145
+ >>> config() is config() # read once, until use() is called again
146
+ True
147
+ """
148
+ for path in _PATHS:
149
+ # The first path that holds both tables counts, as use() says.
150
+ if (found := _tables(path)) is not None:
151
+ project, own = found
152
+ urls = project["urls"]
153
+ return ProjectConfig(
154
+ name=own["name"],
155
+ package=own["package"],
156
+ command=project["name"],
157
+ env_prefix=own["env_prefix"],
158
+ description=project["description"].split(": ", 1)[-1],
159
+ site_url=urls["Homepage"],
160
+ repo_url=urls["Repository"],
161
+ x_url=urls["X"],
162
+ contact_email=contact_email(project["maintainers"][0]),
163
+ linear_team=own["linear_team"],
164
+ maintainer=own["maintainer"],
165
+ hf_dataset=own["hf_dataset"],
166
+ brand=brand_of(own.get("brand")),
167
+ )
168
+ raise LookupError(f"no [tool.labinacan] table in {', '.join(map(str, _PATHS))}")
169
+
170
+
171
+ def env(name: str) -> str:
172
+ """The project's name for the environment variable ``name``.
173
+
174
+ Args:
175
+ name: The variable's own part, such as ``CHROME``.
176
+
177
+ Returns:
178
+ ``<env_prefix>_<name>``.
179
+
180
+ Examples:
181
+ >>> env("CHROME") == config().env_prefix + "_CHROME"
182
+ True
183
+ """
184
+ return f"{config().env_prefix}_{name}"
185
+
186
+
187
+ def contact_email(maintainer: dict) -> str:
188
+ """The address of one ``[project] maintainers`` entry.
189
+
190
+ Args:
191
+ maintainer: The entry, with an ``email`` key, which may hold a ``Name <address>``.
192
+
193
+ Returns:
194
+ The address.
195
+
196
+ >>> contact_email({"name": "A Project", "email": "contact@example.com"})
197
+ 'contact@example.com'
198
+ """
199
+ return parseaddr(maintainer["email"])[1]
200
+
201
+
202
+ def x_handle(url: str) -> str:
203
+ """The X handle in an account's URL, so that the handle is not written a second time.
204
+
205
+ Args:
206
+ url: The account's URL.
207
+
208
+ Returns:
209
+ ``@`` and the URL's last path part.
210
+
211
+ >>> x_handle("https://x.com/example")
212
+ '@example'
213
+ >>> x_handle("https://x.com/example/")
214
+ '@example'
215
+ """
216
+ return "@" + url.rstrip("/").rsplit("/", 1)[-1]
217
+
218
+
219
+ def project_links() -> dict[str, str]:
220
+ """The project's values that every page's template gets.
221
+
222
+ Returns:
223
+ The site and repo URLs, the contact email, the one-line description, the X account
224
+ and its handle, and the project's name and package.
225
+
226
+ Examples:
227
+ >>> sorted(project_links()) # doctest: +NORMALIZE_WHITESPACE
228
+ ['contact_email', 'description', 'package', 'project_name', 'repo_url',
229
+ 'site_url', 'x_handle', 'x_url']
230
+ """
231
+ c = config()
232
+ return {
233
+ "site_url": c.site_url,
234
+ "repo_url": c.repo_url,
235
+ "contact_email": c.contact_email,
236
+ "description": c.description, # for social cards (#3289)
237
+ "x_url": c.x_url,
238
+ "x_handle": x_handle(c.x_url), # twitter:site (#5389)
239
+ "project_name": c.name,
240
+ "package": c.package,
241
+ }
242
+
243
+
244
+ def site_url() -> str:
245
+ """The public URL of the site's root, with a final ``/``.
246
+
247
+ Returns:
248
+ The URL.
249
+
250
+ Examples:
251
+ >>> site_url().endswith("/")
252
+ True
253
+ """
254
+ return config().site_url
@@ -0,0 +1 @@
1
+ """Data files that labinacan reads at run time (#6628)."""
@@ -0,0 +1,9 @@
1
+ """The errors that labinacan raises, so a project's CLI can print them as text (#6628)."""
2
+
3
+
4
+ class LabinacanError(Exception):
5
+ """The base of labinacan's errors."""
6
+
7
+
8
+ class SyncError(LabinacanError):
9
+ """Deploying the static site to object storage failed."""