fix(dupe): consistent green/yellow/red metadata highlighting (#115) #137
No reviewers
Labels
No labels
Kind/Bug
Kind/Feature
Priority/High
Priority/Medium
Reviewed/Confirmed
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-collab/bulk-image-organizer!137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "0.2.3/issue-115-dupe-color-coding"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
compare_tier()(core/dupe_metadata_compare.py) only recognized a tie when every value in a duplicate group was identical. A value shared by some — but not all — images, without being the group's overall highest/lowest, fell through to no highlight instead of yellow.0.2.4(patch) and added aCHANGELOG.mdentry.Closes #115.
Test plan
ruff check/ruff format --checkonsrc,tests,scriptspytest— 543 passed, 1 skipped (includes newtest_compare_tier_partial_tie_not_at_extremeandtest_compare_tier_full_group_tie_is_high_not_tie)./scripts/check-version-bump.sh— passes (0.2.3 → 0.2.4)pip install -e .in the active venv —scripts/get-version.py --canonicalresolves to0.2.4compare_tier() only recognized a "tie" when every value in a duplicate group was identical, so a value shared by some (but not all) images — without itself being the group's overall highest or lowest — fell through to "none" and rendered with no highlight instead of yellow. Check the overall max/min first, then fall back to a count-based tie check for matching non-extreme values. Per follow-up direction: when the entire group ties on a value, render it green ("high"), not yellow — a full tie is simultaneously the group's highest and lowest. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>