Clinic Wait Time
A friendly wait time for patients, and a friendly path when something goes wrong.
Simulation, synthetic data
What the patient sees
Clinic wait timesSimulation, synthetic data

Start a day to see the public page.

Your texts

This wait page is the same for every patient. “Viewing as” switches whose texts and taps you see below it.

A product prototype, tested in simulation

A friendly wait time for patients, and a friendly path when something goes wrong

A walk-in clinic’s wait-time page and texts. Simulated staff and patients play out whole afternoons; AI helpers work behind the scenes, each with one job and a limit; automated checks grade every promise.

Simulated people Kim and three other receptionists, and patients like Rosa, Tom and Maria, each with real-life habits.
AI helpers Check the desk’s records, answer patient texts, draft messages for staff to approve, suggest wider ranges.
Fixed rules Anything safety-critical: the emergency reply, when to say “please call”.

About 4 minutes: one recorded afternoon. Tested on 140 simulated days. See how it was iterated through →

Try a different day · pick the kind of day and the crowd, and decide approvals yourself

All kinds of day

Who shows up, when, and how long visits take. Same number, same afternoon. How this works

 

People follow written rules, computed live. Free.

About kinds of day and patient mixes

Kinds of day

Patient mix

The kind of day sets the situation, like Kim on the desk with a 3 PM rush. The patient mix picks the particular crowd: who walks in and when, and how long each visit takes.

The same number always plays out exactly the same afternoon, so a problem can be found again and re-checked after a fix. “Try a different crowd” picks a new number. The tests run 20 patient mixes of every kind of day.

When something goes wrong, what the patient sees

Word for word what the product sends. Only the delay text can be drafted by an AI helper, and the desk approves it first.

1

Minute by minute

What’s happening at this minute, and what the front desk sees. The play bar stays at the bottom of the screen.

Not started

Press “Watch a day play out” to start

A recorded afternoon at a small clinic, from opening to close.

What the front desk sees
Front desk
simulated staff member (test actor)
–
Show more: recent decisions, who’s in a room, the full line
Recent decisions
In a room
Scheduled
Walk-ins

Shows only what the front desk recorded, not what really happened.

2

Behind the demo

Which parts of the system acted just now, in order, and the safety promise checked.

Simulated person (test actor)Product AI agentFixed rule (plain code)Staff decisionWhat patients see
Why it matters

A learning exercise from a Claude Academy course I took. Simulated people, real product code: automated checks grade every promise from the logs, and they’ve caught real bugs along the way.

What this demo shows, and what it can’t

A learning exercise from a Claude Academy course I took. Simulated people, real product code: automated checks grade every promise from the logs, and they’ve caught real bugs along the way.

It shows how the product behaves when the people feeding it are imperfect: staff who fall behind, patients who arrive late or text about something urgent.

  • No real clinic, staff member or patient has used it yet.
  • Every person and visit is synthetic; costs and staff time are modeled.
  • No triage or medical advice anywhere.
  • Read how it’s built on GitHub
2 · How it works

How it works

Simulated people create the day. The product reads what they record and decides what patients see. Click any part to see its job, how much it may do on its own, and which checks guard it.

Simulated person (test actor)Product AI agentFixed rule (plain code)Staff decisionWhat patients see

How it was iterated through

The big calls behind the design: the question, the options, what the evidence said, what was chosen, and what it cost. Several went against the option that measured better, for a reason.

Simulation, synthetic data. No triage or medical advice anywhere in the product.
3 · Evals

Evals

Every promise the product makes is an automated check, run on many simulated days. Safety promises must hold on every single day. Accuracy goals are reported honestly, including the ones not met yet.

Click any promise or goal to see how it’s tested and a real example.

3
Did it help? Money and staff time are modeled
Each day is played twice with the same patients: once with the product, once without. These show how the parts relate in the simulation, not a forecast for a real clinic.
See all the numbers

The day you’re viewing

Trend across saved test runs

What these numbers can’t tell you

This is a simulated clinic with synthetic people. Visit lengths and arrivals follow published averages, not one clinic’s records.

  • No front-desk worker, clinician or patient has used it yet.
  • Staff time and costs are modeled, not measured.
  • Not connected to a real scheduling system; no real texts are sent.
  • No compliance or privacy review has been done.
6
What the tests caught

Real problems found while building this, newest first: by the checks above, and sometimes by hand. Every one is written up in the failure log with its cause and fix.

Simulation, synthetic data. Scores describe the simulated clinic, not a real one.
More detail

Test actors

The simulated people who create each day. Each one is a persona prompt with habits, including mistakes on purpose. A fidelity check grades whether each one kept its habits, so the test stays realistic.

Simulation, synthetic data. Test actors and the product never share a prompt or an AI call.
More detail

Run inspector

The raw view for checking the work: every check for this day with its evidence, a timeline of what each patient was told against what happened, and the full logs. Click a failure to jump to that minute.

Checks for this day
Timeline: what each patient was told vs what happened
Patient log

Click a row in the timeline or a failure above.

Decisions and reasons