loopmath 0.4.1__tar.gz → 0.4.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (528) hide show
  1. {loopmath-0.4.1 → loopmath-0.4.3}/PKG-INFO +3 -1
  2. {loopmath-0.4.1 → loopmath-0.4.3}/README.md +2 -0
  3. {loopmath-0.4.1 → loopmath-0.4.3}/pyproject.toml +1 -1
  4. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/__init__.py +1 -1
  5. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/design.py +70 -14
  6. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/fit.py +11 -3
  7. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/state.py +7 -3
  8. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/cli_registry.py +5 -1
  9. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/herdr/loopmath-harness/herdr-plugin.toml +1 -1
  10. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/mod/loopmath-harness/.claude-plugin/plugin.json +1 -1
  11. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/prices.toml +10 -3
  12. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend/search.py +5 -4
  13. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/config.py +6 -2
  14. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath.egg-info/PKG-INFO +3 -1
  15. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_price.py +4 -4
  16. {loopmath-0.4.1 → loopmath-0.4.3}/LICENSE +0 -0
  17. {loopmath-0.4.1 → loopmath-0.4.3}/setup.cfg +0 -0
  18. {loopmath-0.4.1 → loopmath-0.4.3}/spec/ocp-v0.2.schema.json +0 -0
  19. {loopmath-0.4.1 → loopmath-0.4.3}/spec/ocp-v0.schema.json +0 -0
  20. {loopmath-0.4.1 → loopmath-0.4.3}/spec/ocp_conformance.py +0 -0
  21. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/__main__.py +0 -0
  22. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapter_host.py +0 -0
  23. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/__init__.py +0 -0
  24. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/atrium.py +0 -0
  25. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/base.py +0 -0
  26. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/bb.py +0 -0
  27. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/bb_support.py +0 -0
  28. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/evolve.py +0 -0
  29. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/harness2.py +0 -0
  30. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/omp.py +0 -0
  31. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/omp_facts.py +0 -0
  32. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/omp_links.py +0 -0
  33. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/omp_parse.py +0 -0
  34. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/omp_types.py +0 -0
  35. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/opencode.py +0 -0
  36. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/opencode_store.py +0 -0
  37. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/openevolve.py +0 -0
  38. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/orca.py +0 -0
  39. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/otel_genai.py +0 -0
  40. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/otel_genai_graph.py +0 -0
  41. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/otel_genai_parse.py +0 -0
  42. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/otel_genai_types.py +0 -0
  43. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/otel_genai_usage.py +0 -0
  44. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/paseo.py +0 -0
  45. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/pi.py +0 -0
  46. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/pi_support.py +0 -0
  47. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/plugin_eval.py +0 -0
  48. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/registry.py +0 -0
  49. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/adapters/shinkaevolve.py +0 -0
  50. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/__init__.py +0 -0
  51. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/block.py +0 -0
  52. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/check_pymc.py +0 -0
  53. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/commands.py +0 -0
  54. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/compose.py +0 -0
  55. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/cost_recipe.py +0 -0
  56. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/cost_sources.py +0 -0
  57. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/features.py +0 -0
  58. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/forest.py +0 -0
  59. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/gaussian.py +0 -0
  60. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/integrated.py +0 -0
  61. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/level.py +0 -0
  62. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/lookahead.py +0 -0
  63. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/outcome.py +0 -0
  64. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/pricing.py +0 -0
  65. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/priors.py +0 -0
  66. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/rules.py +0 -0
  67. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/belief/sampled.py +0 -0
  68. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/builder/__init__.py +0 -0
  69. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/builder/cli.py +0 -0
  70. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/builder/context.py +0 -0
  71. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/builder/predict.py +0 -0
  72. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/builder/server.py +0 -0
  73. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/cli.py +0 -0
  74. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/cli_errors.py +0 -0
  75. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/cli_graph.py +0 -0
  76. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/cli_support.py +0 -0
  77. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/compare/__init__.py +0 -0
  78. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/compare/_thresholds.py +0 -0
  79. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/compare/_thresholds_sw.py +0 -0
  80. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/compare/calibrate.py +0 -0
  81. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/compare/calibration.py +0 -0
  82. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/compare/checks.py +0 -0
  83. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/compare/commands.py +0 -0
  84. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/compare/model.py +0 -0
  85. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/compare/units.py +0 -0
  86. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/compare/value.py +0 -0
  87. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/e0/__init__.py +0 -0
  88. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/e0/arms.py +0 -0
  89. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/e0/cli_e0.py +0 -0
  90. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/e0/estimate.py +0 -0
  91. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/e0/estimate_rework.py +0 -0
  92. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/e0/figures.py +0 -0
  93. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/e0/io.py +0 -0
  94. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/e0/verb.py +0 -0
  95. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/explain.py +0 -0
  96. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/fit.py +0 -0
  97. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/fit_assembly.py +0 -0
  98. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/fit_bayes.py +0 -0
  99. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/fit_masks.py +0 -0
  100. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/fit_predict.py +0 -0
  101. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/fit_pricing.py +0 -0
  102. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/fit_transfer.py +0 -0
  103. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/__init__.py +0 -0
  104. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/check.py +0 -0
  105. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/commands.py +0 -0
  106. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/edits.py +0 -0
  107. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/folder.py +0 -0
  108. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/judges.py +0 -0
  109. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/next.py +0 -0
  110. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/plan.py +0 -0
  111. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/prefill.py +0 -0
  112. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/record.py +0 -0
  113. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/records.py +0 -0
  114. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/simulate.py +0 -0
  115. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/status.py +0 -0
  116. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/tomlview.py +0 -0
  117. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/flows/walk.py +0 -0
  118. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/frontier/__init__.py +0 -0
  119. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/frontier/commands.py +0 -0
  120. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/frontier/cost.py +0 -0
  121. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/frontier/kg.py +0 -0
  122. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/frontier/model.py +0 -0
  123. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/frontier/pareto.py +0 -0
  124. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/frontier/record.py +0 -0
  125. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/frontier/state.py +0 -0
  126. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/frontier/strategy.py +0 -0
  127. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/frontier/tb_prior.csv +0 -0
  128. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/gaps.py +0 -0
  129. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/gate/__init__.py +0 -0
  130. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/gate/commands.py +0 -0
  131. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/gate/core.py +0 -0
  132. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/gate/inputs.py +0 -0
  133. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/gate/winner.py +0 -0
  134. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/gate/winner_cli.py +0 -0
  135. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/gate/winner_model.py +0 -0
  136. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/gitwalk.py +0 -0
  137. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/grade.py +0 -0
  138. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/grade_support.py +0 -0
  139. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/__init__.py +0 -0
  140. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/artifact_git.py +0 -0
  141. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/artifact_join.py +0 -0
  142. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/artifact_kinds.py +0 -0
  143. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/artifacts.py +0 -0
  144. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/bashparse.py +0 -0
  145. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/bashread_ops.py +0 -0
  146. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/bashwrite_ops.py +0 -0
  147. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/bashwrites.py +0 -0
  148. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/cache.py +0 -0
  149. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/codexio.py +0 -0
  150. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/codexio_parse.py +0 -0
  151. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/codexio_scan.py +0 -0
  152. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/dataset.py +0 -0
  153. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/dataset_build.py +0 -0
  154. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/dataset_core.py +0 -0
  155. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/dataset_edges.py +0 -0
  156. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/dataset_nodes.py +0 -0
  157. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/extract.py +0 -0
  158. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/html_common.py +0 -0
  159. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/html_costcurve.py +0 -0
  160. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/html_css.py +0 -0
  161. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/html_data.py +0 -0
  162. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/html_force.py +0 -0
  163. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/html_render.py +0 -0
  164. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/html_swimlanes.py +0 -0
  165. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler.py +0 -0
  166. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_cli.py +0 -0
  167. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_common.py +0 -0
  168. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_parse.py +0 -0
  169. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_pricing.py +0 -0
  170. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_prompt.py +0 -0
  171. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_prompt_build.py +0 -0
  172. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_prompt_dispatch.py +0 -0
  173. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_prompt_evidence.py +0 -0
  174. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_prompt_node.py +0 -0
  175. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_prompt_records.py +0 -0
  176. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_prompt_result.py +0 -0
  177. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_prompt_session.py +0 -0
  178. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_prompt_tools.py +0 -0
  179. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_prompt_validation.py +0 -0
  180. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_prompt_workflow.py +0 -0
  181. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_report.py +0 -0
  182. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labeler_score.py +0 -0
  183. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/labels.py +0 -0
  184. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/launch.py +0 -0
  185. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/launch_origin.py +0 -0
  186. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/ocp.py +0 -0
  187. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/ocp_emit.py +0 -0
  188. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/ocp_support.py +0 -0
  189. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/render.py +0 -0
  190. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/runfile.py +0 -0
  191. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/runfile_export.py +0 -0
  192. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/runfile_finish.py +0 -0
  193. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/scan.py +0 -0
  194. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/schema.py +0 -0
  195. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/graph/token_completeness.py +0 -0
  196. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/__init__.py +0 -0
  197. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/layouts.py +0 -0
  198. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/mod/loopmath-harness/.claude-plugin/marketplace.json +0 -0
  199. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/mod/loopmath-harness/.gitignore +0 -0
  200. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/mod/loopmath-harness/README.md +0 -0
  201. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/mod/loopmath-harness/hooks/events.ts +0 -0
  202. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/mod/loopmath-harness/hooks/hooks.json +0 -0
  203. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/mod/loopmath-harness/hooks/register.test.ts +0 -0
  204. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/mod/loopmath-harness/hooks/register.tsx +0 -0
  205. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/mod/loopmath-harness/types/index.d.ts +0 -0
  206. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/__init__.py +0 -0
  207. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/commands.py +0 -0
  208. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/config.py +0 -0
  209. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/contracts.py +0 -0
  210. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/delivery.py +0 -0
  211. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/design.py +0 -0
  212. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/editors.py +0 -0
  213. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/edits.py +0 -0
  214. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/effects.py +0 -0
  215. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/engine.py +0 -0
  216. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/events.py +0 -0
  217. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/executor.py +0 -0
  218. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/herdr.py +0 -0
  219. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/isolation.py +0 -0
  220. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/ledger.py +0 -0
  221. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/library.py +0 -0
  222. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/modinstall.py +0 -0
  223. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/plan.py +0 -0
  224. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/prompts.py +0 -0
  225. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/reflect.py +0 -0
  226. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/schema.py +0 -0
  227. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/score.py +0 -0
  228. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/sessions.py +0 -0
  229. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/skilldoc.py +0 -0
  230. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/state.py +0 -0
  231. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness/tune/stream.py +0 -0
  232. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness_runs/__init__.py +0 -0
  233. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness_runs/commands.py +0 -0
  234. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness_runs/costs.py +0 -0
  235. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness_runs/ocp.py +0 -0
  236. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness_runs/rows.py +0 -0
  237. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/harness_runs/streams.py +0 -0
  238. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ingest/__init__.py +0 -0
  239. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ingest/base.py +0 -0
  240. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ingest/claude_code.py +0 -0
  241. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ingest/claude_code_support.py +0 -0
  242. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ingest/codex.py +0 -0
  243. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ingest/codex_support.py +0 -0
  244. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ingest/ocp.py +0 -0
  245. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ingest/ocp_analysis.py +0 -0
  246. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ingest/ocp_artifact.py +0 -0
  247. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ingest/ocp_common.py +0 -0
  248. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ingest/ocp_convert.py +0 -0
  249. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ingest/ocp_projection.py +0 -0
  250. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/integrations/__init__.py +0 -0
  251. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/integrations/dspy.py +0 -0
  252. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/logmatch/__init__.py +0 -0
  253. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/logmatch/artifacts.py +0 -0
  254. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/logmatch/clip.py +0 -0
  255. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/logmatch/codex_window.py +0 -0
  256. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/logmatch/costs.py +0 -0
  257. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/logmatch/match.py +0 -0
  258. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/logmatch/settle.py +0 -0
  259. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/logmatch/tariff.py +0 -0
  260. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/__init__.py +0 -0
  261. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/canonical.py +0 -0
  262. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/commands.py +0 -0
  263. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/conformance.py +0 -0
  264. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/contractv3.py +0 -0
  265. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/emit.py +0 -0
  266. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/finite.py +0 -0
  267. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/graph_contract.py +0 -0
  268. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/membership.py +0 -0
  269. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/migrate.py +0 -0
  270. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/schema/ocp-v0.2.schema.json +0 -0
  271. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/schema/ocp-v0.3.schema.json +0 -0
  272. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/schema/ocp-v0.4.schema.json +0 -0
  273. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/schema/ocp-v0.schema.json +0 -0
  274. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/ocp/version.py +0 -0
  275. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/onboard/__init__.py +0 -0
  276. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/onboard/commands.py +0 -0
  277. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/onboard/history.py +0 -0
  278. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/onboard/label.py +0 -0
  279. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/onboard/usual.py +0 -0
  280. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/output.py +0 -0
  281. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/pool.py +0 -0
  282. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/price.py +0 -0
  283. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/price_validation.py +0 -0
  284. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/__init__.py +0 -0
  285. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/benchmarks.py +0 -0
  286. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/benchmarks.toml +0 -0
  287. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/build.py +0 -0
  288. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/bundle/README.md +0 -0
  289. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/bundle/e0.jsonl.gz +0 -0
  290. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/bundle/lanes.jsonl.gz +0 -0
  291. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/bundle/manifest.json +0 -0
  292. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/bundle/rq1.jsonl.gz +0 -0
  293. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/bundle/sweep.jsonl.gz +0 -0
  294. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/commands.py +0 -0
  295. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/e0.py +0 -0
  296. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/history.py +0 -0
  297. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/lanes.py +0 -0
  298. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/ocpdoc.py +0 -0
  299. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/reduce.py +0 -0
  300. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/registry.py +0 -0
  301. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/rq1.py +0 -0
  302. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/show.py +0 -0
  303. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/sweep.py +0 -0
  304. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/priors/validate.py +0 -0
  305. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/receipts.py +0 -0
  306. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend/__init__.py +0 -0
  307. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend/backlog.py +0 -0
  308. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend/commands.py +0 -0
  309. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend/curve.py +0 -0
  310. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend/engine.py +0 -0
  311. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend/gain.py +0 -0
  312. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend/message.py +0 -0
  313. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend/receipts.py +0 -0
  314. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend/stats.py +0 -0
  315. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend/storeread.py +0 -0
  316. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend/variants.py +0 -0
  317. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/recommend_role.py +0 -0
  318. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/report/__init__.py +0 -0
  319. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/report/eligibility.py +0 -0
  320. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/report/html.py +0 -0
  321. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/report/terminal.py +0 -0
  322. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/report/terminal_exclusions.py +0 -0
  323. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/report/terminal_format.py +0 -0
  324. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/report/terminal_read.py +0 -0
  325. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/research_defaults.py +0 -0
  326. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/research_paths.py +0 -0
  327. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/scoring.py +0 -0
  328. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/scoring_comparisons.py +0 -0
  329. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/scoring_predictive.py +0 -0
  330. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/screen/__init__.py +0 -0
  331. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/screen/commands.py +0 -0
  332. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/screen/design.py +0 -0
  333. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/screen/edits.py +0 -0
  334. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/screen/model.py +0 -0
  335. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/screen/record.py +0 -0
  336. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/share/__init__.py +0 -0
  337. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/share/commands.py +0 -0
  338. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/share/export.py +0 -0
  339. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/share/import_.py +0 -0
  340. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/__init__.py +0 -0
  341. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/commands.py +0 -0
  342. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/doctor.py +0 -0
  343. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/guide.py +0 -0
  344. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/guides/fit.md +0 -0
  345. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/guides/flow.md +0 -0
  346. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/guides/import.md +0 -0
  347. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/guides/onboard.md +0 -0
  348. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/guides/plan.md +0 -0
  349. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/guides/record.md +0 -0
  350. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/guides/reference.md +0 -0
  351. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/install.py +0 -0
  352. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/skill/skills/loopmath/SKILL.md +0 -0
  353. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/__init__.py +0 -0
  354. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/budget.py +0 -0
  355. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/commands.py +0 -0
  356. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/finish.py +0 -0
  357. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/fitjob.py +0 -0
  358. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/home.py +0 -0
  359. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/ids.py +0 -0
  360. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/lock.py +0 -0
  361. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/record.py +0 -0
  362. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/report.py +0 -0
  363. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/rule_change.py +0 -0
  364. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/run_names.py +0 -0
  365. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/runs.py +0 -0
  366. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/status.py +0 -0
  367. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/store/verify.py +0 -0
  368. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/surface.py +0 -0
  369. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/surface_bootstrap.py +0 -0
  370. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/surface_estimation.py +0 -0
  371. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/surface_frame.py +0 -0
  372. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/surface_presentation.py +0 -0
  373. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/surface_support.py +0 -0
  374. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/taskmodel.py +0 -0
  375. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/tasks/__init__.py +0 -0
  376. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/tasks/commands.py +0 -0
  377. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/tasks/data.py +0 -0
  378. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/tasks/fit.py +0 -0
  379. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/tasks/posterior.py +0 -0
  380. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/tasks/select.py +0 -0
  381. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/tasks/sim.py +0 -0
  382. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/types.py +0 -0
  383. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/update.py +0 -0
  384. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/__init__.py +0 -0
  385. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/README.md +0 -0
  386. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/base.css +0 -0
  387. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/builder.css +0 -0
  388. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/builder.html +0 -0
  389. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/builder.js +0 -0
  390. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/common.js +0 -0
  391. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/estimates.css +0 -0
  392. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/estimates.js +0 -0
  393. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/graph.css +0 -0
  394. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/graph.js +0 -0
  395. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/plans.css +0 -0
  396. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/plans.js +0 -0
  397. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/results.css +0 -0
  398. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/results.js +0 -0
  399. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/runs.js +0 -0
  400. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/viz.css +0 -0
  401. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/assets/viz.js +0 -0
  402. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/common.py +0 -0
  403. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/plans.py +0 -0
  404. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/posterior.py +0 -0
  405. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/views/runs.py +0 -0
  406. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/__init__.py +0 -0
  407. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/candidates.py +0 -0
  408. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/catalog/best_of_n.toml +0 -0
  409. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/catalog/implement_review.toml +0 -0
  410. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/catalog/plan_implement.toml +0 -0
  411. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/catalog/plan_implement_review.toml +0 -0
  412. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/catalog/solo.toml +0 -0
  413. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/catalog/swarm.toml +0 -0
  414. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/commands.py +0 -0
  415. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/diff.py +0 -0
  416. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/format.py +0 -0
  417. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/graphview.py +0 -0
  418. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/ids.py +0 -0
  419. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/infer.py +0 -0
  420. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/models.py +0 -0
  421. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/ocp.py +0 -0
  422. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath/workflows/shapes.py +0 -0
  423. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath.egg-info/SOURCES.txt +0 -0
  424. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath.egg-info/dependency_links.txt +0 -0
  425. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath.egg-info/entry_points.txt +0 -0
  426. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath.egg-info/requires.txt +0 -0
  427. {loopmath-0.4.1 → loopmath-0.4.3}/src/loopmath.egg-info/top_level.txt +0 -0
  428. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_adapter_atrium.py +0 -0
  429. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_adapter_bb.py +0 -0
  430. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_adapter_harness2.py +0 -0
  431. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_adapter_omp.py +0 -0
  432. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_adapter_opencode.py +0 -0
  433. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_adapter_opencode_output_tokens.py +0 -0
  434. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_adapter_orca.py +0 -0
  435. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_adapter_otel_genai.py +0 -0
  436. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_adapter_paseo.py +0 -0
  437. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_adapter_services.py +0 -0
  438. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_adapters.py +0 -0
  439. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_adapters_pi.py +0 -0
  440. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_analyze_cli.py +0 -0
  441. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_arms.py +0 -0
  442. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_cli_graph.py +0 -0
  443. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_cli_help_lists.py +0 -0
  444. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_cli_labeler.py +0 -0
  445. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_cli_main_module.py +0 -0
  446. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_cli_plan_hidden.py +0 -0
  447. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_cli_prices.py +0 -0
  448. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_cli_startup.py +0 -0
  449. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_color_proof.py +0 -0
  450. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_duplicate_guards.py +0 -0
  451. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_estimate.py +0 -0
  452. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_explain.py +0 -0
  453. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_fit.py +0 -0
  454. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_gaps.py +0 -0
  455. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_gitwalk.py +0 -0
  456. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_grade.py +0 -0
  457. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_artifact_recording.py +0 -0
  458. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_artifacts.py +0 -0
  459. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_bashwrites.py +0 -0
  460. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_cache.py +0 -0
  461. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_codexio.py +0 -0
  462. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_dataset.py +0 -0
  463. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_extract.py +0 -0
  464. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_glue.py +0 -0
  465. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_html.py +0 -0
  466. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_labeler.py +0 -0
  467. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_labeler_evidence_matrix.py +0 -0
  468. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_launch.py +0 -0
  469. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_ocp.py +0 -0
  470. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_render.py +0 -0
  471. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_runfile.py +0 -0
  472. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_graph_schema.py +0 -0
  473. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_cli.py +0 -0
  474. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_config.py +0 -0
  475. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_delivery.py +0 -0
  476. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_design.py +0 -0
  477. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_editors.py +0 -0
  478. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_edits.py +0 -0
  479. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_effects.py +0 -0
  480. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_engine.py +0 -0
  481. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_executor.py +0 -0
  482. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_herdr.py +0 -0
  483. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_isolation.py +0 -0
  484. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_ledger.py +0 -0
  485. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_library.py +0 -0
  486. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_modinstall.py +0 -0
  487. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_plan.py +0 -0
  488. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_score.py +0 -0
  489. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_sessions.py +0 -0
  490. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_harness_tune_skilldoc.py +0 -0
  491. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_home_guard.py +0 -0
  492. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_html.py +0 -0
  493. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_ingest.py +0 -0
  494. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_ingest_claude_code.py +0 -0
  495. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_ingest_codex.py +0 -0
  496. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_ingest_ocp.py +0 -0
  497. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_io.py +0 -0
  498. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_not_run_summary.py +0 -0
  499. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_ocp_conformance.py +0 -0
  500. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_ocp_golden.py +0 -0
  501. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_ocp_open_enums.py +0 -0
  502. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_ocp_versioning.py +0 -0
  503. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_output_html_path.py +0 -0
  504. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_packaging_metadata.py +0 -0
  505. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_packaging_smoke.py +0 -0
  506. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_pool.py +0 -0
  507. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_preview_script.py +0 -0
  508. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_receipts.py +0 -0
  509. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_release_paths.py +0 -0
  510. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_report_eligibility.py +0 -0
  511. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_research_cli.py +0 -0
  512. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_runfile_privacy_n1b.py +0 -0
  513. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_scoring.py +0 -0
  514. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_split_rebindings.py +0 -0
  515. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_starting_prior.py +0 -0
  516. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_surface.py +0 -0
  517. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_taskmodel_features.py +0 -0
  518. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_terminal.py +0 -0
  519. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_types_control.py +0 -0
  520. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_types_piece_prediction.py +0 -0
  521. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_update_check.py +0 -0
  522. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_v01_scaffold.py +0 -0
  523. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_v027_p3.py +0 -0
  524. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_v027_small_fixes.py +0 -0
  525. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_v028_sol_6_1.py +0 -0
  526. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_v031_help_labels.py +0 -0
  527. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_v031_json_errors_and_costs.py +0 -0
  528. {loopmath-0.4.1 → loopmath-0.4.3}/tests/test_v031_new_findings.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: loopmath
