Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for epidemiologists

Surveillance Case Report Reporting Delay Agent

Recent case counts adjusted for reporting delay, with a clear flag where the adjustment is unreliable

Surveillance Case Report Reporting Delay Agent: what goes in, what the agent does and what you get

What it does

Surveillance counts for the most recent weeks look like a decline simply because reports have not arrived yet. This agent estimates how long reports take to arrive using past data, then adjusts recent counts to what they will probably become. It compares the adjusted trend to the raw one, and flags weeks where the adjustment is unreliable, such as when a reporting system changed or few reports have arrived. As each new batch comes in, it compares its estimate to what actually arrived and updates the delay curve. The lead approves what is shown to the public. Edge case: a lab system outage delayed one week's reports, so the agent excludes that week from the delay estimate.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
Yes, continueYes, continueApprovedNoNo 1 STARTS WHEN Surveillance data refreshed 2 USES A TOOL Read case reports with event and report dates 3 DOES Estimate the reporting delay distribution from pastweeks 4 DOES Adjust recent counts to expected final counts 5 CHECKS THE RESULT Did last cycle's estimates land within the expectedinterval of the actual counts? If not: reestimate the delay curve and exclude outageweeks. Back to step 3. 6 DOES Compare adjusted and raw trends 7 CHECKS THE RESULT Is each recent week's adjustment factor below thereliability limit? If not: mark the week unreliable and show only the rawcount. Back to step 3. 8 DOES Draft the chart and notes 9 YOU APPROVE Lead approves what is shown to the public 10 RESULT Adjusted trend and reliability notes
Read the steps as a list
  1. Surveillance data refreshed
  2. Read case reports with event and report dates
  3. Estimate the reporting delay distribution from past weeks
  4. Adjust recent counts to expected final counts
  5. Did last cycle's estimates land within the expected interval of the actual counts?If not: reestimate the delay curve and exclude outage weeks. Back to step 3.
  6. Compare adjusted and raw trends
  7. Is each recent week's adjustment factor below the reliability limit?If not: mark the week unreliable and show only the raw count. Back to step 3.
  8. Draft the chart and notes
  9. Lead approves what is shown to the publicThe agent waits here for your OK.
  10. Adjusted trend and reliability notes

How it decides

The delay curve comes from reliable past weeks. An adjusted week is marked unreliable when the adjustment factor is above 2 or the sample for the curve is small.

  • Mark a week unreliable when the adjustment factor exceeds 2
  • Exclude weeks affected by system outages from the delay curve
  • Show the raw count alongside any adjusted count
  • Update the curve every cycle

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Reliability limit (default factor of 2)
  • Weeks of history used
  • Uncertainty interval
  • Reporting delay definition

What keeps you in control

It always asks you first

  • Public charts and statements

Hard limits

  • Never publishes counts
  • Never hides the raw numbers

It stops when

  • Done: adjusted trend ready and approved
  • Stop: not enough history to estimate delays

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensWeek 24 showed 38 reported cases against 61 in week 23. The delay curve said only 55 percent of cases are reported within a week, so the agent projected about 69. Last cycle's estimate of 52 for week 23 had landed at 61, outside its interval, so the check failed and it refit after dropping an outage week. The lead approved showing 69 with an uncertainty range.

More agents for epidemiologists