Skip to content

Free practice lab · Rules and testing

Repeated event lab

Replay fictional event deliveries, remove exact duplicates, and hold conflicting IDs for review.

All free toolsNo account needed. Your entries stay in this page.

What happens when an event arrives twice?

Change a small set of made-up event deliveries, then toggle duplicate protection. The preview checks all quantities for each ID before it applies any units.

Use at most 250 deliveries and 12,000 characters. Each object needs only an id and units. IDs use 1 to 64 letters, numbers, dots, colons, underscores, or hyphens and start with a letter or number. Units are whole numbers from 0 to 1,000,000. Use made-up examples.

Units applied
5
Deliveries applied
2
Duplicates skipped
1
Deliveries held
0

Repeated deliveries with the same ID leave the total unchanged.

Preview of all 3 deliveries
DeliveryEvent IDUnitsStatusReason
1evt-0012AppliedNo conflicting quantity was found for this ID.
2evt-0023AppliedNo conflicting quantity was found for this ID.
3evt-0012Duplicate skippedThis ID and quantity have already been applied once.
What this preview proves

This is a batch preview, not a live integration. It checks the whole batch first. If one ID has different quantities, every delivery with that ID is held. The duplicate toggle cannot release a conflict.

A real system needs durable event IDs and a check-and-update that happens as one operation. It also needs an owner for conflicts and a way to find out whether an external write happened after a timeout. This in-memory exercise does not provide those controls.

Share the tool. Keep your work.

The shared link opens a fresh tool. Your entries are not included in the link.

Your entries stay on this page. They are not saved or sent. Reloading clears your work.

Put it to work

Use the result to choose your next step.

Write expected results, test difficult inputs, and plan for failure.

Take the Software Verification course

Need help applying this to a real workflow? Bring the task, the constraints, and the result you want to change.

Talk through a useful first build