3
- Version: 0.4.1
3
+ Version: 0.4.3
4
4
  Summary: Plan agent workflows, record how they went, and learn from your own Claude Code and Codex logs
5
5
  Author: loopmath
6
6
  License-Expression: MIT
@@ -112,6 +112,8 @@ Reading the history uses up to 8 worker processes (one per CPU, at most 8). Set
112
112
 
113
113
  loopmath ships with a prior built from our own sweeps and experiments, so `recommend` gives an answer before you have any history. Your own runs then move it. Your store's overall pass rate is its own, with a wide prior that only your runs move: the shipped runs give their costs and gate rows but no success rows, and the public benchmarks say which models are stronger (`belief.level`, `store` by default; `loopmath config set belief.level shared`, then `loopmath fit`, gives 0.3.5's fit).
114
114
 
115
+ In a workflow with several pieces, the piece that writes the change counts most in the predicted chance of success: its model, effort and harness count 1, the planner's 0.22 and the reviewers' 0.11 between them. These three weights are a placeholder from one experiment on 8 coding tasks; they are fixed, not learned from your runs, and will change. `loopmath config set belief.seat_weights average`, then `loopmath fit`, counts every piece the same, as 0.4.1 did.
116
+
115
117
  The prior ships inside the package: our runs, in the shared form (no titles, paths, commands or free text), and the published benchmark results. They are the same files we fit with, and each release updates them. `onboard` and the results page say in one line which prior they start from, and `loopmath prior show` lists it source by source.
