docs: library comments say what the scanner and resolver do, not how they came to be (#6277)
release / govulncheck (push) Successful in 20s
release / web (push) Successful in 1m20s
release / go (push) Successful in 1m37s
release / integration (push) Successful in 5m15s
release / android (push) Successful in 5m26s
release / Build signed APK (releases and dev) (push) Successful in 5m45s
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
release / govulncheck (push) Successful in 20s
release / web (push) Successful in 1m20s
release / go (push) Successful in 1m37s
release / integration (push) Successful in 5m15s
release / android (push) Successful in 5m26s
release / Build signed APK (releases and dev) (push) Successful in 5m45s
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
Rewrites the internal/library comment blocks to rule 32. Task, milestone, decision and rule ids are gone; the incidents behind them are restated as the constraint they left (why a file is deleted before its row, why the missing mark is a mark, why duplicates block on duration). Counts and album names from one library are dropped from production comments; test comments keep the names their fixtures use. The tagReadVersion log keeps each version's before and after, without the measurements. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"git.fabledsword.com/bvandeusen/minstrel/internal/db/dbq"
|
||||
)
|
||||
|
||||
// The shapes measured on the operator's library (milestone 498's body).
|
||||
// The group shapes the classifier tells apart.
|
||||
func TestClassifyDuplicateGroup(t *testing.T) {
|
||||
m := func(album, title string) ClassifyMember {
|
||||
return ClassifyMember{AlbumID: album, Title: title, ArtistName: "Gorillaz"}
|
||||
@@ -63,7 +63,8 @@ func TestMatchTitleKey(t *testing.T) {
|
||||
{"Song (live)", "", "songlive"},
|
||||
{"Song (demo)", "", "songdemo"},
|
||||
{"Song (Remix)", "", "songremix"},
|
||||
// A title that is nothing but a marker keeps its words rather than vanishing.
|
||||
// A title that is nothing but a marker keeps its words rather than
|
||||
// vanishing.
|
||||
{"(Official Video)", "", "officialvideo"},
|
||||
}
|
||||
for _, tc := range cases {
|
||||
@@ -73,8 +74,8 @@ func TestMatchTitleKey(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// Copies the fold of 2026-10-20 merged although their file names said they
|
||||
// were different versions; each pair must disagree. And copies of one version
|
||||
// Copies whose file names say they are different versions must disagree, so
|
||||
// the fold never merges them. And copies of one version
|
||||
// named differently must agree.
|
||||
func TestVersionWords(t *testing.T) {
|
||||
differ := [][2][2]string{
|
||||
@@ -149,7 +150,7 @@ func TestWrongSlots(t *testing.T) {
|
||||
}
|
||||
|
||||
// The lengths cannot place a recording filed as several songs (Savant's
|
||||
// Mortals, cut to each slot's length); what AcoustID calls it can (#6169).
|
||||
// Mortals, cut to each slot's length); what AcoustID calls it can.
|
||||
func TestNamedCopies(t *testing.T) {
|
||||
track := func(title string, ms int32, rec string) dbq.MbReleaseTrack {
|
||||
return dbq.MbReleaseTrack{Title: title, LengthMs: ms, RecordingMbid: rec}
|
||||
|
||||
Reference in New Issue
Block a user