Rulvar API reference / @rulvar/core / toolCalibrationFromJournal
Function: toolCalibrationFromJournal()
ts
function toolCalibrationFromJournal(entries): ToolCalibrationReport;Defined in: packages/core/src/stores/tool-calibration.ts:99
Folds the observed tool-budget calibration from a journal (RV3003): every terminal agent entry is partitioned by which sides of the evidence/counter pair it recorded, the paired rows carry their per-dispatch rate, and the aggregate is the number a host compares against its declared estCallsPerEntry. Pure over the entries, so live and resumed journals fold identically; nothing is re-derived and no checkpoint blob is read.
Parameters
| Parameter | Type |
|---|---|
entries | readonly JournalEntry[] |