LUXWAVE NTN TEST BRIEF + SYNTHETIC RECORD-ANALYSIS EXAMPLE

If you downloaded the ZIP, extract it first. Open a terminal in the extracted
folder containing START_HERE.txt. All commands below run from that folder.

1. Start with TestBrief.md: a blank editable plan for your actual setup.
2. Read SYNTHETIC_Completed_TestBrief.md: one fully specified teaching case.
3. Inspect profile.csv and the four *_synthetic.csv input records.
4. Run from that folder with Python 3 (standard library only):
   python analyze_synthetic.py --data-dir . --output-dir analysis_output
5. Compare analysis_output/analysis_synthetic.json with expected_analysis_synthetic.json.
   The output SVG visualises those same CSV values; the example intentionally fails
   its gap/delivery criteria while passing its return-after-restore criterion.
6. Use run_results_blank.csv for your own summary, preserving raw records separately.

All example data are SYNTHETIC. No RF waveform, receiver or NR protocol stack is
simulated, no equipment is contacted and no physical measurement or ELARA result
is reported. The missing records are assigned independently of the frequency
profile. +800 Hz, the RF context and acceptance criteria are hypothetical teaching
choices, not ELARA limits, a 3GPP test value, OAI defaults or customer requirements.

WHAT THE SCRIPT DOES
Reads local JSON/CSV and emits local JSON/SVG only. It does not make network/API,
RF or hardware calls. It requires the declared synthetic shared clock, validates
record/schema/workload consistency and rejects malformed or duplicate records.
A well-formed received SHA-256 field that differs from the expected field is
counted as invalid delivery, not a file-format error. The analyser compares
recorded hash/size fields; it does not read/re-hash actual received payloads.
Do not use it as a validated analyser for real hardware data.

CLOCKS AND DEFINITIONS
The receiver-only gap is the spacing between consecutive valid arrivals.
Return after RF restore subtracts timestamps across records, permitted here
because all synthetic times share one exact clock by construction. This is not
proof of physical synchronization. A real run must establish offset/drift,
measurement uncertainty and the RF transition definition before that subtraction.
The assigned 50 ms arrival lag is a fixture choice, not a measured one-way latency.

WHY THIS RELATES TO NTN
The case keeps the nominal propagation/assistance/compensation assumptions
separate from an added residual-frequency error. It avoids counting nominal
path delay or compensation twice, while checking useful data rather than only
connection status. It is a method example, not an orbit trace or integration recipe.

PRIMARY CONTEXT (not the source of our numerical teaching values)
ETSI TS 138300 V18.8.0 / 3GPP TS 38.300 Release 18, sections 16.14.2.2–16.14.3:
https://www.etsi.org/deliver/etsi_ts/138300_138399/138300/18.08.00_60/ts_138300v180800p.pdf
OAI implementation-specific NTN documentation at exact commit:
https://github.com/OPENAIRINTERFACE/openairinterface5g/blob/cfee4c20b45ac1cf6d455d3f01bb3e00200438b0/doc/ntn-configuration.md
No commands, example values or compatibility claims from that recipe are adopted.

FILES/UNITS
*_s means seconds; *_hz means hertz; *_ms means milliseconds; payload_bytes means
bytes. Delivery fractions/limits use 0–1 (0.95 = 95%); delivery_percent uses 0–100.
case_parameters.json — all declared assumptions, criteria and fixture choices.
profile.csv — commanded teaching phases; times(s), added residual (Hz), delay(ms).
rf_events_synthetic.csv — assigned state changes on shared time(s), not readings.
tx_objects_synthetic.csv — offered sequence, time(s), payload(bytes), expected hash.
receiver_synthetic.csv — constructed arrival time(s), sequence, size and hash field.
endpoint_events_synthetic.csv — constructed state samples; adaptation NOT_MODELLED.
run_results_blank.csv — headers only; blank does not mean a zero or passed result.
run_results_synthetic.csv — completed summary of this teaching case.
expected_analysis_synthetic.json — exact expected local analysis output.
timeline_synthetic.svg — figure derived from the same records.
MANIFEST.json — file identities; ZIP contains this same finite collection.
