Reliability lab / 01
Example data · Browser replayPipeline Black Box.
Break the pipeline. Follow the evidence. Process real transactions, trace failures, and bring the ledger back into balance.
Built by Palash Verma
Your records / Your results
Process your own data.
Upload a transaction or sales CSV, map its columns, and build a deduplicated revenue ledger from the actual rows. Invalid records stay visible in quarantine.
File processing stays in this tab. Nothing is uploaded when you load or process a CSV. Clicking “Explain this run” sends the CSV and mappings to this site's server for independent calculation; Gemini receives aggregate evidence and processing incidents, without raw records, filenames or transaction IDs. Avoid sensitive customer information.
How to use this with your data
- Prepare a CSV. Include a transaction ID and an amount column. Use an event-level ID; a payment and its refund need different IDs. Other columns may stay in the file.
- Map the fields. Choose the ID and amount columns, currency, and whether values are major or minor units. Optional type values are payment or refund. Without a type column, negative amounts are refunds. Refunds are subtracted even if their source amount is positive.
- Load and process. Click “Load my dataset”, then “Process all rows”. For a step-by-step view, use “Process next 100 rows” or “Auto process”. Compare valid source revenue with warehouse revenue. Repeated IDs with identical values are counted once; conflicting IDs and malformed rows are quarantined.
- Inspect and correct. Open Quarantine, inspect the source row and reason, correct the original CSV, then reload it. Approving v2 fixes an injected field rename; it does not repair invalid amounts or conflicting IDs.
- Test recovery. Before processing all rows, inject a consumer crash or schema fault. Recover the consumer, approve the injected v2 mapping when needed, then replay. Faults affect an in-memory copy; your file is unchanged.
- Export the result. Download the clean ledger as CSV, quarantined rows as CSV, or the complete reproducible run as JSON. Gemini explanations are optional.
Amounts must be plain numbers without symbols or thousands separators, with at most two decimal places in major units. Keep each dataset in one currency; no exchange-rate conversion is performed. Invalid rows are excluded from known revenue totals, so a zero revenue gap alone does not mean the entire file is reconciled.
Try the example, or use your CSV. Inject duplicates, break the schema, crash the consumer, then recover and reconcile the ledger.
Valid source net revenue
₹8,890.00
12 valid unique events · payments − refunds
Clean warehouse revenue
₹8,890.00
12 unique ledger rows
Revenue gap
₹0.00
Balanced · all deliveries acknowledged
Consumer backlog
00
0 quarantined · 0 attempts skipped
Event processing topology
Consumer online01 / Source
Commerce events
12 unique
02 / Log
Append-only log
12 deliveries
03 / Consumer
Validate & dedupe
Checkpoint 12
04 / Warehouse
Revenue ledger
12 committed
Revenue reconciliation / INR
ReconciledInspectable processing records
| Offset | Event ID | Contract | Status | Attempts | Payload & validation |
|---|---|---|---|---|---|
| 0011 | evt-0012 | v1 | applied | 1 | |
| 0010 | evt-0011 | v1 | applied | 1 | |
| 0009 | evt-0010 | v1 | applied | 1 | |
| 0008 | evt-0009 | v1 | applied | 1 | |
| 0007 | evt-0008 | v1 | applied | 1 | |
| 0006 | evt-0007 | v1 | applied | 1 | |
| 0005 | evt-0006 | v1 | applied | 1 | |
| 0004 | evt-0005 | v1 | applied | 1 | |
| 0003 | evt-0004 | v1 | applied | 1 | |
| 0002 | evt-0003 | v1 | applied | 1 | |
| 0001 | evt-0002 | v1 | applied | 1 | |
| 0000 | evt-0001 | v1 | applied | 1 |
Showing the latest 30 records. Export the run for the complete log. Checkpoints refer to the next unacknowledged offset; a committed row may still await acknowledgement.
Incident timeline
ACTION 01
Twelve synthetic payment/refund events appended to the immutable source log.
Gemini incident report
Gemini receives server-recomputed aggregate evidence from this run. It explains the incident; the engine handles every calculation and recovery action.
Computed evidence ledger E1–E6
- E112 unique source events across 12 deliveries; monetary values use integer INR minor units (100 = 1 major unit). 0 invalid deliveries are excluded from known revenue totals; these totals do not represent the entire file while invalid rows remain.
- E2Source net revenue 889000 INR minor units; warehouse net revenue 889000 INR minor units; gap 0 INR minor units.
- E312 warehouse rows, 0 duplicate/replay processing attempts skipped, 0 quarantined deliveries.
- E4Consumer online, next unacknowledged offset 12, 0 unacknowledged deliveries.
- E5Accepted contract: v1 only.
- E6Reconciliation passes. Data mode: synthetic example. Processing is in-browser, not a live Kafka or Debezium deployment.
This workspace processes uploaded transaction rows with a deterministic engine in your browser. The included example uses fictional commerce data. It demonstrates at-least-once delivery, idempotent writes, explicit contracts, quarantine and replay. Kafka and Debezium are architecture references, not services running behind this page. It does not initiate payments or connect to your bank. Uploaded records stay in this tab unless you explicitly request a server-generated report.
Action 1. Consumer online. Revenue gap ₹0.00. 0 quarantined events.