docs(subsync): state precisely what the starts override of the weak-quarter cap relies on

This commit is contained in:
sudacode committed 2026-11-28 04:35:50 -08:00
1 parent ab764138af
commit 48a6c0a353
1 file changed
+5 -4
+5 -4
View File
@@ -655,10 +655,11 @@ export function scoreStanding(z: AlignmentStanding, cal: SyncCalibration): numbe
if (z.weakestPart !== undefined && z.weakestPart < PART_COVERAGE_Z_MIN) { if (z.weakestPart !== undefined && z.weakestPart < PART_COVERAGE_Z_MIN) {
covered = Math.min(covered, PARTIAL_FIT_SCORE_CAP); covered = Math.min(covered, PARTIAL_FIT_SCORE_CAP);
} }
// Intended override of the weak-quarter cap: `starts` is itself the weakest quarter's // Intended override of the weak-quarter cap: startsStanding only reports the whole-file
// line-start agreement, so clearing STARTS_Z_MIN means every quarter matches line for line // start agreement when every quarter's own agreement reaches PIECE_Z_MIN (else it reports the
// (a partial fit cannot). Coverage alone can dip in one quarter for benign reasons, such as // weakest quarter), so clearing STARTS_Z_MIN means line starts agree significantly in every
// VAD over a music-heavy stretch. // quarter. A recap or wrong-episode fit has a quarter near zero there. Coverage alone can dip
// in one quarter for benign reasons, such as VAD over a music-heavy stretch.
const started = const started =
z.starts >= STARTS_Z_MIN z.starts >= STARTS_Z_MIN
? Math.max( ? Math.max(