Repository navigation
v0.1.9.1 Cost API
ledgr v0.1.9.1 ships the first public transaction-cost model API.
Highlights:
- Added classed
ledgr_cost_*()constructors, orderedledgr_cost_chain()composition, cost inspection helpers, explicitledgr_timing_next_open(), and deterministic cost identity throughcost_model_hashpluscost_plan_json. - Breaking pre-CRAN compatibility change: legacy
fill_modelinputs are replaced by explicittiming_modelplus requiredcost_model; zero-cost runs now useledgr_cost_zero()intentionally. - Fixed bounded identity issues from the v0.1.8.11 auditr review: config hashes no longer depend on DuckDB store path, and alias-map identity is separated from concrete feature-set identity.
- Refreshed cost/timing documentation, runnable examples, condition-class docs, disclaimer resolution, and sweep docs that keep cost models fixed at the experiment level for v1.
Release-gate note: Ubuntu coverage initially exposed covr trace-shard instability around mirai-backed parallel sweep tests. Normal CI still runs those tests; coverage instrumentation now skips only those worker-backed cases. Branch, main, and tag CI are green for the final tag commit.