116
118
 
117
119
  ## The loop
@@ -74,6 +74,8 @@ Reading the history uses up to 8 worker processes (one per CPU, at most 8). Set
74
74
 
75
75
  loopmath ships with a prior built from our own sweeps and experiments, so `recommend` gives an answer before you have any history. Your own runs then move it. Your store's overall pass rate is its own, with a wide prior that only your runs move: the shipped runs give their costs and gate rows but no success rows, and the public benchmarks say which models are stronger (`belief.level`, `store` by default; `loopmath config set belief.level shared`, then `loopmath fit`, gives 0.3.5's fit).
76
76
 
77
+ In a workflow with several pieces, the piece that writes the change counts most in the predicted chance of success: its model, effort and harness count 1, the planner's 0.22 and the reviewers' 0.11 between them. These three weights are a placeholder from one experiment on 8 coding tasks; they are fixed, not learned from your runs, and will change. `loopmath config set belief.seat_weights average`, then `loopmath fit`, counts every piece the same, as 0.4.1 did.
78
+
77
79
  The prior ships inside the package: our runs, in the shared form (no titles, paths, commands or free text), and the published benchmark results. They are the same files we fit with, and each release updates them. `onboard` and the results page say in one line which prior they start from, and `loopmath prior show` lists it source by source.
