Skip to content

Fix postprocessing output edge cases#230

Merged
agentmorris merged 1 commit into
agentmorris:mainfrom
rishirevuri:fix-postprocessing-edge-cases
Jun 25, 2026
Merged

Fix postprocessing output edge cases#230
agentmorris merged 1 commit into
agentmorris:mainfrom
rishirevuri:fix-postprocessing-edge-cases

Conversation

@rishirevuri

Copy link
Copy Markdown
Contributor

This change fixes several small postprocessing issues that affect valid MegaDetector outputs. CSV report generation now accepts detection-level classifications sorted by descending confidence, unknown category remapping now records the generated unknown category in detection_categories using a string category ID, and batch output combining now replaces earlier failed image entries with later successful retries when detections is null. The batch-combining logic also avoids mutating caller-provided image dictionaries during path normalization. Regression tests were added to cover the updated behavior.

This change fixes several small postprocessing issues that affect valid MegaDetector outputs. CSV report generation now accepts detection-level classifications sorted by descending confidence, unknown category remapping now records the generated unknown category in detection_categories using a string category ID, and batch output combining now replaces earlier failed image entries with later successful retries when detections is null. The batch-combining logic also avoids mutating caller-provided image dictionaries during path normalization. Regression tests were added to cover the updated behavior.
@agentmorris agentmorris merged commit 7f7d51a into agentmorris:main Jun 25, 2026
2 checks passed
@agentmorris

Copy link
Copy Markdown
Owner

Merged with some modifications via PR 233. Thanks for your contribution.

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.

2 participants