supervision/tests
Jirka Borovec e13090f84b
Fix detection medium review findings (#2400)
- Fixed detection medium findings across adapters, mask non-max merge, sinks, segmentation parsing, LineZone history, and mask ROI handling
- Fixed mask non-max merge deprecation warnings to honor the standard warning opt-out and include version context
- Fixed mask non-max merge validation for invalid IoU thresholds
- Fixed CompactMask non-max merge grouping to update merged mask candidates correctly
- Fixed selected and compacted detections to copy arrays and metadata, preventing mutations from leaking back to source detections
- Fixed LineZone crossing history eviction to tolerate short tracking gaps and evict stale state per tracker/class key
- Fixed semantic segmentation handling to preserve class ID 0
- Improved mask ROI conversion performance by avoiding unnecessary full-frame copies and repeated scans
- Updated JSONSink changelog/docs to document native bool/int/float output while leaving CSVSink unchanged
- Updated detection docstrings for mask parsing, selection copy semantics, validation errors, and argument readability guidance

---------

Co-authored-by: Codex <codex@openai.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-07-06 19:02:38 +02:00
..
annotators fix: resolve remaining High findings from deep codebase review (#2389) 2026-07-03 22:58:07 +02:00
assets chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
classification refactor docstrings in `draw`, `classification`, and `key_points` (#2161) 2026-03-10 18:07:39 +01:00
dataset fix: resolve remaining High findings from deep codebase review (#2389) 2026-07-03 22:58:07 +02:00
detection Fix detection medium review findings (#2400) 2026-07-06 19:02:38 +02:00
draw test: cover public API gaps and dataset split (#2399) 2026-07-03 20:57:42 +02:00
geometry fix: replace deprecated 2-D np.cross with explicit determinant (#2386) 2026-07-02 19:01:39 +02:00
key_points chore(typing): Add explicit selection helpers (#2373) 2026-06-29 15:39:58 +02:00
metrics fix: resolve remaining High findings from deep codebase review (#2389) 2026-07-03 22:58:07 +02:00
tracker chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
utils test: cover public API gaps and dataset split (#2399) 2026-07-03 20:57:42 +02:00
__init__.py
conftest.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
helpers.py fix(detection): harden model connectors and mask extraction (#2398) 2026-07-03 20:09:57 +02:00
test_public_api.py test: cover public API gaps and dataset split (#2399) 2026-07-03 20:57:42 +02:00
test_validate_deprecations.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00