78
80
 
79
81
  ## The loop
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "loopmath"
7
- version = "0.4.1"
7
+ version = "0.4.3"
8
8
  description = "Plan agent workflows, record how they went, and learn from your own Claude Code and Codex logs"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -5,4 +5,4 @@ The command line (`loopmath`, or its alias `loop`) is the interface; see the
5
5
  README and `loopmath --help`.
6
6
  """
7
7
 
8
- __version__ = "0.4.1"
8
+ __version__ = "0.4.3"
@@ -45,7 +45,20 @@ MODEL_OPTIONS: dict[str, tuple[Any, ...]] = {"belief.success_head": ("sampled",)
45
45
  # the store level and benchmark transfer (level.py)
46
46
  "belief.level": ("shared", "store"),
47
47
  "belief.shipped_success": ("keep", "drop"),
48
- "belief.benchmark_factors": ("reference", "offset")}
48
+ "belief.benchmark_factors": ("reference", "offset"),
49
+ # the seat weights of the success and score rows (`seat_weights`)
50
+ "belief.seat_weights": ("role-v1",)}
51
+ # Seat weights (0.4.2): how much each piece's model chain, effort and harness counts in a success or score row
52
+ # (`run_rest`). `average` is the rule up to 0.4.1: every piece at 1/n. A role rule gives each role one weight,
53
+ # relative to the writer and not rescaled to sum to 1, shared equally by the pieces of that role. `role-v1`: the
54
+ # writer (`implementer`) 1, the planner 0.22, the reviewers 0.11. These three numbers are a placeholder from one
55
+ # experiment on 8 coding tasks and will change. A fit records its rule in `model_options` under SEAT_KEY (nothing
56
+ # under `average`), so a fit is always read with the rule it was made under.
57
+ SEAT_KEY = "belief.seat_weights"
58
+ SEAT_AVERAGE = "average"
59
+ SEAT_RULE = "role-v1" # what the config value `role` means in this loopmath
60
+ SEAT_WRITER = "implementer"
61
+ SEAT_RULES: dict[str, dict[str, float]] = {"role-v1": {SEAT_WRITER: 1.0, "planner": 0.22, "reviewer": 0.11}}
49
62
  # The version the seed key hashes (spec 04 section 3). It stays 3 from 0.2.8: the same data seeds the same
50
63
  # draws as in 0.2.7, so every number that is not a token count is 0.2.7's.
51
64
  SEED_VERSION = 3
@@ -450,19 +463,59 @@ def gate_rest(st: Structure, gate: GateInfo, k: int) -> tuple[Term, ...]:
450
463
  + role_terms(role, m) + step_terms(st.flow, gate.judged, role, m))
451
464
 
452
465
 
453
- def run_rest(st: Structure) -> tuple[Term, ...]:
466
+ def seat_rule(config: Mapping[str, Any] | None) -> str:
467
+ """The seat rule a fit is made under, from a config.toml table: `[belief] seat_weights`, `"role"` (SEAT_RULE)
468
+ or `"average"`. Unset or malformed, it follows the level as `shipped_success` does (level.py): the role rule
469
+ under the store level, and `average` under `level = "shared"`, which stays 0.3.5's fit exactly."""
470
+ b = (config or {}).get("belief")
471
+ b = b if isinstance(b, Mapping) else {}
472
+ value = b.get("seat_weights")
473
+ if value == "role":
474
+ return SEAT_RULE
475
+ if value == SEAT_AVERAGE:
476
+ return SEAT_AVERAGE
477
+ return SEAT_AVERAGE if b.get("level") == "shared" else SEAT_RULE
478
+
479
+
480
+ def fit_seat_rule(meta: Mapping[str, Any]) -> str:
481
+ """The seat rule a fit was made under, from its meta.json: `model_options[SEAT_KEY]`, else `average` (every
482
+ fit before 0.4.2, and a later fit under `average`, which writes no option)."""
483
+ options = meta.get("model_options")
484
+ value = options.get(SEAT_KEY) if isinstance(options, Mapping) else None
485
+ return value if isinstance(value, str) and value in SEAT_RULES else SEAT_AVERAGE
486
+
487
+
488
+ def seat_weights(st: Structure, seats: str = SEAT_RULE) -> dict[str, float]:
489
+ """piece -> the weight of its model chain, effort and harness in the success and score rows (`run_rest`).
490
+
491
+ Under a role rule (SEAT_RULES) each role has one weight, shared equally by the pieces of that role: one
492
+ writer counts 1, one planner 0.22, one reviewer 0.11 and each of two reviewers 0.055. The weights are
493
+ relative to the writer and do not sum to 1. The rule covers workflows made of writers, planners and
494
+ reviewers with at least one writer. Any other workflow (a piece of another role such as `tester`, `referee`
495
+ or `worker`, or no writer) keeps `average`, 1/n for each of its n pieces, as does every workflow under
496
+ `seats = "average"`. A workflow of one piece is at 1 under every rule."""
497
+ n = max(1, len(st.pieces))
498
+ weights = SEAT_RULES.get(seats)
499
+ roles = [st.roles[p] for p in st.pieces]
500
+ if weights is None or SEAT_WRITER not in roles or any(r not in weights for r in roles):
501
+ return {p: 1.0 / n for p in st.pieces}
502
+ return {p: weights[r] / roles.count(r) for p, r in zip(st.pieces, roles)}
503
+
504
+
505
+ def run_rest(st: Structure, seats: str = SEAT_RULE) -> tuple[Term, ...]:
454
506
  """Success and score rows without the task part: topology, control, and per piece its model chain,
455
- effort and harness (weight 1/n) with its harness factors at that weight, plus its role and role x family
507
+ effort and harness at its seat weight (`seat_weights` under the rule `seats`: by role from 0.4.2, 1/n
508
+ under `average`) with its harness factors at that weight, plus its role and role x family
456
509
  (weight 1/g, g the copies in its group, so parallel copies carry the role effect once, as one wide piece
457
510
  does), and in a flow run its step term at the role x family weight (`step_terms`)."""
