mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-28 04:46:07 -08:00
docs(subsync): state precisely what the starts override of the weak-quarter cap relies on
This commit is contained in:
1 file changed
+5
-4
@@ -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(
|
||||||
|
|||||||
Reference in new issue
Block a user