verimath 0.1.0rc59__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 (456) hide show
  1. verimath-0.1.0rc59/CHANGELOG.md +241 -0
  2. verimath-0.1.0rc59/CONTRIBUTING.md +68 -0
  3. verimath-0.1.0rc59/Cargo.lock +471 -0
  4. verimath-0.1.0rc59/Cargo.toml +47 -0
  5. verimath-0.1.0rc59/LICENSE +202 -0
  6. verimath-0.1.0rc59/PKG-INFO +39 -0
  7. verimath-0.1.0rc59/README.md +130 -0
  8. verimath-0.1.0rc59/SECURITY.md +5 -0
  9. verimath-0.1.0rc59/THIRD-PARTY-NOTICES.txt +1902 -0
  10. verimath-0.1.0rc59/benches/allocations.rs +38 -0
  11. verimath-0.1.0rc59/benchmarks/README.md +278 -0
  12. verimath-0.1.0rc59/benchmarks/absolute-tolerance-results.json +452 -0
  13. verimath-0.1.0rc59/benchmarks/absolute-tolerance.md +39 -0
  14. verimath-0.1.0rc59/benchmarks/absolute_tolerance.py +253 -0
  15. verimath-0.1.0rc59/benchmarks/accepted-answers-results.json +180 -0
  16. verimath-0.1.0rc59/benchmarks/accepted-answers.md +53 -0
  17. verimath-0.1.0rc59/benchmarks/accepted_answers.py +151 -0
  18. verimath-0.1.0rc59/benchmarks/angle-units-results.json +155 -0
  19. verimath-0.1.0rc59/benchmarks/angle-units.md +35 -0
  20. verimath-0.1.0rc59/benchmarks/angle_units.py +126 -0
  21. verimath-0.1.0rc59/benchmarks/answer-headings-results.json +352 -0
  22. verimath-0.1.0rc59/benchmarks/answer-headings.md +60 -0
  23. verimath-0.1.0rc59/benchmarks/answer-types-results.json +973 -0
  24. verimath-0.1.0rc59/benchmarks/answer-types-review.json +444 -0
  25. verimath-0.1.0rc59/benchmarks/answer-types-scalar-baseline.json +242 -0
  26. verimath-0.1.0rc59/benchmarks/answer-types.md +46 -0
  27. verimath-0.1.0rc59/benchmarks/answer_headings.py +104 -0
  28. verimath-0.1.0rc59/benchmarks/answer_types.py +221 -0
  29. verimath-0.1.0rc59/benchmarks/approximate-answers-results.json +313 -0
  30. verimath-0.1.0rc59/benchmarks/approximate_answers.py +93 -0
  31. verimath-0.1.0rc59/benchmarks/batch-review-results.json +440 -0
  32. verimath-0.1.0rc59/benchmarks/batch-review.md +35 -0
  33. verimath-0.1.0rc59/benchmarks/batch_review.py +136 -0
  34. verimath-0.1.0rc59/benchmarks/binomial-counts-results.json +148 -0
  35. verimath-0.1.0rc59/benchmarks/binomial-counts.md +28 -0
  36. verimath-0.1.0rc59/benchmarks/binomial_counts.py +147 -0
  37. verimath-0.1.0rc59/benchmarks/browser-grading-results.json +107 -0
  38. verimath-0.1.0rc59/benchmarks/browser-grading.md +32 -0
  39. verimath-0.1.0rc59/benchmarks/browser-locations-results.json +642 -0
  40. verimath-0.1.0rc59/benchmarks/browser-locations.md +29 -0
  41. verimath-0.1.0rc59/benchmarks/browser_grading.py +112 -0
  42. verimath-0.1.0rc59/benchmarks/browser_locations.py +168 -0
  43. verimath-0.1.0rc59/benchmarks/certified-tolerance-results.json +92 -0
  44. verimath-0.1.0rc59/benchmarks/certified-tolerance.md +42 -0
  45. verimath-0.1.0rc59/benchmarks/certified_tolerance.py +160 -0
  46. verimath-0.1.0rc59/benchmarks/check-labels-results.json +115 -0
  47. verimath-0.1.0rc59/benchmarks/check-labels.md +55 -0
  48. verimath-0.1.0rc59/benchmarks/check_labels.py +156 -0
  49. verimath-0.1.0rc59/benchmarks/choice-key-review-results.json +248 -0
  50. verimath-0.1.0rc59/benchmarks/choice-key-review.md +69 -0
  51. verimath-0.1.0rc59/benchmarks/choice-records-results.json +415 -0
  52. verimath-0.1.0rc59/benchmarks/choice-records.md +55 -0
  53. verimath-0.1.0rc59/benchmarks/choice-sentences-results.json +697 -0
  54. verimath-0.1.0rc59/benchmarks/choice_key_review.py +186 -0
  55. verimath-0.1.0rc59/benchmarks/choice_records.py +142 -0
  56. verimath-0.1.0rc59/benchmarks/choice_sentences.py +96 -0
  57. verimath-0.1.0rc59/benchmarks/choices-shard0.json +310 -0
  58. verimath-0.1.0rc59/benchmarks/choices-shard1.json +319 -0
  59. verimath-0.1.0rc59/benchmarks/choices.md +45 -0
  60. verimath-0.1.0rc59/benchmarks/cli-alternatives-results.json +125 -0
  61. verimath-0.1.0rc59/benchmarks/cli_alternatives.py +131 -0
  62. verimath-0.1.0rc59/benchmarks/completion-scan-results.json +388 -0
  63. verimath-0.1.0rc59/benchmarks/dataset-alternatives-results.json +205 -0
  64. verimath-0.1.0rc59/benchmarks/dataset-map-results.json +132 -0
  65. verimath-0.1.0rc59/benchmarks/dataset-map.md +79 -0
  66. verimath-0.1.0rc59/benchmarks/dataset-rubrics-rc58-results.json +132 -0
  67. verimath-0.1.0rc59/benchmarks/dataset-rubrics-results.json +132 -0
  68. verimath-0.1.0rc59/benchmarks/dataset_alternatives.py +139 -0
  69. verimath-0.1.0rc59/benchmarks/dataset_map.py +162 -0
  70. verimath-0.1.0rc59/benchmarks/dataset_rubrics.py +114 -0
  71. verimath-0.1.0rc59/benchmarks/diagnostics-results.json +270 -0
  72. verimath-0.1.0rc59/benchmarks/diagnostics.md +46 -0
  73. verimath-0.1.0rc59/benchmarks/diagnostics.py +147 -0
  74. verimath-0.1.0rc59/benchmarks/extraction-results.json +315 -0
  75. verimath-0.1.0rc59/benchmarks/extraction.md +65 -0
  76. verimath-0.1.0rc59/benchmarks/extraction.py +180 -0
  77. verimath-0.1.0rc59/benchmarks/factored-openr1-results.json +183 -0
  78. verimath-0.1.0rc59/benchmarks/factored_replay.py +85 -0
  79. verimath-0.1.0rc59/benchmarks/factorial-counts-results.json +246 -0
  80. verimath-0.1.0rc59/benchmarks/factorial-counts.md +29 -0
  81. verimath-0.1.0rc59/benchmarks/factorial_counts.py +93 -0
  82. verimath-0.1.0rc59/benchmarks/final-line-fences-results.json +77 -0
  83. verimath-0.1.0rc59/benchmarks/final_line_fences.py +125 -0
  84. verimath-0.1.0rc59/benchmarks/first-verdict-windows.json +72 -0
  85. verimath-0.1.0rc59/benchmarks/first_verdict.py +160 -0
  86. verimath-0.1.0rc59/benchmarks/free-threaded-results.json +187 -0
  87. verimath-0.1.0rc59/benchmarks/free-threaded.md +42 -0
  88. verimath-0.1.0rc59/benchmarks/free_threaded.py +100 -0
  89. verimath-0.1.0rc59/benchmarks/grade_completions.py +57 -0
  90. verimath-0.1.0rc59/benchmarks/gsm8k-results.json +728 -0
  91. verimath-0.1.0rc59/benchmarks/gsm8k.md +39 -0
  92. verimath-0.1.0rc59/benchmarks/gsm8k.py +221 -0
  93. verimath-0.1.0rc59/benchmarks/inspect-saved-eval.json +50 -0
  94. verimath-0.1.0rc59/benchmarks/inspect-saved-eval.md +23 -0
  95. verimath-0.1.0rc59/benchmarks/inspect_saved_eval.py +89 -0
  96. verimath-0.1.0rc59/benchmarks/jsonl-results.json +116 -0
  97. verimath-0.1.0rc59/benchmarks/jsonl.md +29 -0
  98. verimath-0.1.0rc59/benchmarks/jsonl.py +136 -0
  99. verimath-0.1.0rc59/benchmarks/kas-rc37-results.json +222 -0
  100. verimath-0.1.0rc59/benchmarks/kas-results.json +590 -0
  101. verimath-0.1.0rc59/benchmarks/kas_baseline.mjs +33 -0
  102. verimath-0.1.0rc59/benchmarks/kas_comparisons.py +134 -0
  103. verimath-0.1.0rc59/benchmarks/linux-wheel-install.json +288 -0
  104. verimath-0.1.0rc59/benchmarks/literal-coefficients-results.json +585 -0
  105. verimath-0.1.0rc59/benchmarks/literal-coefficients.md +96 -0
  106. verimath-0.1.0rc59/benchmarks/literal_coefficients.py +167 -0
  107. verimath-0.1.0rc59/benchmarks/lm-eval-gsm8k-results.json +274 -0
  108. verimath-0.1.0rc59/benchmarks/lm_eval_gsm8k.py +152 -0
  109. verimath-0.1.0rc59/benchmarks/markdown-answers-results.json +287 -0
  110. verimath-0.1.0rc59/benchmarks/markdown-answers.md +27 -0
  111. verimath-0.1.0rc59/benchmarks/markdown_answers.py +154 -0
  112. verimath-0.1.0rc59/benchmarks/membership-witness-results.json +880 -0
  113. verimath-0.1.0rc59/benchmarks/membership-witness.md +35 -0
  114. verimath-0.1.0rc59/benchmarks/membership_witness.py +177 -0
  115. verimath-0.1.0rc59/benchmarks/metric-area-results.json +827 -0
  116. verimath-0.1.0rc59/benchmarks/metric-area.md +31 -0
  117. verimath-0.1.0rc59/benchmarks/metric-volume-results.json +245 -0
  118. verimath-0.1.0rc59/benchmarks/metric-volume.md +29 -0
  119. verimath-0.1.0rc59/benchmarks/metric_area.py +135 -0
  120. verimath-0.1.0rc59/benchmarks/metric_volume.py +122 -0
  121. verimath-0.1.0rc59/benchmarks/mixed-numbers-results.json +2731 -0
  122. verimath-0.1.0rc59/benchmarks/mixed-numbers.md +40 -0
  123. verimath-0.1.0rc59/benchmarks/mixed-quantities-results.json +866 -0
  124. verimath-0.1.0rc59/benchmarks/mixed-quantities.md +31 -0
  125. verimath-0.1.0rc59/benchmarks/mixed-rewards-results.json +275 -0
  126. verimath-0.1.0rc59/benchmarks/mixed-rewards.md +93 -0
  127. verimath-0.1.0rc59/benchmarks/mixed_numbers.py +137 -0
  128. verimath-0.1.0rc59/benchmarks/mixed_quantities.py +150 -0
  129. verimath-0.1.0rc59/benchmarks/mixed_rewards.py +182 -0
  130. verimath-0.1.0rc59/benchmarks/mu-math-results.json +1388 -0
  131. verimath-0.1.0rc59/benchmarks/mu-math.md +61 -0
  132. verimath-0.1.0rc59/benchmarks/mu_math.py +253 -0
  133. verimath-0.1.0rc59/benchmarks/named-variables.md +26 -0
  134. verimath-0.1.0rc59/benchmarks/node-gsm8k-results.json +45 -0
  135. verimath-0.1.0rc59/benchmarks/node-gsm8k.md +23 -0
  136. verimath-0.1.0rc59/benchmarks/node-rubrics-results.json +52 -0
  137. verimath-0.1.0rc59/benchmarks/node-rubrics.md +22 -0
  138. verimath-0.1.0rc59/benchmarks/node_gsm8k.py +86 -0
  139. verimath-0.1.0rc59/benchmarks/node_rubrics.mjs +33 -0
  140. verimath-0.1.0rc59/benchmarks/node_rubrics.py +91 -0
  141. verimath-0.1.0rc59/benchmarks/numeric-choice-results.json +3183 -0
  142. verimath-0.1.0rc59/benchmarks/numeric_choice_values.py +173 -0
  143. verimath-0.1.0rc59/benchmarks/openr1-generations-results.json +135 -0
  144. verimath-0.1.0rc59/benchmarks/openr1-import-holdout.json +140 -0
  145. verimath-0.1.0rc59/benchmarks/openr1-import-results.json +289 -0
  146. verimath-0.1.0rc59/benchmarks/openr1-import.md +64 -0
  147. verimath-0.1.0rc59/benchmarks/openr1-integer-results.json +156 -0
  148. verimath-0.1.0rc59/benchmarks/openr1-integers.json +268 -0
  149. verimath-0.1.0rc59/benchmarks/openr1-interval-results.json +809 -0
  150. verimath-0.1.0rc59/benchmarks/openr1-named-intervals-shard0.json +811 -0
  151. verimath-0.1.0rc59/benchmarks/openr1-named-intervals-shard1.json +783 -0
  152. verimath-0.1.0rc59/benchmarks/openr1-results.json +231 -0
  153. verimath-0.1.0rc59/benchmarks/openr1-review.json +457 -0
  154. verimath-0.1.0rc59/benchmarks/openr1-reviewed-choices.json +339 -0
  155. verimath-0.1.0rc59/benchmarks/openr1-reviewed-rc14-rc18.json +343 -0
  156. verimath-0.1.0rc59/benchmarks/openr1-reviewed-rc7.json +339 -0
  157. verimath-0.1.0rc59/benchmarks/openr1-reviewed-results.json +339 -0
  158. verimath-0.1.0rc59/benchmarks/openr1.py +51 -0
  159. verimath-0.1.0rc59/benchmarks/openr1_choices.py +209 -0
  160. verimath-0.1.0rc59/benchmarks/openr1_generations.py +135 -0
  161. verimath-0.1.0rc59/benchmarks/openr1_import.py +161 -0
  162. verimath-0.1.0rc59/benchmarks/openr1_integers.py +155 -0
  163. verimath-0.1.0rc59/benchmarks/openr1_intervals.py +212 -0
  164. verimath-0.1.0rc59/benchmarks/parallel-jsonl-hosted.json +454 -0
  165. verimath-0.1.0rc59/benchmarks/parallel-jsonl-results.json +218 -0
  166. verimath-0.1.0rc59/benchmarks/parallel-jsonl.md +44 -0
  167. verimath-0.1.0rc59/benchmarks/parallel_jsonl.py +137 -0
  168. verimath-0.1.0rc59/benchmarks/percentages-results.json +447 -0
  169. verimath-0.1.0rc59/benchmarks/percentages.md +41 -0
  170. verimath-0.1.0rc59/benchmarks/percentages.py +190 -0
  171. verimath-0.1.0rc59/benchmarks/pi-constants-results.json +109 -0
  172. verimath-0.1.0rc59/benchmarks/pi-constants.md +27 -0
  173. verimath-0.1.0rc59/benchmarks/pi_constants.py +116 -0
  174. verimath-0.1.0rc59/benchmarks/prepared-answers-results.json +209 -0
  175. verimath-0.1.0rc59/benchmarks/project-install-windows.json +114 -0
  176. verimath-0.1.0rc59/benchmarks/project_install.py +164 -0
  177. verimath-0.1.0rc59/benchmarks/python-guide-first-verdict.json +85 -0
  178. verimath-0.1.0rc59/benchmarks/quickstart-commands-windows.json +105 -0
  179. verimath-0.1.0rc59/benchmarks/radicals-results.json +522 -0
  180. verimath-0.1.0rc59/benchmarks/radicals-scalar-baseline.json +242 -0
  181. verimath-0.1.0rc59/benchmarks/radicals.md +43 -0
  182. verimath-0.1.0rc59/benchmarks/radicals.py +208 -0
  183. verimath-0.1.0rc59/benchmarks/rational-key-review-results.json +488 -0
  184. verimath-0.1.0rc59/benchmarks/rational-key-review.md +72 -0
  185. verimath-0.1.0rc59/benchmarks/rational_key_review.py +349 -0
  186. verimath-0.1.0rc59/benchmarks/ratios-results.json +1534 -0
  187. verimath-0.1.0rc59/benchmarks/ratios.md +37 -0
  188. verimath-0.1.0rc59/benchmarks/ratios.py +119 -0
  189. verimath-0.1.0rc59/benchmarks/rc51-comparison.md +64 -0
  190. verimath-0.1.0rc59/benchmarks/rc51-gsm8k-results.json +617 -0
  191. verimath-0.1.0rc59/benchmarks/rc51-scalar-results.json +943 -0
  192. verimath-0.1.0rc59/benchmarks/rc51-vs-rc2.json +388 -0
  193. verimath-0.1.0rc59/benchmarks/rc51-vs-rc33.json +388 -0
  194. verimath-0.1.0rc59/benchmarks/rc52-browser-gsm8k.json +107 -0
  195. verimath-0.1.0rc59/benchmarks/rc52-node-gsm8k.json +45 -0
  196. verimath-0.1.0rc59/benchmarks/rc54-suite.json +409 -0
  197. verimath-0.1.0rc59/benchmarks/rc57-public-install.json +104 -0
  198. verimath-0.1.0rc59/benchmarks/rc57-suite.json +1085 -0
  199. verimath-0.1.0rc59/benchmarks/rc58-suite.json +393 -0
  200. verimath-0.1.0rc59/benchmarks/rc6.md +62 -0
  201. verimath-0.1.0rc59/benchmarks/rc7.md +39 -0
  202. verimath-0.1.0rc59/benchmarks/requirements.txt +7 -0
  203. verimath-0.1.0rc59/benchmarks/results-rc6.json +940 -0
  204. verimath-0.1.0rc59/benchmarks/results-rc7.json +940 -0
  205. verimath-0.1.0rc59/benchmarks/results.json +940 -0
  206. verimath-0.1.0rc59/benchmarks/review-decisions-results.json +46 -0
  207. verimath-0.1.0rc59/benchmarks/review_decisions.py +66 -0
  208. verimath-0.1.0rc59/benchmarks/review_openr1.py +74 -0
  209. verimath-0.1.0rc59/benchmarks/run.py +391 -0
  210. verimath-0.1.0rc59/benchmarks/rust-consumer-windows.json +119 -0
  211. verimath-0.1.0rc59/benchmarks/rust_consumer.py +125 -0
  212. verimath-0.1.0rc59/benchmarks/scalar_control.py +53 -0
  213. verimath-0.1.0rc59/benchmarks/shared-candidate-results.json +193 -0
  214. verimath-0.1.0rc59/benchmarks/shared-candidate.md +64 -0
  215. verimath-0.1.0rc59/benchmarks/shared_candidate.py +146 -0
  216. verimath-0.1.0rc59/benchmarks/signed-powers-results.json +206 -0
  217. verimath-0.1.0rc59/benchmarks/signed-powers.md +31 -0
  218. verimath-0.1.0rc59/benchmarks/signed_powers.py +165 -0
  219. verimath-0.1.0rc59/benchmarks/sized-parentheses-results.json +253 -0
  220. verimath-0.1.0rc59/benchmarks/sized-parentheses.md +41 -0
  221. verimath-0.1.0rc59/benchmarks/sized_parentheses.py +151 -0
  222. verimath-0.1.0rc59/benchmarks/slanted-relations-results.json +156 -0
  223. verimath-0.1.0rc59/benchmarks/slanted-relations.md +36 -0
  224. verimath-0.1.0rc59/benchmarks/slanted_relations.py +81 -0
  225. verimath-0.1.0rc59/benchmarks/sparse-products-results.json +484 -0
  226. verimath-0.1.0rc59/benchmarks/sparse_products.py +138 -0
  227. verimath-0.1.0rc59/benchmarks/standalone-cli-windows.json +93 -0
  228. verimath-0.1.0rc59/benchmarks/standalone-cli.md +39 -0
  229. verimath-0.1.0rc59/benchmarks/standalone_cli.py +140 -0
  230. verimath-0.1.0rc59/benchmarks/stream-results.json +172 -0
  231. verimath-0.1.0rc59/benchmarks/stream.md +30 -0
  232. verimath-0.1.0rc59/benchmarks/stream.py +122 -0
  233. verimath-0.1.0rc59/benchmarks/trl-device-results.json +1523 -0
  234. verimath-0.1.0rc59/benchmarks/trl-generated-results.json +1658 -0
  235. verimath-0.1.0rc59/benchmarks/trl-rc5.json +50 -0
  236. verimath-0.1.0rc59/benchmarks/trl-rc6.json +98 -0
  237. verimath-0.1.0rc59/benchmarks/trl_rollouts.py +62 -0
  238. verimath-0.1.0rc59/benchmarks/unicode-boundaries-results.json +154 -0
  239. verimath-0.1.0rc59/benchmarks/unicode_boundaries.py +62 -0
  240. verimath-0.1.0rc59/benchmarks/units-results.json +320 -0
  241. verimath-0.1.0rc59/benchmarks/units.md +42 -0
  242. verimath-0.1.0rc59/benchmarks/units.py +284 -0
  243. verimath-0.1.0rc59/benchmarks/uvx_first_verdict.py +62 -0
  244. verimath-0.1.0rc59/benchmarks/verl-alternatives-windows.json +102 -0
  245. verimath-0.1.0rc59/benchmarks/verl-generated-results.json +1758 -0
  246. verimath-0.1.0rc59/benchmarks/verl-mixed-windows.json +53 -0
  247. verimath-0.1.0rc59/benchmarks/verl-rewards-windows.json +43 -0
  248. verimath-0.1.0rc59/benchmarks/verl-rewards.md +83 -0
  249. verimath-0.1.0rc59/benchmarks/verl-workers-windows.json +105 -0
  250. verimath-0.1.0rc59/benchmarks/verl-workers.md +34 -0
  251. verimath-0.1.0rc59/benchmarks/verl_alternatives.py +104 -0
  252. verimath-0.1.0rc59/benchmarks/verl_mixed_rewards.py +101 -0
  253. verimath-0.1.0rc59/benchmarks/verl_rewards.py +84 -0
  254. verimath-0.1.0rc59/benchmarks/verl_worker_scaling.py +80 -0
  255. verimath-0.1.0rc59/bindings/Cargo.toml +16 -0
  256. verimath-0.1.0rc59/bindings/src/lib.rs +557 -0
  257. verimath-0.1.0rc59/crates-io.md +21 -0
  258. verimath-0.1.0rc59/docs/architecture.md +31 -0
  259. verimath-0.1.0rc59/docs/browser.md +52 -0
  260. verimath-0.1.0rc59/docs/cli.md +207 -0
  261. verimath-0.1.0rc59/docs/crates-io.md +21 -0
  262. verimath-0.1.0rc59/docs/huggingface-datasets.md +94 -0
  263. verimath-0.1.0rc59/docs/inspect.md +36 -0
  264. verimath-0.1.0rc59/docs/install.md +45 -0
  265. verimath-0.1.0rc59/docs/lm-eval.md +35 -0
  266. verimath-0.1.0rc59/docs/node.md +79 -0
  267. verimath-0.1.0rc59/docs/openr1.md +41 -0
  268. verimath-0.1.0rc59/docs/pypi.md +18 -0
  269. verimath-0.1.0rc59/docs/python.md +753 -0
  270. verimath-0.1.0rc59/docs/rust.md +80 -0
  271. verimath-0.1.0rc59/docs/semantics.md +199 -0
  272. verimath-0.1.0rc59/docs/state.md +207 -0
  273. verimath-0.1.0rc59/docs/verl.md +113 -0
  274. verimath-0.1.0rc59/examples/absolute-tolerance.cast +106 -0
  275. verimath-0.1.0rc59/examples/accepted-answers.cast +10 -0
  276. verimath-0.1.0rc59/examples/alternative-keys.jsonl +3 -0
  277. verimath-0.1.0rc59/examples/angle-units.cast +27 -0
  278. verimath-0.1.0rc59/examples/answer-headings.cast +21 -0
  279. verimath-0.1.0rc59/examples/answer-types.cast +102 -0
  280. verimath-0.1.0rc59/examples/answers.jsonl +4 -0
  281. verimath-0.1.0rc59/examples/approximate-answers.cast +23 -0
  282. verimath-0.1.0rc59/examples/batch-review.cast +60 -0
  283. verimath-0.1.0rc59/examples/batch.cast +83 -0
  284. verimath-0.1.0rc59/examples/binomial-counts.cast +14 -0
  285. verimath-0.1.0rc59/examples/bounded-reference.cast +29 -0
  286. verimath-0.1.0rc59/examples/bounded_reference.py +37 -0
  287. verimath-0.1.0rc59/examples/browser-checker.gif +0 -0
  288. verimath-0.1.0rc59/examples/browser-diagnostic.mp4 +0 -0
  289. verimath-0.1.0rc59/examples/certified-tolerance.cast +27 -0
  290. verimath-0.1.0rc59/examples/check-labels.cast +26 -0
  291. verimath-0.1.0rc59/examples/choice-key-review.cast +20 -0
  292. verimath-0.1.0rc59/examples/choice-records.cast +31 -0
  293. verimath-0.1.0rc59/examples/choice-sentences.cast +21 -0
  294. verimath-0.1.0rc59/examples/choices.cast +73 -0
  295. verimath-0.1.0rc59/examples/cli-alternatives.cast +18 -0
  296. verimath-0.1.0rc59/examples/completions.cast +93 -0
  297. verimath-0.1.0rc59/examples/contributor-tests.cast +43 -0
  298. verimath-0.1.0rc59/examples/dataset-alternatives.cast +18 -0
  299. verimath-0.1.0rc59/examples/dataset-rubrics.cast +16 -0
  300. verimath-0.1.0rc59/examples/dataset-rubrics.mp4 +0 -0
  301. verimath-0.1.0rc59/examples/diagnostics.cast +104 -0
  302. verimath-0.1.0rc59/examples/factored-polynomials.cast +27 -0
  303. verimath-0.1.0rc59/examples/factorial-counts.cast +30 -0
  304. verimath-0.1.0rc59/examples/factorial-counts.mp4 +0 -0
  305. verimath-0.1.0rc59/examples/final-line-fences.cast +20 -0
  306. verimath-0.1.0rc59/examples/first-verdict.cast +33 -0
  307. verimath-0.1.0rc59/examples/free-threaded.cast +32 -0
  308. verimath-0.1.0rc59/examples/grading-rubrics.jsonl +23 -0
  309. verimath-0.1.0rc59/examples/gsm8k.cast +36 -0
  310. verimath-0.1.0rc59/examples/hf-datasets.cast +28 -0
  311. verimath-0.1.0rc59/examples/inspect-saved-log.cast +27 -0
  312. verimath-0.1.0rc59/examples/inspect_saved_log.py +50 -0
  313. verimath-0.1.0rc59/examples/linux-wheel.cast +30 -0
  314. verimath-0.1.0rc59/examples/literal-coefficients.cast +37 -0
  315. verimath-0.1.0rc59/examples/lm-eval-gsm8k.cast +36 -0
  316. verimath-0.1.0rc59/examples/lm_eval_gsm8k/score.py +18 -0
  317. verimath-0.1.0rc59/examples/lm_eval_gsm8k/verimath_gsm8k.yaml +34 -0
  318. verimath-0.1.0rc59/examples/markdown-answers.cast +26 -0
  319. verimath-0.1.0rc59/examples/membership-witness.cast +119 -0
  320. verimath-0.1.0rc59/examples/metric-area.cast +28 -0
  321. verimath-0.1.0rc59/examples/metric-volume.cast +30 -0
  322. verimath-0.1.0rc59/examples/metric-volume.mp4 +0 -0
  323. verimath-0.1.0rc59/examples/mixed-numbers.cast +27 -0
  324. verimath-0.1.0rc59/examples/mixed-quantities.cast +34 -0
  325. verimath-0.1.0rc59/examples/mixed-rewards.cast +116 -0
  326. verimath-0.1.0rc59/examples/named-variables.mp4 +0 -0
  327. verimath-0.1.0rc59/examples/node-file-grading.cast +12 -0
  328. verimath-0.1.0rc59/examples/node-grading.cast +21 -0
  329. verimath-0.1.0rc59/examples/node-gsm8k.mjs +17 -0
  330. verimath-0.1.0rc59/examples/node-rubrics.cast +13 -0
  331. verimath-0.1.0rc59/examples/numeric-choice-values.cast +27 -0
  332. verimath-0.1.0rc59/examples/openr1-generations.cast +22 -0
  333. verimath-0.1.0rc59/examples/openr1-import.cast +139 -0
  334. verimath-0.1.0rc59/examples/openr1-key-echoes.jsonl +3 -0
  335. verimath-0.1.0rc59/examples/ordered-ratios.cast +31 -0
  336. verimath-0.1.0rc59/examples/parallel-jsonl.cast +46 -0
  337. verimath-0.1.0rc59/examples/percentage-rubric.gif +0 -0
  338. verimath-0.1.0rc59/examples/percentages.cast +23 -0
  339. verimath-0.1.0rc59/examples/pi-constants.cast +28 -0
  340. verimath-0.1.0rc59/examples/prepared-answers.cast +52 -0
  341. verimath-0.1.0rc59/examples/project-install.cast +114 -0
  342. verimath-0.1.0rc59/examples/quickstart.ipynb +320 -0
  343. verimath-0.1.0rc59/examples/radicals.cast +89 -0
  344. verimath-0.1.0rc59/examples/rational-key-review.cast +9 -0
  345. verimath-0.1.0rc59/examples/rc51-comparison.cast +20 -0
  346. verimath-0.1.0rc59/examples/review-decisions.cast +16 -0
  347. verimath-0.1.0rc59/examples/review-decisions.mp4 +0 -0
  348. verimath-0.1.0rc59/examples/review_choice_keys.py +116 -0
  349. verimath-0.1.0rc59/examples/reviewed-answers.jsonl +4 -0
  350. verimath-0.1.0rc59/examples/rust-consumer.cast +17 -0
  351. verimath-0.1.0rc59/examples/shared-candidate.cast +31 -0
  352. verimath-0.1.0rc59/examples/signed-powers.mp4 +0 -0
  353. verimath-0.1.0rc59/examples/sized-parentheses.cast +28 -0
  354. verimath-0.1.0rc59/examples/slanted-relations.mp4 +0 -0
  355. verimath-0.1.0rc59/examples/sparse-products.mp4 +0 -0
  356. verimath-0.1.0rc59/examples/standalone-cli.cast +23 -0
  357. verimath-0.1.0rc59/examples/stream.cast +25 -0
  358. verimath-0.1.0rc59/examples/trl-cuda.cast +27 -0
  359. verimath-0.1.0rc59/examples/trl-generated.cast +8 -0
  360. verimath-0.1.0rc59/examples/trl_cpu_smoke.py +121 -0
  361. verimath-0.1.0rc59/examples/trl_generated_step.py +195 -0
  362. verimath-0.1.0rc59/examples/trl_numeric_choices.py +75 -0
  363. verimath-0.1.0rc59/examples/trl_reward.py +8 -0
  364. verimath-0.1.0rc59/examples/unicode-boundaries.cast +23 -0
  365. verimath-0.1.0rc59/examples/units.cast +112 -0
  366. verimath-0.1.0rc59/examples/uvx-first-verdict.cast +42 -0
  367. verimath-0.1.0rc59/examples/verl-alternatives.cast +37 -0
  368. verimath-0.1.0rc59/examples/verl-eos.cast +9 -0
  369. verimath-0.1.0rc59/examples/verl-mixed.cast +15 -0
  370. verimath-0.1.0rc59/examples/verl-rewards.cast +32 -0
  371. verimath-0.1.0rc59/examples/verl-workers.cast +27 -0
  372. verimath-0.1.0rc59/examples/verl_cpu_smoke.py +110 -0
  373. verimath-0.1.0rc59/examples/verl_eos_manager.py +37 -0
  374. verimath-0.1.0rc59/examples/verl_generated_step.py +176 -0
  375. verimath-0.1.0rc59/examples/verl_policy_step.py +120 -0
  376. verimath-0.1.0rc59/examples/verl_reward.py +77 -0
  377. verimath-0.1.0rc59/examples/verl_workers.py +99 -0
  378. verimath-0.1.0rc59/fixtures/answer-headings.json +29 -0
  379. verimath-0.1.0rc59/fixtures/completions.json +62 -0
  380. verimath-0.1.0rc59/fixtures/contract.json +702 -0
  381. verimath-0.1.0rc59/pyproject.toml +53 -0
  382. verimath-0.1.0rc59/python/verimath/__init__.py +5 -0
  383. verimath-0.1.0rc59/python/verimath/__init__.pyi +67 -0
  384. verimath-0.1.0rc59/python/verimath/__main__.py +16 -0
  385. verimath-0.1.0rc59/python/verimath/_references.py +21 -0
  386. verimath-0.1.0rc59/python/verimath/_stream.py +79 -0
  387. verimath-0.1.0rc59/python/verimath/hf_datasets.py +236 -0
  388. verimath-0.1.0rc59/python/verimath/inspect_ai.py +52 -0
  389. verimath-0.1.0rc59/python/verimath/openr1.py +136 -0
  390. verimath-0.1.0rc59/python/verimath/py.typed +1 -0
  391. verimath-0.1.0rc59/python/verimath/trl.py +200 -0
  392. verimath-0.1.0rc59/research/check_upstream.py +41 -0
  393. verimath-0.1.0rc59/research/math-verify-0.9.0.json +69 -0
  394. verimath-0.1.0rc59/research/math-verify-main.json +69 -0
  395. verimath-0.1.0rc59/research/validation.md +53 -0
  396. verimath-0.1.0rc59/src/algebra.rs +201 -0
  397. verimath-0.1.0rc59/src/bin/verimath.rs +13 -0
  398. verimath-0.1.0rc59/src/budget.rs +97 -0
  399. verimath-0.1.0rc59/src/choice.rs +51 -0
  400. verimath-0.1.0rc59/src/cli/jsonl/answers.rs +118 -0
  401. verimath-0.1.0rc59/src/cli/jsonl/labels.rs +211 -0
  402. verimath-0.1.0rc59/src/cli/jsonl.rs +477 -0
  403. verimath-0.1.0rc59/src/cli.rs +344 -0
  404. verimath-0.1.0rc59/src/constant.rs +200 -0
  405. verimath-0.1.0rc59/src/diagnostic.rs +78 -0
  406. verimath-0.1.0rc59/src/extraction/approximation.rs +181 -0
  407. verimath-0.1.0rc59/src/extraction/choices.rs +100 -0
  408. verimath-0.1.0rc59/src/extraction.rs +804 -0
  409. verimath-0.1.0rc59/src/lib.rs +1010 -0
  410. verimath-0.1.0rc59/src/parser.rs +1056 -0
  411. verimath-0.1.0rc59/src/relation.rs +366 -0
  412. verimath-0.1.0rc59/src/term.rs +110 -0
  413. verimath-0.1.0rc59/src/tolerance.rs +265 -0
  414. verimath-0.1.0rc59/src/units.rs +240 -0
  415. verimath-0.1.0rc59/tests/check_browser.py +191 -0
  416. verimath-0.1.0rc59/tests/check_python_guide.py +39 -0
  417. verimath-0.1.0rc59/tests/check_sdist.py +77 -0
  418. verimath-0.1.0rc59/tests/contract.rs +377 -0
  419. verimath-0.1.0rc59/tests/test_answer_types.py +94 -0
  420. verimath-0.1.0rc59/tests/test_approximate_answers.py +82 -0
  421. verimath-0.1.0rc59/tests/test_bounded_reference.py +34 -0
  422. verimath-0.1.0rc59/tests/test_certified_tolerance.py +72 -0
  423. verimath-0.1.0rc59/tests/test_choice_key_review.py +58 -0
  424. verimath-0.1.0rc59/tests/test_choice_sentences.py +98 -0
  425. verimath-0.1.0rc59/tests/test_choices.py +45 -0
  426. verimath-0.1.0rc59/tests/test_cli.py +381 -0
  427. verimath-0.1.0rc59/tests/test_coefficients.py +33 -0
  428. verimath-0.1.0rc59/tests/test_counts.py +95 -0
  429. verimath-0.1.0rc59/tests/test_diagnostics.py +95 -0
  430. verimath-0.1.0rc59/tests/test_extraction.py +81 -0
  431. verimath-0.1.0rc59/tests/test_factored_polynomials.py +67 -0
  432. verimath-0.1.0rc59/tests/test_gsm8k.py +68 -0
  433. verimath-0.1.0rc59/tests/test_hf_datasets.py +224 -0
  434. verimath-0.1.0rc59/tests/test_inspect_ai.py +93 -0
  435. verimath-0.1.0rc59/tests/test_integer_powers.py +49 -0
  436. verimath-0.1.0rc59/tests/test_interval_oracle.py +103 -0
  437. verimath-0.1.0rc59/tests/test_membership_witness.py +106 -0
  438. verimath-0.1.0rc59/tests/test_mixed_numbers.py +120 -0
  439. verimath-0.1.0rc59/tests/test_mixed_rewards.py +145 -0
  440. verimath-0.1.0rc59/tests/test_openr1.py +109 -0
  441. verimath-0.1.0rc59/tests/test_percentages.py +55 -0
  442. verimath-0.1.0rc59/tests/test_pi.py +52 -0
  443. verimath-0.1.0rc59/tests/test_python.py +110 -0
  444. verimath-0.1.0rc59/tests/test_radicals.py +66 -0
  445. verimath-0.1.0rc59/tests/test_ratios.py +68 -0
  446. verimath-0.1.0rc59/tests/test_reference_selection.py +81 -0
  447. verimath-0.1.0rc59/tests/test_relation_oracle.py +78 -0
  448. verimath-0.1.0rc59/tests/test_sized_parentheses.py +47 -0
  449. verimath-0.1.0rc59/tests/test_stream.py +71 -0
  450. verimath-0.1.0rc59/tests/test_threading.py +63 -0
  451. verimath-0.1.0rc59/tests/test_tolerance.py +80 -0
  452. verimath-0.1.0rc59/tests/test_trl.py +40 -0
  453. verimath-0.1.0rc59/tests/test_trl_numeric_choices.py +87 -0
  454. verimath-0.1.0rc59/tests/test_units.py +266 -0
  455. verimath-0.1.0rc59/tests/test_verl_reward.py +85 -0
  456. verimath-0.1.0rc59/tests/typing_api.py +46 -0
