Judge loss by arrival order and a deadline, one tx ring per stream

This commit is contained in:
flamingcow
2026-08-31 14:33:09 -07:00
parent 06fa759b1a
commit 7fa48da73c
12 changed files with 220 additions and 254 deletions
+6 -3
View File
@@ -16,9 +16,12 @@ const (
histSlotSpan = 5 * time.Second
histSpan = histSlots * histSlotSpan
// Line rate is a verdict here, not a number: the headline is smeared and
// briefly gated at startup, so anything close to the target counts.
rateOKFrac = 0.98
// Line rate is a verdict here, not a number: anything close to the target
// counts. Sub-millisecond host physics — an SMI, a DMA arbitration pause —
// shorts the odd display bucket by a few percent (94-97% bench-measured)
// and says nothing about the cable; a cable problem does not shave points,
// it craters the rate and brings link evidence with it.
rateOKFrac = 0.9
)
var faultClasses = []struct {