458
511
  terms: list[Term] = [(f"topology:{st.shape or st.workflow_id}", None, 1.0)]
459
512
  terms += _control_terms(st.k_max, max(st.widths.values() or [1]))
460
- n = max(1, len(st.pieces))
513
+ weight = seat_weights(st, seats)
461
514
  for piece in st.pieces:
462
515
  h, m, e = _s(st.settings[piece])
463
- terms += setting_terms(h, m, e, 1.0 / n)
516
+ terms += setting_terms(h, m, e, weight[piece])
464
517
  if st.factors:
465
- terms += factor_terms(h, st.factors, 1.0 / n)
518
+ terms += factor_terms(h, st.factors, weight[piece])
466
519
  g = 1.0 / (st.copies.get(piece) or 1)
467
520
  terms += role_terms(st.roles[piece], m, g) + step_terms(st.flow, piece, st.roles[piece], m, g)
468
521
  return tuple(terms)
@@ -479,8 +532,9 @@ def gate_row(task: Task, source: str, st: Structure, gate: GateInfo, k: int,
479
532
  return task_terms(task, source, features) + list(gate_rest(st, gate, k))
480
533
 
481
534
 
482
- def run_row(task: Task, source: str, st: Structure, features: FeatureSet | None = None) -> list[Term]:
483
- return task_terms(task, source, features) + list(run_rest(st))
535
+ def run_row(task: Task, source: str, st: Structure, features: FeatureSet | None = None,
536
+ seats: str = SEAT_RULE) -> list[Term]:
537
+ return task_terms(task, source, features) + list(run_rest(st, seats))
484
538
 
485
539
 
486
540
  def _control_terms(k_max: int, width: int) -> list[Term]:
@@ -495,9 +549,10 @@ def _control_terms(k_max: int, width: int) -> list[Term]:
495
549
 
496
550
 
497
551
  def rows_for_config(task: Task, config: Configuration, source: str = "user",
498
- features: FeatureSet | None = None, factors: Sequence[str] = ()) -> dict:
552
+ features: FeatureSet | None = None, factors: Sequence[str] = (),
553
+ seats: str = SEAT_RULE) -> dict:
499
554
  """Prediction rows: per (piece, round), per (gate, round), one run row, and the structure. `factors`: the
500
- harness factors on every piece (`spec/harness.md`)."""
555
+ harness factors on every piece (`spec/harness.md`); `seats`: the seat rule of the run row (`seat_weights`)."""
501
556
  st = structure(config, factors)
502
557
  cost = {}
503
558
  for piece in st.pieces:
@@ -509,7 +564,7 @@ def rows_for_config(task: Task, config: Configuration, source: str = "user",
509
564
  rounds = st.k_max if st.gate_loop.get(gi) is not None else 1
510
565
  for k in range(1, rounds + 1):
511
566
  gate[(gi, k)] = gate_row(task, source, st, g, k, features)
512
- return {"structure": st, "cost": cost, "gate": gate, "run": run_row(task, source, st, features)}
567
+ return {"structure": st, "cost": cost, "gate": gate, "run": run_row(task, source, st, features, seats)}
513
568
 
514
569
 
515
570
  # ---------------------------------------------------------------- reading run documents
@@ -1030,8 +1085,9 @@ def _gate_observations(doc: dict, st: Structure, by_piece_round: dict) -> list[t
1030
1085
  return out
1031
1086
 
1032
1087
 
1033
- def rows_for_run(run_doc: dict) -> dict:
1034
- """Fitting rows for one run document: {cost, tokens, gate, success, scores} plus its structure."""
1088
+ def rows_for_run(run_doc: dict, seats: str = SEAT_RULE) -> dict:
1089
+ """Fitting rows for one run document: {cost, tokens, gate, success, scores} plus its structure; `seats` is
1090
+ the seat rule of the success and score rows (`seat_weights`)."""
1035
1091
  pr = parse_run(run_doc)
1036
1092
  st = structure(pr.config, pr.factors, pr.flow)
1037
1093
  out: dict[str, Any] = {"run": pr.run_id, "source": pr.source, "structure": st,
@@ -1044,7 +1100,7 @@ def rows_for_run(run_doc: dict) -> dict:
1044
1100
  out["tokens"].append((terms, math.log(a.tokens), a.weight))
1045
1101
  for gi, k, passed in pr.gates:
1046
1102
  out["gate"].append((gate_row(pr.task, pr.source, st, st.gates[gi], k), 1.0 if passed else 0.0))
1047
- row = run_row(pr.task, pr.source, st)
1103
+ row = run_row(pr.task, pr.source, st, seats=seats)
1048
1104
  if pr.evidence is not None and pr.evidence.z is not None:
1049
1105
  out["success"] = (row, float(pr.evidence.z), float(pr.evidence.q))
1050
1106
  for name, value in (pr.evidence.scores if pr.evidence else {}).items():
@@ -251,9 +251,12 @@ def _flow_run(doc: dict) -> bool:
251
251
 
252
252
  def collect_rows(docs: Iterable[dict | tuple[str | None, dict]], *, without: tuple[str, ...] = (),
253
253
  now: datetime | None = None, features: FeatureSet | None = None,
254
- q_by_tier: dict[str, float] | None = None, own_success: bool = False):
254
+ q_by_tier: dict[str, float] | None = None, own_success: bool = False,
255
+ seats: str = design_rows.SEAT_RULE):
255
256
  """Rows of every head from run documents, plus counts of what was used and dropped.
