evalsuite-python 2.0.0__tar.gz → 2.1.2__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 (196) hide show
  1. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/CHANGELOG.md +129 -0
  2. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/PKG-INFO +32 -13
  3. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/README.md +23 -10
  4. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/pyproject.toml +10 -2
  5. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/Cargo.lock +95 -47
  6. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/Cargo.toml +1 -1
  7. evalsuite_python-2.1.2/rust/evalsuite-core/src/kdtree.rs +239 -0
  8. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/lib.rs +2 -0
  9. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/ranks.rs +20 -3
  10. evalsuite_python-2.1.2/rust/evalsuite-core/src/transport.rs +169 -0
  11. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-py/src/lib.rs +101 -0
  12. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/__init__.py +149 -15
  13. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/_bench_metrics.py +22 -3
  14. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/_evalci.py +1 -1
  15. evalsuite_python-2.1.2/src/evalsuite/_models.py +293 -0
  16. evalsuite_python-2.1.2/src/evalsuite/_spatial.py +194 -0
  17. evalsuite_python-2.1.2/src/evalsuite/_special.py +780 -0
  18. evalsuite_python-2.1.2/src/evalsuite/_stats.py +1403 -0
  19. evalsuite_python-2.1.2/src/evalsuite/_table.py +214 -0
  20. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/agreement.py +9 -5
  21. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/auto_report.py +52 -3
  22. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/bayes.py +21 -9
  23. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/benchmarks.py +31 -14
  24. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/calibration.py +1 -7
  25. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/cards.py +39 -5
  26. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/cli/main.py +134 -10
  27. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/clinical/report.py +106 -8
  28. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/comparisons.py +178 -3
  29. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/conformal.py +213 -0
  30. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/core/registry.py +58 -0
  31. evalsuite_python-2.1.2/src/evalsuite/data_quality.py +1231 -0
  32. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/drift.py +4 -5
  33. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/forecasting.py +3 -4
  34. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/html_report.py +85 -0
  35. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/judging.py +1 -15
  36. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/llm_benchmarks.py +2 -0
  37. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/llm_eval.py +140 -21
  38. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/llmsys/robustness.py +1 -1
  39. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/llmsys/uncertainty.py +1 -1
  40. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/monitor.py +1 -1
  41. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/multilabel.py +64 -5
  42. evalsuite_python-2.1.2/src/evalsuite/pytest_plugin.py +29 -0
  43. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/rag_report.py +1 -1
  44. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/recalibration.py +9 -4
  45. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/reclassification.py +2 -3
  46. evalsuite_python-2.1.2/src/evalsuite/slices.py +314 -0
  47. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/stats/compare.py +13 -3
  48. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/stats/effect.py +2 -8
  49. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/stats/hypothesis.py +12 -38
  50. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/stats/intervals.py +5 -10
  51. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/stats/paired.py +2 -9
  52. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/stats/planning.py +43 -16
  53. evalsuite_python-2.1.2/src/evalsuite/streaming.py +384 -0
  54. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/survival.py +280 -3
  55. evalsuite_python-2.1.2/src/evalsuite/testing.py +90 -0
  56. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/judge.py +56 -11
  57. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/semantic.py +5 -22
  58. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/structured.py +2 -0
  59. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/version.py +1 -1
  60. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/vision/__init__.py +9 -1
  61. evalsuite_python-2.1.2/src/evalsuite/vision/keypoints.py +280 -0
  62. evalsuite_python-2.1.2/src/evalsuite/vision/panoptic.py +218 -0
  63. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/vision/segmentation.py +9 -16
  64. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/workflow.py +130 -5
  65. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/clinical/test_v020.py +5 -2
  66. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/stats/test_fast_paths.py +12 -0
  67. evalsuite_python-2.1.2/tests/test_v210.py +882 -0
  68. evalsuite_python-2.1.2/tests/test_v211.py +561 -0
  69. evalsuite_python-2.1.2/tests/test_v212.py +209 -0
  70. evalsuite_python-2.0.0/src/evalsuite/data_quality.py +0 -583
  71. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/CONTRIBUTING.md +0 -0
  72. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/LICENSE +0 -0
  73. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/LICENSE-APACHE +0 -0
  74. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/Cargo.toml +0 -0
  75. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/README.md +0 -0
  76. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/agreement.rs +0 -0
  77. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/coco.rs +0 -0
  78. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/curve.rs +0 -0
  79. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/groups.rs +0 -0
  80. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/hash.rs +0 -0
  81. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/meteor.rs +0 -0
  82. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/permutation.rs +0 -0
  83. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/qa.rs +0 -0
  84. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/resample.rs +0 -0
  85. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/surface.rs +0 -0
  86. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/survival.rs +0 -0
  87. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/ter.rs +0 -0
  88. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-core/src/text.rs +0 -0
  89. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/rust/evalsuite-py/Cargo.toml +0 -0
  90. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/__main__.py +0 -0
  91. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/_lazy.py +0 -0
  92. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/_native.py +0 -0
  93. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/_update.py +0 -0
  94. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/api.py +0 -0
  95. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/cache.py +0 -0
  96. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/classification/__init__.py +0 -0
  97. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/classification/_common.py +0 -0
  98. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/classification/metrics.py +0 -0
  99. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/cli/__init__.py +0 -0
  100. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/clinical/__init__.py +0 -0
  101. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/clinical/metrics.py +0 -0
  102. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/core/__init__.py +0 -0
  103. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/core/context.py +0 -0
  104. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/core/exceptions.py +0 -0
  105. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/core/export.py +0 -0
  106. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/core/result.py +0 -0
  107. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/core/types.py +0 -0
  108. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/core/validation.py +0 -0
  109. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/dataframe.py +0 -0
  110. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/fairness.py +0 -0
  111. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/harness.py +0 -0
  112. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/integrations.py +0 -0
  113. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/llmsys/__init__.py +0 -0
  114. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/llmsys/_common.py +0 -0
  115. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/llmsys/agents.py +0 -0
  116. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/llmsys/code.py +0 -0
  117. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/llmsys/efficiency.py +0 -0
  118. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/llmsys/longcontext.py +0 -0
  119. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/llmsys/multilingual.py +0 -0
  120. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/llmsys/safety.py +0 -0
  121. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/plot.py +0 -0
  122. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/py.typed +0 -0
  123. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/regression/__init__.py +0 -0
  124. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/regression/metrics.py +0 -0
  125. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/reporting.py +0 -0
  126. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/stats/__init__.py +0 -0
  127. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/stats/_resolve.py +0 -0
  128. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/stats/results.py +0 -0
  129. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/__init__.py +0 -0
  130. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/_common.py +0 -0
  131. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/factuality.py +0 -0
  132. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/generation.py +0 -0
  133. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/qa.py +0 -0
  134. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/rag.py +0 -0
  135. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/reasoning.py +0 -0
  136. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/report.py +0 -0
  137. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/retrieval.py +0 -0
  138. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/text/spice.py +0 -0
  139. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/src/evalsuite/vision/detection.py +0 -0
  140. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/__init__.py +0 -0
  141. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/classification/__init__.py +0 -0
  142. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/classification/test_against_sklearn.py +0 -0
  143. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/clinical/__init__.py +0 -0
  144. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/clinical/test_outputs.py +0 -0
  145. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/conftest.py +0 -0
  146. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/integration/__init__.py +0 -0
  147. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/integration/test_qa.py +0 -0
  148. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/integration/test_readme_examples.py +0 -0
  149. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/integration/test_repo_hygiene.py +0 -0
  150. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/llmsys/__init__.py +0 -0
  151. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/llmsys/test_code_longcontext_efficiency.py +0 -0
  152. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/llmsys/test_edges.py +0 -0
  153. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/llmsys/test_fast_text.py +0 -0
  154. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/llmsys/test_hardening.py +0 -0
  155. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/llmsys/test_safety_robustness.py +0 -0
  156. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/llmsys/test_uncertainty_agents_multilingual.py +0 -0
  157. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/output/__init__.py +0 -0
  158. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/output/test_benchmarks.py +0 -0
  159. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/output/test_cli.py +0 -0
  160. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/output/test_plot.py +0 -0
  161. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/output/test_reporting.py +0 -0
  162. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/regression/__init__.py +0 -0
  163. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/regression/test_against_sklearn.py +0 -0
  164. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/stats/__init__.py +0 -0
  165. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/stats/test_branches.py +0 -0
  166. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/stats/test_compare.py +0 -0
  167. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/stats/test_reference.py +0 -0
  168. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_cache.py +0 -0
  169. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_cards.py +0 -0
  170. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_harness.py +0 -0
  171. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_integrations.py +0 -0
  172. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_monitor.py +0 -0
  173. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_native.py +0 -0
  174. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_properties.py +0 -0
  175. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_update.py +0 -0
  176. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_v111_fixes.py +0 -0
  177. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_v12.py +0 -0
  178. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_v121.py +0 -0
  179. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_v121_coverage.py +0 -0
  180. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_v13.py +0 -0
  181. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_v135.py +0 -0
  182. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_v13_edges.py +0 -0
  183. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_v140.py +0 -0
  184. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/test_v200.py +0 -0
  185. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/text/__init__.py +0 -0
  186. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/text/test_against_references.py +0 -0
  187. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/text/test_text_edges.py +0 -0
  188. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/text/test_v040.py +0 -0
  189. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/unit/__init__.py +0 -0
  190. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/unit/test_core.py +0 -0
  191. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/unit/test_edges.py +0 -0
  192. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/vision/__init__.py +0 -0
  193. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/vision/test_detection.py +0 -0
  194. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/vision/test_edges.py +0 -0
  195. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/vision/test_outputs.py +0 -0
  196. {evalsuite_python-2.0.0 → evalsuite_python-2.1.2}/tests/vision/test_segmentation.py +0 -0
