Skip to main content

trendEntryFor

@retinue/monorepo


@retinue/monorepo / backend/src / trendEntryFor

Function: trendEntryFor()

trendEntryFor(input): TrendEntry

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

Build the trend entry for a decision.

The thresholds are copied in, which is what makes AC-2 and AC-3 meet: lowering a threshold shows up in the next entry next to the results it was applied to, so a reviewer reading history sees the limit and the number that prompted moving it side by side.

Parameters​

input​

at​

string

decision​

GateDecision

run​

EvalRun

thresholds​

GateThresholds

Returns​

TrendEntry