evalsuite-python 1.4.0__py3-none-any.whl → 2.1.0__py3-none-any.whl

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 (56) hide show
  1. evalsuite/__init__.py +299 -8
  2. evalsuite/_bench_metrics.py +136 -1
  3. evalsuite/agreement.py +8 -0
  4. evalsuite/api.py +15 -2
  5. evalsuite/auto_report.py +288 -0
  6. evalsuite/bayes.py +42 -13
  7. evalsuite/benchmarks.py +14 -0
  8. evalsuite/calibration.py +4 -0
  9. evalsuite/cards.py +86 -9
  10. evalsuite/cli/main.py +196 -5
  11. evalsuite/clinical/report.py +109 -1
  12. evalsuite/comparisons.py +593 -0
  13. evalsuite/conformal.py +715 -0
  14. evalsuite/core/exceptions.py +17 -0
  15. evalsuite/core/registry.py +56 -0
  16. evalsuite/core/result.py +8 -0
  17. evalsuite/data_quality.py +1233 -0
  18. evalsuite/dataframe.py +123 -0
  19. evalsuite/drift.py +4 -0
  20. evalsuite/fairness.py +4 -0
  21. evalsuite/forecasting.py +4 -0
  22. evalsuite/harness.py +6 -1
  23. evalsuite/html_report.py +80 -0
  24. evalsuite/judging.py +8 -0
  25. evalsuite/llm_eval.py +745 -0
  26. evalsuite/multilabel.py +72 -5
  27. evalsuite/plot.py +92 -0
  28. evalsuite/pytest_plugin.py +29 -0
  29. evalsuite/rag_report.py +4 -0
  30. evalsuite/recalibration.py +7 -0
  31. evalsuite/reclassification.py +366 -0
  32. evalsuite/reporting.py +4 -0
  33. evalsuite/slices.py +315 -0
  34. evalsuite/stats/_resolve.py +6 -1
  35. evalsuite/stats/compare.py +17 -3
  36. evalsuite/stats/paired.py +53 -21
  37. evalsuite/stats/planning.py +41 -0
  38. evalsuite/streaming.py +384 -0
  39. evalsuite/survival.py +280 -3
  40. evalsuite/testing.py +90 -0
  41. evalsuite/text/judge.py +54 -3
  42. evalsuite/text/report.py +4 -0
  43. evalsuite/version.py +1 -1
  44. evalsuite/vision/__init__.py +9 -1
  45. evalsuite/vision/detection.py +4 -0
  46. evalsuite/vision/keypoints.py +280 -0
  47. evalsuite/vision/panoptic.py +218 -0
  48. evalsuite/vision/segmentation.py +4 -0
  49. evalsuite/workflow.py +423 -0
  50. {evalsuite_python-1.4.0.dist-info → evalsuite_python-2.1.0.dist-info}/METADATA +31 -8
  51. evalsuite_python-2.1.0.dist-info/RECORD +104 -0
  52. {evalsuite_python-1.4.0.dist-info → evalsuite_python-2.1.0.dist-info}/entry_points.txt +3 -0
  53. evalsuite_python-1.4.0.dist-info/RECORD +0 -90
  54. {evalsuite_python-1.4.0.dist-info → evalsuite_python-2.1.0.dist-info}/WHEEL +0 -0
  55. {evalsuite_python-1.4.0.dist-info → evalsuite_python-2.1.0.dist-info}/licenses/LICENSE +0 -0
  56. {evalsuite_python-1.4.0.dist-info → evalsuite_python-2.1.0.dist-info}/licenses/LICENSE-APACHE +0 -0
evalsuite/__init__.py CHANGED
@@ -41,6 +41,12 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
41
41
  from .api import (
42
42
  evaluate,
43
43
  )
44
+ from .auto_report import (
45
+ AutoReport,
46
+ auto_report,
47
+ detect_columns,
48
+ detect_models,
49
+ )
44
50
  from .bayes import (
45
51
  BayesComparison,
46
52
  bayes_compare,
@@ -101,7 +107,28 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
101
107
  sensitivity,
102
108
  youden_j,
103
109
  )