@@ -6,6 +6,135 @@ All notable changes to this project are documented here. The format follows
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.1.2] - 2026-12-03
10
+
11
+ Bug fixes found by fuzzing every public function, the speed lost in 2.1.1 won back, and the dependency updates
12
+ that were blocked. Results are unchanged unless a fix says otherwise.
13
+
14
+ ### Fixed
15
+ - **Accuracy at very large degrees of freedom (from 2.1.1).** The t, F and beta tails lost about log10(df)
16
+ digits when one parameter of the incomplete beta function was huge (relative error 7e-11 at df = 10⁶, 5e-9 at
17
+ 10⁸, up to 0.1 at 10¹⁶; a t-test on a million observations has df ≈ 10⁶). The continued fraction is now
18
+ replaced there by DiDonato & Morris's asymptotic expansion (TOMS 708, BGRAT): exact to about 1e-13 for every
19
+ df, which is also more accurate than SciPy's `t.sf` in this range.
20
+ - **A NaN probability made `report_card` hang** (and any other DeLong interval with the compiled core): the
21
+ ranking kernel looped forever on NaN. It now terminates, sorts by a total order, and `roc_auc_ci` and
22
+ `report_card` reject NaN / infinite scores with the same message as `roc_auc` (`roc_auc_ci` used to return
23
+ an interval computed with the NaN in it).
24
+ - `bland_altman` and the internal linear regression handled values near 1e300 by overflowing (OverflowError);
25
+ extreme magnitudes are now rescaled by an exact power of two. Ordinary data takes the unchanged path.
26
+ - Clear errors instead of raw `AttributeError` / `IndexError` / `TypeError` for wrong input types in
27
+ `cost_quality_report`, `history_diff`, `history_html`, `load_benchmark`, `make_interactive`, `metric_info`,
28
+ `format_compliance` (a non-string pattern) and `report_card` (text probabilities).
29
+ - `run_benchmarks` imported SciPy even when timing EvalSuite alone; SciPy (and every other reference library)
30
+ is now optional there.
31
+ - The release check (`scripts/check_dist.py`) required SciPy and pandas as dependencies; it now requires NumPy
32
+ only and fails if SciPy, pandas or statsmodels become required.
33
+ - The R package's vendoring dropped source files some crates compile in (fancy-regex 0.20 includes its
34
+ documentation) and vendored dev-dependencies with paths too long for R's tar format.
35
+
36
+ ### Changed
37
+ - Rust: fancy-regex 0.20 and criterion 0.8 (supersedes Dependabot #18 and #19); benches use
38
+ `std::hint::black_box`.
39
+
40
+ ### Performance
41
+ 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):
42
+ - MoverScore's exact transport solver runs in the compiled core (bit-identical to the Python reference):
43
+ 48 ms (2.1.0) → 14 ms on the benchmark; the Python solver itself is 66× slower than the compiled one.
44
+ - Normal CDF / survival / density and lnΓ on arrays no longer go through a Python wrapper per element (whole
45
+ numbers read lnΓ from a cached table of `math.lgamma` values); both bit-identical to the scalar paths.
46
+ Fisher's exact test 0.23 → 0.13 ms.
47
+ - The studentized range (Nemenyi test, Tukey) integrates on fixed nodes in one batch: 13.8 ms (2.1.1) →
48
+ 1.8 ms; agreement with SciPy about 5e-14.
49
+ - Binary erosion (boundary IoU, surface distances) by shifted boolean ANDs: 2.1 → 1.8 ms.
50
+ - t quantiles (every t-based interval and the Bayesian correlated t-test) start from Hill's approximation and
51
+ finish with Halley steps: 45 → 13 µs each, exact to about 3e-14. Beta quantiles (Clopper–Pearson intervals)
52
+ skip one incomplete-beta evaluation: `proportion_ci` 0.44 → 0.13 ms.
53
+ - Isotonic recalibration sorts once instead of twice: 18 → 9 ms at 100 000 rows (faster than scikit-learn's
54
+ 16 ms), identical output.
55
+
56
+ ## [2.1.1] - 2026-12-02
57
+
58
+ EvalSuite now depends on NumPy alone. Every formula it used to take from SciPy, statsmodels or pandas is
59
+ written in the package itself and checked in the test suite against the library it replaces; results are
60
+ unchanged (agreement to rounding, about 1e-12, unless noted below).
61
+
62
+ ### Changed
63
+ - **No SciPy.** New `evalsuite._special` (normal, t, F, chi-square, beta and binomial distributions; regularized
64
+ incomplete beta and gamma functions and their inverses, from continued fractions and series refined by
65
+ safeguarded Halley steps) and `evalsuite._stats` (ranks; Pearson, Spearman, linear regression; exact binomial,
66
+ Wilcoxon signed-rank with the exact / permutation / normal choices of SciPy 1.15+ (with an older SciPy
67
+ installed, 2.1.0 followed that SciPy for small samples with ties or zeros), Mann–Whitney U with the exact null
68
+ distribution, Kruskal–Wallis, Friedman, chi-square contingency, Welch and pooled t, two-sample
69
+ Kolmogorov–Smirnov with the exact and Simard–L'Ecuyer distributions, Wasserstein and Jensen–Shannon
70
+ distances, the studentized range, the non-central t, Brent's root finder and bounded minimiser).
71
+ - **No scipy.spatial / scipy.ndimage / scipy.optimize.** `evalsuite._spatial`: exact nearest-neighbour and
72
+ fixed-radius pair search (a k-d tree in the compiled core, with an identical Python fallback), binary erosion,
73
+ and an exact optimal-transport solver (successive shortest paths) for MoverScore's earth mover's distance.
74
+ - **No statsmodels.** `clustered_comparison` uses `evalsuite._models`: GEE with an exchangeable working
75
+ correlation (a port of statsmodels' algorithm; agrees to about 1e-8) and a REML random-intercept mixed model
76
+ with statsmodels' observed-information standard errors (agrees to statsmodels' optimizer tolerance, about
77
+ 1e-6). The `stats` extra is kept but installs nothing.
78
+ - **pandas is optional** (`pip install evalsuite-python[pandas]`): needed only for `to_dataframe()` and Parquet
79
+ files. Without it, `auto_report` and the command line read CSV, TSV, JSON and JSON-lines files with a built-in
80
+ reader that infers column types as `pandas.read_csv` does.
81
+ - The Shapiro–Wilk test is always Royston's algorithm as SciPy 1.18 computes it; with an older SciPy installed,
82
+ 2.1.0 used SciPy's Fortran routine, which differs in about the 9th digit of W.
83
+ - `import evalsuite` plus a first statistical test takes about 90 ms instead of about 320 ms.
84
+
85
+ ### Fixed
86
+ - Accuracy in the far tails, where EvalSuite is now exact and SciPy is not: the t quantile next to the median
87
+ (e.g. `stdtrit(1, 0.49999999999999994)`, the Cauchy closed form), the non-central t CDF deep in the lower
88
+ tail (SciPy returns NaN), and normal tail probabilities below 1e-308 (SciPy underflows to 0).
89
+ - The mixed model in `clustered_comparison(method="mixed")` no longer depends on statsmodels' optimizer, which
90
+ could stop at an intercept of exactly 0 with a huge standard error when the cluster variance was small; the
91
+ reported model contrasts were unaffected.
92
+
93
+ ## [2.1.0] - 2026-11-30
94
+
95
+ Existing results are unchanged; everything below is new API, opt-in options or speed-ups with identical results,
96
+ apart from the fixes listed.
97
+
98
+ ### Added
99
+ - **Statistics**: `sample_size_sensitivity_specificity` (Buderer 1996); `clustered_comparison` (GEE or linear mixed
100
+ model for repeated measures per patient, site or reader; `pip install evalsuite-python[stats]`);
101
+ `compare(..., correction_scope="all")` to adjust p-values across every metric at once.
102
+ - **Conformal**: `conformal_risk_control`, `conformal_multilabel` (false-negative-rate control) and
103
+ `adaptive_conformal` (adaptive conformal inference for time series).
104
+ - **Clinical**: `decision_curve(..., n_resamples=)` bootstrap intervals and paired two-model differences;
105
+ `n_resamples=` intervals for `time_dependent_auc`, `brier_score_survival` and `integrated_brier_score`;
106
+ `survival_calibration` (observed vs predicted survival at a time, O/E ratio, ICI); `find_failing_slices`
107
+ (subgroup failure search with FDR-adjusted tests); TRIPOD-LLM and DECIDE-AI checklists in `report_card`.
108
+ - **LLM**: `bradley_terry(..., n_resamples=)` rating and rank intervals; `run_model` with Gemini, Mistral and any
109
+ OpenAI-compatible server (Ollama, vLLM, `base_url=`), rate-limit back-off honouring `Retry-After`, no retries on
110
+ errors that cannot succeed, and atomic cache writes with automatic repair of damaged entries.
111
+ - **Data quality**: `data_issues` (duplicates, near duplicates, conflicting labels, outliers, constant / sparse /
112
+ mixed-type columns, repeated IDs); `label_issues_multilabel` (matches cleanlab) and `label_issues_regression`;
113
+ `annotator_report` (per-annotator agreement and kappa, Krippendorff's alpha, flagged annotators).
114
+ - **Vision**: `panoptic_quality` (PQ / SQ / RQ, matches panopticapi) and `keypoint_oks` / `keypoint_ap` (matches
115
+ pycocotools' keypoint evaluation).
116
+ - **Ease of use**: interactive HTML reports (sortable tables, row filter, section menu, metric definitions on hover,
117
+ light / dark switch; `auto_report(..., interactive=False)` for the static page); `es.explain("mcc")`;
118
+ `evalsuite report --dry-run`, `--target / --pred / --prob`; `evalsuite compare file.csv` finds `pred_<model>` /
119
+ `prob_<model>` columns; `detect_models`.
120
+ - **Workflow**: `assert_metric` / `assert_no_regression` and a pytest plugin with those fixtures;
121
+ `evalsuite evaluate --record / --check-history`; `evalsuite history diff | html` (trend page with intervals);
122
+ `history` / `model` / `record` inputs for the GitHub Action; `evalsuite serve --token` (or `$EVALSUITE_TOKEN`)
123
+ and a request time limit.
124
+ - **Engine**: `StreamingClassification`, `StreamingRegression` and `stream_evaluate` for data larger than memory
125
+ (results equal `evaluate` on all the data); standalone `label_ranking_average_precision`, `coverage_error` and
126
+ `ranking_loss` (match scikit-learn; LRAP about 100× faster).
127
+ - Getting-started guides in the documentation (conformal, data quality, checklists, LLMs, workflow) and a computer
128
+ vision API page.
129
+
130
+ ### Changed
131
+ - Faster, with identical results: the Bayesian correlated t-test (about 10×), MinHash text signatures in the
132
+ compiled core (about 8×), and near-duplicate text search, which now groups identical texts first (3,000 notes:
133
+ 10 s → 0.05 s).
134
+
135
+ ### Fixed
136
+ - The per-metric benchmark's multi-label rows now time single metrics against single scikit-learn functions.
137
+
9
138
  ## [2.0.0] - 2026-11-28
10
139
 
11
140
  A major feature release. Existing results are unchanged; every addition is new API.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: evalsuite-python
3
- Version: 2.0.0
3
+ Version: 2.1.2
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,17 @@ 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'
27
+ Requires-Dist: pandas>=1.4 ; extra == 'all'
29
28
  Requires-Dist: anthropic>=0.30 ; extra == 'anthropic'
30
29
  Requires-Dist: datasets>=2.14 ; extra == 'benchmarks'
31
30
  Requires-Dist: pytest>=7 ; extra == 'dev'
32
31
  Requires-Dist: pytest-cov>=4 ; extra == 'dev'
33
32
  Requires-Dist: hypothesis>=6.80 ; extra == 'dev'
33
+ Requires-Dist: scipy>=1.12 ; extra == 'dev'
34
+ Requires-Dist: pandas>=1.4 ; extra == 'dev'
34
35
  Requires-Dist: scikit-learn>=1.4 ; extra == 'dev'
35
36
  Requires-Dist: statsmodels>=0.13 ; extra == 'dev'
36
37
  Requires-Dist: scikit-survival>=0.22 ; python_full_version >= '3.10' and extra == 'dev'
@@ -55,11 +56,13 @@ Requires-Dist: build ; extra == 'dev'
55
56
  Requires-Dist: twine ; extra == 'dev'
56
57
  Requires-Dist: pip-audit ; extra == 'dev'
57
58
  Requires-Dist: python-docx>=1.0 ; extra == 'docx'
59
+ Requires-Dist: google-genai>=1.0 ; extra == 'gemini'
58
60
  Requires-Dist: keras>=3 ; extra == 'keras'
59
61
  Requires-Dist: lightning>=2 ; extra == 'lightning'
60
62
  Requires-Dist: nltk>=3.8 ; extra == 'llm'
61
63
  Requires-Dist: mlflow>=2 ; extra == 'mlflow'
62
64
  Requires-Dist: openai>=1.0 ; extra == 'openai'
65
+ Requires-Dist: pandas>=1.4 ; extra == 'pandas'
63
66
  Requires-Dist: matplotlib>=3.5 ; extra == 'plot'
64
67
  Requires-Dist: scikit-learn>=1.2 ; extra == 'sklearn'
65
68
  Requires-Dist: pillow>=9 ; extra == 'vision'
@@ -69,13 +72,16 @@ Provides-Extra: anthropic
69
72
  Provides-Extra: benchmarks
70
73
  Provides-Extra: dev
71
74
  Provides-Extra: docx
75
+ Provides-Extra: gemini
72
76
  Provides-Extra: keras
73
77
  Provides-Extra: lightning
74
78
  Provides-Extra: llm
75
79
  Provides-Extra: mlflow
76
80
  Provides-Extra: openai
81
+ Provides-Extra: pandas
77
82
  Provides-Extra: plot
78
83
  Provides-Extra: sklearn
84
+ Provides-Extra: stats
79
85
  Provides-Extra: vision
80
86
  Provides-Extra: wandb
81
87
  License-File: LICENSE
@@ -98,6 +104,7 @@ Project-URL: Source, https://github.com/mkcs28/evalsuite-python
98
104
  [![CI](https://github.com/mkcs28/evalsuite-python/actions/workflows/ci.yml/badge.svg)](https://github.com/mkcs28/evalsuite-python/actions/workflows/ci.yml)
99
105
  [![PyPI](https://img.shields.io/pypi/v/evalsuite-python)](https://pypi.org/project/evalsuite-python/)
100
106
  [![Python](https://img.shields.io/pypi/pyversions/evalsuite-python)](https://pypi.org/project/evalsuite-python/)
107
+ [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/mkcs28/evalsuite-python/badge)](https://scorecard.dev/viewer/?uri=github.com/mkcs28/evalsuite-python)
101
108
  [![License: MIT OR Apache-2.0](https://img.shields.io/badge/License-MIT%20OR%20Apache--2.0-blue.svg)](#license)
102
109
 
103
110
  **Unified, reproducible evaluation for machine learning, LLM and research.**
@@ -108,11 +115,23 @@ evaluation into one consistent, validated, documented framework.
108
115
  > **On an older version? Upgrade once:** `pip install -U evalsuite-python`. From 1.1.2 on, EvalSuite tells you
109
116
  > when a newer release is out (`evalsuite upgrade`).
110
117
 
111
- > **Status: stable (2.0.0).** [Example notebooks](notebooks/README.md) (Colab) ·
118
+ > **Status: stable (2.1.2).** [Example notebooks](notebooks/README.md) (Colab) ·
112
119
  > [in-browser tools](https://evalsuite-nine.vercel.app/tools) · [changelog](CHANGELOG.md)
113
120
 
114
121
  **What's new**
115
122
 
123
+ - **2.1.2** — bug fixes from fuzzing every public function (a NaN probability could hang `report_card`),
124
+ 2.1.1's slowdowns removed (MoverScore 3.5× faster than 2.1.0, isotonic recalibration 2× faster), and
125
+ updated Rust dependencies.
126
+ - **2.1.1** — NumPy is the only dependency: distributions, statistical tests, nearest-neighbour search,
127
+ optimal transport and the GEE / mixed models are now EvalSuite's own code, checked against SciPy, statsmodels
128
+ and pandas; results unchanged; `import` and first test about 3.5× faster.
129
+ - **2.1** — interactive HTML reports; `es.explain`; a pytest plugin (`assert_metric`) and evaluation history with
130
+ regression checks in the CLI and the GitHub Action; streaming evaluation for data larger than memory; subgroup
131
+ failure search; conformal risk control, multi-label and time-series conformal; GEE / mixed-model comparison
132
+ for clustered data; decision-curve and survival intervals, survival calibration; TRIPOD-LLM and DECIDE-AI
133
+ checklists; `data_issues`, multi-label and regression label issues, annotator reports; panoptic quality and
134
+ keypoint AP; Gemini, Mistral and local OpenAI-compatible models in `run_model`.
116
135
  - **2.0** — conformal prediction (LAC / APS / RAPS sets, absolute / normalized / CQR intervals, per-group
117
136
  coverage); `evalsuite report data.csv` works out the task and writes a full HTML report; leakage checks
118
137
  (exact and near duplicates, shared IDs, text near-duplicates, target leakage), label-issue finding
@@ -243,7 +262,8 @@ and the leaderboard, with `ci: "analytic"` or `"bootstrap"` intervals.
243
262
  - **Documented.** Every metric carries its definition, formula, range, input requirements and references,
244
263
  available programmatically through `metric_info()`.
245
264
  - **Efficient.** `evaluate()` validates inputs once and computes the confusion matrix once for all metrics.
246
- - **Lightweight.** Requires only NumPy, SciPy and pandas.
265
+ - **Lightweight.** Requires only NumPy. Every formula (distributions, tests, k-d tree, mixed models) is written
266
+ in EvalSuite itself; pandas is optional (for `to_dataframe()` and Parquet files).
247
267
 
248
268
  ## Quick start
249
269
 
@@ -339,8 +359,8 @@ es.fisher_exact_test([[8, 2], [1, 5]])
339
359
  es.adjust_pvalues(p_values, method="hochberg") # also holm, bonferroni, bh, by
340
360
  ```
341
361
 
342
- Every test returns a `TestResult` with the statistic, p-value and an effect size, computed with SciPy and
343
- checked against SciPy and statsmodels in the test suite.
362
+ Every test returns a `TestResult` with the statistic, p-value and an effect size, computed by EvalSuite's own
363
+ distribution functions and checked against SciPy and statsmodels in the test suite.
344
364
 
345
365
  ## Segmentation
346
366
 
@@ -631,7 +651,7 @@ scripts, no external requests).
631
651
  ## Evaluation in pull requests
632
652
 
633
653
  ```yaml
634
- - uses: mkcs28/evalsuite-python@v2.0.0
654
+ - uses: mkcs28/evalsuite-python@v2.1.2
635
655
  with:
636
656
  predictions: predictions.csv
637
657
  y-true: label
@@ -752,11 +772,10 @@ metric calls. At 1,000,000 samples (pixels for segmentation; 1,000 images for de
752
772
  | text: ROUGE-1, ROUGE-2, ROUGE-L (10000 sentences) | rouge-score | 219.5 | 889.0 | **4.05×** |
753
773
  | text: corpus BLEU and chrF (10000 sentences) | sacreBLEU | 266.7 | 2399.8 | **9.00×** |
754
774
 
755
- **Every metric is benchmarked too** (`evalsuite benchmark --suite metrics`, re-run on 2.0.0, now including the
756
- 1.3 and 2.0 functions): all 238 registered metrics and statistics functions at 10,000 and 100,000 samples. 90 are
757
- compared with a reference library (now also pingouin, cleanlab, scikit-posthocs, baycomp and properscoring), 120
758
- with an independent textbook formula and 28 are timed alone; **all 210 comparisons agree**, and against the
759
- libraries the geometric-mean speed-up is **5.88×** (169 of 180 measurements faster). Per-metric table in BENCHMARKS.md.
775
+ **Every metric is benchmarked too** (`evalsuite benchmark --suite metrics`, re-run on 2.1.0): all 240 registered
776
+ metrics and statistics functions at 10,000 and 100,000 samples. 92 are compared with a reference library, 120 with
777
+ an independent textbook formula and 28 are timed alone; **all 212 comparisons agree**, and against the libraries
778
+ the geometric-mean speed-up is **6.78×** (177 of 184 measurements faster). Per-metric table in BENCHMARKS.md.
760
779
 
761
780
  **Nearly every workload is faster than its reference.** The text metrics (BLEU, chrF, TER, ROUGE, METEOR, CIDEr,
762
781
  CodeBLEU's n-gram terms, distinct-n), the whole COCO evaluation (IoU, score sort, matching, accumulation),
@@ -3,6 +3,7 @@
3
3
  [![CI](https://github.com/mkcs28/evalsuite-python/actions/workflows/ci.yml/badge.svg)](https://github.com/mkcs28/evalsuite-python/actions/workflows/ci.yml)
4
4
  [![PyPI](https://img.shields.io/pypi/v/evalsuite-python)](https://pypi.org/project/evalsuite-python/)
5
5
  [![Python](https://img.shields.io/pypi/pyversions/evalsuite-python)](https://pypi.org/project/evalsuite-python/)
6
+ [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/mkcs28/evalsuite-python/badge)](https://scorecard.dev/viewer/?uri=github.com/mkcs28/evalsuite-python)
6
7
  [![License: MIT OR Apache-2.0](https://img.shields.io/badge/License-MIT%20OR%20Apache--2.0-blue.svg)](#license)
7
8
 
8
9
  **Unified, reproducible evaluation for machine learning, LLM and research.**
@@ -13,11 +14,23 @@ evaluation into one consistent, validated, documented framework.
13
14
  > **On an older version? Upgrade once:** `pip install -U evalsuite-python`. From 1.1.2 on, EvalSuite tells you
14
15
  > when a newer release is out (`evalsuite upgrade`).
15
16
 
16
- > **Status: stable (2.0.0).** [Example notebooks](notebooks/README.md) (Colab) ·
17
+ > **Status: stable (2.1.2).** [Example notebooks](notebooks/README.md) (Colab) ·
17
18
  > [in-browser tools](https://evalsuite-nine.vercel.app/tools) · [changelog](CHANGELOG.md)
18
19
 
19
20
  **What's new**
20
21
 
22
+ - **2.1.2** — bug fixes from fuzzing every public function (a NaN probability could hang `report_card`),
23
+ 2.1.1's slowdowns removed (MoverScore 3.5× faster than 2.1.0, isotonic recalibration 2× faster), and
24
+ updated Rust dependencies.
25
+ - **2.1.1** — NumPy is the only dependency: distributions, statistical tests, nearest-neighbour search,
26
+ optimal transport and the GEE / mixed models are now EvalSuite's own code, checked against SciPy, statsmodels
27
+ and pandas; results unchanged; `import` and first test about 3.5× faster.
28
+ - **2.1** — interactive HTML reports; `es.explain`; a pytest plugin (`assert_metric`) and evaluation history with
29
+ regression checks in the CLI and the GitHub Action; streaming evaluation for data larger than memory; subgroup
30
+ failure search; conformal risk control, multi-label and time-series conformal; GEE / mixed-model comparison
31
+ for clustered data; decision-curve and survival intervals, survival calibration; TRIPOD-LLM and DECIDE-AI
32
+ checklists; `data_issues`, multi-label and regression label issues, annotator reports; panoptic quality and
33
+ keypoint AP; Gemini, Mistral and local OpenAI-compatible models in `run_model`.
21
34
  - **2.0** — conformal prediction (LAC / APS / RAPS sets, absolute / normalized / CQR intervals, per-group
22
35
  coverage); `evalsuite report data.csv` works out the task and writes a full HTML report; leakage checks
23
36
  (exact and near duplicates, shared IDs, text near-duplicates, target leakage), label-issue finding
@@ -148,7 +161,8 @@ and the leaderboard, with `ci: "analytic"` or `"bootstrap"` intervals.
148
161
  - **Documented.** Every metric carries its definition, formula, range, input requirements and references,
149
162
  available programmatically through `metric_info()`.
150
163
  - **Efficient.** `evaluate()` validates inputs once and computes the confusion matrix once for all metrics.
151
- - **Lightweight.** Requires only NumPy, SciPy and pandas.
164
+ - **Lightweight.** Requires only NumPy. Every formula (distributions, tests, k-d tree, mixed models) is written
165
+ in EvalSuite itself; pandas is optional (for `to_dataframe()` and Parquet files).
152
166
 
153
167
  ## Quick start
154
168
 
@@ -244,8 +258,8 @@ es.fisher_exact_test([[8, 2], [1, 5]])
244
258
  es.adjust_pvalues(p_values, method="hochberg") # also holm, bonferroni, bh, by
245
259
  ```
246
260
 
247
- Every test returns a `TestResult` with the statistic, p-value and an effect size, computed with SciPy and
248
- checked against SciPy and statsmodels in the test suite.
261
+ Every test returns a `TestResult` with the statistic, p-value and an effect size, computed by EvalSuite's own
262
+ distribution functions and checked against SciPy and statsmodels in the test suite.
249
263
 
250
264
  ## Segmentation
251
265
 
@@ -536,7 +550,7 @@ scripts, no external requests).
536
550
  ## Evaluation in pull requests
537
551
 
538
552
  ```yaml
539
- - uses: mkcs28/evalsuite-python@v2.0.0
553
+ - uses: mkcs28/evalsuite-python@v2.1.2
540
554
  with:
541
555
  predictions: predictions.csv
542
556
  y-true: label
@@ -657,11 +671,10 @@ metric calls. At 1,000,000 samples (pixels for segmentation; 1,000 images for de
657
671
  | text: ROUGE-1, ROUGE-2, ROUGE-L (10000 sentences) | rouge-score | 219.5 | 889.0 | **4.05×** |
658
672
  | text: corpus BLEU and chrF (10000 sentences) | sacreBLEU | 266.7 | 2399.8 | **9.00×** |
659
673
 
660
- **Every metric is benchmarked too** (`evalsuite benchmark --suite metrics`, re-run on 2.0.0, now including the
661
- 1.3 and 2.0 functions): all 238 registered metrics and statistics functions at 10,000 and 100,000 samples. 90 are
662
- compared with a reference library (now also pingouin, cleanlab, scikit-posthocs, baycomp and properscoring), 120
663
- with an independent textbook formula and 28 are timed alone; **all 210 comparisons agree**, and against the
664
- libraries the geometric-mean speed-up is **5.88×** (169 of 180 measurements faster). Per-metric table in BENCHMARKS.md.
674
+ **Every metric is benchmarked too** (`evalsuite benchmark --suite metrics`, re-run on 2.1.0): all 240 registered
675
+ metrics and statistics functions at 10,000 and 100,000 samples. 92 are compared with a reference library, 120 with
676
+ an independent textbook formula and 28 are timed alone; **all 212 comparisons agree**, and against the libraries
677
+ the geometric-mean speed-up is **6.78×** (177 of 184 measurements faster). Per-metric table in BENCHMARKS.md.
665
678
 
666
679
  **Nearly every workload is faster than its reference.** The text metrics (BLEU, chrF, TER, ROUGE, METEOR, CIDEr,
667
680
  CodeBLEU's n-gram terms, distinct-n), the whole COCO evaluation (IoU, score sort, matching, accumulation),
@@ -36,7 +36,7 @@ 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"]
@@ -50,12 +50,17 @@ docx = ["python-docx>=1.0"]
50
50
  benchmarks = ["datasets>=2.14"]
51
51
  wandb = ["wandb>=0.16"]
52
52
  openai = ["openai>=1.0"]
53
+ gemini = ["google-genai>=1.0"]
53
54
  anthropic = ["anthropic>=0.30"]
54
- all = ["matplotlib>=3.5", "pillow>=9", "nltk>=3.8"]
55
+ pandas = ["pandas>=1.4"]
56
+ stats = [] # kept for old install commands: clustered_comparison no longer needs statsmodels
57
+ all = ["matplotlib>=3.5", "pillow>=9", "nltk>=3.8", "pandas>=1.4"]
55
58
  dev = [
56
59
  "pytest>=7",
57
60
  "pytest-cov>=4",
58
61
  "hypothesis>=6.80",
62
+ "scipy>=1.12",
63
+ "pandas>=1.4",
59
64
  "scikit-learn>=1.4",
60
65
  "statsmodels>=0.13",
61
66
  "scikit-survival>=0.22; python_version >= '3.10'",
@@ -91,6 +96,9 @@ Changelog = "https://github.com/mkcs28/evalsuite-python/blob/main/CHANGELOG.md"
91
96
  [project.scripts]
92
97
  evalsuite = "evalsuite.cli.main:main"
93
98
 
99
+ [project.entry-points.pytest11]
100
+ evalsuite = "evalsuite.pytest_plugin"
101
+
94
102
  [tool.hatch.version]
95
103
  path = "src/evalsuite/version.py"
96
104