Skip to content
CareChaosGitHub ↗

New experiment

Choose a preset, adjust the workload and fault, then run it. Everything is validated before it reaches the engine.

1 · Scenario preset

30% of readings carry a timestamp 30s ahead of when they were taken.

Hypothesis: If a device clock runs ahead, the pipeline notices readings stamped in the future, keeps them (the values still matter), replaces the timestamp with the arrival time and flags it, so no future-dated alert reaches clinicians unflagged.

2 · Workload and window

Same seed and configuration always reproduce the same result.

Synthetic readings to generate (1–2000).

Virtual seconds between readings.

Observation window in virtual seconds. Unfinished events at the end are reported.

Resilient: idempotency, bounded retries, durable queue, stale-data flags, gap detection. Faulty: a deliberately weak reference implementation for comparison.

Throughput of a service while it drains its backlog after an outage.

Resilient mode flags data older than this as stale.

3 · Faults (1/12)

Schedule

Clock skew · Ingestion API
20s–140s

Fault 1

Stamps a fraction of readings with a time that many seconds ahead of when they were taken, as a device with a wrong clock would. Resilient ingestion keeps the reading, replaces the timestamp with the arrival time and flags it.

Latency, loss, duplicates and reordering affect events entering this service; an outage affects the service itself.

When the fault becomes active. Ignored for live injection (starts now).

How long the fault stays active.

Must exceed the spacing between readings from one device for reordering to occur.

Fraction of eligible events affected, drawn from the seeded generator so runs are reproducible.

4 · Your pipelinecapacities, retries, queue limits, alert rules (optional)

Describe your own pipeline. Anything you leave blank uses the default shown as a placeholder.

Stage capacity (events per second)

Queues, retries and recovery

Overflow is dropped with a recorded reason.

Then events go to the dead-letter queue.

Resilient mode parks exhausted events and redrives them on recovery. Untick to model discarding them.

Minimum time in the recovering state.

A stage shows as degraded at this depth.

Alert rules

Illustrative thresholds for fictional data. Not clinical guidance.