Skip to content

ledgermill 0.1.2

Choose a tag to compare

@srod srod released this 27 Oct 17:14
· 137 commits to main since this release
0c4bad1

Fixed

  • hledger: a price on an amount whose quantity and cost are both zero (0 X @ 3 EUR) no longer
    stops a price from being inferred; that amount takes the inferred price, as hledger does. Such a
    transaction was refused as unbalanced since 0.1.0 (c 0 X @ 3 EUR, a 1 X, b -4 EUR;
    hledger gives 0 X @ 4 EUR and 1 X @ 4 EUR). Found by a fuzz soak (seed 90006).

Release gate

From the release-gate workflow on commit f772a9e (run 40537425419, 2026-10-27), CI on the same
commit (run 40537426399), and the owner's own runs.

  • Random hledger journals (5,000): 0 mismatches (2,236 that hledger accepts; the rest rejected by
    both, 34 skipped, all conversion-postings)
  • Random Beancount journals (5,000): 0 mismatches
  • Random price networks (5,000): 0 mismatches
  • Random Beancount journals with pairs priced both ways (5,000, new in this gate): 0 mismatches
  • Corpus comparison: 11,822 pass, 0 fail, 30 skip
  • Desktop bench against 0.1.1 from npm (CI runner, 10,000 transactions): every operation within
    0.73–1.11× of 0.1.1 (the 0.73 is check, at 0.02 ms; the 1.11 is hledger holdings, 9.6 to
    10.6 ms); load+transactions 92.5 ms (hledger), 132.6 ms (Beancount); start 19.8 ms
  • Stress test, 100,000 transactions: ok, no crash (peak wasm memory 930 MB hledger, 578 MB Beancount)
  • Similarity check score: max 0.102 (JPlag against rustledger 0.24.0; fail at 0.15), 0 fail,
    8 warn; copydetect max 0.275 (information only)
  • Real journals: pass (21 pass, 0 fail)
  • Device targets: not run again (the fix changes no timing or memory path)