← Back to blog
November 16, 2026Colm Byrne
Evidence boundary. Older posts may discuss prototype designs, patent claims, or planned integrations. The demonstrated v1 release is ccf-core/ccf-agent v1.0.1: hard min-gate coupling, QAC trust updates, and runtime certificates. Gate C exercised the computed runtime on Seed-class ARM hardware with driver-fed input. Unless a post cites a specific run, do not read it as proof of live sensors, mBot2 behaviour, Cognitum store validation, or production deployment.

Is the robot in the right room? Checking from 17 numbers

A real moment

This scenario is invented, but nothing in it is unusual.

A care group runs four homes around Boyle, in Co Roscommon. This autumn it is putting a small companion robot into each home's residents' lounge. The robot sits near the armchairs, says hello, plays a song when asked, and keeps quiet when people want quiet. Forty of them, across the group.

At the Ardcarne home the installer is new. He carries the robot down the bedroom wing looking for the lounge, finds a free socket in the corridor outside room 12, plugs it in, checks the light comes on and signs the job off. It is an easy mistake. The corridor has a window seat and a chair. It looks like somewhere a resident might sit.

The robot settles in where it is. Night staff pass it on their rounds. In the afternoons the corridor is empty because everyone is in the lounge or the dining room. Now and then someone walks by on the way to their room.

Siobhan is the group's operations lead. She looks after the forty robots from an office in Carrick-on-Shannon, half an hour from the nearest home and an hour from the furthest. She has no reason to drive out to Ardcarne. The installer's sign-off says the robot is in the lounge.

Without some kind of check, the first anyone hears is a month later. The activities coordinator mentions at a staff meeting that the lounge robot has never once been in the lounge. By then the residents who would have used it have had a month without it, and the robot has spent a month learning a corridor.

With the check described here, the question gets asked on day 14. The robot's state is compared with what a two-week-old lounge robot normally looks like. It does not match. Siobhan gets a flag and a short list of what is off: too much activity at night, too little in the afternoon, too much time with nobody around. That reads as a corridor, not a lounge. She rings the home. The robot is in the lounge by teatime.

Why this matters

Anyone running machines across many buildings has this problem. Hospitals have it with equipment. Retail chains have it with displays. Robot fleets have it worse, because a robot does not stay in a box with a label on it. It gets carried, plugged in, unplugged and plugged in somewhere else.

The usual answers are a site visit, a photo from the installer, or a location system. A site visit costs a day. A photo shows where the robot was when the photo was taken. Indoor positioning needs beacons, a floor map and someone to keep them current. GPS does not work indoors.

There is a cheaper source of evidence, and the robot already carries it. A robot that learns from its surroundings ends up shaped by them. Two weeks in a busy dining room and two weeks in a quiet corridor leave different marks. If those marks can be read and compared, the robot can tell you where it has been living without any extra hardware.

The catch is that the comparison has to be fair to robots that are correctly placed. A check that cries wolf on healthy robots trains people to ignore it. So the two numbers that matter are how often a correctly placed robot gets flagged, and how often a misplaced one gets caught.

What CCF does about it

CCF (Contextual Coherence Fields) is the trust and familiarity system behind The Shy Robot. A CCF robot keeps a separate familiarity score for each kind of situation it meets, built from what actually happened there. The fleet filing, US provisional 64/039,623, describes how a robot can sum that state up as a fingerprint of fewer than 20 numbers, and four things a fleet operator can do with it. One of them is deployment verification. It is filed in paragraph [0021] and Claim 13.

The fingerprint used here has 17 numbers. They cover how many distinct situations the robot has met, how those situations split across four behaviour phases, how connected and how familiar they are on average, how spread out that familiarity is, and how the day's activity and the presence of people split across night, morning, afternoon and evening.

The check is simple. For each kind of room the operator writes down a low and a high for each of the 17 numbers. After a settling period of 14 days, the robot's health score is the share of its numbers that fall inside the ranges for the room it was sent to. If the score is below 0.7, the robot is flagged. With 17 numbers that means six or more out of range. The list of which numbers are outside goes with the flag, so the person who investigates knows where to start.

I built this in Rust on the same simulator used in two earlier runs on this filing, one on detecting that a robot has been moved and one on spotting robots that share a room. The simulated fleet is a care-home group with four kinds of zone: residents' lounge, dining room, corridor and nurse station, and bedroom wing. The zone descriptions are mine, not from the filing. There are four separate simulated worlds, each with 200 test robots per zone type and 40 reference robots per zone type to build the ranges from. Every robot sits in its own building and sees its own version of the room.

The ranges in the main test come from 20 reference robots, measured at day 14, the same age as the robots being checked. The low is the smallest of the 20 values and the high is the largest.

