evalsuite-python 2.1.0__tar.gz → 2.1.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 (203) hide show
  1. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/CHANGELOG.md +122 -0
  2. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/PKG-INFO +26 -15
  3. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/README.md +19 -6
  4. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/pyproject.toml +13 -8
  5. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/Cargo.lock +83 -38
  6. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/Cargo.toml +1 -1
  7. evalsuite_python-2.1.3/rust/evalsuite-core/src/kdtree.rs +239 -0
  8. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/lib.rs +3 -0
  9. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/ranks.rs +20 -3
  10. evalsuite_python-2.1.3/rust/evalsuite-core/src/special.rs +569 -0
  11. evalsuite_python-2.1.3/rust/evalsuite-core/src/transport.rs +169 -0
  12. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-py/src/lib.rs +101 -0
  13. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/_bench_metrics.py +2 -1
  14. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/_evalci.py +1 -1
  15. evalsuite_python-2.1.3/src/evalsuite/_http.py +87 -0
  16. evalsuite_python-2.1.3/src/evalsuite/_models.py +293 -0
  17. evalsuite_python-2.1.3/src/evalsuite/_parquet.py +631 -0
  18. evalsuite_python-2.1.3/src/evalsuite/_spatial.py +194 -0
  19. evalsuite_python-2.1.3/src/evalsuite/_special.py +785 -0
  20. evalsuite_python-2.1.3/src/evalsuite/_stats.py +1403 -0
  21. evalsuite_python-2.1.3/src/evalsuite/_table.py +214 -0
  22. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/agreement.py +9 -5
  23. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/auto_report.py +20 -1
  24. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/bayes.py +2 -2
  25. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/benchmarks.py +30 -14
  26. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/calibration.py +1 -7
  27. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/cards.py +3 -1
  28. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/cli/main.py +22 -2
  29. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/clinical/report.py +1 -7
  30. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/comparisons.py +28 -31
  31. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/core/registry.py +2 -0
  32. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/data_quality.py +6 -8
  33. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/drift.py +4 -5
  34. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/forecasting.py +30 -12
  35. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/html_report.py +5 -0
  36. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/judging.py +1 -15
  37. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/llm_benchmarks.py +65 -17
  38. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/llm_eval.py +79 -46
  39. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/llmsys/robustness.py +1 -1
  40. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/llmsys/uncertainty.py +1 -1
  41. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/monitor.py +1 -1
  42. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/rag_report.py +1 -1
  43. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/recalibration.py +9 -4
  44. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/reclassification.py +2 -3
  45. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/slices.py +1 -2
  46. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/stats/effect.py +2 -8
  47. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/stats/hypothesis.py +12 -38
  48. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/stats/intervals.py +12 -13
  49. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/stats/paired.py +2 -9
  50. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/stats/planning.py +2 -16
  51. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/streaming.py +1 -1
  52. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/survival.py +1 -1
  53. evalsuite_python-2.1.3/src/evalsuite/text/_porter.py +260 -0
  54. evalsuite_python-2.1.3/src/evalsuite/text/_wordnet.py +76 -0
  55. evalsuite_python-2.1.3/src/evalsuite/text/data/WORDNET_LICENSE +31 -0
  56. evalsuite_python-2.1.3/src/evalsuite/text/data/wordnet30.txt.xz +0 -0
  57. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/generation.py +6 -13
  58. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/judge.py +2 -8
  59. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/report.py +3 -9
  60. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/semantic.py +7 -36
  61. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/spice.py +5 -13
  62. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/structured.py +2 -0
  63. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/version.py +1 -1
  64. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/vision/segmentation.py +9 -16
  65. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/workflow.py +7 -0
  66. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/clinical/test_v020.py +5 -2
  67. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/stats/test_fast_paths.py +12 -0
  68. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_v12.py +2 -6
  69. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_v121_coverage.py +6 -8
  70. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_v200.py +3 -26
  71. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_v210.py +4 -62
  72. evalsuite_python-2.1.3/tests/test_v211.py +561 -0
  73. evalsuite_python-2.1.3/tests/test_v212.py +209 -0
  74. evalsuite_python-2.1.3/tests/test_v213.py +481 -0
  75. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/CONTRIBUTING.md +0 -0
  76. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/LICENSE +0 -0
  77. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/LICENSE-APACHE +0 -0
  78. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/Cargo.toml +0 -0
  79. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/README.md +0 -0
  80. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/agreement.rs +0 -0
  81. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/coco.rs +0 -0
  82. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/curve.rs +0 -0
  83. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/groups.rs +0 -0
  84. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/hash.rs +0 -0
  85. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/meteor.rs +0 -0
  86. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/permutation.rs +0 -0
  87. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/qa.rs +0 -0
  88. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/resample.rs +0 -0
  89. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/surface.rs +0 -0
  90. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/survival.rs +0 -0
  91. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/ter.rs +0 -0
  92. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-core/src/text.rs +0 -0
  93. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/rust/evalsuite-py/Cargo.toml +0 -0
  94. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/__init__.py +0 -0
  95. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/__main__.py +0 -0
  96. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/_lazy.py +0 -0
  97. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/_native.py +0 -0
  98. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/_update.py +0 -0
  99. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/api.py +0 -0
  100. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/cache.py +0 -0
  101. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/classification/__init__.py +0 -0
  102. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/classification/_common.py +0 -0
  103. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/classification/metrics.py +0 -0
  104. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/cli/__init__.py +0 -0
  105. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/clinical/__init__.py +0 -0
  106. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/clinical/metrics.py +0 -0
  107. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/conformal.py +0 -0
  108. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/core/__init__.py +0 -0
  109. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/core/context.py +0 -0
  110. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/core/exceptions.py +0 -0
  111. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/core/export.py +0 -0
  112. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/core/result.py +0 -0
  113. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/core/types.py +0 -0
  114. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/core/validation.py +0 -0
  115. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/dataframe.py +0 -0
  116. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/fairness.py +0 -0
  117. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/harness.py +0 -0
  118. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/integrations.py +0 -0
  119. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/llmsys/__init__.py +0 -0
  120. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/llmsys/_common.py +0 -0
  121. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/llmsys/agents.py +0 -0
  122. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/llmsys/code.py +0 -0
  123. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/llmsys/efficiency.py +0 -0
  124. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/llmsys/longcontext.py +0 -0
  125. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/llmsys/multilingual.py +0 -0
  126. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/llmsys/safety.py +0 -0
  127. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/multilabel.py +0 -0
  128. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/plot.py +0 -0
  129. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/py.typed +0 -0
  130. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/pytest_plugin.py +0 -0
  131. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/regression/__init__.py +0 -0
  132. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/regression/metrics.py +0 -0
  133. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/reporting.py +0 -0
  134. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/stats/__init__.py +0 -0
  135. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/stats/_resolve.py +0 -0
  136. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/stats/compare.py +0 -0
  137. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/stats/results.py +0 -0
  138. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/testing.py +0 -0
  139. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/__init__.py +0 -0
  140. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/_common.py +0 -0
  141. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/factuality.py +0 -0
  142. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/qa.py +0 -0
  143. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/rag.py +0 -0
  144. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/reasoning.py +0 -0
  145. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/text/retrieval.py +0 -0
  146. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/vision/__init__.py +0 -0
  147. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/vision/detection.py +0 -0
  148. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/vision/keypoints.py +0 -0
  149. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/src/evalsuite/vision/panoptic.py +0 -0
  150. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/__init__.py +0 -0
  151. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/classification/__init__.py +0 -0
  152. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/classification/test_against_sklearn.py +0 -0
  153. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/clinical/__init__.py +0 -0
  154. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/clinical/test_outputs.py +0 -0
  155. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/conftest.py +0 -0
  156. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/integration/__init__.py +0 -0
  157. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/integration/test_qa.py +0 -0
  158. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/integration/test_readme_examples.py +0 -0
  159. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/integration/test_repo_hygiene.py +0 -0
  160. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/llmsys/__init__.py +0 -0
  161. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/llmsys/test_code_longcontext_efficiency.py +0 -0
  162. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/llmsys/test_edges.py +0 -0
  163. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/llmsys/test_fast_text.py +0 -0
  164. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/llmsys/test_hardening.py +0 -0
  165. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/llmsys/test_safety_robustness.py +0 -0
  166. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/llmsys/test_uncertainty_agents_multilingual.py +0 -0
  167. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/output/__init__.py +0 -0
  168. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/output/test_benchmarks.py +0 -0
  169. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/output/test_cli.py +0 -0
  170. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/output/test_plot.py +0 -0
  171. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/output/test_reporting.py +0 -0
  172. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/regression/__init__.py +0 -0
  173. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/regression/test_against_sklearn.py +0 -0
  174. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/stats/__init__.py +0 -0
  175. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/stats/test_branches.py +0 -0
  176. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/stats/test_compare.py +0 -0
  177. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/stats/test_reference.py +0 -0
  178. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_cache.py +0 -0
  179. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_cards.py +0 -0
  180. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_harness.py +0 -0
  181. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_integrations.py +0 -0
  182. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_monitor.py +0 -0
  183. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_native.py +0 -0
  184. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_properties.py +0 -0
  185. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_update.py +0 -0
  186. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_v111_fixes.py +0 -0
  187. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_v121.py +0 -0
  188. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_v13.py +0 -0
  189. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_v135.py +0 -0
  190. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_v13_edges.py +0 -0
  191. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/test_v140.py +0 -0
  192. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/text/__init__.py +0 -0
  193. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/text/test_against_references.py +0 -0
  194. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/text/test_text_edges.py +0 -0
  195. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/text/test_v040.py +0 -0
  196. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/unit/__init__.py +0 -0
  197. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/unit/test_core.py +0 -0
  198. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/unit/test_edges.py +0 -0
  199. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/vision/__init__.py +0 -0
  200. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/vision/test_detection.py +0 -0
  201. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/vision/test_edges.py +0 -0
  202. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/vision/test_outputs.py +0 -0
  203. {evalsuite_python-2.1.0 → evalsuite_python-2.1.3}/tests/vision/test_segmentation.py +0 -0