110
+ from .comparisons import (
111
+ ClusteredComparison,
112
+ NemenyiResult,
113
+ clustered_comparison,
114
+ equivalence_test,
115
+ ipw_metric,
116
+ nemenyi_test,
117
+ noninferiority_test,
118
+ )
119
+ from .conformal import (
120
+ ConformalIntervals,
121
+ ConformalSets,
122
+ RiskControl,
123
+ adaptive_conformal,
124
+ conformal_classification,
125
+ conformal_multilabel,
126
+ conformal_quantile,
127
+ conformal_regression,
128
+ conformal_risk_control,
129
+ )
104
130
  from .core.exceptions import (
131
+ EvalSuiteDeprecationWarning,
105
132
  EvalSuiteError,
106
133
  InputValidationError,
107
134
  MetricInputError,
@@ -112,6 +139,7 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
112
139
  )
113
140
  from .core.registry import (
114
141
  MetricInfo,
142
+ explain,
115
143
  list_metrics,
116
144
  metric_info,
117
145
  )
@@ -119,6 +147,24 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
119
147
  EvaluationResult,
120
148
  MetricResult,
121
149
  )
150
+ from .data_quality import (
151
+ AnnotatorReport,
152
+ DataIssues,
153
+ DatasetCard,
154
+ LabelIssueRows,
155
+ LabelIssues,
156
+ LeakageReport,
157
+ annotator_report,
158
+ data_issues,
159
+ dataset_card,
160
+ label_issues,
161
+ label_issues_multilabel,
162
+ label_issues_regression,
163
+ leakage_report,
164
+ )
165
+ from .dataframe import (
166
+ register_accessors,
167
+ )
122
168
  from .drift import (
123
169
  DriftReport,
124
170
  drift_report,
@@ -145,6 +191,7 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
145
191
  )
146
192
  from .html_report import (
147
193
  html_report,
194
+ make_interactive,
148
195
  )
149
196
  from .judging import (
150
197
  JudgeReport,
@@ -157,6 +204,17 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
157
204
  format_multiple_choice,
158
205
  load_benchmark,
159
206
  )
207
+ from .llm_eval import (
208
+ AgentReport,
209
+ ContaminationReport,
210
+ ConversationReport,
211
+ CostQualityReport,
212
+ agent_report,
213
+ contamination_check,
214
+ conversation_report,
215
+ cost_quality_report,
216
+ run_model,
217
+ )
160
218
  from .llmsys import *
