Skip to main content

GateInput

@forge/monorepo


@forge/monorepo / backend/src / GateInput

Type Alias: GateInput

GateInput = object

Defined in: backend/src/evaluation/gate.ts:107

Properties

baseline

readonly baseline: { results: readonly EvalCaseResult[]; run: EvalRun; } | null

Defined in: backend/src/evaluation/gate.ts:110

The previous release. null for the first run of a dataset, which is reported rather than assumed fine.


candidate

readonly candidate: object

Defined in: backend/src/evaluation/gate.ts:108

results

readonly results: readonly EvalCaseResult[]

run

readonly run: EvalRun


override?

readonly optional override?: GateOverride

Defined in: backend/src/evaluation/gate.ts:120


requireBaseline

readonly requireBaseline: boolean

Defined in: backend/src/evaluation/gate.ts:118

Whether an absent baseline fails the gate.

True for every release after the first. False only when there has genuinely never been one — and false is not the default, because a defaulted-permissive flag is one that stays permissive in every deployment that did not think about it.


thresholds

readonly thresholds: GateThresholds

Defined in: backend/src/evaluation/gate.ts:119