256
257
 
258
+ `seats` (config `belief.seat_weights`, `design.seat_rule`): the seat rule of the success and score rows.
259
+
257
260
  `own_success` (config `belief.shipped_success = "drop"`): shipped runs give no success or score rows, so
258
261
  the success level comes from the user's runs and shared imports only (`level.py`).
259
262
 
@@ -329,7 +332,7 @@ def collect_rows(docs: Iterable[dict | tuple[str | None, dict]], *, without: tup
329
332
  for gi, k, passed in pr.gates:
330
333
  heads["gate"].add(gate_row(pr.task, pr.source, st, st.gates[gi], k, features), 1.0 if passed else 0.0,
331
334
  1.0, pr.run_id, pr.source, ttype)
332
- row = run_row(pr.task, pr.source, st, features)
335
+ row = run_row(pr.task, pr.source, st, features, seats)
333
336
  if _flow_run(doc):
334
337
  flow_runs.append((doc, pr, row, ttype))
335
338
  continue
@@ -721,6 +724,7 @@ def fit(home: Path, *, no_prior: bool = False, without: tuple[str, ...] = (), fu
721
724
  # `outcome.q.<tier>`, read as `run finish` reads it; unset, the built-in q (0.2.6, fix (1))
722
725
  q_by_tier = {tier: Config(home / "config.toml", config).q_for_tier(tier) for tier in TIER_Q}
723
726
  level = level_settings(config)
727
+ seats = design_rows.seat_rule(config) # `belief.seat_weights`: by role, or `average` (1/n, 0.4.1's rows)
724
728
 
725
729
  def all_docs() -> Iterator[dict | tuple[str | None, dict]]:
726
730
  if docs is not None:
@@ -734,7 +738,8 @@ def fit(home: Path, *, no_prior: bool = False, without: tuple[str, ...] = (), fu
734
738
 
735
739
  (heads_rows, score_info, dropped, runs_by_source, config_support, checks, overlap,
736
740
  labels, tally, variants) = collect_rows(all_docs(), without=without, now=now, features=features,
737
- q_by_tier=q_by_tier, own_success=level.own_success)
741
+ q_by_tier=q_by_tier, own_success=level.own_success,
742
+ seats=seats)
738
743
  removed = {k[len("without "):] for k in dropped if k.startswith("without ")}
739
744
  unknown, known = unknown_sources(without, set(runs_by_source) | removed, bundle_dir)
740
745
  if unknown:
@@ -876,6 +881,9 @@ def fit(home: Path, *, no_prior: bool = False, without: tuple[str, ...] = (), fu
876
881
  "belief.shipped_success": level.shipped_success,
877
882
  "belief.benchmark_factors": level.benchmarks})
878
883
  meta["options"]["level"] = level.key()
884
+ if seats != design_rows.SEAT_AVERAGE: # rows by a role rule: 0.4.1 and older refuse the fit by name
885
+ meta["design_version"] = design_rows.OPT_IN_DESIGN_VERSION
886
+ meta.setdefault("model_options", {})[design_rows.SEAT_KEY] = seats
879
887
  if "recipe" in fitted.get("cost", {}):
880
888
  from .cost_recipe import METHOD, OPTION
881
889
 
@@ -62,8 +62,8 @@ from ..types import (
62
62
  Prediction, ScorePrediction, Task,
63
63
  )
64
64
  from .compose import Intervals, RunDraws, compose, cost_per_round, interval, ranges
65
- from .design import (Structure, cost_rest, gate_rest, other_design, run_rest, split_factor_node, structure,
66
- task_features, task_terms)
65
+ from .design import (Structure, cost_rest, fit_seat_rule, gate_rest, other_design, run_rest, split_factor_node,
66
+ structure, task_features, task_terms)
67
67
  from .forest import LEVEL_ALIASES, canonical_model_id, default_scale, display_level, level_of, node_key, scale_group
68
68
  from .block import BlockFactor, blocks, leading_diagonal
69
69
  from .gaussian import _cho, cov_factor
@@ -444,6 +444,9 @@ class FitState:
444
444
  self.price_offsets: dict[str, float] = dict((self.meta.get("price_offsets") or {}).get("models") or {})
445
445
  # spec 04 section 3 (0.2.8): each priced model's cache-read rate, $ per token; a draw's rate stays above it
446
446
  self.rate_floors: dict[str, float] = dict(self.meta.get("rate_floors") or {})
447
+ # the seat rule the fit's success and score rows were made under (`design.seat_weights`): predictions
448
+ # use the same one, so a fit from before 0.4.2 keeps its 1/n rows until the next fit
449
+ self.seat_rule: str = fit_seat_rule(self.meta)
447
450
  if heads is None:
448
451
  heads = {}
449
452
  for name, hmeta in (self.meta.get("heads") or {}).items():
@@ -532,7 +535,8 @@ class FitState:
532
535
  gate[(gi, k)] = gate_rest(st, g, k)
533
536
  floors = {piece: float(self.rate_floors.get(canonical_model_id(st.settings[piece].model), 0.0))
534
537
  for piece in st.pieces}
535
- return {"config": config, "st": st, "cost": cost, "gate": gate, "run": run_rest(st), "floors": floors}
538
+ return {"config": config, "st": st, "cost": cost, "gate": gate, "run": run_rest(st, self.seat_rule),
539
+ "floors": floors}
536
540
 
537
541
  # ------------------------------------------------------------ the task as the fit reads it
538
542
 
@@ -538,7 +538,11 @@ def _add_recording(sub) -> None:
538
538
  "benchmark in the shipped benchmarks.toml has its own weight, in runs, shared by "
539
539
  "a model's results on it; a number here is one weight for every benchmark, and 0 "
540
540
  "turns benchmark priors off. belief.level is store by default: the store's pass "
541
- "rate is learned from its own runs only; shared is 0.3.5's fit.")
541
+ "rate is learned from its own runs only; shared is 0.3.5's fit. "
542
+ "belief.seat_weights is role by default: in a multi-piece workflow the writer's "
543
+ "model, effort and harness count 1, the planner's 0.22 and the reviewers' 0.11 "
544
+ "between them (placeholder values); average counts every piece the same, as "
545
+ "0.4.1 did.")
542
546
  q.add_argument("key", metavar="KEY")