161
219
  from .monitor import (
162
220
  Alert,
@@ -167,7 +225,10 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
167
225
  from .multilabel import (
168
226
  MultilabelReport,
169
227
  RankingReport,
228
+ coverage_error,
229
+ label_ranking_average_precision,
170
230
  multilabel_report,
231
+ ranking_loss,
171
232
  ranking_report,
172
233
  )
173
234
  from .rag_report import (
@@ -178,6 +239,12 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
178
239
  Calibrator,
179
240
  recalibrate,
180
241
  )
242
+ from .reclassification import (
243
+ ExternalValidation,
244
+ ReclassificationResult,
245
+ external_validation,
246
+ reclassification,
247
+ )
181
248
  from .regression import (
182
249
  adjusted_r2,
183
250
  explained_variance,
@@ -201,6 +268,11 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
201
268
  ClassificationReport,
202
269
  classification_report,
203
270
  )
271
+ from .slices import (
272
+ SliceReport,
273
+ find_failing_slices,
274
+ per_example_loss,
275
+ )
204
276
  from .stats import (
205
277
  ComparisonResult,
206
278
  ConfidenceInterval,
@@ -236,18 +308,35 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
236
308
  sample_size_auc,
237
309
  sample_size_mean_difference,
238
310
  sample_size_proportion,
311
+ sample_size_sensitivity_specificity,
239
312
  sample_size_two_proportions,
240
313
  )
314
+ from .streaming import (
315
+ StreamingClassification,
316
+ StreamingRegression,
317
+ StreamingResult,
318
+ stream_evaluate,
319
+ )
241
320
  from .survival import (
321
+ SurvivalCalibration,
242
322
  brier_score_survival,
243
323
  concordance_index,
244
324
  integrated_brier_score,
245
325
  kaplan_meier,
326
+ survival_calibration,
246
327
  time_dependent_auc,
247
328
  )
329
+ from .testing import (
330
+ MetricAssertionError,
331
+ assert_metric,
332
+ assert_no_regression,
333
+ )
248
334
  from .text import *
249
335
  from .vision import (
336
+ COCO_KEYPOINT_SIGMAS,
250
337
  DetectionReport,
338
+ KeypointReport,
339
+ PanopticReport,
251
340
  SegmentationReport,
252
341
  average_precision_detection,
253
342
  average_surface_distance,
@@ -259,14 +348,28 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
259
348
  from_coco,
260
349
  hausdorff_distance,
261
350
  iou,
351
+ keypoint_ap,
352
+ keypoint_oks,
262
353
  mean_average_precision,
263
354
  mean_pixel_accuracy,
264
355
  miou,
356
+ panoptic_quality,
265
357
  per_image_scores,
266
358
  pixel_accuracy,
267
359
  segmentation_confusion,
268
360
  segmentation_report,
269
361
  )
362
+ from .workflow import (
363
+ check_regression,
364
+ history_diff,
365
+ history_html,
366
+ load_history,
367
+ log_to_mlflow,
368
+ log_to_wandb,
369
+ metrics_dict,
370
+ record_history,
371
+ serve,
372
+ )
270
373
 
271
374
  # Submodules available as attributes (``es.stats``, ``es.plot``, ...).
272
375
  _SUBMODULES = (
@@ -334,6 +437,7 @@ _EXPORTS: dict[str, tuple[str, ...]] = {
334
437
  "youden_j",
335
438
  ),
336
439
  ".core.exceptions": (
440
+ "EvalSuiteDeprecationWarning",
337
441
  "EvalSuiteError",
338
442
  "InputValidationError",
339
443
  "MetricInputError",
@@ -343,9 +447,10 @@ _EXPORTS: dict[str, tuple[str, ...]] = {
343
447
  "UnsupportedTaskError",
344
448
  ),
345
449
  ".core.registry": (
346
- "MetricInfo",
450
+ "explain",
347
451
  "list_metrics",
348
452
  "metric_info",
453
+ "MetricInfo",
349
454
  ),
350
455
  ".core.result": (
351
456
  "EvaluationResult",
@@ -381,10 +486,13 @@ _EXPORTS: dict[str, tuple[str, ...]] = {
381
486
  "rmsse",
382
487
  ),
383
488
  ".multilabel": (
384
- "MultilabelReport",
385
- "RankingReport",
489
+ "coverage_error",
490
+ "label_ranking_average_precision",
386
491
  "multilabel_report",
492
+ "MultilabelReport",
493
+ "ranking_loss",
387
494
  "ranking_report",
495
+ "RankingReport",
388
496
  ),
389
497
  ".recalibration": (
390
498
  "Calibrator",
@@ -396,6 +504,92 @@ _EXPORTS: dict[str, tuple[str, ...]] = {
396
504
  "cache_info",
397
505
  "clear_cache",
398
506
  ),
507
+ ".auto_report": (
508
+ "auto_report",
509
+ "AutoReport",
510
+ "detect_columns",
511
+ "detect_models",
512
+ ),
513
+ ".comparisons": (
514
+ "clustered_comparison",
515
+ "ClusteredComparison",
516
+ "equivalence_test",
517
+ "ipw_metric",
518
+ "nemenyi_test",
519
+ "NemenyiResult",
520
+ "noninferiority_test",
521
+ ),
522
+ ".conformal": (
523
+ "adaptive_conformal",
524
+ "conformal_classification",
525
+ "conformal_multilabel",
526
+ "conformal_quantile",
527
+ "conformal_regression",
528
+ "conformal_risk_control",
529
+ "ConformalIntervals",
530
+ "ConformalSets",
531
+ "RiskControl",
532
+ ),
533
+ ".data_quality": (
534
+ "annotator_report",
535
+ "AnnotatorReport",
536
+ "data_issues",
537
+ "DataIssues",
538
+ "dataset_card",
539
+ "DatasetCard",
540
+ "label_issues",
541
+ "label_issues_multilabel",
542
+ "label_issues_regression",
543
+ "LabelIssueRows",
544
+ "LabelIssues",
545
+ "leakage_report",
546
+ "LeakageReport",
547
+ ),
548
+ ".reclassification": (
549
+ "ExternalValidation",
550
+ "ReclassificationResult",
551
+ "external_validation",
552
+ "reclassification",
553
+ ),
554
+ ".llm_eval": (
555
+ "AgentReport",
556
+ "ContaminationReport",
557
+ "ConversationReport",
558
+ "CostQualityReport",
559
+ "agent_report",
560
+ "contamination_check",
561
+ "conversation_report",
562
+ "cost_quality_report",
563
+ "run_model",
564
+ ),
565
+ ".dataframe": ("register_accessors",),
566
+ ".workflow": (
567
+ "check_regression",
568
+ "history_diff",
569
+ "history_html",
570
+ "load_history",
571
+ "log_to_mlflow",
572
+ "log_to_wandb",
573
+ "metrics_dict",
574
+ "record_history",
575
+ "serve",
576
+ ),
577
+ ".slices": (
578
+ "find_failing_slices",
579
+ "per_example_loss",
580
+ "SliceReport",
581
+ ),
582
+ ".testing": (
583
+ "assert_metric",
584
+ "assert_no_regression",
585
+ "MetricAssertionError",
586
+ ),
587
+ ".streaming": (
588
+ "stream_evaluate",
589
+ "StreamingClassification",
590
+ "StreamingRegression",
591
+ "StreamingResult",
592
+ ),
399
593
  ".fairness": (
400
594
  "FairnessReport",
401
595
  "fairness_report",
@@ -404,7 +598,10 @@ _EXPORTS: dict[str, tuple[str, ...]] = {
404
598
  "Leaderboard",
405
599
  "leaderboard",
406
600
  ),
407
- ".html_report": ("html_report",),
601
+ ".html_report": (
602
+ "html_report",
603
+ "make_interactive",
604
+ ),
408
605
  ".judging": (
409
606
  "JudgeReport",
410
607
  "RubricReport",
@@ -561,20 +758,23 @@ _EXPORTS: dict[str, tuple[str, ...]] = {
561
758
  "wilcoxon_test",
562
759
  ),
563
760
  ".stats.planning": (
564
- "SampleSize",
565
761
  "power_auc",
566
762
  "power_mean_difference",
567
763
  "power_two_proportions",
568
764
  "sample_size_auc",
569
765
  "sample_size_mean_difference",
570
766
  "sample_size_proportion",
767
+ "sample_size_sensitivity_specificity",
571
768
  "sample_size_two_proportions",
769
+ "SampleSize",
572
770
  ),
573
771
  ".survival": (
574
772
  "brier_score_survival",
575
773
  "concordance_index",
576
774
  "integrated_brier_score",
577
775
  "kaplan_meier",
776
+ "survival_calibration",
777
+ "SurvivalCalibration",
578
778
  "time_dependent_auc",
579
779
  ),
580
780
  ".text": (
@@ -656,25 +856,31 @@ _EXPORTS: dict[str, tuple[str, ...]] = {
656
856
  "xml_validity",
657
857
  ),
658
858
  ".vision": (
659
- "DetectionReport",
660
- "SegmentationReport",
661
859
  "average_precision_detection",
662
860
  "average_surface_distance",
663
861
  "boundary_iou",
664
862
  "box_iou",
863
+ "COCO_KEYPOINT_SIGMAS",
665
864
  "detection_pr_curve",
666
865
  "detection_report",
866
+ "DetectionReport",
667
867
  "dice",
668
868
  "from_coco",
669
869
  "hausdorff_distance",
670
870
  "iou",
871
+ "keypoint_ap",
872
+ "keypoint_oks",
873
+ "KeypointReport",
671
874
  "mean_average_precision",
672
875
  "mean_pixel_accuracy",
673
876
  "miou",
877
+ "panoptic_quality",
878
+ "PanopticReport",
674
879
  "per_image_scores",
675
880
  "pixel_accuracy",
676
881
  "segmentation_confusion",
677
882
  "segmentation_report",
883
+ "SegmentationReport",
678
884
  ),
679
885
  }
680
886
 
@@ -682,44 +888,72 @@ _LAZY: dict[str, str] = {name: mod for mod, names in _EXPORTS.items() for name i
682
888
  _LAZY.update({"UpdateInfo": "._update", "check_for_update": "._update", "upgrade": "._update"})
683
889
 
684
890
  __all__ = [
891
+ "AgentReport",
685
892
  "Alert",
893
+ "AnnotatorReport",
894
+ "AutoReport",
686
895
  "BENCHMARKS",
687
896
  "BayesComparison",
688
897
  "BlandAltman",
898
+ "COCO_KEYPOINT_SIGMAS",
689
899
  "CacheInfo",
690
900
  "CalibrationReport",
691
901
  "Calibrator",
692
902
  "ClassificationReport",
903
+ "ClusteredComparison",
693
904
  "ComparisonResult",
694
905
  "ConfidenceInterval",
906
+ "ConformalIntervals",
907
+ "ConformalSets",
908
+ "ContaminationReport",
909
+ "ConversationReport",
910
+ "CostQualityReport",
911
+ "DataIssues",
912
+ "DatasetCard",
695
913
  "DecisionCurve",
696
914
  "DetectionReport",
697
915
  "DiagnosticReport",
698
916
  "DriftReport",
917
+ "EvalSuiteDeprecationWarning",
699
918
  "EvalSuiteError",
700
919
  "EvaluationResult",
920
+ "ExternalValidation",
701
921
  "FairnessReport",
702
922
  "ForecastReport",
703
923
  "ICCForm",
704
924
  "ICCResult",
705
925
  "InputValidationError",
706
926
  "JudgeReport",
927
+ "KeypointReport",
928
+ "LabelIssueRows",
929
+ "LabelIssues",
707
930
  "Leaderboard",
931
+ "LeakageReport",
932
+ "MetricAssertionError",
708
933
  "MetricInfo",
709
934
  "MetricInputError",
710
935
  "MetricResult",
711
936
  "Monitor",
712
937
  "MultilabelReport",
938
+ "NemenyiResult",
713
939
  "OptionalDependencyError",
714
940
  "PII_PATTERNS",
715
941
  "PYTHON_KEYWORDS",
942
+ "PanopticReport",
716
943
  "RAGReport",
717
944
  "RankingReport",
945
+ "ReclassificationResult",
718
946
  "ReportCard",
947
+ "RiskControl",
719
948
  "RubricReport",
720
949
  "SampleSize",
721
950
  "SegmentationReport",
951
+ "SliceReport",
722
952
  "StatisticalTestError",
953
+ "StreamingClassification",
954
+ "StreamingRegression",
955
+ "StreamingResult",
956
+ "SurvivalCalibration",
723
957
  "TestResult",
724
958
  "TextReport",
725
959
  "UndefinedMetricWarning",
@@ -730,16 +964,22 @@ __all__ = [
730
964
  "accuracy",
731
965
  "accuracy_ci",
732
966
  "adaptive_calibration_error",
967
+ "adaptive_conformal",
733
968
  "add_typos",
734
969
  "adjust_pvalues",
735
970
  "adjusted_r2",
736
971
  "adversarial_robustness",
737
972
  "agent_cost_per_task",
973
+ "agent_report",
974
+ "annotator_report",
738
975
  "answer_correctness",
739
976
  "answer_relevance",
740
977
  "api_call_success_rate",
978
+ "assert_metric",
979
+ "assert_no_regression",
741
980
  "attack_success_rate",
742
981
  "aurc",
982
+ "auto_report",
743
983
  "availability",
744
984
  "average_precision",
745
985
  "average_precision_detection",
@@ -766,6 +1006,7 @@ __all__ = [
766
1006
  "calibration_report",
767
1007
  "calibration_slope",
768
1008
  "check_for_update",
1009
+ "check_regression",
769
1010
  "chi_square_test",
770
1011
  "chrf",
771
1012
  "cider",
@@ -778,6 +1019,7 @@ __all__ = [
778
1019
  "clear_cache",
779
1020
  "cliffs_delta",
780
1021
  "clinical",
1022
+ "clustered_comparison",
781
1023
  "code_complexity",
782
1024
  "code_switching_robustness",
783
1025
  "codebleu",
@@ -787,14 +1029,23 @@ __all__ = [
787
1029
  "compression_ratio",
788
1030
  "concordance_index",
789
1031
  "confidence_accuracy_correlation",
1032
+ "conformal_classification",
1033
+ "conformal_multilabel",
1034
+ "conformal_quantile",
1035
+ "conformal_regression",
1036
+ "conformal_risk_control",
790
1037
  "confusion_matrix",
791
1038
  "constraint_satisfaction_rate",
1039
+ "contamination_check",
792
1040
  "context_precision",
793
1041
  "context_recall",
794
1042
  "context_relevance",
795
1043
  "context_utilization",
796
1044
  "contradiction_rate",
1045
+ "conversation_report",
1046
+ "cost_quality_report",
797
1047
  "coverage_at_risk",
1048
+ "coverage_error",
798
1049
  "coverage_rate",
799
1050
  "cramers_v",
800
1051
  "cross_document_consistency",
@@ -802,8 +1053,12 @@ __all__ = [
802
1053
  "cross_lingual_consistency",
803
1054
  "crps",
804
1055
  "cultural_appropriateness",
1056
+ "data_issues",
1057
+ "dataset_card",
805
1058
  "decision_curve",
806
1059
  "delong_test",
1060
+ "detect_columns",
1061
+ "detect_models",
807
1062
  "detect_pii",
808
1063
  "detection_pr_curve",
809
1064
  "detection_report",
@@ -818,13 +1073,16 @@ __all__ = [
818
1073
  "elo_ratings",
819
1074
  "embedding_similarity",
820
1075
  "energy_per_request",
1076
+ "equivalence_test",
821
1077
  "error_rate",
822
1078
  "evaluate",
823
1079
  "exact_match",
824
1080
  "execution_success_rate",
825
1081
  "expected_calibration_error",
1082
+ "explain",
826
1083
  "explained_variance",
827
1084
  "exposure",
1085
+ "external_validation",
828
1086
  "extra_content_rate",
829
1087
  "extract_answer",
830
1088
  "extract_json",
@@ -833,6 +1091,7 @@ __all__ = [
833
1091
  "fairness_report",
834
1092
  "faithfulness",
835
1093
  "fbeta",
1094
+ "find_failing_slices",
836
1095
  "fisher_exact_test",
837
1096
  "fleiss_kappa",
838
1097
  "forecast_report",
@@ -846,6 +1105,8 @@ __all__ = [
846
1105
  "harmful_response_rate",
847
1106
  "hausdorff_distance",
848
1107
  "hedges_g",
1108
+ "history_diff",
1109
+ "history_html",
849
1110
  "hit_rate_at_k",
850
1111
  "hosmer_lemeshow",
851
1112
  "html_report",
@@ -861,32 +1122,44 @@ __all__ = [
861
1122
  "invalid_tool_call_rate",
862
1123
  "invariance_violation_rate",
863
1124
  "iou",
1125
+ "ipw_metric",
864
1126
  "jaccard",
865
1127
  "json_schema_compliance",
866
1128
  "json_validity",
867
1129
  "judge_agreement",
868
1130
  "judge_report",
869
1131
  "kaplan_meier",
1132
+ "keypoint_ap",
1133
+ "keypoint_oks",
870
1134
  "knowledge_consistency",
871
1135
  "krippendorff_alpha",
872
1136
  "kruskal_wallis_test",
873
1137
  "ks_drift",
1138
+ "label_issues",
1139
+ "label_issues_multilabel",
1140
+ "label_issues_regression",
1141
+ "label_ranking_average_precision",
874
1142
  "language_consistency",
875
1143
  "language_id_accuracy",
876
1144
  "language_parity",
877
1145
  "latency_percentiles",
878
1146
  "latency_summary",
879
1147
  "leaderboard",
1148
+ "leakage_report",
880
1149
  "lins_ccc",
881
1150
  "list_metrics",
882
1151
  "llmsys",
883
1152
  "load_benchmark",
1153
+ "load_history",
884
1154
  "log_loss",
1155
+ "log_to_mlflow",
1156
+ "log_to_wandb",
885
1157
  "lost_in_the_middle",
886
1158
  "lr_negative",
887
1159
  "lr_positive",
888
1160
  "mae",
889
1161
  "majority_vote_accuracy",
1162
+ "make_interactive",
890
1163
  "mann_whitney_test",
891
1164
  "mape",
892
1165
  "mase",
@@ -902,6 +1175,7 @@ __all__ = [
902
1175
  "median_absolute_error",
903
1176
  "meteor",
904
1177
  "metric_info",
1178
+ "metrics_dict",
905
1179
  "miou",
906
1180
  "model_score",
907
1181
  "moverscore",
@@ -912,17 +1186,21 @@ __all__ = [
912
1186
  "multilabel_report",
913
1187
  "ndcg_at_k",
914
1188
  "needle_in_haystack",
1189
+ "nemenyi_test",
915
1190
  "net_benefit",
916
1191
  "noise_robustness",
1192
+ "noninferiority_test",
917
1193
  "normalize_answer",
918
1194
  "npv",
919
1195
  "ood_accuracy",
920
1196
  "over_refusal_rate",
921
1197
  "paired_bootstrap_test",
922
1198
  "paired_t_test",
1199
+ "panoptic_quality",
923
1200
  "paraphrase_consistency",
924
1201
  "pass_at_k",
925
1202
  "patch_acceptance_rate",
1203
+ "per_example_loss",
926
1204
  "per_image_scores",
927
1205
  "perplexity",
928
1206
  "pii_leakage_rate",
@@ -947,13 +1225,17 @@ __all__ = [
947
1225
  "r2",
948
1226
  "rae",
949
1227
  "rag_report",
1228
+ "ranking_loss",
950
1229
  "ranking_report",
951
1230
  "recalibrate",
952
1231
  "recall",
953
1232
  "recall_at_k",
1233
+ "reclassification",
1234
+ "record_history",
954
1235
  "recovery_success_rate",
955
1236
  "red_team_success_rate",
956
1237
  "refusal_rate",
1238
+ "register_accessors",
957
1239
  "regression",
958
1240
  "report_card",
959
1241
  "requests_per_second",
@@ -977,10 +1259,12 @@ __all__ = [
977
1259
  "rse",
978
1260
  "rubric_report",
979
1261
  "rubric_score",
1262
+ "run_model",
980
1263
  "runtime_efficiency",
981
1264
  "sample_size_auc",
982
1265
  "sample_size_mean_difference",
983
1266
  "sample_size_proportion",
1267
+ "sample_size_sensitivity_specificity",
984
1268
  "sample_size_two_proportions",
985
1269
  "security_vulnerability_rate",
986
1270
  "segmentation_confusion",
@@ -990,6 +1274,7 @@ __all__ = [
990
1274
  "self_preference_bias",
991
1275
  "sensitivity",
992
1276
  "sentence_bleu",
1277
+ "serve",
993
1278
  "shapiro_wilk_test",
994
1279
  "smape",
995
1280
  "specificity",
@@ -999,7 +1284,9 @@ __all__ = [
999
1284
  "stats",
1000
1285
  "steps_per_task",
1001
1286
  "stereotype_preference",
1287
+ "stream_evaluate",
1002
1288
  "summary_coverage",
1289
+ "survival_calibration",
1003
1290
  "syntax_validity_rate",
1004
1291
  "t_test",
1005
1292
  "task_completion_rate",
@@ -1041,7 +1328,11 @@ def __getattr__(name: str) -> Any:
1041
1328
  elif name in _LAZY:
1042
1329
  value = getattr(_importlib.import_module(_LAZY[name], __name__), name)
1043
1330
  else:
1044
- raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
1331
+ import difflib
1332
+
1333
+ close = difflib.get_close_matches(name, __all__, n=3, cutoff=0.75)
1334
+ hint = f" Did you mean {', '.join(repr(c) for c in close)}?" if close else ""
1335
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}.{hint}")
1045
1336
  globals()[name] = value # cache: later look-ups are plain attribute access
1046
1337
  return value
1047
1338