Rulvar API reference / @rulvar/evals / agentTypeRuleHolds
Function: agentTypeRuleHolds()
ts
function agentTypeRuleHolds(baseline, informed): boolean;Defined in: packages/evals/src/checkpoint.ts:156
The OQ-09 criterion 2 rule (as amended 2026-07-12): match-or-beat at 105 percent of baseline cost, OR at least 15 points better at 115 percent (the quality branch: the baseline fails cheaply, so the flat bar tightened exactly when the card won on quality). The vacuous-pass guard stays with the caller.
Parameters
| Parameter | Type |
|---|---|
baseline | CheckpointArm |
informed | CheckpointArm |
Returns
boolean