AI + Human-in-the-Loop Explorer — Occupational Asthma

A tiny sandbox to explore why diagnostic AI is uncertain: it depends on prevalence, test performance, and thresholds — and why human experts matter (especially for borderline cases, messy exposure histories, and non-standard presentations).

1) Basic parameters

How common occupational asthma is in the group you’re screening (not in the general population).
Chance the AI flags a worker who truly has occupational asthma.
Chance the AI does not flag a worker who does not have occupational asthma.
Lower threshold → more referrals (more sensitive) but more false alarms. Higher threshold → fewer referrals but more misses.
Real-world performance varies by site, device, protocol, and population. This adds a distribution (not a single number).
Human expert in the loop
Adds a second review step that can catch some false positives/negatives, especially around the threshold.
If AI misses a true case, how often does a clinician/occupational physician still catch it (history, spirometry, PEF diary, exposure clues)?
If AI flags a non-case, how often does expert review prevent unnecessary escalation (alternative diagnosis, poor data quality, transient symptoms)?
Real occupational asthma workups are messy; these are the cases where human judgement most changes the path.
Positive predictive value (PPV)
—
If the AI flags someone, probability they truly have occupational asthma.
Negative predictive value (NPV)
—
If the AI does not flag someone, probability they truly do not have occupational asthma.
Expected referrals per 1,000 workers
—
AI triage burden on clinics and on-site occupational health.
Expected missed cases per 1,000
—
The safety-critical metric (under-diagnosis risk).
Notes: This is a simplified educational model. Occupational asthma diagnosis typically involves expert clinical assessment plus objective testing (e.g., serial peak expiratory flow, spirometry with reversibility, bronchial provocation, exposure linkage). AI outputs should be treated as decision support — not definitive diagnosis.