Journey 02 — Out-of-order multisensor replay
Load pinned DetectionReport JSONL, run the default-on FusionTrack v0 stack, and write TrackTable v1 JSON.
Prerequisites: Journey 03 — valid FUSIONTRACK_LICENSE_FILE.
Scenario: pinned JSONL ingest, run_fusiontrack_v0, TrackTable export, corpus SHA gate.
Key APIs
fusiontrack.ingest.load_detection_corpusfusiontrack.fusiontrack_v0.run_fusiontrack_v0fusiontrack.export.export_track_table
Concepts to internalize
- Corpus pin — SHA256 in
ooo_multisensor_v1_sample.manifest.jsonmust match before fuse. - OOO ingest — async sensor clocks are part of the acceptance story.
- Active tracks — exported track count reflects lifecycle-active tracks (prod JPDA export).
Important code
The guided tour script wraps this pattern. Copy the production shape into your pipeline:
from fusiontrack.ingest import load_detection_corpus
from fusiontrack.fusiontrack_v0 import run_fusiontrack_v0
from fusiontrack.export import export_track_table
reports = load_detection_corpus("examples/data/ooo_multisensor_v1_sample.jsonl")
tracks = run_fusiontrack_v0(reports)
table = export_track_table(tracks, reports)Run it
cd python
# Guided tour — narrated scenario walkthrough (recommended first run):
python examples/journeys/01_ooo_multisensor_replay/run_replay.py --out track_table.json
# Production one-liner — same API call you ship:
python -c "from fusiontrack.fusiontrack_v0 import run_fusiontrack_v0; from fusiontrack.ingest import load_detection_corpus; print(len(run_fusiontrack_v0(load_detection_corpus('examples/data/ooo_multisensor_v1_sample.jsonl'))))"What comes next
Journey 03 adapts vendor CSV detections through the integrator path.
Navigation
← Journey 01 — License and CLI · Journey 03 — Integrator adapter (vendor CSV) →