fix(albums): require at least 4 images for album suggestions #1243
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/album-suggestion-min-size"
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
LOCAL_EVENT_MINIMUM_MEDIA_COUNT), so small 3-photo clusters no longer become suggestions.LEARNED_MINIMUM_MEDIA_COUNT = 4to the learned materialization path: candidates with fewer than 4 members are skipped after window consolidation and before rank assignment, so adjacent small windows can still consolidate into a ≥4-member union while undersized candidates never reach the review queue.allSatisfypasses; add regression tests for the 4-image minimum on both paths.Verification
rtk ./gradlew :apps:api:test --tests 'dev.memories.api.albums.*'→ BUILD SUCCESSFULrtk ./gradlew :apps:api:test→ BUILD SUCCESSFUL (2078 tests, 0 failures, 9 pre-existing env-gated skips)