@@ -6,6 +6,128 @@ All notable changes to this project are documented here. The format follows
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.1.3] - 2026-12-03
10
+
11
+ LLM evaluation no longer needs any other library, and the last two metrics slower than their reference
12
+ libraries now run in the Rust core. Results are unchanged unless a fix says otherwise.
13
+
14
+ ### Changed
15
+ - **METEOR's stemmer** is EvalSuite's own Porter stemmer with NLTK's default extensions, identical to NLTK's
16
+ `PorterStemmer` on every word tested (over 150,000); NLTK is no longer used.
17
+ - **SPICE's `synonyms="wordnet"`** reads a bundled WordNet 3.0 table (lemma index and exception lists, 1.3 MB,
18
+ Princeton licence in `text/data/WORDNET_LICENSE`) with WordNet's "morphy" lemmatiser: the same synsets as
19
+ `nltk.corpus.wordnet.synsets` for every lemma, exception form and inflection tested (630,000 words), with no
20
+ corpus download.
21
+ - **MoverScore** always uses EvalSuite's exact transport solver (equal to POT's `ot.emd2`); POT is no longer
22
+ used even when installed.
23
+ - **`run_model`** calls OpenAI (`/chat/completions`), Anthropic (`/v1/messages`) and Gemini (`generateContent`)
24
+ over HTTPS with the standard library instead of the providers' SDKs. Keys still come only from environment
25
+ variables (`OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `GEMINI_API_KEY` or `GOOGLE_API_KEY`) and never appear in
26
+ errors; `OPENAI_BASE_URL`, `ANTHROPIC_BASE_URL` and `GEMINI_BASE_URL` select proxies. Retries, rate-limit
27
+ handling (`Retry-After`) and caching are unchanged.
28
+ - **`load_benchmark`** downloads the Hugging Face Hub's Parquet files directly (cached; `HF_TOKEN` for gated sets,
29
+ `HF_ENDPOINT` for mirrors) and reads them with EvalSuite's own Parquet reader (Thrift metadata, data pages v1
30
+ and v2, PLAIN / dictionary / RLE / DELTA / BYTE_STREAM_SPLIT encodings, Snappy and gzip — zstd on Python 3.14+ —
31
+ and nested lists, structs and maps), checked against pyarrow. `datasets` is no longer used.
32
+ - The `llm`, `benchmarks`, `openai`, `anthropic` and `gemini` extras install nothing (kept so old commands work).
33
+ - **CRPS** (ensemble form) runs in the Rust core: sorting networks across rows, NumPy's pairwise summation order
34
+ and threads for large ensembles; identical to the NumPy code, and 1.2–2× faster than properscoring.
35
+ - **Clopper–Pearson intervals** run in the Rust core (the inverse incomplete beta function ported operation for
36
+ operation, with CPython's `lgamma`): identical bits, about 18 µs per interval against statsmodels' 110 µs.
37
+ - The conda-forge recipe carries the released sdist's sha256; every GitHub release attaches the recipe filled for
38
+ that release (`scripts/conda_recipe.py`).
39
+
40
+ ### Fixed
41
+ - `betaincinv` (and the beta / F / t quantiles built on it) raised `OverflowError` or `ValueError` for very small
42
+ shape parameters (below about 0.01); it now returns the quantile (0 when it is below the smallest float).
43
+
44
+ ### Published
45
+ - The Rust crates `evalsuite`, `evalsuite-core` and `evalsuite-cli` are on crates.io (since 2.1.2; issue #3).
46
+
47
+ ## [2.1.2] - 2026-12-03
48
+
49
+ Bug fixes found by fuzzing every public function, the speed lost in 2.1.1 won back, and the dependency updates
50
+ that were blocked. Results are unchanged unless a fix says otherwise.
51
+
52
+ ### Fixed
53
+ - **Accuracy at very large degrees of freedom (from 2.1.1).** The t, F and beta tails lost about log10(df)
54
+ digits when one parameter of the incomplete beta function was huge (relative error 7e-11 at df = 10⁶, 5e-9 at
55
+ 10⁸, up to 0.1 at 10¹⁶; a t-test on a million observations has df ≈ 10⁶). The continued fraction is now
56
+ replaced there by DiDonato & Morris's asymptotic expansion (TOMS 708, BGRAT): exact to about 1e-13 for every
57
+ df, which is also more accurate than SciPy's `t.sf` in this range.
58
+ - **A NaN probability made `report_card` hang** (and any other DeLong interval with the compiled core): the
59
+ ranking kernel looped forever on NaN. It now terminates, sorts by a total order, and `roc_auc_ci` and
60
+ `report_card` reject NaN / infinite scores with the same message as `roc_auc` (`roc_auc_ci` used to return
61
+ an interval computed with the NaN in it).
62
+ - `bland_altman` and the internal linear regression handled values near 1e300 by overflowing (OverflowError);
63
+ extreme magnitudes are now rescaled by an exact power of two. Ordinary data takes the unchanged path.
64
+ - Clear errors instead of raw `AttributeError` / `IndexError` / `TypeError` for wrong input types in
65
+ `cost_quality_report`, `history_diff`, `history_html`, `load_benchmark`, `make_interactive`, `metric_info`,
66
+ `format_compliance` (a non-string pattern) and `report_card` (text probabilities).
67
+ - `run_benchmarks` imported SciPy even when timing EvalSuite alone; SciPy (and every other reference library)
68
+ is now optional there.
69
+ - The release check (`scripts/check_dist.py`) required SciPy and pandas as dependencies; it now requires NumPy
70
+ only and fails if SciPy, pandas or statsmodels become required.
71
+ - The R package's vendoring dropped source files some crates compile in (fancy-regex 0.20 includes its
72
+ documentation) and vendored dev-dependencies with paths too long for R's tar format.
73
+
74
+ ### Changed
75
+ - Rust: fancy-regex 0.20 and criterion 0.8 (supersedes Dependabot #18 and #19); benches use
76
+ `std::hint::black_box`.
77
+
78
+ ### Performance
79
+ Every row of the benchmark suite is now as fast as in 2.1.0 or faster (2.1.1 had made a few slower):
80
+ - MoverScore's exact transport solver runs in the compiled core (bit-identical to the Python reference):
81
+ 48 ms (2.1.0) → 14 ms on the benchmark; the Python solver itself is 66× slower than the compiled one.
82
+ - Normal CDF / survival / density and lnΓ on arrays no longer go through a Python wrapper per element (whole
83
+ numbers read lnΓ from a cached table of `math.lgamma` values); both bit-identical to the scalar paths.
84
+ Fisher's exact test 0.23 → 0.13 ms.
85
+ - The studentized range (Nemenyi test, Tukey) integrates on fixed nodes in one batch: 13.8 ms (2.1.1) →
86
+ 1.8 ms; agreement with SciPy about 5e-14.
87
+ - Binary erosion (boundary IoU, surface distances) by shifted boolean ANDs: 2.1 → 1.8 ms.
88
+ - t quantiles (every t-based interval and the Bayesian correlated t-test) start from Hill's approximation and
89
+ finish with Halley steps: 45 → 13 µs each, exact to about 3e-14. Beta quantiles (Clopper–Pearson intervals)
90
+ skip one incomplete-beta evaluation: `proportion_ci` 0.44 → 0.13 ms.
91
+ - Isotonic recalibration sorts once instead of twice: 18 → 9 ms at 100 000 rows (faster than scikit-learn's
92
+ 16 ms), identical output.
93
+
94
+ ## [2.1.1] - 2026-12-02
95
+
96
+ EvalSuite now depends on NumPy alone. Every formula it used to take from SciPy, statsmodels or pandas is
97
+ written in the package itself and checked in the test suite against the library it replaces; results are
98
+ unchanged (agreement to rounding, about 1e-12, unless noted below).
99
+
100
+ ### Changed
101
+ - **No SciPy.** New `evalsuite._special` (normal, t, F, chi-square, beta and binomial distributions; regularized
102
+ incomplete beta and gamma functions and their inverses, from continued fractions and series refined by
103
+ safeguarded Halley steps) and `evalsuite._stats` (ranks; Pearson, Spearman, linear regression; exact binomial,
104
+ Wilcoxon signed-rank with the exact / permutation / normal choices of SciPy 1.15+ (with an older SciPy
105
+ installed, 2.1.0 followed that SciPy for small samples with ties or zeros), Mann–Whitney U with the exact null
106
+ distribution, Kruskal–Wallis, Friedman, chi-square contingency, Welch and pooled t, two-sample
107
+ Kolmogorov–Smirnov with the exact and Simard–L'Ecuyer distributions, Wasserstein and Jensen–Shannon
108
+ distances, the studentized range, the non-central t, Brent's root finder and bounded minimiser).
109
+ - **No scipy.spatial / scipy.ndimage / scipy.optimize.** `evalsuite._spatial`: exact nearest-neighbour and
110
+ fixed-radius pair search (a k-d tree in the compiled core, with an identical Python fallback), binary erosion,
111
+ and an exact optimal-transport solver (successive shortest paths) for MoverScore's earth mover's distance.
112
+ - **No statsmodels.** `clustered_comparison` uses `evalsuite._models`: GEE with an exchangeable working
113
+ correlation (a port of statsmodels' algorithm; agrees to about 1e-8) and a REML random-intercept mixed model
114
+ with statsmodels' observed-information standard errors (agrees to statsmodels' optimizer tolerance, about
115
+ 1e-6). The `stats` extra is kept but installs nothing.
116
+ - **pandas is optional** (`pip install evalsuite-python[pandas]`): needed only for `to_dataframe()` and Parquet
117
+ files. Without it, `auto_report` and the command line read CSV, TSV, JSON and JSON-lines files with a built-in
118
+ reader that infers column types as `pandas.read_csv` does.
119
+ - The Shapiro–Wilk test is always Royston's algorithm as SciPy 1.18 computes it; with an older SciPy installed,
120
+ 2.1.0 used SciPy's Fortran routine, which differs in about the 9th digit of W.
121
+ - `import evalsuite` plus a first statistical test takes about 90 ms instead of about 320 ms.
122
+
123
+ ### Fixed
124
+ - Accuracy in the far tails, where EvalSuite is now exact and SciPy is not: the t quantile next to the median
125
+ (e.g. `stdtrit(1, 0.49999999999999994)`, the Cauchy closed form), the non-central t CDF deep in the lower
126
+ tail (SciPy returns NaN), and normal tail probabilities below 1e-308 (SciPy underflows to 0).
127
+ - The mixed model in `clustered_comparison(method="mixed")` no longer depends on statsmodels' optimizer, which
128
+ could stop at an intercept of exactly 0 with a huge standard error when the cluster variance was small; the
129
+ reported model contrasts were unaffected.
130
+
9
131
  ## [2.1.0] - 2026-11-30
10
132
 
11
133
  Existing results are unchanged; everything below is new API, opt-in options or speed-ups with identical results,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: evalsuite-python
3
- Version: 2.1.0
3
+ Version: 2.1.3
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Intended Audience :: Science/Research
6
6
  Classifier: Intended Audience :: Healthcare Industry
@@ -21,16 +21,15 @@ Classifier: Topic :: Scientific/Engineering
21
21
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
22
22
  Classifier: Typing :: Typed
23
23
  Requires-Dist: numpy>=1.22
24
- Requires-Dist: scipy>=1.8
25
- Requires-Dist: pandas>=1.4
26
24
  Requires-Dist: matplotlib>=3.5 ; extra == 'all'
27
25
  Requires-Dist: pillow>=9 ; extra == 'all'
28
26
  Requires-Dist: nltk>=3.8 ; extra == 'all'
29
- Requires-Dist: anthropic>=0.30 ; extra == 'anthropic'
30
- Requires-Dist: datasets>=2.14 ; extra == 'benchmarks'
27
+ Requires-Dist: pandas>=1.4 ; extra == 'all'
31
28
  Requires-Dist: pytest>=7 ; extra == 'dev'
32
29
  Requires-Dist: pytest-cov>=4 ; extra == 'dev'
33
30
  Requires-Dist: hypothesis>=6.80 ; extra == 'dev'
31
+ Requires-Dist: scipy>=1.12 ; extra == 'dev'
32
+ Requires-Dist: pandas>=1.4 ; extra == 'dev'
34
33
  Requires-Dist: scikit-learn>=1.4 ; extra == 'dev'
35
34
  Requires-Dist: statsmodels>=0.13 ; extra == 'dev'
36
35
  Requires-Dist: scikit-survival>=0.22 ; python_full_version >= '3.10' and extra == 'dev'
@@ -39,6 +38,7 @@ Requires-Dist: matplotlib>=3.5 ; extra == 'dev'
39
38
  Requires-Dist: pillow>=9 ; extra == 'dev'
40
39
  Requires-Dist: pycocotools>=2.0.7 ; extra == 'dev'
41
40
  Requires-Dist: nltk>=3.8 ; extra == 'dev'
41
+ Requires-Dist: pyarrow>=12 ; extra == 'dev'
42
42
  Requires-Dist: sacrebleu>=2.4 ; extra == 'dev'
43
43
  Requires-Dist: rouge-score>=0.1.2 ; extra == 'dev'
44
44
  Requires-Dist: pycocoevalcap>=1.2 ; extra == 'dev'
@@ -55,15 +55,12 @@ Requires-Dist: build ; extra == 'dev'
55
55
  Requires-Dist: twine ; extra == 'dev'
56
56
  Requires-Dist: pip-audit ; extra == 'dev'
57
57
  Requires-Dist: python-docx>=1.0 ; extra == 'docx'
58
- Requires-Dist: google-genai>=1.0 ; extra == 'gemini'
59
58
  Requires-Dist: keras>=3 ; extra == 'keras'
60
59
  Requires-Dist: lightning>=2 ; extra == 'lightning'
61
- Requires-Dist: nltk>=3.8 ; extra == 'llm'
62
60
  Requires-Dist: mlflow>=2 ; extra == 'mlflow'
63
- Requires-Dist: openai>=1.0 ; extra == 'openai'
61
+ Requires-Dist: pandas>=1.4 ; extra == 'pandas'
64
62
  Requires-Dist: matplotlib>=3.5 ; extra == 'plot'
65
63
  Requires-Dist: scikit-learn>=1.2 ; extra == 'sklearn'
66
- Requires-Dist: statsmodels>=0.13 ; extra == 'stats'
67
64
  Requires-Dist: pillow>=9 ; extra == 'vision'
68
65
  Requires-Dist: wandb>=0.16 ; extra == 'wandb'
69
66
  Provides-Extra: all
@@ -77,6 +74,7 @@ Provides-Extra: lightning
77
74
  Provides-Extra: llm
78
75
  Provides-Extra: mlflow
79
76
  Provides-Extra: openai
77
+ Provides-Extra: pandas
80
78
  Provides-Extra: plot
81
79
  Provides-Extra: sklearn
82
80
  Provides-Extra: stats
@@ -113,11 +111,22 @@ evaluation into one consistent, validated, documented framework.
113
111
  > **On an older version? Upgrade once:** `pip install -U evalsuite-python`. From 1.1.2 on, EvalSuite tells you
114
112
  > when a newer release is out (`evalsuite upgrade`).
115
113
 
116
- > **Status: stable (2.1.0).** [Example notebooks](notebooks/README.md) (Colab) ·
114
+ > **Status: stable (2.1.3).** [Example notebooks](notebooks/README.md) (Colab) ·
117
115
  > [in-browser tools](https://evalsuite-nine.vercel.app/tools) · [changelog](CHANGELOG.md)
118
116
 
119
117
  **What's new**
120
118
 
119
+ - **2.1.3** — LLM evaluation without other libraries: METEOR's Porter stemmer, SPICE's WordNet synonyms (a
120
+ bundled table), plain-HTTPS calls to OpenAI / Anthropic / Gemini, and benchmark loading with EvalSuite's own
121
+ Parquet reader replace NLTK, POT, the provider SDKs and `datasets` (each checked to give identical results).
122
+ CRPS and Clopper–Pearson intervals run in the Rust core (bit-identical; 1.2–2× faster than properscoring,
123
+ about 6× faster than statsmodels); conda recipe carries the release's sha256.
124
+ - **2.1.2** — bug fixes from fuzzing every public function (a NaN probability could hang `report_card`),
125
+ 2.1.1's slowdowns removed (MoverScore 3.5× faster than 2.1.0, isotonic recalibration 2× faster), and
126
+ updated Rust dependencies.
127
+ - **2.1.1** — NumPy is the only dependency: distributions, statistical tests, nearest-neighbour search,
128
+ optimal transport and the GEE / mixed models are now EvalSuite's own code, checked against SciPy, statsmodels
129
+ and pandas; results unchanged; `import` and first test about 3.5× faster.
121
130
  - **2.1** — interactive HTML reports; `es.explain`; a pytest plugin (`assert_metric`) and evaluation history with
122
131
  regression checks in the CLI and the GitHub Action; streaming evaluation for data larger than memory; subgroup
123
132
  failure search; conformal risk control, multi-label and time-series conformal; GEE / mixed-model comparison
@@ -254,7 +263,8 @@ and the leaderboard, with `ci: "analytic"` or `"bootstrap"` intervals.
254
263
  - **Documented.** Every metric carries its definition, formula, range, input requirements and references,
255
264
  available programmatically through `metric_info()`.
256
265
  - **Efficient.** `evaluate()` validates inputs once and computes the confusion matrix once for all metrics.
257
- - **Lightweight.** Requires only NumPy, SciPy and pandas.
266
+ - **Lightweight.** Requires only NumPy. Every formula (distributions, tests, k-d tree, mixed models) is written
267
+ in EvalSuite itself; pandas is optional (for `to_dataframe()` and Parquet files).
258
268
 
259
269
  ## Quick start
260
270
 
@@ -350,8 +360,8 @@ es.fisher_exact_test([[8, 2], [1, 5]])
350
360
  es.adjust_pvalues(p_values, method="hochberg") # also holm, bonferroni, bh, by
351
361
  ```
352
362
 
353
- Every test returns a `TestResult` with the statistic, p-value and an effect size, computed with SciPy and
354
- checked against SciPy and statsmodels in the test suite.
363
+ Every test returns a `TestResult` with the statistic, p-value and an effect size, computed by EvalSuite's own
364
+ distribution functions and checked against SciPy and statsmodels in the test suite.
355
365
 
356
366
  ## Segmentation
357
367
 
@@ -624,7 +634,8 @@ print(rag.summary()) # retrieval / grounding / answer metrics, and each failure
624
634
  ```
625
635
 
626
636
  Leaderboards know common benchmarks: `es.leaderboard(runs, benchmark="gsm8k", references=es.load_benchmark("gsm8k"))`
627
- (also `mmlu`, `arc`, `truthfulqa`, `humaneval`; datasets via `pip install "evalsuite-python[benchmarks]"`).
637
+ (also `mmlu`, `arc`, `truthfulqa`, `humaneval`; the Hugging Face Hub's Parquet files are downloaded once and read
638
+ by EvalSuite's own Parquet reader — no `datasets` package; `HF_TOKEN` / `HF_ENDPOINT` are honoured).
628
639
 
629
640
  ## One HTML report
630
641
 
@@ -642,7 +653,7 @@ scripts, no external requests).
642
653
  ## Evaluation in pull requests
643
654
 
644
655
  ```yaml
645
- - uses: mkcs28/evalsuite-python@v2.1.0
656
+ - uses: mkcs28/evalsuite-python@v2.1.3
646
657
  with:
647
658
  predictions: predictions.csv
648
659
  y-true: label
@@ -14,11 +14,22 @@ evaluation into one consistent, validated, documented framework.
14
14
  > **On an older version? Upgrade once:** `pip install -U evalsuite-python`. From 1.1.2 on, EvalSuite tells you
15
15
  > when a newer release is out (`evalsuite upgrade`).
16
16
 
17
- > **Status: stable (2.1.0).** [Example notebooks](notebooks/README.md) (Colab) ·
17
+ > **Status: stable (2.1.3).** [Example notebooks](notebooks/README.md) (Colab) ·
18
18
  > [in-browser tools](https://evalsuite-nine.vercel.app/tools) · [changelog](CHANGELOG.md)
19
19
 
20
20
  **What's new**
21
21
 
22
+ - **2.1.3** — LLM evaluation without other libraries: METEOR's Porter stemmer, SPICE's WordNet synonyms (a
23
+ bundled table), plain-HTTPS calls to OpenAI / Anthropic / Gemini, and benchmark loading with EvalSuite's own
24
+ Parquet reader replace NLTK, POT, the provider SDKs and `datasets` (each checked to give identical results).
25
+ CRPS and Clopper–Pearson intervals run in the Rust core (bit-identical; 1.2–2× faster than properscoring,
26
+ about 6× faster than statsmodels); conda recipe carries the release's sha256.
27
+ - **2.1.2** — bug fixes from fuzzing every public function (a NaN probability could hang `report_card`),
28
+ 2.1.1's slowdowns removed (MoverScore 3.5× faster than 2.1.0, isotonic recalibration 2× faster), and
29
+ updated Rust dependencies.
30
+ - **2.1.1** — NumPy is the only dependency: distributions, statistical tests, nearest-neighbour search,
31
+ optimal transport and the GEE / mixed models are now EvalSuite's own code, checked against SciPy, statsmodels
32
+ and pandas; results unchanged; `import` and first test about 3.5× faster.
22
33
  - **2.1** — interactive HTML reports; `es.explain`; a pytest plugin (`assert_metric`) and evaluation history with
23
34
  regression checks in the CLI and the GitHub Action; streaming evaluation for data larger than memory; subgroup
24
35
  failure search; conformal risk control, multi-label and time-series conformal; GEE / mixed-model comparison
@@ -155,7 +166,8 @@ and the leaderboard, with `ci: "analytic"` or `"bootstrap"` intervals.
155
166
  - **Documented.** Every metric carries its definition, formula, range, input requirements and references,
156
167
  available programmatically through `metric_info()`.
157
168
  - **Efficient.** `evaluate()` validates inputs once and computes the confusion matrix once for all metrics.
158
- - **Lightweight.** Requires only NumPy, SciPy and pandas.
169
+ - **Lightweight.** Requires only NumPy. Every formula (distributions, tests, k-d tree, mixed models) is written
170
+ in EvalSuite itself; pandas is optional (for `to_dataframe()` and Parquet files).
159
171
 
160
172
  ## Quick start
161
173
 
@@ -251,8 +263,8 @@ es.fisher_exact_test([[8, 2], [1, 5]])
251
263
  es.adjust_pvalues(p_values, method="hochberg") # also holm, bonferroni, bh, by
252
264
  ```
253
265
 
254
- Every test returns a `TestResult` with the statistic, p-value and an effect size, computed with SciPy and
255
- checked against SciPy and statsmodels in the test suite.
266
+ Every test returns a `TestResult` with the statistic, p-value and an effect size, computed by EvalSuite's own
267
+ distribution functions and checked against SciPy and statsmodels in the test suite.
256
268
 
257
269
  ## Segmentation
258
270
 
@@ -525,7 +537,8 @@ print(rag.summary()) # retrieval / grounding / answer metrics, and each failure
525
537
  ```
526
538
 
527
539
  Leaderboards know common benchmarks: `es.leaderboard(runs, benchmark="gsm8k", references=es.load_benchmark("gsm8k"))`
528
- (also `mmlu`, `arc`, `truthfulqa`, `humaneval`; datasets via `pip install "evalsuite-python[benchmarks]"`).
540
+ (also `mmlu`, `arc`, `truthfulqa`, `humaneval`; the Hugging Face Hub's Parquet files are downloaded once and read
541
+ by EvalSuite's own Parquet reader — no `datasets` package; `HF_TOKEN` / `HF_ENDPOINT` are honoured).
529
542
 
530
543
  ## One HTML report
531
544
 
@@ -543,7 +556,7 @@ scripts, no external requests).
543
556
  ## Evaluation in pull requests
544
557
 
545
558
  ```yaml
546
- - uses: mkcs28/evalsuite-python@v2.1.0
559
+ - uses: mkcs28/evalsuite-python@v2.1.3
547
560
  with:
548
561
  predictions: predictions.csv
549
562
  y-true: label
@@ -36,28 +36,32 @@ classifiers = [
36
36
  "Topic :: Scientific/Engineering :: Artificial Intelligence",
37
37
  "Typing :: Typed",
38
38
  ]
39
- dependencies = ["numpy>=1.22", "scipy>=1.8", "pandas>=1.4"]
39
+ dependencies = ["numpy>=1.22"]
40
40
 
41
41
  [project.optional-dependencies]
42
42
  plot = ["matplotlib>=3.5"]
43
43
  vision = ["pillow>=9"]
44
- llm = ["nltk>=3.8"]
44
+ llm = [] # METEOR stemming and SPICE synonyms are built in
45
45
  sklearn = ["scikit-learn>=1.2"]
46
46
  keras = ["keras>=3"]
47
47
  lightning = ["lightning>=2"]
48
48
  mlflow = ["mlflow>=2"]
49
49
  docx = ["python-docx>=1.0"]
50
- benchmarks = ["datasets>=2.14"]
50
+ benchmarks = [] # benchmark files are downloaded and read without `datasets`
51
51
  wandb = ["wandb>=0.16"]
52
- openai = ["openai>=1.0"]
53
- gemini = ["google-genai>=1.0"]
54
- anthropic = ["anthropic>=0.30"]
55
- stats = ["statsmodels>=0.13"]
56
- all = ["matplotlib>=3.5", "pillow>=9", "nltk>=3.8"]
52
+ # OpenAI, Anthropic and Gemini are called over plain HTTPS: these extras install nothing, kept for old commands
53
+ openai = []
54
+ gemini = []
55
+ anthropic = []
56
+ pandas = ["pandas>=1.4"]
57
+ stats = [] # kept for old install commands: clustered_comparison no longer needs statsmodels
58
+ all = ["matplotlib>=3.5", "pillow>=9", "nltk>=3.8", "pandas>=1.4"]
57
59
  dev = [
58
60
  "pytest>=7",
59
61
  "pytest-cov>=4",
60
62
  "hypothesis>=6.80",
63
+ "scipy>=1.12",
64
+ "pandas>=1.4",
61
65
  "scikit-learn>=1.4",
62
66
  "statsmodels>=0.13",
63
67
  "scikit-survival>=0.22; python_version >= '3.10'",
@@ -66,6 +70,7 @@ dev = [
66
70
  "pillow>=9",
67
71
  "pycocotools>=2.0.7",
68
72
  "nltk>=3.8",
73
+ "pyarrow>=12", # reference for the Parquet reader's tests
69
74
  "sacrebleu>=2.4",
70
75
  "rouge-score>=0.1.2",
71
76
  "pycocoevalcap>=1.2",
@@ -24,6 +24,15 @@ dependencies = [
24
24
  "memchr",
25
25
  ]
26
26
 
27
+ [[package]]
28
+ name = "alloca"
29
+ version = "0.4.0"
30
+ source = "registry+https://github.com/rust-lang/crates.io-index"
31
+ checksum = "e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4"
32
+ dependencies = [
33
+ "cc",
34
+ ]
35
+
27
36
  [[package]]
28
37
  name = "anes"
29
38
  version = "0.1.6"
@@ -119,6 +128,16 @@ version = "0.3.0"
119
128
  source = "registry+https://github.com/rust-lang/crates.io-index"
120
129
  checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
121
130
 
131
+ [[package]]
132
+ name = "cc"
133
+ version = "1.12.0"
134
+ source = "registry+https://github.com/rust-lang/crates.io-index"
135
+ checksum = "95e45cf2980b2d467be49a9ed942c9179b701063a7ca3d037de7ee9bd67f8d66"
136
+ dependencies = [
137
+ "find-msvc-tools",
138
+ "shlex",
139
+ ]
140
+
122
141
  [[package]]
123
142
  name = "cfg-if"
124
143
  version = "1.0.5"
@@ -200,23 +219,22 @@ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
200
219
 
201
220
  [[package]]
202
221
  name = "criterion"
203
- version = "0.5.1"
222
+ version = "0.8.2"
204
223
  source = "registry+https://github.com/rust-lang/crates.io-index"
205
- checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f"
224
+ checksum = "950046b2aa2492f9a536f5f4f9a3de7b9e2476e575e05bd6c333371add4d98f3"
206
225
  dependencies = [
226
+ "alloca",
207
227
  "anes",
208
228
  "cast",
209
229
  "ciborium",
210
230
  "clap",
211
231
  "criterion-plot",
212
- "is-terminal",
213
- "itertools 0.10.5",
232
+ "itertools 0.13.0",
214
233
  "num-traits",
215
- "once_cell",
216
234
  "oorandom",
235
+ "page_size",
217
236
  "regex",
218
237
  "serde",
219
- "serde_derive",
220
238
  "serde_json",
221
239
  "tinytemplate",
222
240
  "walkdir",
@@ -224,12 +242,12 @@ dependencies = [
224
242
 
225
243
  [[package]]
226
244
  name = "criterion-plot"
227
- version = "0.5.0"
245
+ version = "0.8.2"
228
246
  source = "registry+https://github.com/rust-lang/crates.io-index"
229
- checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
247
+ checksum = "d8d80a2f4f5b554395e47b5d8305bc3d27813bacb73493eb1001e8f76dae29ea"
230
248
  dependencies = [
231
249
  "cast",
232
- "itertools 0.10.5",
250
+ "itertools 0.13.0",
233
251
  ]
234
252
 
235
253
  [[package]]
@@ -319,7 +337,7 @@ checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
319
337
 
320
338
  [[package]]
321
339
  name = "evalsuite"
322
- version = "2.1.0"
340
+ version = "2.1.3"
323
341
  dependencies = [
324
342
  "criterion",
325
343
  "evalsuite-core",
@@ -334,14 +352,14 @@ dependencies = [
334
352
 
335
353
  [[package]]
336
354
  name = "evalsuite-capi"
337
- version = "2.1.0"
355
+ version = "2.1.3"
338
356
  dependencies = [
339
357
  "evalsuite",
340
358
  ]
341
359
 
342
360
  [[package]]
343
361
  name = "evalsuite-cli"
344
- version = "2.1.0"
362
+ version = "2.1.3"
345
363
  dependencies = [
346
364
  "clap",
347
365
  "csv",
@@ -351,14 +369,14 @@ dependencies = [
351
369
 
352
370
  [[package]]
353
371
  name = "evalsuite-core"
354
- version = "2.1.0"
372
+ version = "2.1.3"
355
373
  dependencies = [
356
374
  "rayon",
357
375
  ]
358
376
 
359
377
  [[package]]
360
378
  name = "evalsuite-py"
361
- version = "2.1.0"
379
+ version = "2.1.3"
362
380
  dependencies = [
363
381
  "evalsuite-core",
364
382
  "pyo3",
@@ -367,7 +385,7 @@ dependencies = [
367
385
 
368
386
  [[package]]
369
387
  name = "evalsuite-wasm"
370
- version = "2.1.0"
388
+ version = "2.1.3"
371
389
  dependencies = [
372
390
  "evalsuite",
373
391
  "js-sys",
@@ -376,15 +394,21 @@ dependencies = [
376
394
 
377
395
  [[package]]
378
396
  name = "fancy-regex"
379
- version = "0.14.0"
397
+ version = "0.20.2"
380
398
  source = "registry+https://github.com/rust-lang/crates.io-index"
381
- checksum = "6e24cb5a94bcae1e5408b0effca5cd7172ea3c5755049c5f3af4cd283a165298"
399
+ checksum = "0a2e16b9a584b602f1e0e5e22c30ca0906786088c27500653e432d086def8b53"
382
400
  dependencies = [
383
401
  "bit-set",
384
402
  "regex-automata",
385
403
  "regex-syntax",
386
404
  ]
387
405
 
406
+ [[package]]
407
+ name = "find-msvc-tools"
408
+ version = "0.1.16"
409
+ source = "registry+https://github.com/rust-lang/crates.io-index"
410
+ checksum = "3e44f110d1777dc6559a51e7d45083945ded4f1bf3305494350f693b6d20b9c8"
411
+
388
412
  [[package]]
389
413
  name = "foldhash"
390
414
  version = "0.2.0"
@@ -480,12 +504,6 @@ version = "0.5.0"
480
504
  source = "registry+https://github.com/rust-lang/crates.io-index"
481
505
  checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
482
506
 
483
- [[package]]
484
- name = "hermit-abi"
485
- version = "0.5.3"
486
- source = "registry+https://github.com/rust-lang/crates.io-index"
487
- checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284"
488
-
489
507
  [[package]]
490
508
  name = "indexmap"
491
509
  version = "2.14.2"
@@ -508,17 +526,6 @@ dependencies = [
508
526
  "syn 2.0.119",
509
527
  ]
510
528
 
511
- [[package]]
512
- name = "is-terminal"
513
- version = "0.4.17"
514
- source = "registry+https://github.com/rust-lang/crates.io-index"
515
- checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46"
516
- dependencies = [
517
- "hermit-abi",
518
- "libc",
519
- "windows-sys",
520
- ]
521
-
522
529
  [[package]]
523
530
  name = "is_terminal_polyfill"
524
531
  version = "1.70.2"
@@ -527,18 +534,18 @@ checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
527
534
 
528
535
  [[package]]
529
536
  name = "itertools"
530
- version = "0.10.5"
537
+ version = "0.11.0"
531
538
  source = "registry+https://github.com/rust-lang/crates.io-index"
532
- checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
539
+ checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
533
540
  dependencies = [
534
541
  "either",
535
542
  ]
536
543
 
537
544
  [[package]]
538
545
  name = "itertools"
539
- version = "0.11.0"
546
+ version = "0.13.0"
540
547
  source = "registry+https://github.com/rust-lang/crates.io-index"
541
- checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
548
+ checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
542
549
  dependencies = [
543
550
  "either",
544
551
  ]
@@ -684,6 +691,16 @@ version = "11.1.5"
684
691
  source = "registry+https://github.com/rust-lang/crates.io-index"
685
692
  checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
686
693
 
694
+ [[package]]
695
+ name = "page_size"
696
+ version = "0.6.0"
697
+ source = "registry+https://github.com/rust-lang/crates.io-index"
698
+ checksum = "30d5b2194ed13191c1999ae0704b7839fb18384fa22e49b57eeaa97d79ce40da"
699
+ dependencies = [
700
+ "libc",
701
+ "winapi",
702
+ ]
703
+
687
704
  [[package]]
688
705
  name = "paste"
689
706
  version = "1.0.15"
@@ -1047,6 +1064,12 @@ dependencies = [
1047
1064
  "zmij",
1048
1065
  ]
1049
1066
 
1067
+ [[package]]
1068
+ name = "shlex"
1069
+ version = "2.0.1"
1070
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1071
+ checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
1072
+
1050
1073
  [[package]]
1051
1074
  name = "siphasher"
1052
1075
  version = "1.0.4"
@@ -1282,6 +1305,22 @@ dependencies = [
1282
1305
  "unicode-ident",
1283
1306
  ]
1284
1307
 
1308
+ [[package]]
1309
+ name = "winapi"
1310
+ version = "0.3.9"
1311
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1312
+ checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
1313
+ dependencies = [
1314
+ "winapi-i686-pc-windows-gnu",
1315
+ "winapi-x86_64-pc-windows-gnu",
1316
+ ]
1317
+
1318
+ [[package]]
1319
+ name = "winapi-i686-pc-windows-gnu"
1320
+ version = "0.4.0"
1321
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1322
+ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
1323
+
1285
1324
  [[package]]
1286
1325
  name = "winapi-util"
1287
1326
  version = "0.1.11"
@@ -1291,6 +1330,12 @@ dependencies = [
1291
1330
  "windows-sys",
1292
1331
  ]
1293
1332
 
1333
+ [[package]]
1334
+ name = "winapi-x86_64-pc-windows-gnu"
1335
+ version = "0.4.0"
1336
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1337
+ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1338
+
1294
1339
  [[package]]
1295
1340
  name = "windows-link"
1296
1341
  version = "0.2.1"
@@ -3,7 +3,7 @@ members = ["evalsuite-core", "evalsuite-py"]
3
3
  resolver = "2"
4
4
 
5
5
  [workspace.package]
6
- version = "2.1.0"
6
+ version = "2.1.3"
7
7
  edition = "2021"
8
8
  rust-version = "1.82"
9
9
  license = "MIT OR Apache-2.0"