rulvar API reference / @rulvar/evals / flipStaleOnCanaryDrift
Function: flipStaleOnCanaryDrift()
ts
function flipStaleOnCanaryDrift(
store,
model,
freshFingerprint,
options?): Promise<CanaryDriftReport>;Defined in: packages/evals/src/canary.ts:76
Flips the model's ACTIVE eval-measured claims to stale when their recorded canary fingerprint differs from the fresh one. Claims without a recorded fingerprint have no baseline and stay untouched (the documented no-probe posture); a second run is an idempotent noop. CAS-rebased like every maintenance commit.
Parameters
| Parameter | Type |
|---|---|
store | ModelKnowledgeStore |
model | `${string}:${string}` |
freshFingerprint | string |
options? | { attempts?: number; } |
options.attempts? | number |
Returns
Promise<CanaryDriftReport>