supervision/tests/metrics
Shehzad Waseem 9aaf7fdbd6
fix(metrics): avoid division by zero RuntimeWarning in F1Score using np.divide (#2437)
* fix(metrics): avoid division by zero RuntimeWarning in F1Score using np.divide
* test+changelog: add F1Score zero-denom regression test; add changelog entry
* follow-up cleanup: mirror F1Score np.divide fix in mean_average_recall

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
2026-07-17 17:11:45 +02:00
..
utils fix(metrics): ignore out-of-bucket detections in size-bucketed sco… (#2428) 2026-07-15 12:48:19 +02:00
__init__.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
conftest.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
test_core.py fix: close out remaining review findings (#2418) 2026-07-09 17:53:52 +02:00
test_detection.py feat(cv2): complete fallback integration (#2439) 2026-07-17 07:50:45 +02:00
test_f1_score.py fix(metrics): avoid division by zero RuntimeWarning in F1Score using np.divide (#2437) 2026-07-17 17:11:45 +02:00
test_lazy_imports.py fix: remaining review findings in dataset, docs, and tests (#2416) 2026-07-08 23:00:32 +02:00
test_mean_average_precision.py fix: close out remaining review findings (#2418) 2026-07-09 17:53:52 +02:00
test_mean_average_precision_area.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
test_mean_average_recall.py fix: close out remaining review findings (#2418) 2026-07-09 17:53:52 +02:00
test_oriented_bounding_box_metrics.py Fix: resolve major complex review (#2388) 2026-07-02 18:14:04 +02:00
test_precision.py fix: resolve medium dataset findings (#2408) 2026-07-08 08:56:34 +02:00
test_recall.py fix: resolve medium dataset findings (#2408) 2026-07-08 08:56:34 +02:00
test_size_bucket_regressions.py fix(metrics): ignore out-of-bucket detections in size-bucketed sco… (#2428) 2026-07-15 12:48:19 +02:00