Repository navigation
fix: preserve multiclass per-source predictions - #139
Merged
Merged
Conversation
Release experimental taxonomy, scoring, and download updates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Preserve prediction counts for every supported media class in the bookkeeping summaries emitted after a benchmark run. Video predictions labeled semisynthetic or rendered were absent from
per_source_accuracy, which made downstream reporting show partial totals and misleading0/0rows.Scope
This is a reporting/bookkeeping-only change. It does not change:
Those metrics are calculated from the complete result rows before
per_source_accuracyis assembled. This patch only stops the final summary payload from discarding prediction-count buckets for labels 2 and 3.Changes
semisyntheticandrenderedcounts in per-dataset prediction distributionsper_source_accuracyExisting runs
Existing scores and outcomes do not require correction. Their lossy
per_source_accuracybookkeeping can be rebuilt from stored parquet records without rerunning inference.Validation
pytest -q tests/unit/test_multiclass_metrics.py— 18 passed