Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Learn
Start
Guides
Domain packs
Participants
Security and privacy
Pilot kits
Operations
Ecosystem

P6: Network sensing lab

Source docs/pilots/p6-network-sensing-lab/README.md

On this page
  1. Goal
  2. Roles
  3. Success criteria (proposed; agree and fix them in the pilot plan before starting)
  4. What the pilot uses
  5. Runbook
  6. What this pilot does not show
  7. Files in this folder

Pilot kit, exported and partner-neutral. The kit names roles, not organisations. It uses live tree features and draft proposals (status DRAFT, can change before acceptance). Nothing here is a conformance claim, a result or a statement that any party conforms to anything; a run describes the documents it was given. See the pilot index for the common setup and the rules every pilot follows.

Goal

In a closed laboratory, with no member of the public and no real subscriber data, show that sensing observations derived from a radio network can be produced with the privacy rules of the network-sensing profile (aggregation floor, coarse areas, no device or subscriber identifier) and that those rules fail loudly when broken.

Roles

Lab lead, network equipment operator (inside the lab), privacy reviewer, reviewer.

Success criteria (proposed; agree and fix them in the pilot plan before starting)

Id Criterion Measure Evidence
N1 Environment sensing records (rain along a link) validate with an observed-property id and a UCUM quantity two records validate validation log
N2 Person-class records are counts or presence only, with k at or above the declared floor and small counts suppressed CT-SENSING-002 passes on the lab’s own records; five deliberate violations are each refused run logs
N3 No device or subscriber identifier appears anywhere in any record CT-SENSING-003 passes; each planted identifier shape is refused run logs
N4 Detections state detection probability, false alarm rate and position accuracy CT-SENSING-004 passes run log
N5 Forwarding keeps subject class, consent, policy, aggregation and coarsening manual case CT-SENSING-005 attested after a forwarding test across every path of the lab attestation, test log
N6 The lab’s raw data never leaves the lab and no real person is sensed lab note signed by the lab lead; the privacy assessment completed lab note, assessment

A criterion not met is a finding, not a failure to hide. The report template has a row for each.

What the pilot uses

Kind What
Profiles (live) OBSP-NODE, OBSP-GRID
Drafts OIP-0011 OBSP-NETWORK-SENSING (provisional); OIP-0006 origin NETWORK_DERIVED and subject class; OIP-0008 signatures (later revision); OIP-0014 consent and privacy classes
Bindings (drafts) none
Domain pack none
Privacy draft assessment for the network-sensing profile, for counsel review

Working copies needed: try 0011 (OIP-0011).

Runbook

Every command below was run on the tree this kit ships in, and gave the result stated. Work from the repository root of a clean checkout, after the setup block of the index (the try, series, inside and clean helpers). A line that begins with ! is expected to fail (exit status 1 is the right answer). When your own evidence replaces the examples, the counts change; the shape of the result does not.

Step 1. Baseline on the live tree (nothing drafted)

Proves your checkout, tooling and evidence layout work before any draft is involved. Run from the repository root.

python3 -m obsp validate fixtures/positive/observation-record.valid.json
python3 -m obsp digest fixtures/positive/observation-record.valid.json
python3 -m obsp conformance run --profile OBSP-NODE --evidence conformance/examples/OBSP-NODE --out /dev/null

Expect. The first line says valid observation-record; the digest is sha256: and 64 hex digits; the last line of the run is OBSP-NODE: PASS (7/7 requirements).

Step 2. The profile on its own example set (OIP-0011 copy)

The draft’s examples: rain from link attenuation, a drone detection, an aggregated occupancy count.

try 0011
inside 0011 python3 -m obsp validate fixtures/positive/sensing-observation.valid.json fixtures/positive/sensing-observation.uav-detection.valid.json fixtures/positive/sensing-observation.occupancy-count.valid.json fixtures/positive/sensing-observation.occupancy-suppressed.valid.json fixtures/positive/sensing-observation.flood-presence.valid.json
inside 0011 python3 -m obsp conformance run --profile OBSP-NETWORK-SENSING --evidence conformance/examples/OBSP-NETWORK-SENSING --out /dev/null
inside 0011 python3 -m unittest discover -s sdk/python/tests -p test_network_sensing.py

Expect. Positives valid; the run ends OBSP-NETWORK-SENSING: PASS (4/4 requirements); 20 tests OK.

Step 3. Break the rules on purpose

Each line must exit 1 and name the rule it breaks.

! inside 0011 python3 -m obsp validate fixtures/negative/sensing-observation.aggregation-k-one.json
! inside 0011 python3 -m obsp validate fixtures/negative/sensing-observation.pseudonym-is-imsi.json
! inside 0011 python3 -m obsp validate fixtures/negative/sensing-observation.raw-mac-field.json
! inside 0011 python3 -m obsp validate fixtures/negative/sensing-observation.person-tracking-without-consent.json
! inside 0011 python3 -m obsp validate fixtures/negative/sensing-observation.persons-without-privacy-floor.json

Expect. Five exits of 1. These are schema-level refusals; the suite’s invariants (small counts, identifier scan over every field) refuse more, and are exercised by the unit tests and by the conformance run on your own evidence.

Step 4. The lab’s own records

Produce your lab’s records from a copy of a positive fixture, validate each with --schema sensing-observation, put them in an evidence folder with an attestations.yaml for the manual case, and run the profile. Plant, in a scratch copy, one MAC-shaped value in an extension and one 15-digit number and confirm the run fails case CT-SENSING-003.

inside 0011 python3 -m obsp digest fixtures/positive/sensing-observation.occupancy-count.valid.json

Expect. A digest for each record. The identifier scan is a shape test: record, in the report, any legitimate long number it refused and how you wrote it instead.

Step 5. Forwarding test (manual case)

Send an aggregated record through every path of the lab (export, relay, republication) and compare each copy’s subject class, consent, policy, aggregation and coarsening with the original; write the attestation.

inside 0011 ls conformance/examples/OBSP-NETWORK-SENSING

Expect. The example set shows the shape of attestations.yaml.

Step 6. Your own evidence set and report

Replace the example documents with your own, one folder per run, and keep the report and its digest.

mkdir -p "$ROOT/../pilot-evidence" && cp conformance/examples/OBSP-NODE/* "$ROOT/../pilot-evidence/"
python3 -m obsp conformance run --profile OBSP-NODE --evidence "$ROOT/../pilot-evidence" --out "$ROOT/../pilot-evidence/report.json"
python3 -m obsp validate "$ROOT/../pilot-evidence/report.json" --schema conformance-report
python3 -m obsp digest "$ROOT/../pilot-evidence/report.json"
rm -rf "$ROOT/../pilot-evidence"

Expect. The example set is shown here only to prove the commands; in the pilot, copy your own documents into the folder instead. The report validates as a conformance-report and has a digest. Keep the folder, the report and the digest with the pilot’s evidence. A report describes documents and is not a conformance claim; no pilot ends in a claim above SELF_TESTED.

When you are finished, run clean to remove the throwaway copies.

What this pilot does not show

It does not show that sensing people with a network is lawful or acceptable anywhere, that an aggregate cannot identify anyone, or that results transfer from the lab to a deployed network. The profile follows sensing work that is not frozen, so every result is about a provisional draft. Do not run this pilot on real subscriber data without counsel.

Files in this folder

File Use
EVIDENCE_CHECKLIST.md what to collect, where to keep it, how it is made
REPORT_TEMPLATE.md the report the pilot lead fills at the end