EvalVerdict
@forge/monorepo / backend/src / EvalVerdict
Type Alias: EvalVerdict
EvalVerdict =
object
Defined in: backend/src/persistence/index.ts:786
Evaluation results, per release — REQ-032 (#141).
Durable because the point is comparison: a score with nothing to compare it against cannot gate a release, and "quality went down" is only a statement if last release's number still exists. Aggregates are stored alongside per-case results rather than derived on read, because a per-dimension breakdown of a thousand cases is a read every release does and an aggregate nobody can recompute once a case is retired from the dataset.
Properties
costMinorUnits?
readonlyoptionalcostMinorUnits?:number
Defined in: backend/src/persistence/index.ts:799
What producing this verdict cost, in integer minor units.
On the verdict because the cost is a property of this grading — a cache hit and a fresh model call produce the same verdict at different prices, and a harness that could not tell them apart could not report the gate's expense. Absent means free, which is every deterministic grader.
pass
readonlypass:boolean
Defined in: backend/src/persistence/index.ts:787
reason
readonlyreason:string
Defined in: backend/src/persistence/index.ts:791
Why. Shown in the report, so a regression names its cause rather than only its case id.
score
readonlyscore:number
Defined in: backend/src/persistence/index.ts:789
0–1. Binary graders report 0 or 1; a partial-credit grader may report between.