In this section: Build
Start
Reference code
- obsp (C)
- Conformance runner (reference service)
- obsp (Go)
- Plugfests (non-normative groundwork)
- Python reference pipelines (draft profiles, synthetic data)
- obsp-eo
- obsp-model-run (draft OIP-0012, MODEL-OBSERVER)
- obsp-sensing (draft OIP-0011, NETWORK-SENSING, provisional)
- obsp-space
- Rust reference workspace
- Performance bench (WP-RI-11)
- The 0.2 candidate (DRAFT)
- obsp-core (Rust reference library)
- obsp-federation
- obsp-node-embedded
- Node agent (obsp-node)
- Evidence verifier (obsp-verify)
- obsp-sdk (TypeScript / ES modules)
Tools
API reference
- All APIs
- Observatory Protocol service administration (production services)
- Observatory Protocol CloudEvents (draft OIP-0024 binding)
- Observatory Protocol correction subscriptions
- Observatory Protocol credential status (reference service)
- Observatory Protocol discovery (reference service)
- Observatory Protocol exchange API (reference)
- Observatory Protocol federation sync (draft OIP-0004)
- Observatory Protocol Field Topic Contract (MQTT 5 and Sparkplug B)
- Observatory Protocol participant gateway
- gRPC services
- Observatory Protocol implementations and conformance registry (reference service)
- Observatory Protocol transparency log (reference service)
- Observatory Protocol WIS 2.0 notifications (draft OIP-0009 binding)
Public services
Bindings and crosswalks
obsp-sensing (draft OIP-0011, NETWORK-SENSING, provisional)
On this page
| Field | Value |
|---|---|
| Status | Reference code written against draft proposals (DRAFT); accepts no proposal; no conformance claim |
| Package | obsp_sensing |
| Source | Python reference tools |
Simulates three kinds of network sensing, turns them into sensing-observation records (origin NETWORK_DERIVED,
pseudonymous issuing function, KPIs) and enforces the draft’s privacy rules before any record leaves the pipeline.
Synthetic data only; the numbers below come from the simulation’s own truth and say nothing about real equipment.
The three simulations (simulate.py)
| Kind | What is simulated | Record |
|---|---|---|
| Rain on microwave links | A storm cell over four links. Each link reports an attenuation (noise, 0.1 dB steps). Inversion of the power law gamma = k * R^alpha gives a path-averaged rain rate; a Monte Carlo propagation of reading noise, quantisation and baseline error gives its standard uncertainty. The power-law form is that of ITU-R P.838 (checked: not checked); the coefficients are illustrative and were not read from it. |
one QUANTITY (mm/h) record per link, target ENVIRONMENT, subject NONE, uncertainty in the refimpl.rain extension |
| UAV track, multistatic | One transmitter, four receivers, bistatic ranges with noise, Gauss-Newton position fit, a detection probability and a false alarm probability per scan, an alpha-beta track with a distance gate | one DETECTIONS record, target UAV, subject OBJECTS, KPIs: detection probability, false alarm rate, position and velocity accuracy, latency, refresh rate |
| Wi-Fi-sensing-like occupancy | De-identified presence events (time, local position, count) in a hall, aggregated per grid cell | one COUNT record per cell, target PERSON, subject PERSONS, consent and policy references, k, privacy floor, cell edge |
Two gaps in the draft schema show up here and are open questions for the draft proposal (OIP-0011): the record has no uncertainty field (the rain uncertainty rides in a namespaced extension), and detections carry no per-point time.
Privacy rules (privacy.py)
records.emit is the only way a record leaves the pipeline: privacy rules first, then the draft schema.
| Rule | Draft | What is refused |
|---|---|---|
| Person targets only as aggregated counts or presence | SNS-2 | a PERSON target not declared PERSONS; detections or any result other than count or presence for persons; an object target declared NONE |
| k at or above the floor | SNS-3 | aggregation.k below the floor; a record whose own floor is weaker than the declared policy’s; a count from 1 to k - 1 not suppressed |
| Coarsened location | SNS-3 | locationResolutionM below the declared minimum cell; a point area. Positions are dropped at the cell: only the cell is published |
| Consent and policy present | SNS-2 | a missing or non-URI consentRef or policyRef; refs that are not the declared policy’s |
| Identifier scanner | SNS-4 | any field name or value shaped like an IMSI, SUPI, SUCI, GPSI/MSISDN, IMEI/PEI or MAC address (colon, hyphen, dotted forms), 14 to 16 digit runs; digests are exempt. Applied to emitted records and to raw input events (events_from_dicts) |
The scanner tests shapes: it refuses what looks like an identifier and does not prove that a record identifies no one. Identifier formats are cited from 3GPP TS 23.003 and IEEE 802 EUI-48 (checked: not checked).
tests/test_sensing.py has one test per rule that feeds a violating input and sees it refused, besides the baseline
that passes.
Worked example
$ make sensing
...
Ran 31 tests in 0.1s
OK
dist/sensing/report.json (seed 7):
rain: 4 links, RMSE against the simulation's truth 0.06 mm/h
link 01: truth 16.159, retrieved 16.165 mm/h, standard uncertainty 0.294
uav: 36 track points; positionAccuracyM 9.03, velocityAccuracyMs 4.51,
detectionProbability 0.9, falseAlarmRate 0.025
occupancy: 4 cells of 30 m, k = 5 (policy floor 5 and 30 m): 2 cells suppressed, 2 published (counts 8 and 7)
draftProfileRun: CT-SENSING-001 to -004 PASS, CT-SENSING-005 MANUAL (no attestation here)
A violation, from Python:
from obsp_sensing import records, simulate
docs = records.occupancy_records(simulate.simulate_presence_events(5, mean_people=26), POLICY, AT, cell_m=10.0)
records.emit(docs[0][1], schemas) # PrivacyViolation: SNS-3 location resolution 10.0 m is finer than the declared minimum cell 30.0 m
Files: dist/sensing/evidence/sensing-observation.<name>.json (the records, in the layout the conformance runner reads),
dist/sensing/report.json, dist/sensing/OBSP-NETWORK-SENSING.report.json (the draft runner’s report).
Standards named
ITU-R P.838 (rain specific attenuation), 3GPP TS 22.137 (sensing requirements), 3GPP TS 23.003, IEEE 802.11bf-2025,
IEEE 802 MAC address formats: all checked: not checked. The protocol text of the draft is in
oips/drafts/OIP-0011/OIP-0011.md.