GateThresholds
@forge/monorepo / backend/src / GateThresholds
Type Alias: GateThresholds
GateThresholds =
object
Defined in: backend/src/evaluation/gate.ts:42
The committed thresholds.
Per dimension, because dimensions fail differently: an authorization regression is a security problem and a task-completion regression is a quality one, and one number across both would be set by whichever mattered less.
Properties
dimensions
readonlydimensions:Readonly<Record<string,number>>
Defined in: backend/src/evaluation/gate.ts:44
Minimum mean score per dimension. A dimension absent from the map is ungated, which is reported.
maxRegressedCases?
readonlyoptionalmaxRegressedCases?:number
Defined in: backend/src/evaluation/gate.ts:53
How many named case regressions are tolerated.
Zero by default. A non-zero budget exists because a large dataset has genuinely flaky cases, and a gate that fails on one is a gate people learn to re-run until it passes — which is worse than a stated tolerance.
overallMeanScore?
readonlyoptionaloverallMeanScore?:number
Defined in: backend/src/evaluation/gate.ts:46
Minimum overall mean, as a backstop against many small dimension slips that each stay above their line.