@@ -0,0 +1,241 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0 RC59 (source)
4
+
5
+ - Select per-question rules when grading a Hugging Face Dataset. The same adapter runs with the public RC58 wheel. On 169 reviewed OpenR1 submissions it reproduced every CLI verdict, including the diagnostics. [Python example](docs/huggingface-datasets.md#grade-a-split-with-per-question-rules) · [Benchmark and recording](benchmarks/dataset-map.md#per-question-rules)
6
+
7
+ ## 0.1.0 RC58
8
+
9
+ - Grade factorials on counting questions. A box used as a factor after a factorial now goes to review in completion mode. [Counting examples](docs/python.md#grading-factorials) · [Reviewed submissions and recording](benchmarks/factorial-counts.md)
10
+ - Declare when a grading rubric requires human review. `check-labels` now detects accidental credit or rejection on those submissions. [CLI example](docs/cli.md#expecting-human-review) · [Benchmark and recording](benchmarks/check-labels.md#when-review-is-the-expected-decision)
11
+ - Grade cubic metric units against litres and millilitres, including volumes expressed as multiples of π. [Python examples](docs/python.md#grading-volumes) · [OpenR1 comparison and recording](benchmarks/metric-volume.md)
12
+
13
+ ## 0.1.0 RC57
14
+
15
+ - The offline HTML checker shows the line and column of a diagnostic and can select the flagged character for editing. [Browser example and recording](docs/browser.md#find-and-edit-a-flagged-character)
16
+ - Read slanted inclusive inequalities in Unicode and TeX. A terminal box used as one side of a slanted comparison now goes to review. [Field replay and endpoint checks](benchmarks/slanted-relations.md)
17
+
18
+ ## 0.1.0 RC56 (source)
19
+
20
+ - Grade signed integer powers and scientific notation in explicit units. For example, `5 × 10^(-3) mm` equals five micrometers. [Examples](docs/python.md#grading-powers-of-ten) · [Dataset checks and recording](benchmarks/signed-powers.md)
21
+
22
+ ## 0.1.0 RC55 (source)
23
+
24
+ - Sparse powers and products now take less time to grade. The degree-32 difference of squares went from 225 to 18 microseconds on the measured Windows system. [Benchmark and recording](benchmarks/literal-coefficients.md#cost-of-sparse-polynomial-products)
25
+
26
+ ## 0.1.0 RC54
27
+
28
+ - An optional veRL reward manager sends token-limited answers to review. It uses the generated EOS token to distinguish a complete number from a prefix. [Training comparison](benchmarks/verl-rewards.md#grading-token-limited-generations)
29
+ - RC54 adds `--all-generations` to the OpenR1 importer. Each exported response carries its source row and generation index. [Usage and worked example](docs/openr1.md#grade-every-response-to-a-question)
30
+ - RC53 sends a final answer line inside an unfinished fenced code example to review. Its diagnostic points to the opening fence. [Replay and recording](benchmarks/extraction.md#final-markers-inside-unfinished-examples)
31
+ - RC52 sends conflicting final answers to review across nonbreaking spaces and fullwidth sentence punctuation. Diagnostics point to the later declaration. [Release comparison and recording](benchmarks/rc51-comparison.md#conflicting-final-answers)
32
+
33
+ ## 0.1.0 RC51
34
+
35
+ - RC51 adds `alternatives=True` to Hugging Face Dataset grading. Each verdict records the position of the selected key. The standalone adapter also supports public RC33. [Grade several accepted answers](docs/huggingface-datasets.md#grade-several-accepted-answers)
36
+ - RC50 adds `answer_type="count"` for exact nonnegative integer answers, including TeX binomial coefficients. [Counting questions](docs/python.md#grading-counts)
37
+ - RC49 grades JSON Lines rows with several accepted keys. Batch output, label audits and line explanations identify the reference that supplied the verdict. [CLI guide](docs/cli.md#grading-several-accepted-answers)
38
+
39
+ - RC48 adds reusable lists of accepted answers to the Python API. A failed preparation identifies the rejected key, and each graded submission reports the selected position. [Python example](docs/python.md#reusing-several-accepted-answers) · [Dataset replay and benchmark](benchmarks/shared-candidate.md#reusing-a-questions-keys-in-rc48)
40
+
41
+ - RC47 reads each submitted solution once when grading against several accepted keys in TRL or Inspect AI. Rust callers can reuse prepared keys with `Verifier::verify_prepared_any`. [Timings and replay](benchmarks/shared-candidate.md)
42
+
43
+ - RC46 accepts alternative reference answers in both TRL reward callbacks. A real CPU optimizer check exercises a second valid box area, a nearby wrong answer and a missing unit. [Python guide](docs/python.md#rewarding-any-of-several-accepted-answers) · [Measurements](benchmarks/accepted-answers.md)
44
+
45
+ - RC45 grades metric areas with exact squared scale factors. A question can require an explicit area unit or supply the unit for bare numbers. [Python examples](docs/python.md#grading-areas) · [OpenR1 evaluation](benchmarks/metric-area.md)
46
+
47
+ - Open a self-contained answer checker offline or import the same Rust engine from a browser ES module. [Download and integration guide](docs/browser.md)
48
+
49
+ - Node RC44 adds reusable question rules and an installable npm tarball. It returns a parse failure for an unpaired Unicode surrogate in a completion. [TypeScript quick start](docs/node.md) · [Dataset and regression measurements](benchmarks/node-rubrics.md)
50
+
51
+ - Call the Rust grader from JavaScript or TypeScript through a portable Node.js bundle with four extraction policies and structured verdicts. [Quick start](docs/node.md)
52
+
53
+ ## 0.1.0-rc.43
54
+
55
+ - Grade angle measures in degrees and radians with exact π conversion, optional unit labels and a tolerance expressed in the declared unit. [Python examples](docs/python.md#grading-angles) · [Original responses and timing](benchmarks/angle-units.md)
56
+
57
+ ## 0.1.0-rc.42
58
+
59
+ - Read marked final choices such as `Answer B` and `Answer: Option B`. Choice grading now abstains if an earlier marked choice conflicts with a later declaration, or a preceding directive introduces the choice as an example. [Grammar](docs/semantics.md#single-choice-answers) · [Coverage and benchmarks](benchmarks/choice-records.md)
60
+
61
+ ## 0.1.0-rc.41
62
+
63
+ - Add `grade_dataset` for Hugging Face Datasets. It keeps typed verdicts alongside source rows and coordinates concurrent writes to the same local cache. Changing the engine version or rubric computes a fresh result. [Usage](docs/huggingface-datasets.md) · [Field results and timings](benchmarks/dataset-map.md)
64
+
65
+ ## 0.1.0-rc.40
66
+
67
+ - Add `verimath check-labels` to compare JSONL grading results with independent correctness labels. It streams disagreements and abstentions and exits with a distinct code for invalid keys, inputs or execution failures. [Usage](docs/cli.md#check-a-grader-against-reviewed-answers) · [Field checks](benchmarks/check-labels.md)
68
+
69
+ ## 0.1.0-rc.39
70
+
71
+ - Grade TeX-sized parentheses in scalar expressions, powers and factored polynomials. A missing or mismatched closing delimiter identifies its location in the submission. [Examples and evaluation](benchmarks/sized-parentheses.md)
72
+
73
+ ## 0.1.0-rc.38
74
+
75
+ - Grade single-variable products written as `3(t-1)` or `(x-2)(x+2)` through the Rust, Python and CLI interfaces. [Notation and limits](docs/semantics.md#factored-polynomials) · [Independent comparisons](benchmarks/literal-coefficients.md#factored-polynomials)
76
+
77
+ ## 0.1.0-rc.37
78
+
79
+ - Completion grading detects an earlier explicit answer inside a sentence-delimited paragraph before assigning credit to a later declaration. A choice grader can read a concluding option after a calculation on the same line. [Rules](docs/semantics.md#single-choice-answers) · [Field results and recording](benchmarks/answer-headings.md#inline-declarations-in-rc37)
80
+
81
+ ## 0.1.0-rc.36
82
+
83
+ - Recognize explicit approximate submissions when the grader has a positive absolute tolerance. A submitted answer such as `Final answer: approximately 3.01` keeps its original diagnostic offsets. [Usage](docs/python.md#reading-an-approximate-submission) · [Evaluation](benchmarks/mu-math.md#recognizing-approximate-submissions)
84
+
85
+ ## 0.1.0-rc.35
86
+
87
+ - Combine mixed-number answer notation with declared units, required labels and absolute tolerances. [Usage](docs/python.md#mixed-numbers-with-units-or-a-tolerance) · [Field evaluation](benchmarks/mixed-quantities.md)
88
+
89
+ ## 0.1.0-rc.34
90
+
91
+ - Grade signed schoolbook mixed numbers against exact rational expressions with `answer_type="mixed_number"`. [Examples](docs/python.md#grading-mixed-numbers) · [OpenR1 benchmark](benchmarks/mixed-numbers.md)
92
+
93
+ ## 0.1.0-rc.33
94
+
95
+ - Support free-threaded CPython 3.14 and 3.15. Native batch admission snapshots the submitted list so concurrent replacements preserve a consistent input. [Wheel selection and evidence](benchmarks/free-threaded.md)
96
+
97
+ ## 0.1.0-rc.32
98
+
99
+ - Stream an iterable of answer pairs through bounded parallel batches with `verify_iter`. Results and operand errors keep input order. [Python guide](docs/python.md#grading-a-stream-of-pairs) · [Timing and memory](benchmarks/stream.md)
100
+
101
+ ## 0.1.0-rc.31
102
+
103
+ - Add opt-in GSM8K grading for complete annotated reference answers and the archived model solutions. The last marked field must contain a single exact decimal. Missing or repeated declarations abstain. [Python guide](docs/python.md#grading-gsm8k-model-solutions) · [Dataset benchmark](benchmarks/gsm8k.md)
104
+
105
+ ## 0.1.0-rc.30
106
+
107
+ - Treat Markdown hash headings as answer declarations in completion grading. A second answer after a filled heading abstains. A single heading can introduce a plain value, a box or a multiline math display. [Grading rules](docs/semantics.md#extraction) · [Evaluation and recording](benchmarks/answer-headings.md)
108
+
109
+ ## 0.1.0-rc.29
110
+
111
+ - Use `batch --workers N` to decode and grade JSONL records concurrently. Output order, per-row limits, review groups and live-pipe output follow the serial interface. [CLI guide](docs/cli.md#grading-with-multiple-workers) · [Scaling benchmark](benchmarks/parallel-jsonl.md)
112
+
113
+ ## 0.1.0-rc.28
114
+
115
+ - Recognize bold Markdown answer headings in completion mode. Conflicting Markdown and plain answer declarations now abstain. This corrects full-credit rewards for some ambiguous submissions. [Grading rules](docs/semantics.md#extraction) · [Field evaluation](benchmarks/markdown-answers.md)
116
+
117
+ ## 0.1.0-rc.27
118
+
119
+ - Import a local OpenR1 Parquet shard from Python or the CLI, select a generation and grade question-declared choices, including TeX-wrapped keys. [Guide](docs/openr1.md) · [Field results](benchmarks/openr1-import.md)
120
+
121
+ ## 0.1.0-rc.26
122
+
123
+ - Add `batch --review` to group mismatches, abstentions and row errors in the final JSON summary. Each reason has a count and up to three source lines to inspect. [CLI example](docs/cli.md#review-a-batch) · [Evaluation](benchmarks/batch-review.md)
124
+
125
+ ## 0.1.0-rc.25
126
+
127
+ - Grade ordered ratios with `answer_type="ratio"`. Positive rescaling preserves the answer. A rational quotient can express a two-part ratio. [Usage](docs/python.md#grading-ordered-ratios) · [Field evaluation](benchmarks/ratios.md)
128
+
129
+ ## 0.1.0-rc.24
130
+
131
+ - Embed VeriMath with `default-features = false` to build the Rust grading library without the JSON CLI dependencies. Enable `serde` for serializable verdicts and membership witnesses.
132
+ - Propagate preparation and batch errors with `?` into a standard Rust error type. Printing a verdict shows its status and diagnostic message. [Runnable Rust guide](docs/rust.md)
133
+
134
+ ## 0.1.0-rc.23
135
+
136
+ - Grade integer and decimal coefficients written next to the declared real variable, including `2x^2` and `.5n`. Ambiguous division still requires an explicit operator. [Python examples](docs/python.md#declaring-the-problems-variable) · [Field evaluation](benchmarks/literal-coefficients.md)
137
+
138
+ ## 0.1.0-rc.22
139
+
140
+ - Grade percentage and ratio answers on the scale declared by each question. Percent signs in plain text, TeX and fullwidth Unicode convert exactly. [Examples](docs/python.md#grading-percentages-and-ratios) · [Evaluation](benchmarks/percentages.md)
141
+
142
+ ## 0.1.0-rc.21
143
+
144
+ - Rescore a saved Inspect AI evaluation with the optional `verimath/math_answer` scorer. Logs retain candidate abstentions and their diagnostics. [Usage](docs/inspect.md) · [Benchmark](benchmarks/inspect-saved-eval.md)
145
+
146
+ ## 0.1.0-rc.20
147
+
148
+ - Grade exact π and square-root expressions against an explicit absolute tolerance, including quantities with units. Ambiguous boundary comparisons refine within the configured budgets. [Examples](docs/python.md#grading-with-an-absolute-tolerance) · [Independent evaluation](benchmarks/certified-tolerance.md)
149
+
150
+ ## 0.1.0-rc.19
151
+
152
+ - Compare exact constants containing powers of π and square roots across Rust, Python, dataset grading and reward callbacks. [Examples](docs/python.md#grading-answers-with-π) · [Field evaluation](benchmarks/pi-constants.md)
153
+
154
+ ## 0.1.0-rc.18 (in development)
155
+
156
+ - Show an exact distinguishing point for differing real solution sets in `verimath explain`. Rust and Python expose the point and membership of both sides through `inspect`. [API](docs/python.md#finding-a-counterexample) · [Counterexample verification](benchmarks/membership-witness.md)
157
+
158
+ ## 0.1.0-rc.17
159
+
160
+ - Grade mixed TRL rollouts with `make_reward_from_columns()`. Each question can declare its own mathematical domain, unit, precision and extraction policy. [Examples](docs/python.md#training-on-mixed-question-types) · [CPU training and benchmark](benchmarks/mixed-rewards.md)
161
+
162
+ ## 0.1.0-rc.16
163
+
164
+ - Grade time, length, mass and volume using exact conversion into the question’s unit. Rubrics can require a label on a submitted answer and set an absolute tolerance. Rust, Python, TRL and JSON Lines share these rules. [User guide](docs/python.md#grading-physical-quantities) · [Evaluation](benchmarks/units.md)
165
+
166
+ ## 0.1.0-rc.15
167
+
168
+ - Grade rational numerical submissions against an inclusive absolute-error bound from the question. Rust, Python, TRL and the CLI support the policy. [Examples](docs/python.md#grading-with-an-absolute-tolerance) · [Independent checks](benchmarks/absolute-tolerance.md)
169
+
170
+ ## 0.1.0-rc.14
171
+
172
+ - Inspect a single pair or an original dataset row with `verimath explain`. Read the same source excerpt from Python and Rust verdicts. [CLI guide](docs/cli.md#inspect-one-row)
173
+ - Report original UTF-8 locations for rejected final boxes, malformed reasoning, arithmetic and unsupported interval endpoints. Verified 296 added locations across 2,048 full model responses. [Measurement and reproduction](benchmarks/diagnostics.md)
174
+ - Ship RC13's declared tuple, set and interval grading in the downloadable wheels. [API examples](docs/python.md#declaring-the-answer-type)
175
+
176
+ ## 0.1.0-rc.13
177
+
178
+ - Grade ordered numeric tuples, finite numeric sets and bare real intervals when the question declares its answer type. The same policy works with Rust, Python, prepared answers, batches, TRL and JSON Lines. [Usage](docs/python.md#declaring-the-answer-type) · [Field and near-miss evaluation](benchmarks/answer-types.md)
179
+
180
+ ## 0.1.0-rc.12
181
+
182
+ - Fix full credit for rejected boxed candidates and abstain on recognized qualifications and competing declarations. Completion mode also reads a complete declared answer without a box.
183
+ - Require a single final answer line when the producer controls the format. Select `--final-line` in the CLI or `extraction="final_line"` in Python, JSON Lines and TRL. [Examples](docs/python.md#grading-a-final-answer-line) · [Evaluation and recording](benchmarks/extraction.md)
184
+ - Include RC11's exact square-root arithmetic in the downloadable wheels.
185
+
186
+ ## 0.1.0-rc.11
187
+
188
+ - Grade exact real square-root constants, including rationalized denominators and sums containing different roots. Inputs outside the scalar grammar get a diagnostic. [Semantics](docs/semantics.md#exact-square-root-constants) · [Measurements](benchmarks/radicals.md)
189
+
190
+ ## 0.1.0-rc.10
191
+
192
+ - Grade JSON Lines files or pipes with `verimath batch`. Stream ordered verdicts with row IDs, per-question options and a final summary. [CLI guide](docs/cli.md)
193
+ - Report a bad reference consistently across Rust and Python when the candidate also exceeds its conversion limit. [Regression and throughput results](benchmarks/jsonl.md)
194
+
195
+ ## 0.1.0-rc.9
196
+
197
+ - Use an explicit set of option labels in Rust, Python, the CLI and TRL. Strict, prepared, batch and completion grading distinguish a different allowed option from an ambiguous selection.
198
+ - Measure coverage and latency on two full OpenR1 multiple-choice cohorts and replay the mixed-math review. [Benchmark report](benchmarks/choices.md)
199
+
200
+ ## 0.1.0-rc.8
201
+
202
+ - Declare one real variable in Rust, Python, the CLI or a TRL callback. References and candidates share the declaration, and diagnostics use the problem's symbol.
203
+ - Check named variables on two OpenR1 shards against exact SymPy sets. [Results and reproduction](benchmarks/named-variables.md)
204
+
205
+ ## 0.1.0-rc.7
206
+
207
+ - Grade real intervals, unions and affine inequalities against one another using exact rational endpoints. Support includes half-open boundaries, singletons, unbounded intervals and paired TeX sizing delimiters.
208
+ - Keep ambiguous pairs and lists ungraded. Completion extraction also abstains on a box used as an implicit factor after a number, group or variable.
209
+ - Evaluate full OpenR1 model completions and one-point differences against independently constructed SymPy sets. [Field results, timings and reproduction](benchmarks/rc7.md)
210
+
211
+ ## 0.1.0-rc.6
212
+
213
+ - Install a tested binary wheel directly from the GitHub prerelease. The same install includes the CLI, Python API and typed TRL callback.
214
+ - Import `make_reward` from `verimath.trl`. Large rollouts are split by both pair count and byte budget. Custom policies receive per-operand diagnostics for oversized inputs.
215
+ - Record release benchmarks, check the ordered scores on every timed comparison batch, and evaluate a mismatch-enriched sample of real model outputs. [RC6 evidence](benchmarks/rc6.md)
216
+
217
+ ## 0.1.0-rc.5
218
+
219
+ - Build the Python wheels with patched PyO3 0.29 bindings for GHSA-36hh-v3qg-5jq4 and GHSA-chgr-c6px-7xpp.
220
+
221
+ ## 0.1.0-rc.4
222
+
223
+ - Install the CLI and Python library together. Both `verimath` and `python -m verimath` run the standalone CLI's Rust implementation.
224
+ - Download tested platform wheels from the verification workflow on `main`. The quick start includes an example with its exact JSON output, and the installed Python API includes help for grading and prepared references.
225
+
226
+ ## 0.1.0-rc.3 · local candidate
227
+
228
+ - Prevent a boxed operand from earning a scalar reward after an arithmetic or comparison operator. Completion grading now handles ASCII, Unicode and supported TeX operator spellings consistently. A box followed by a closing math delimiter must occupy the whole delimited span.
229
+
230
+ ## 0.1.0-rc.2 · local candidate
231
+
232
+ - Compare all six relation operators with affine absolute values on either side, including chained constraints and disconnected solution sets.
233
+ - Support vertical bars, abs(...), and named or sized TeX bars. Constant absolute values also work inside scalar arithmetic.
234
+ - Compare generated chains against an independent piecewise-affine oracle and report a dedicated absolute-value benchmark.
235
+ - Validate Linux wheels on Debian and Alpine, run one CPU GRPO optimizer step, and add a stratified OpenR1 review and a native allocation benchmark.
236
+
237
+ ## 0.1.0-rc.1 · local candidate
238
+
239
+ - Exact polynomial and affine solution-set verification with typed outcomes.
240
+ - Rust API, Windows-tested Python stable-ABI binding, prepared comparisons, bounded batches and a JSON CLI.
241
+ - TRL reward example, differential and property tests, coverage-guided fuzz target and comparative benchmark harness.
@@ -0,0 +1,68 @@
1
+ # Contributing
2
+
3
+ State the mathematical domain of a proposed change and add a case that distinguishes it from a plausible near miss. A grammar extension needs an explicit interpretation for ambiguous inputs and a bound on its work.
4
+
5
+ ## Run the tests from a checkout
6
+
7
+ Install stable Rust and a native linker. On Windows, use the x64 Visual Studio Build Tools with the C++ workload and Windows SDK. From the repository root, run the following command with uv installed.
8
+
9
+ ~~~sh
10
+ uvx --python 3.12 tox
11
+ ~~~
12
+
13
+ This creates an isolated Python environment, builds the Rust extension with the checked-in Cargo.lock, and runs the core Python suite. Use the same command after editing Rust. To run a single test file, use `uvx --python 3.12 tox -- tests/test_choices.py`. If tox 4.32 or later in the 4.x series is already installed, `tox` uses its own Python version by default. [Install uv](https://docs.astral.sh/uv/getting-started/installation/) · [Install Rust](https://www.rust-lang.org/tools/install)
14
+
15
+ The default suite skips the OpenR1 and Inspect AI integration modules. CI exercises those with their dependencies installed. For Rust changes, also run the following checks.
16
+
17
+ ~~~sh
18
+ cargo fmt --all -- --check
19
+ cargo clippy --workspace --all-targets --locked -- -D warnings
20
+ cargo test --workspace --locked
21
+ ~~~
22
+
23
+ For a manually managed Python environment with pip 25.1 or later, run `python -m pip install "maturin>=1.15,<2" --group test`, then `maturin develop --release --locked` and `python -m pytest -q tests`. Repeat the maturin command after changing Rust. Run `cargo deny check` for changes to dependencies.
24
+
25
+ ### Timing the edit and test cycle
26
+
27
+ On a Ryzen 7 7840HS running Windows 11, the first command took 73.52 seconds for 153 passes and two optional module skips. The checkout started without a Python environment or compiled artifacts. Rust 1.100.1, Python 3.12.16, uv 0.13.10 and tox 4.67.19 were available on the host, with package download caches retained.
28
+
29
+ To reproduce the edit in a disposable checkout, change `different option labels` to `distinct option labels` in both `src/lib.rs` and `tests/test_cli.py` after the first run. Running pytest directly against the old binary failed both CLI checks. Running `uvx --python 3.12 tox -- tests/test_cli.py::test_cli_choice_mode` rebuilt the extension and passed both in 7.91 seconds. Five unchanged runs of that command had a median of 4.23 seconds. [Terminal recording](examples/contributor-tests.cast)
30
+
31
+ For Python guide edits, use an environment with the wheel installed and run `python -I -X utf8 tests/check_python_guide.py`. Each console example starts with its own variables. Add `--public` to check the examples for the public release. Move a source-build example into the public part of the guide when its feature ships. [Python guide](docs/python.md)
32
+
33
+ ## Additional checks
34
+
35
+ For coverage-guided testing install cargo-fuzz and a nightly Rust toolchain. Run `cargo +nightly fuzz run answers -- -max_total_time=60 -max_len=2048`. On Windows the x64 MSVC toolchain, SDK and matching x64 AddressSanitizer runtime must be discoverable in the developer shell. The target exercises completion extraction and exact reflexivity for successful strict parses.
36
+
37
+ The CI matrix builds and installs wheels before testing them on Windows, Linux and macOS. The Linux packaging job also builds and installs the source archive, checks its local documentation links and executes its notebook from an empty directory against the installed package. Benchmark instructions and input provenance are in [benchmarks](benchmarks/README.md).
38
+
39
+ To exercise a real TRL trainer, use a separate Python 3.12 environment with the VeriMath wheel installed. From the repository root run the commands below. The smoke uses a local tokenizer, a randomly initialized GPT-2 and TRL's custom rollout hook. It checks the advantages passed to the loss and verifies that the optimizer changed model weights. The tested environment used Windows x64, PyTorch on CPU and a single process.
40
+
41
+ ~~~sh
42
+ python -m pip install "trl==1.19.0" "transformers==5.25.0" "torch==2.15.0" "accelerate==1.16.0" "datasets==5.2.0"
43
+ python -m examples.trl_cpu_smoke
44
+ ~~~
45
+
46
+ With RC9 or later, run `python -m examples.trl_cpu_smoke --choices` in the same environment for a single-choice rollout. The key is `B`. The fixed completions select `B`, select `C`, or give the ambiguous response `B/C`.
47
+
48
+ Run `python -m examples.trl_cpu_smoke --final-line` to check the declared-answer protocol. The trainer receives a declared match, a declared mismatch and an unmarked rejection. The test checks their respective advantages of +0.5, −0.5 and 0.
49
+
50
+ In the RC13 source build, run `python -m examples.trl_cpu_smoke --answer-type tuple` to exercise coordinate order in a real training step. The same option accepts `set` and `interval`.
51
+
52
+ Run `python -m examples.trl_cpu_smoke --mixed` from an RC17 checkout to grade duration and choice questions in the same optimizer step. The dataset provides different rubrics for the two prompts.
53
+
54
+ ## Linux wheels
55
+
56
+ CI builds the distributable CPython ABI3 wheels on native x86-64 and ARM64 Linux runners. Maturin uses Zig to link against the manylinux2014 baseline. Each wheel goes through the regular host test suite and a second installation on glibc 2.17, inside a digest-pinned PyPA container with networking disabled. GIL-enabled CPython 3.10 through 3.15 independently let pip choose the wheel and then run the CLI quick start and the labelled contract corpus.
57
+
58
+ On either Linux architecture, reproduce the wheel build with a Rust toolchain and the following commands. The local installation benchmark prints timings and checks the installed wheel's SHA-256.
59
+
60
+ ~~~sh
61
+ python -m pip install "maturin>=1.15,<2" ziglang==0.15.2
62
+ maturin build -i python --release --locked --zig --target "$(uname -m)-unknown-linux-gnu" --compatibility manylinux2014 --out dist
63
+ python benchmarks/first_verdict.py --wheelhouse dist --output first-verdict.json
64
+ ~~~
65
+
66
+ Select a 3.14t or 3.15t interpreter with `-i` for a free-threaded wheel. CI installs each wheel on its corresponding interpreter, checks the GIL state around import, and runs the Python tests. Linux also checks the free-threaded import offline in the glibc 2.17 image. [Compatibility and concurrency benchmark](benchmarks/free-threaded.md)
67
+
68
+ The CI job records individual installation and first-verdict times in its log. The verify workflow contains the runtime image digests and the offline Docker invocation. [Verify workflow](https://github.com/hsreika/VeriMath/blob/main/.github/workflows/ci.yml) · [PyPA manylinux images](https://github.com/pypa/manylinux) · [Maturin distribution guide](https://www.maturin.rs/distribution)