DataEngr

Pipeline studio, retail orders

Retail orders pipeline

Code samples are MIT-0 (licence).Report a correction

Back to the story

Pinned stage

01 Bundled event batch

Decision: Every batch is a versioned sample file with its hash in a manifest. The run refuses a file whose SHA-256 does not match the manifest, so a result can always be traced to exactly the rows that produced it.

Alternative considered: Fetching rows from a URL or letting the reader upload a file.

Consequence: Evidence stays reproducible and inspectable, at the cost of only ever running curated data in this version, guarding against a result nobody could reproduce because the input had changed or was never recorded.

In this run

Run a batch to see the rows this stage handled.

  1. 01Initial batch
  2. 02Follow-up batch

    Runs the initial batch first.

  3. 03Replay follow-up

    Runs the initial batch first.

Limits: up to 10 batches, 500 rows each, 1,000 accumulated facts, 2 MiB input, 30 seconds

Explore other fixed scenarios

Conflict with historical ledger resends an event from the initial batch with a different amount. If the initial batch has not run in this session, it runs first so there is history to conflict with.

The engine loads when you run the first batch. Nothing runs until then.

Preparing the local runner…

Explore other fixed scenarios

Conflict with historical ledger resends an event from the initial batch with a different amount. If the initial batch has not run in this session, it runs first so there is history to conflict with.

The engine loads when you run the first batch. Nothing runs until then.

01 Bundled event batch

Decision: Every batch is a versioned sample file with its hash in a manifest. The run refuses a file whose SHA-256 does not match the manifest, so a result can always be traced to exactly the rows that produced it.

Alternative considered: Fetching rows from a URL or letting the reader upload a file.

Consequence: Evidence stays reproducible and inspectable, at the cost of only ever running curated data in this version, guarding against a result nobody could reproduce because the input had changed or was never recorded.

  1. Fetch sample file, not run
  2. Verify SHA-256, not run
  3. Init DuckDB-Wasm, not run
  4. Run SQL, not run
  5. Run checks, not run

Run data

Run a batch to trace each row to its source event and the stage that decided it.