543
547
  q.add_argument("value", metavar="VALUE")
544
548
  _common(q)
@@ -3,7 +3,7 @@
3
3
 
4
4
  id = "loopmath-harness"
5
5
  name = "loopmath harness"
6
- version = "0.4.1"
6
+ version = "0.4.3"
7
7
  min_herdr_version = "0.9.3"
8
8
  description = "Watch, check and stop a loopmath harness tune from herdr."
9
9
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loopmath-harness",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Configure, start and watch a loopmath harness tune from Claude Code. Runs the loopmath CLI; makes no model call itself.",
5
5
  "author": { "name": "loopmath" },
6
6
  "types": "./types/index.d.ts",
@@ -145,9 +145,9 @@ source = "OpenCode 1.17.11 model catalog, opencode free route"
145
145
  # Rows checked on the provider pages on 2026-09-23; gpt-6.1-sol added and
146
146
  # gpt-6-luna checked again on 2026-10-12 (no newer luna is listed);
147
147
  # claude-sonnet-5-5 and claude-haiku-5-5 confirmed and gpt-6.1-terra added
148
- # on 2026-11-03. as_of stays the copied table's date: a row with no
149
- # "checked" date takes it as the date of its tariff, and those rows were
150
- # not read again.
148
+ # on 2026-11-03; claude-fable-5-2 added on 2026-11-16. as_of stays the
149
+ # copied table's date: a row with no "checked" date takes it as the date of
150
+ # its tariff, and those rows were not read again.
151
151
  # Each source names its page and the date it was read; the tariff record
152
152
  # written with every priced attempt takes its date from "checked YYYY-MM-DD".
153
153
  #
@@ -187,6 +187,13 @@ cache_write = 0.20
187
187
  output = 0.50
188
188
  source = "official list, https://platform.claude.com/docs/en/about-claude/pricing, checked 2026-11-03: Claude Haiku 5.5 at $0.10 input, $0.20 1h cache write, $0.01 cache read, $0.50 output for prompts up to 100,000 tokens; prompts over 100,000 tokens bill $0.50 input, $1 1h cache write, $0.05 cache read, $2.50 output and are priced at this rate (a floor); cache_write is the 1h rate"
189
189
 
190
+ ["claude-fable-5-2"]
191
+ input = 8.00
192
+ cache_read = 0.20
193
+ cache_write = 16.00
194
+ output = 40.00
195
+ source = "official list, https://platform.claude.com/docs/en/about-claude/pricing, checked 2026-11-16: Claude Fable 5.2 at $8 input, $16 1h cache write, $0.20 cache read (0.025x input), $40 output; cache_write is the 1h rate"
196
+
190
197
  ["gpt-6-astra"]
191
198
  input = 10.00
192
199
  cache_read = 1.00
@@ -36,7 +36,7 @@ from typing import Any, Callable, Iterable, Sequence
36
36
  import numpy as np
37
37
  from scipy.special import expit, ndtr
38
38
 
39
- from ..belief.design import Structure, _piece_reach, cost_rest, gate_rest, run_rest, structure
39
+ from ..belief.design import SEAT_RULE, Structure, _piece_reach, cost_rest, gate_rest, run_rest, structure
40
40
  from ..belief.forest import canonical_model_id
41
41
  from ..belief.state import MEAN_NODES, MIN_SCORE_SWITCH, N_DRAWS, PREDICT_SOURCE, _GW, _GX, transform
42
42
  from ..types import AcceptanceRule, Configuration, Piece, Prediction, Setting, Task, Workflow
@@ -454,6 +454,7 @@ class Tables:
454
454
  self.tp = fs._task_parts(task)
455
455
  self.effort = fs.effort_for(task) if hasattr(fs, "effort_for") else 1.0 # spec 04 section 1, under a timebox
456
456
  self.prices = getattr(fs, "price_offsets", None) # spec 04 section 2, the price offset per model
457
+ self.seats = getattr(fs, "seat_rule", SEAT_RULE) # the fit's seat rule, as its own predictions use it
457
458
  self.half_u = 0.5 * fs.heads["cost"].sigma ** 2
458
459
  self.draw_idx = draw_idx
459
460
  tg = self.tp["gate"]
