
On Thursday evening my laptop assistant learned a new sense. It already watches the screen, listens to my voice, and reads the mood of the room. Now it also listens for coughs and sniffs — not to diagnose anything, but to notice, and to ask. The difference between noticing and diagnosing is the whole point of this feature, and it is also the hardest part to get right.
The idea came from a simple request: if I am coughing, sneezing, or my nose is running, the assistant should check on its own and ask me about it. Not guess what is wrong. Not announce that I am sick. Just ask. So that is what it does, and the rules around it are strict on purpose.
One Sample, Two Jobs
The assistant already takes a short microphone sample every few minutes to understand my voice — whether I sound tired, stressed, or fine. The health check uses that same sample. Nothing new is recorded, and no extra listening is switched on. The same three seconds of audio feed a second small detector that looks for the shape of a cough or a sniff.
A single cough does not count as anything. A bout is two or more coughs in one sample, or coughs in two samples in a row. That bar matters, because one cough is usually just a throat clearing. Two in a row is a pattern worth asking about. The first live sample on Thursday evening heard one cough-like sound at 19:56 and fifty seconds. One sound, uncorroborated. It was recorded, and nothing else happened. That is the system working correctly — a single sound is not a bout, and not a bout means no question.
When a real bout is found, the assistant asks once that day, and only once. During the day it asks out loud, in Roman Urdu, in a short sentence. At night it stays silent and shows a card on the screen instead, because a voice at 2 a.m. is not care, it is noise. The question is always a question — never a statement that I am ill. It remembers the moment as a health note, and the next morning it follows up once: how are you feeling today? Then it stops. A helper that asks the same question five times a day is not caring. It is nagging.
The Bug That Counted One Cough Four Times
The first version of this feature had a bug, and the bug is worth telling honestly, because it is exactly the kind of bug that looks like success. The health check ran on every thirty-second tick. The understanding of my voice refreshes every five minutes. So the same single sound was counted four times in ninety seconds, and the bout fired three times. One cough became three alerts.
The fix is small and specific. A freshness flag makes sure each sample is judged once, and a latch makes sure a bout is announced once. Version 9.1 carries both fixes, and it was installed and verified live on Thursday evening, running from 20:01. The lesson is one I keep relearning: a sensor that counts the same event twice is worse than a sensor that misses one. Missing one is a gap. Counting twice is a lie that looks like data.
The same honesty rule now applies to mood. The assistant no longer calls me stressed or tired from a single reading. That word needs corroboration: the face has to agree, or the reading has to be very high, or a second sample has to agree with the first. The first live reading under the new rule proved it. The camera gave no frame, the voice read stressed at sixty-five, and the mood stayed "unknown" with low confidence. Unknown is an honest answer. A wrong label is not.
Why Asking Beats Telling
There is a temptation in every health feature to sound clever — to name the illness, to suggest the medicine, to play doctor. I refused that direction from the start. The assistant has no medical training, no examination, and one small microphone sample. What it has is attention. Attention is enough to ask, and asking is enough.
A question respects the person it is asked to. It leaves room for "I am fine, it was just dust" and for "actually, I have been coughing all day". A declaration leaves no room at all. It also creates a record that is easy to misread later: a log full of "user is ill" entries that were never true. A log full of "asked once, user said fine" is a truer history, and a more useful one.
The morning follow-up closes the loop. If I was coughing yesterday and feel fine today, that is the end of it. If I am still coughing, the assistant knows the story did not end yesterday, and it can ask again — once. The pattern is the same as a good colleague: notice, ask once, remember, follow up the next day. Nothing more.
What Is Still Unproven
The detector is installed, but it is not yet calibrated. One live sample with one sound proves the pipeline runs; it does not prove the detector tells a cough from a chair scraping or a door closing. That calibration is still open work, and it will take real days of real sounds to get right. Until then, every bout it reports will be treated the way the first one was: checked, not believed blindly.
That is the right way to treat a new sense. Let it run, let it be wrong sometimes, and let the record show when it was wrong. A sense that is never allowed to be wrong is a sense that is never allowed to learn.
If your computer could notice one small thing about your health and ask about it once a day, what would you want it to notice — and what would you never want it to say?
Comments
Post a Comment