Skip to content

feat: add optional COCO metric backend#205

Merged
hyeokjun32 merged 1 commit intomainfrom
feat/optional-coco-metric-backend
May 1, 2026
Merged

feat: add optional COCO metric backend#205
hyeokjun32 merged 1 commit intomainfrom
feat/optional-coco-metric-backend

Conversation

@hyeokjun32
Copy link
Copy Markdown
Contributor

Summary

  • Added a metric backend layer for detection evaluation.
  • Kept simplified mAP50 as the default backend and added explicit optional pycocotools backend support.
  • Recorded metric backend metadata in evaluation JSON/report fixtures and docs.

Validation

  • poetry run python3 -m pytest tests/test_metric_backends.py tests/test_evaluate_detection.py tests/test_validation_contracts.py tests/test_validation_demo_report.py -q
  • poetry run python3 -m pytest -q

Impact

  • Preserves lightweight local-first evaluation by default.
  • Allows official COCO evaluator usage only when explicitly requested and installed.
  • Avoids silent metric fallback when pycocotools is missing.

Notes

  • No new production SaaS infrastructure was added.
  • pycocotools remains optional and is not required for the default test suite.

@hyeokjun32 hyeokjun32 merged commit 7248418 into main May 1, 2026
1 check passed
@hyeokjun32 hyeokjun32 deleted the feat/optional-coco-metric-backend branch May 1, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant