supervision/tests/dataset/formats
Omkar Kabde 664bf3cf79
refactor docstrings in `scr/supervision/detection` (#2162)
* refactor docstrings in `scr/supervision/detection`
* Enhance docstrings across multiple modules: clarify attributes/args, improve formatting, and update logic for handling sentinel values in metrics calculation.
* Ensure consistent handling of `class_id` as integer across YOLO and Pascal VOC formats, fix NoneType handling in line zone logic, and add test coverage for multiclass annotator with None `class_id`.
* Enforce `class_id` as integer in YOLO export, update line zone class count docstrings, and add test for non-integer `class_id`.
* Apply suggestions from code review

---------

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-10 18:40:05 +01:00
..
__init__.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
test_coco.py Fix `detections_to_coco_annotations` function for empty polygons. (#1086) 2026-02-20 12:08:26 +01:00
test_pascal_voc.py Fix inconsistent `force_masks` across dataset formats (#265) 2026-02-20 08:15:16 +01:00
test_yolo.py refactor docstrings in `scr/supervision/detection` (#2162) 2026-03-10 18:40:05 +01:00