Hard math
Statistics first. Models second. Never the reverse.
Each engine is a pure-TypeScript implementation of its source definition — no heavyweight runtimes, no probabilistic shortcuts, identical outputs on every machine.
Observed vs. Benford-expected frequency
illustrative sample · digit 3 carries excess weight
digit 1 · -1.8σdigit 3 · +3.1σdigit 4 · -2.2σ excess conforming
01
P(d) = log₁₀(1+1/d)Benford's Law
First-digit and first-two-digit goodness-of-fit over every leading amount: χ² statistic with degrees of freedom and p-value, per-digit Z-scores to pinpoint the exact digits carrying excess weight, and Nigrini MAD conformity bands (close / acceptable / marginal / nonconforming).
02
8 variablesBeneish M-Score
DSRI, GMI, AQI, SGI, DEPI, SGAI, LVGI and TATA are derived from consecutive reporting periods and combined with the platform coefficients. Scores above −1.78 classify the entity in the manipulation-risk zone; upward-driving indices are reported alongside.
03
solvency zonesAltman Z′-Score
Working-capital, retained-earnings, EBIT and equity-to-liability ratios feed the private-firm model. Zones are classified Safe (>2.6), Grey (1.23–2.6) or Distress (<1.23) — distress and grey placements raise findings automatically.
04
seed = 42Isolation Forest
A dependency-free ensemble of 100 isolation trees scores each journal entry on amount magnitude, round-sum bias, weekend posting, off-hours posting and account frequency. The seeded PRNG makes anomaly selection bit-for-bit reproducible.
Ratio volatility checks complete the suite: current & quick ratios, debt/equity, gross and net margins and interest coverage are computed per period, with coefficient-of-variation flags when erratic behaviour suggests window dressing.