← all blocks
eval-metric · v1.0.0

Loss Streak

Longest run of consecutive losing picks, ordered by input position. Useful for stress-testing bankroll resilience and detecting bad-luck clusters.

Contract

Input:
PredictionsWithActuals
Output:
Metric
Determinism:
pure
Side effects:
none
Leakage window:
0s

Params (live form)

JSON
{
  "pickThreshold": 0.5,
  "minConfidence": 0
}

Examples

  • Treat p >= 0.5 as home pick; count every row.
  • Only count picks where |p - 0.5| >= 0.1.
Try in builder