Skip to main content

TrendEntry

@retinue/monorepo


@retinue/monorepo / backend/src / TrendEntry

Type Alias: TrendEntry

TrendEntry = object

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

A record for the trend file.

Deliberately flat and small: it is committed, so it is read in a diff. A record carrying the whole run would make every release a thousand-line diff and the trend unreadable, which is the same as not having one.

Properties​

at​

readonly at: string

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


byDimension​

readonly byDimension: readonly object[]

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


costMinorUnits​

readonly costMinorUnits: number

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


graderVersions​

readonly graderVersions: Readonly<Record<string, string>>

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


improvedCaseIds​

readonly improvedCaseIds: readonly string[]

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


meanScore​

readonly meanScore: number

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


outcome​

readonly outcome: GateDecision["outcome"]

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


override?​

readonly optional override?: GateOverride

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

Present only when overridden, and carrying both fields — that is the whole point of recording it.


passed​

readonly passed: number

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


regressedCaseIds​

readonly regressedCaseIds: readonly string[]

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


release​

readonly release: string

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


thresholds​

readonly thresholds: GateThresholds

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

The thresholds this release was judged against, so a later threshold change is visible against results.


total​

readonly total: number

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