Accuracy test¶
The accuracy test answers one question: how close is the app's position to the truth, on this floor, with this device?
How it works¶
sequenceDiagram
actor T as Tester
participant A as App
T->>A: Test > Start test
loop each marker (20+)
A->>T: "Go to: L0432" (pink on map)
T->>T: walk there, stand on the marker
T->>A: I am here, record
A->>A: 10 s: sample estimate vs surveyed truth
A->>T: "2.1 m off, right aisle"
end
A->>T: p50, p90, right-aisle %, worst markers
T->>A: Share CSV / send to server
The truth is the marker's surveyed position. A QR scan during the test only identifies the marker; it does not reset the position, so the estimate stays independent of the truth.
Procedure¶
- Walk around for a minute so the filter settles.
- Test > Start test.
- Walk to the marker on the card, stand on it, tap I am here, record, stand still 10 s.
- Cover at least 20 markers in at least 3 aisles.
- Do a second round in a different order.
- Share the CSV (share button) or ⋮ > Send results to server.
Metrics¶
| Metric (on screen) | Definition |
|---|---|
| Half of readings within | Median (p50) of the horizontal error in metres. |
| 9 of 10 readings within | 90th percentile (p90) error, nearest-rank method. |
| Right aisle | Share of samples where the estimated aisle (or cross-aisle / zone) equals the marker's. |
| Good enough for traffic cues | Right aisle ≥ 95% and p90 ≤ 2 m. |
| By marker, worst first | Where to record Wi-Fi again or add markers. |
CSV and report¶
The CSV has one row per sample:
time_ms,marker,truth_x,truth_y,est_x,est_y,error_m,source,aps_used,sigma_m,truth_aisle,est_aisle,aisle_ok,device
source is RTT, FINGERPRINT, RSSI_CENTROID or QR. The Mac app writes the same columns.
prints the overall p50, p90 and correct-aisle %, a PASS / NOT YET verdict against the target, tables by position source, by phone and by marker, and the 5 worst markers. Several CSV files can be passed at once.
Reporting results¶
When you share numbers, always include:
- site, date, device model, Android version,
- method in use (RTT or fingerprint) and how the Wi-Fi was recorded,
- number of markers and samples,
- p50, p90, right-aisle %.
Never report simulation numbers as floor accuracy.