CSCTF 2026Misc
Dark Anchorage Reconciliation
Align the radar clock to UTC (radar time minus 60 minutes) and pair each of the 16 radar tracks with the AIS vessel at the same positions.
- Competition
CSCTF 2026- Category
- MiscMedium
- Source status
- Source-documented · not platform-verified
- Document
- PDF edition3 min read
Brief
The challenge
- Category
- Network
- Difficulty
- Medium
- Files
ais.ndjson,radar.csv,cable-fault.txt,method-note.txt(served atGET /files/),GET /schema
TL;DR
Align the radar clock to UTC (radar time minus 60 minutes) and pair each of the 16 radar tracks with the AIS vessel at the same positions. One pair, R-05 and MMSI 975838928, has a 4-sample run where the AIS position sits a constant (+330 m east, +300 m north) away from the radar position: that's the false broadcast. The radar track itself crosses the cable-fault point exactly (CPA 0.0 m at 11:31:38Z). The tricky part is the report shape: the schema's compound names ais_minus_radar_east_m_north_m and start_utc_end_utc stand for four separate members, not two arrays.
Solve
Read the brief and schema.
GET /describes the scenario.GET /schemadefines a local plane centred on the cable fault (east = R·cos(lat0)·(lon−lon0),north = R·(lat−lat0), R = 6378137), the segment closest-point-of-approach (CPA) formula, the rounding rules, and the five required report members.Normalise the radar clock. The
radar.csvheader hasradar_utc_offset_minutes=60, so UTC = radar local time − 60 min. With that shift, every radar sample lines up with a 2-minute AIS sample.Associate tracks. Score every radar/AIS pair by the median distance between their positions over all paired samples (
method-note.txt). Each correct pair scores 0.000 m and every wrong pair scores ≥ 180 m, which gives a single bijection:Radar MMSI Radar MMSI R-01 996985000 R-09 976804463 R-02 977209105 R-10 984754931 R-03 986715569 R-11 995396661 R-04 970919067 R-12 989866902 R-05 975838928 R-13 975426997 R-06 994946592 R-14 978983567 R-07 996261561 R-15 978894200 R-08 972514000 R-16 994405937 Find the divergence. For R-05 /
975838928, the longest contiguous run with at least 4 samples, every residual ≥ 250 m, and each residual component changing by ≤ 15 m from the previous sample is 11:30:00Z–11:36:00Z (4 samples). AIS minus radar is a constant (330, 300) m. In other words, the vessel broadcast a position about 446 m away from where it actually was, right as it passed over the cable.Closest approach (radar only). R-05 sails due east along the cable's latitude (north = 0). The segment between 11:30 and 11:32 crosses the origin, so the CPA is 0.0 m at 11:31:38Z (11:31:38.18, rounded to the nearest second).
Get the report shape right. Every report that used arrays or nested objects for the compound fields got an opaque
400 invalid report, even when only the values were changed. The working shape splits each compound name into separate scalar members:JSON { "version": "KALNET-RECON-1", "radar_utc_offset_minutes": 60, "associations": [{"radar_track": "R-01", "mmsi": "996985000"}, "... R-16"], "divergence": { "mmsi": "975838928", "ais_minus_radar_east_m": 330, "ais_minus_radar_north_m": 300, "start_utc": "2026-11-06T11:30:00Z", "end_utc": "2026-11-06T11:36:00Z" }, "closest_approach": {"mmsi": "975838928", "distance_m": 0.0, "utc": "2026-11-06T11:31:38Z"}}POST /reconcile(full body inaccepted_report.json, sent bysubmit.py) returns:Text 200 incident export verifiedCSCTF{CGMV6TsLt1H7DPaS0IIiBD3J}
Flag
Flag
CSCTF{CGMV6TsLt1H7DPaS0IIiBD3J}
Source-documented · not platform-verified