Engine ready · Deterministic Python Pipeline
01 / System Overview

Automated Gateway Reconciliation

LLM never touches numbers — all matching, fee math (MDR + GST + TDS), and validation are executed via deterministic Python integer arithmetic. The AI reflection loop only proposes root-cause hypotheses on ambiguous edge cases.

Match Rate
88.0%
44 / 50 auto-matched
False-Match Rate
0.0%
0 false matches (proven)
Throughput
37,319
records / sec (deterministic)
Execution Time
0.07s
50 total records
Truebooks-reconcile --mode=deterministic+guardrails
RUN-ID: eval_50_live
1. Pipeline State Machine RAW → MATCHED
> Normalized: 50 records (ISO-8601, integer cents)
> Matcher pass: Bipartite Amount-Bucket Blocking
> Decision split: 44 AUTO_MATCH · 6 ESCALATED
> Audit log: append-only NDJSON verified ✓
2. Gateway Fee Decomposition MDR+GST+TDS
> Formula: A_settled = A_gross - Fee - TDS
> MDR: 2.00% · GST: 18.00% · TDS: 1.00%
> Variance tolerance: ±2 cents unexplained
> Arithmetic: 100% Integer cent math (zero float drift)
3. Confidence Composite C(m) >= 0.90
> Formula: 0.60·S_det + 0.25·S_fuz + 0.15·S_sem
> S_deterministic: 1.0 (verified indicators / fees)
> Routing: >= 0.90 AUTO · 0.70..0.90 LLM · < 0.70 HITL
> LLM mode: SIMULATED (stub demo reliability)
4. Guardrail Hard Stops NEVER RELAXED
> Balance Check: sum(debits) == sum(credits) to 0¢
> TC-07 Check: Duplicate payments blocked from AI
> Amount Sanity: Non-negative assertion passed
> Cap: Max 2 LLM reflection loops / record
Anomaly Distribution Snapshot
View Detailed Breakdown →