fix: an album holding every track of an edition, and more besides, is that release group (M502 #5569)
release / govulncheck (push) Successful in 16s
release / web (push) Successful in 1m19s
release / go (push) Successful in 1m40s
release / integration (push) Successful in 5m15s
release / android (push) Successful in 5m23s
release / Build signed APK (releases and dev) (push) Successful in 5m30s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 16s
release / Verify release artifacts (tag releases only) (push) Skipped

Savant's "Void" folder holds all 23 tracks of the VOID (DLC) edition plus
20 more, and was refused at 23 of 43. A whole edition of three or more
tracks now matches whatever else the folder holds; singles and two-track
releases still need most of the album's tracks, since many albums hold
their songs. Matcher version 4 retries the refusals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-10 18:14:56 -04:00
co-authored by Claude Opus 5.5
parent 1936fe77c6
commit 7ef1fca90c
3 changed files with 14 additions and 7 deletions
+4 -1
View File
@@ -277,9 +277,12 @@ func TestTrackAgreement(t *testing.T) {
if len(copies) != 2 {
t.Errorf("a second copy of a track is read once: %+v", copies)
}
if agrees(3, 4) || !agrees(4, 5) || agrees(0, 0) {
if agrees(3, 4, 0) || !agrees(4, 5, 0) || agrees(0, 0, 0) {
t.Error("agrees: 80% of the album's tracks, and an album has tracks")
}
if !agrees(23, 43, 23) || agrees(2, 10, 2) || agrees(22, 43, 23) {
t.Error("agrees: a whole edition of three or more tracks, with more besides")
}
}
// A refusal by an older matcher is matched again once the matching improves,