Sequenced on paper strips
The tower orders flights by hand from strips on a board.
Impact: 37 departures were held more than 10 minutes in November.
All problemsData & Systems
Build a takeoff and landing scheduler for a regional airport from a one-page spec.
Your mission · Build from a spec
Tamarack's tower sequences the evening push on paper strips. In November, 37 departures were held more than 10 minutes, and Pinecrest Air paid $1,400 in crew overtime on four of those nights. Pinecrest adds six evening flights on January 12, and the airport authority wants a scheduler running before then.
The tower orders flights by hand from strips on a board.
Impact: 37 departures were held more than 10 minutes in November.
Controllers add wake gaps from memory during the busiest hour.
Impact: Two go-arounds in October when a light followed a heavy too closely.
Every schedule fails with NotImplementedError.
Impact: The ops display cannot show a plan before January 12.
Edit the components marked “Your work”. The other components show where your changes fit.
| Field | Type | Notes |
|---|---|---|
window | integer >= 0 | Seconds a landing may be ahead of the earliest flight and still go first. Tamarack: 60. |
closures | {start, end}[] | Optional. No flight from start up to, not including, end. |
| Field | Type | Notes |
|---|---|---|
flight | non-empty string | Call sign, for example "PA412". |
kind | "landing" | "takeoff" | |
weight | "light" | "medium" | "heavy" | Wake class. |
ready | integer >= 0 | First second it can use the runway. |
| Field | Type | Notes |
|---|---|---|
flight | string | |
runway | integer | Always 1 at Tamarack today. |
time | integer | The second the flight uses the runway. |
config/tamarack.yaml The runway settings: one runway, a 60-second landing window, the separation table and the evening inspection.# Tamarack Regional Airport, runway settings (in force since 2026-06-01).
runways: 1
clock_origin: "17:00" # second 0 of the evening plan
landing_window_seconds: 60
separation_seconds: # leader -> follower
light: {light: 60, medium: 60, heavy: 60}
medium: {light: 120, medium: 60, heavy: 60}
heavy: {light: 180, medium: 120, heavy: 90}
evening_inspection: {start: "17:30", end: "17:35"}samples/evening-push.json Nine flights from a simulated evening schedule, with the 17:30 inspection as a closure. Arguments for Preview.[
{
"window": 60,
"closures": [
{
"start": 1800,
"end": 2100
}
]
},
[
{
"flight": "PA412",
"kind": "takeoff",
"weight": "medium",
"ready": 0
},
{
"flight": "PA518",
"kind": "landing",
"weight": "medium",
"ready": 40
},
{
"flight": "NX88",
"kind": "takeoff",
"weight": "light",
"ready": 60
},
{
"flight": "CF7031",
"kind": "landing",
"weight": "heavy",
"ready": 300
},
{
"flight": "PA420",
"kind": "takeoff",
"weight": "medium",
"ready": 330
},
{
"flight": "N512TC",
"kind": "landing",
"weight": "light",
"ready": 400
},
{
"flight": "PA431",
"kind": "takeoff",
"weight": "medium",
"ready": 1750
},
{
"flight": "PA530",
"kind": "landing",
"weight": "medium",
"ready": 1900
},
{
"flight": "CF7032",
"kind": "takeoff",
"weight": "heavy",
"ready": 2040
}
]
]samples/evening-push-expected.json What the spec says that evening returns. N512TC lands at the very end of the window, ahead of PA420.[
{"flight": "PA518", "runway": 1, "time": 40},
{"flight": "PA412", "runway": 1, "time": 100},
{"flight": "NX88", "runway": 1, "time": 220},
{"flight": "CF7031", "runway": 1, "time": 300},
{"flight": "N512TC", "runway": 1, "time": 480},
{"flight": "PA420", "runway": 1, "time": 540},
{"flight": "PA431", "runway": 1, "time": 1750},
{"flight": "PA530", "runway": 1, "time": 2100},
{"flight": "CF7032", "runway": 1, "time": 2160}
]logs/tower-strips-2026-11-18.log One evening sequenced by hand, with a 5-minute and a 12-minute departure hold.2026-11-18T17:04:10-06:00 strip PA412 takeoff medium hold_line 2026-11-18T17:05:02-06:00 strip CF7031 landing heavy final 2026-11-18T17:05:40-06:00 clear CF7031 land 2026-11-18T17:06:15-06:00 strip N512TC landing light final 2026-11-18T17:06:30-06:00 clear N512TC land note="2 min behind heavy, extended downwind" 2026-11-18T17:09:05-06:00 clear PA412 takeoff held_minutes=5 2026-11-18T17:30:00-06:00 closure runway inspection until 17:35 2026-11-18T17:41:20-06:00 clear PA431 takeoff held_minutes=12
metrics/departure-holds-2026-11.csv Departures held more than 10 minutes each week in November, with the overtime they cost.week,departures,held_over_10_min,go_arounds,overtime_usd 2026-11-02,412,7,0,0 2026-11-09,418,9,0,350 2026-11-16,421,11,0,700 2026-11-23,409,10,0,350
TASK-201 Read docs/spec.md and plan the pieces Reported by Imani (airfield systems)
Expected NOTES.md lists what the scheduler keeps between steps and the order you will build the pieces in.
Actual The config and flight checks work, but nothing says how a step picks the next flight, and the timing and sequencing code is a stub.
TASK-202 Core: the earliest second for a flight, with separation Reported by Imani (airfield systems)
Expected The heavy goes at 0 and the light at 180.
Actual Every schedule fails with NotImplementedError: "Implement RunwayScheduler.plan using the request contract".
TASK-203 Then the pick, then the window, then the closures Reported by Walt (tower supervisor)
Expected Every entry matches the expected file. With N512TC ready at 461 it still lands at 480, ahead of PA420.
Actual Until earliest and plan are built, every schedule fails with NotImplementedError from runway/services/.
TASK-204 Write down anything you chose to leave out or would do next Reported by Rena (airport operations)
Expected A short list of what the scheduler does not handle yet and what you would build next, with a reason for each.
Actual NOTES.md has no entry.
Scores use evidence from your session. A short or incomplete session may not provide enough evidence for every skill. See a sample scorecard
Build a scheduler for an airport runway. Landings and takeoffs share one runway, each flight has a weight class and a ready time, and the spacing between two flights depends on their classes. The spec is one page. Start with a working core and grow it. Use the AI assistant however you like, and tell me your plan before you ask it for code.