supervision/tests
Andrew Barnes 35006d7342
fix: sort YOLO class names by numeric keys (#2296)
* fix: sort yolo class names by numeric keys
* fix(yolo): reject double-hyphen keys in _is_int_like predicate
* fix(yolo): raise ValueError for mixed numeric/non-numeric names keys
* test(yolo): parametrize _extract_class_names with all key-type cases
* refine(yolo): rename lambda param key→k to avoid shadowing outer variable
* docs(yolo): comment bool guard in _is_int_like
* docs(yolo): docstring for _extract_class_names

---------

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
2026-06-07 10:54:43 -06:00
..
annotators fix(annotators): avoid divide-by-zero in HeatMapAnnotator on empty detections (#2269) 2026-05-26 22:27:07 +02:00
assets feat: replace print statements with structured logging (#2154) 2026-02-20 13:14:53 +01:00
classification refactor docstrings in `draw`, `classification`, and `key_points` (#2161) 2026-03-10 18:07:39 +01:00
dataset fix: sort YOLO class names by numeric keys (#2296) 2026-06-07 10:54:43 -06:00
detection Revert "feat: store keypoints on detections (#2290)" (#2291) 2026-06-04 11:43:48 -06:00
draw feat: add support for hexadecimal RGBA color format (#2004) 2026-03-30 15:57:18 +02:00
geometry
key_points Revert "feat: store keypoints on detections (#2290)" (#2291) 2026-06-04 11:43:48 -06:00
metrics Fix OBB IoU for non-square canvases (#2282) 2026-06-01 09:20:38 +02:00
tracker Fix external track ids (#1364) 2026-02-20 00:58:55 +01:00
utils Revert "feat: store keypoints on detections (#2290)" (#2291) 2026-06-04 11:43:48 -06:00
__init__.py
conftest.py ci(tests): disable matplotlib GUI and exclude non-test dirs from collection (#2262) 2026-05-20 23:40:21 +02:00
helpers.py Add unittests for `supervision.key_points.core` (#2190) 2026-03-30 20:36:31 +02:00
test_validate_deprecations.py refactor: privatize validation helpers (#2294) 2026-06-06 13:15:54 -06:00