The numbers

Out of 3,200 robots in the right kind of room, the check flagged one.

Out of robots placed in the wrong kind of room, it flagged 68 percent on average across the twelve possible mix-ups. The easiest mix-up to catch, a robot meant for a bedroom wing that ended up in a dining room, was caught 89 percent of the time. The hardest, a robot meant for the corridor and nurse station that ended up in a bedroom wing, was caught 36 percent of the time. Those two kinds of zone are alike in this simulation: both are busy at night and often empty.

The threshold is a dial. At 0.8 instead of 0.7 the check caught 95 percent of mistakes and flagged about 4 percent of correct robots. At 0.6 it never flagged a correct robot but caught only 45 percent of mistakes.

Two results surprised me.

First, adding reference robots made the check worse at catching mistakes. With five references it caught 96 percent of wrong placements. With forty it caught 50 percent. A low-to-high range can only get wider as you add examples. The share of new robots it covers grows as (n-1)/(n+1), so with forty references each range covers about 95 percent of normal robots and a misplaced robot has more room to slip through. The false alarms fall at the same time, from 27 percent at five references to none at forty. More data moved the check along the dial, it did not make it better. A range built from the middle 90 percent of references held up better, catching 90 percent of mistakes at 20 references with about 4 percent false alarms.

Second, averaging a week of fingerprints made false alarms forty times more common, 1.2 percent instead of 0.03 percent. I expected the reverse. Averaging removes day-to-day noise, but it leaves the differences between one building and another, and those push several numbers out of range at once.

The check itself is cheap. Scoring one robot took 27.56 nanoseconds. Building the ranges from 20 references took about 2 microseconds and 272 bytes.

What this doesn't solve

One mistake in three gets through at the filed settings, and for zones that look alike it is closer to two in three. This is a first screen, not a guarantee.

The ranges have to describe robots of the same age as the one being checked. When I built them from robots that had been in place for three months, the check flagged more than half of the healthy two-week-old robots, because a young robot simply has less history.

A broken sensor does not always show up in the score. This run also found a limit in one filed setting. The fix is in the filing queue (#663) and will be written up once it is filed.

The check runs once. A robot that is moved after day 14 needs the separate relocation check.

And all of this is a simulation with zone descriptions I made up. Real care homes may be easier or harder to tell apart.

For the curious: the math

The score is H = (components in range) / 17, and a robot is flagged when H < 0.7. Since 11/17 is about 0.647 and 12/17 about 0.706, that is the same as flagging when six or more components are out.

If each component of a correctly placed robot landed inside its range independently with probability p, the false-alarm rate would be the chance that a binomial with 17 trials and success probability p comes out at 11 or below. For a low-to-high range built from n references, p is (n-1)/(n+1) for any continuous quantity. That is a standard result about order statistics, and the simulation reproduces it on uniform random numbers to within 0.002. With n = 20, p = 19/21 = 0.9048 and the predicted false-alarm rate is 0.0037.

The measured rate was 0.0003, ten times lower. The components are not independent. The four phase shares add up to one, as do the four activity shares and the four presence shares. When one goes out, another tends to go out with it, so the out-of-range count bunches instead of spreading. Using the coverage actually measured for each component, still assuming independence, gives 0.0003 to 0.0017 per zone type, much closer. With the week-long average the dependence works the other way, and the measured rate rose to 7.8 times the prediction for one zone type.

The familiarity numbers use filed constants: an earned floor of min(0.70, 0.005 n) after n interactions and a gain per good interaction fitted to a worked example in the filing. Same seed gives the same run, bit for bit.

The full tables are in the research note and the gist.

Where this fits

This is the fourth of the filing's four fleet functions to be built, after relocation detection and co-location. All of them read the same fingerprint, so a fleet operator gets them together. The work is part of the CCF research programme behind The Shy Robot: robots that earn familiarity with a place and the people in it, and stay reserved where they have not.

  • The gist with full tables: https://gist.github.com/Hulupeep/50c279252c26d091ef57bd0e4378b4c8
  • The CCF repo: https://github.com/Hulupeep/ccf
  • Earlier: detecting that a robot has been moved, https://gist.github.com/Hulupeep/9520e60991c981ffac3684db14ddd157
  • Earlier: spotting robots that share a room, https://gist.github.com/Hulupeep/d41bb652de7bddb2635c2d96828d8daf
  • Specflow, the spec and contract tooling used to build CCF: https://github.com/Hulupeep/Specflow
  • Licensing: https://floutlabs.com

License & contact

Research code is under BSL 1.1, converting to Apache 2.0 in 2032. CCF is covered by US provisional applications including 64/039,623. For licensing and questions, contact Flout Labs at https://floutlabs.com.