Evidence
Each tier measured on labelled, fictional field notes with planted identifiers. Run the AI tiers yourself: the numbers come from this browser, not from a slide. The sets are small and written by the project team, so they show where each tier helps and fails; they are not a clinical validation.
Written after tuning and never used to change code. 26 planted identifiers.
Results by tier
The deterministic tier is computed instantly on this device. The two AI tiers call Firebase AI Logic for real, one note at a time.
| Metric | Scrubber and keywords | Gemini Nano, raw note Browser without the Prompt API. See System to enable Gemini Nano. | Hybrid model, de-identified note Only the de-identified text is sent to the cloud model. |
|---|---|---|---|
Identifiers removed Planted names, phones, IDs and addresses absent from the de-identified note | 25 of 26 | Not run | Not run |
Identifiers sent to the cloud Planted identifiers in any text that left the device | 1 | Not run | Not run |
Identifiers in stored summaries Planted identifiers in the summary saved to Firestore | 0 | Not run | Not run |
Symptom F1 Agreement with the labelled symptoms | 0.95 | Not run | Not run |
Danger sign F1 Agreement with the labelled danger signs | 0.63 | Not run | Not run |
Age, sex and household fields Share of these four fields that match the label | 75% | Not run | Not run |
Risk level matches Rules engine on the extracted fields versus on the labels | 75% | Not run | Not run |
Under-triaged cases Risk lower than the label before the health worker review: the unsafe error | 2 | Not run | Not run |
Suspected cholera status matches GTFCC standard definition | 83% | Not run | Not run |
Where inference ran Reported by Firebase AI Logic for each call | 12 rules | Not run | Not run |
Median latency Wall clock, per note | n/a | Not run | Not run |
95th percentile latency Wall clock, per note | n/a | Not run | Not run |
Failed calls Fell back to the rules engine | 0 | Not run | Not run |
Notes and de-identified output
- H01Left in the note: Imani
Saw little Imani today with her granny Nafula. Imani is 3, purging watery stool since dawn, vomiting twice, eyes look sunken. Granny's line 0555 011 864.
Saw little [NAME] today with her granny [NAME]. Imani is 3, purging watery stool since dawn, vomiting twice, eyes look sunken. Granny's line [PHONE].
- H022 of 2 identifiers removed
Fisherman Ochieng Were (approx 42) brought by boat crew. Profuse rice water diarrhoea, can't drink, pulse weak, cold hands. Boat reg LK-20931.
[NAME] (approx 42) brought by boat crew. Profuse rice water diarrhoea, can't drink, pulse weak, cold hands. Boat reg [ID].
- H031 of 1 identifiers removed
16 month old boy, mother is Agnes. Watery diarrhoea 2 days, fever, still breastfeeding well, alert. Neighbour's child had same last week.
16 month old boy, mother is [NAME]. Watery diarrhoea 2 days, fever, still breastfeeding well, alert. Neighbour's child had same last week.
- H043 of 3 identifiers removed
Lady of about 65 years, lives alone near the old mosque. Loose watery stools x8, cramps in legs, very weak, skin pinch slow. Son Daudi can be reached on 0555 015 309 or daudi@example.org.
Lady of about 65 years, lives alone near the old mosque. Loose watery stools x8, cramps in legs, very weak, skin pinch slow. Son [NAME] can be reached on [PHONE] or [EMAIL].
- H052 of 2 identifiers removed
Two siblings seen, recording the younger: girl 8y, watery diarrhoea and vomiting since last night. Elder sister Akoth has same. Both drinking ok. Home is plot 115.
Two siblings seen, recording the younger: girl 8y, watery diarrhoea and vomiting since last night. Elder sister [NAME] has same. Both drinking ok. Home is [ADDRESS].
- H062 of 2 identifiers removed
Man 28, unconscious, watery diarrhoea all day per wife Zuhura. Their baby died of diarrhoea on Tuesday. GPS 3.21456, 12.65432.
Man 28, unconscious, watery diarrhoea all day per wife [NAME]. Their baby died of diarrhoea on Tuesday. GPS [LOCATION].
- H072 of 2 identifiers removed
Kiptoo, 11, at the beach school. Stomach cramps and fever, no diarrhoea, no vomiting. Headteacher Mrs Chepkoech informed.
[NAME], 11, at the beach school. Stomach cramps and fever, no diarrhoea, no vomiting. [NAME] [NAME] informed.
- H083 of 3 identifiers removed
Pregnant woman 23yrs, watery stool 4 times, thirsty, no danger signs. Husband Musa Juma, ID 31275568, phone +1 555 0163.
Pregnant woman 23yrs, watery stool 4 times, thirsty, no danger signs. Husband [NAME], ID [ID], phone [PHONE].
- H091 of 1 identifiers removed
Elderly man (Mzee Tobiko) collapsed at the borehole, AWD with vomiting, eyes deeply sunken, not able to drink, convulsing on arrival.
Elderly man ([NAME] [NAME]) collapsed at the borehole, AWD with vomiting, eyes deeply sunken, not able to drink, convulsing on arrival.
- H102 of 2 identifiers removed
Child aged 5, blood in stool and fever for 2 days, eats well. Dob 04/07/2021. Mother: Rose Wanjala.
Child aged 5, blood in stool and fever for 2 days, eats well. Dob [DOB]. Mother: [NAME].
- H112 of 2 identifiers removed
Young man 19 yrs, watery diarrhoea since morning after eating at a wedding in the village. Vomited 3 times. Friend Brian also sick. Cell 0555-010-428.
Young man 19 yrs, watery diarrhoea since morning after eating at a wedding in the village. Vomited 3 times. [NAME] also sick. Cell [PHONE].
- H123 of 3 identifiers removed
Baby 5 months, very floppy and sleepy, watery stools 10 today, sunken fontanelle and eyes. Parents Halima and Yusuf Abdalla, house 9.
Baby 5 months, very floppy and sleepy, watery stools 10 today, sunken fontanelle and eyes. [NAME] and [NAME], [ADDRESS].