@@ -544,7 +545,7 @@ class Tables:
544
545
  """The run row as a case part plus one setting part per piece: {piece: parts}, case terms.
545
546
  Cases with the same pieces and flow share the per-piece parts; a hit is checked on the last setting."""
546
547
  st = case.st
547
- r0 = run_rest(st)
548
+ r0 = run_rest(st, self.seats)
548
549
  mkey = (st.workflow_id, tuple(st.pieces), tuple(st.roles[p] for p in st.pieces),
549
550
  tuple(sorted(case.workflow.edges)), len(r0))
550
551
  hit = self._run_memo.get(mkey)
@@ -552,7 +553,7 @@ class Tables:
552
553
  vary, parts = hit
553
554
  for p in st.pieces:
554
555
  with _Varied(st, p, self.settings[-1]) as v:
555
- row = run_rest(v)
556
+ row = run_rest(v, self.seats)
556
557
  want = list(r0)
557
558
  for i, t in zip(vary[p], parts[p][-1]):
558
559
  want[i] = t
@@ -565,7 +566,7 @@ class Tables:
565
566
  rows = []
566
567
  for s in self.settings:
567
568
  with _Varied(st, p, s) as v:
568
- rows.append(run_rest(v))
569
+ rows.append(run_rest(v, self.seats))
569
570
  if any(len(r) != len(r0) for r in rows):
570
571
  raise NotExact("run rows change length with a setting")
571
572
  vary[p] = [i for i in range(len(r0)) if any(r[i] != r0[i] for r in rows)]
@@ -16,7 +16,9 @@ declared task features `features.<key>` with `features.min_tasks`
16
16
  `eb`, 0.3.1's success head; `sampled` opts in to the success head by NUTS over
17
17
  its effects and scales, belief.integrated and belief.sampled), and `belief.level` (unset or `store`, from 0.4.0:
18
18
  each store's own success level, benchmarks by offset; `shared` is 0.3.5's fit, belief.level) with its two sds,
19
- `belief.benchmark_effort_sd` and `belief.cost_level_sd` (0.5 each under `store`).
19
+ `belief.benchmark_effort_sd` and `belief.cost_level_sd` (0.5 each under `store`), and `belief.seat_weights` (unset or
20
+ `role`: a multi-piece run's success and score rows carry the writer's setting at 1, the planner's at 0.22 and the
21
+ reviewers' at 0.11 between them, placeholder values; `average` is 0.4.1's 1/n, also the default under `shared`).
20
22
 
21
23
  Reading uses `tomllib` (Python 3.11+), else a reader for the
22
24
  subset this module writes. The writer emits plain tables and JSON-compatible
@@ -60,6 +62,8 @@ CHOICES: dict[str, tuple[str, ...]] = {
60
62
  # unset or `eb`: 0.3.1's success head; `sampled` opts in (belief.integrated, belief.sampled)
61
63
  "belief.success_head": ("eb", "sampled"),
62
64
  "belief.level": ("store", "shared"), # unset: `store` (0.4.0); `shared` is 0.3.5's fit (belief.level)
65
+ # unset: `role` under the store level, `average` under `shared` (0.4.2; belief.design.seat_rule)
66
+ "belief.seat_weights": ("role", "average"),
63
67
  }
64
68
  LABELER_KINDS = ("claude", "codex", "command")
65
69
  LABELER_KEYS = ("onboard.labeler", "labeler") # `labeler` is the spec 02 name; D39 stores `onboard.labeler`
@@ -80,7 +84,7 @@ STRING_ROOTS = ("research",) # values stored as given, never parsed as JSON
80
84
  KEYS = ("org", "acceptance_rule", "rules.<name>", "goal", "rescue.kind", "rescue.person_usd_per_hour",
81
85
  "rescue.hours", "rescue.decay", "rescue.max_attempts", "rescue.min_chance", "models.allowed", "harnesses",
82
86
  "subtypes", "benchmark_prior_weight", "belief.success_head", "belief.level", "belief.benchmark_effort_sd",
83
- "belief.cost_level_sd", "explore.default_pick",
87
+ "belief.cost_level_sd", "belief.seat_weights", "explore.default_pick",
84
88
  "explore.auto_payback_runs", "referee.model",
85
89
  "budget.usd", "budget.period", "outcome.q.<tier>", "onboard.labeler", "onboard.skip",
86
90
  "usual.<type>.<repo>", "usual_meta.<type>.<repo>", "research.sweep_dir", "research.e0_corpus",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: loopmath
3
- Version: 0.4.1
3
+ Version: 0.4.3
4
4
  Summary: Plan agent workflows, record how they went, and learn from your own Claude Code and Codex logs
5
5
  Author: loopmath
6
6
  License-Expression: MIT
@@ -112,6 +112,8 @@ Reading the history uses up to 8 worker processes (one per CPU, at most 8). Set
112
112
 
113
113
  loopmath ships with a prior built from our own sweeps and experiments, so `recommend` gives an answer before you have any history. Your own runs then move it. Your store's overall pass rate is its own, with a wide prior that only your runs move: the shipped runs give their costs and gate rows but no success rows, and the public benchmarks say which models are stronger (`belief.level`, `store` by default; `loopmath config set belief.level shared`, then `loopmath fit`, gives 0.3.5's fit).
114
114
 
115
+ In a workflow with several pieces, the piece that writes the change counts most in the predicted chance of success: its model, effort and harness count 1, the planner's 0.22 and the reviewers' 0.11 between them. These three weights are a placeholder from one experiment on 8 coding tasks; they are fixed, not learned from your runs, and will change. `loopmath config set belief.seat_weights average`, then `loopmath fit`, counts every piece the same, as 0.4.1 did.
116
+
115
117
  The prior ships inside the package: our runs, in the shared form (no titles, paths, commands or free text), and the published benchmark results. They are the same files we fit with, and each release updates them. `onboard` and the results page say in one line which prior they start from, and `loopmath prior show` lists it source by source.
116
118
 
117
119
  ## The loop
@@ -109,11 +109,11 @@ def test_load_prices_packaged_table():
109
109
  def test_load_prices_packaged_table_shape_and_todo_count():
110
110
  # The authoritative table, five OpenCode-observed entries, the rows
111
111
  # checked on the provider pages on 2026-09-23, gpt-6.1-sol (2026-10-12) and
112
- # the Claude 5.5 rows and gpt-6.1-terra (2026-11-03): 31 entries, 5 still
113
- # flagged todo (the placeholder section), and the canonical short name
114
- # resolves to the full-name table entry.
112
+ # the Claude 5.5 rows and gpt-6.1-terra (2026-11-03) and claude-fable-5-2
113
+ # (2026-11-16): 32 entries, 5 still flagged todo (the placeholder section),
114
+ # and the canonical short name resolves to the full-name table entry.
115
115
  table = load_prices()
116
- assert len(table.rates) == 31
116
+ assert len(table.rates) == 32
117
117
  assert len(table.todo) == 5
118
118
 
119
119
  rates = table.rate("opus-5")
File without changes
File without changes
File without changes