Draw Madring's track: take upstream's GPS trace instead of a point #10

Merged
mesh-tools merged 4 commits from fix/madring-trace into master 2026-11-30 09:25:42 +00:00
Collaborator

The 2026 Spanish Grand Prix poster (https://f1-circuits.zurag.be/posters/race/Spanish%20Grand%20Prix/2026.png) drew satellite imagery of Madrid and no track: Madring's trace was a single point, and a point trace is drawn without a track (docs/posters.md, Layers). Upstream (bacinger/f1-circuits, MIT) traced Madring on 2025-06-11 as es-2026.geojson.

  • 8834df4 writes the lead's answers of 2026-11-30 into docs/posters.md: a trace follows upstream (a newer upstream trace is a plain update); the trace check; "Not in this change" corrected (three empty traces, Bahrain's offset, Donington as a copy of Aintree).
  • 9da882d takes upstream's Madring trace (116 points) with its SVG and PNG redrawn by the repository's own tools, and upstream's MIT notice word for word (2019-2025) in LICENSE.md and README.md.
  • 613103e takes upstream's re-traced Baku 2016-, Miami 2022- and Las Vegas 2023- (they moved by up to 11.5 m, 7 m and 76 m).
  • 82a0efa adds tests/test_traces.py: every layout find_layout_slug_for_year chooses for a season from 2020 on has a LineString trace of more than 10 points.

Checked: the four traces equal upstream's when parsed; the drawings redraw byte for byte; the test fails on master on Madring alone and passes here; merge-check.sh passes with 32 tests; a merge with fix/picker-reads-picks (#9) is clean and passes 33. The rendered poster draws the track on the Madring site.

Reviewed-by: mesh-code-reviewer for f1-reply@shanks at 82a0efabbc

https://claude.ai/code/session_01JG73KFhbaNj3tyJ8tKmE3W

The 2026 Spanish Grand Prix poster (https://f1-circuits.zurag.be/posters/race/Spanish%20Grand%20Prix/2026.png) drew satellite imagery of Madrid and no track: Madring's trace was a single point, and a point trace is drawn without a track (docs/posters.md, Layers). Upstream (bacinger/f1-circuits, MIT) traced Madring on 2025-06-11 as es-2026.geojson. - 8834df4 writes the lead's answers of 2026-11-30 into docs/posters.md: a trace follows upstream (a newer upstream trace is a plain update); the trace check; "Not in this change" corrected (three empty traces, Bahrain's offset, Donington as a copy of Aintree). - 9da882d takes upstream's Madring trace (116 points) with its SVG and PNG redrawn by the repository's own tools, and upstream's MIT notice word for word (2019-2025) in LICENSE.md and README.md. - 613103e takes upstream's re-traced Baku 2016-, Miami 2022- and Las Vegas 2023- (they moved by up to 11.5 m, 7 m and 76 m). - 82a0efa adds tests/test_traces.py: every layout find_layout_slug_for_year chooses for a season from 2020 on has a LineString trace of more than 10 points. Checked: the four traces equal upstream's when parsed; the drawings redraw byte for byte; the test fails on master on Madring alone and passes here; merge-check.sh passes with 32 tests; a merge with fix/picker-reads-picks (#9) is clean and passes 33. The rendered poster draws the track on the Madring site. Reviewed-by: mesh-code-reviewer for f1-reply@shanks at 82a0efabbc3d0b85e79d9fd1c648b7343fe2d215 https://claude.ai/code/session_01JG73KFhbaNj3tyJ8tKmE3W
mesh-tools added 4 commits 2026-11-30 09:25:31 +00:00
The operator's symptom of 2026-11-30: the 2026 Spanish race poster draws no track, because
Madring's trace is a point. The lead's answers of 2026-11-30 to the questions it raised: a
layout's trace is upstream's newest trace of that circuit (bacinger/f1-circuits), copied once
word for word and never fetched at run time, and a newer upstream trace of a circuit already
drawn is taken as a plain update; the merge check holds that every layout
find_layout_slug_for_year chooses for a season from 2020 on has a LineString trace of more than
10 points (tests/test_traces.py). "Not in this change" now names what remains: three layouts
with an empty trace, Bahrain's offset, and Donington, a copy of Aintree's trace.

Claude-Session: https://claude.ai/code/session_01JG73KFhbaNj3tyJ8tKmE3W
The 2026 Spanish race poster showed Madrid with no track, because Madring's trace was a single
point and docs/posters.md (Layers) draws such a layout at its location without a track. The
dataset our traces come from (bacinger/f1-circuits, MIT) traced it on 2025-06-11 as
circuits/es-2026.geojson: a LineString of 116 points, length 5474. It is taken word for word, in
the form of every other trace here (two-space JSON, upstream's id es-2026 and properties).

The SVG is drawn again by generate_svgs.py (TrackLayout.save_svg), the PNG by
circuits/svg-generator.py's Circuit.plot saved transparent with a tight box, as every other PNG
here; both replace the ones drawn from the Wikimedia path. A new trace makes new layer keys,
so no kept poster of Madring is served again.

Upstream's MIT notice is copied word for word with it, as upstream's LICENSE.md holds it since
78726e6 (2025-06-11, the day Madring was traced): "Copyright (c) 2019-2025 Tomislav Bacinger",
in LICENSE.md and in README.md's licence line.

Builds: docs/posters.md at 8834df45e6 (Sources: the traces follow upstream; Layers: track outline points)

Claude-Session: https://claude.ai/code/session_01JG73KFhbaNj3tyJ8tKmE3W
Our three files were word-for-word copies of the dataset's traces as they stood in May 2025;
the dataset (bacinger/f1-circuits, MIT) has re-traced all three since: Las Vegas on 2025-07-12 to
2025-08-05 (56 to 100 points, our line up to about 70 m off the new one, length 6116 to 6201),
Miami on 2025-07-29 (109 to 103 points, within 7 m) and Baku on 2025-07-24 and 2026-10-16 (86
points, within 11 m). A newer upstream trace of a circuit already drawn is a plain update: each
is taken word for word, as Madring's, and its SVG and PNG drawn again the same way.

Builds: docs/posters.md at 8834df45e6 (Sources: the traces follow upstream; Layers: track outline points)

Claude-Session: https://claude.ai/code/session_01JG73KFhbaNj3tyJ8tKmE3W
Madring's point trace reached the 2026 poster unnoticed: nothing held that a layout a race draws
has a traced line. tests/test_traces.py takes every layout the service picks for a season from
2020 to next season (find_layout_slug_for_year over circuits.json, the data the posters draw
from) and fails each whose trace is not a LineString of more than ten points. On master it fails
on spain/madrid/madring/2026- alone; here it passes for all 35.

Builds: docs/posters.md at 8834df45e6 (Layers: no current race draws a layout without a traced line)

Claude-Session: https://claude.ai/code/session_01JG73KFhbaNj3tyJ8tKmE3W
mesh-tools merged commit 072bbcc023 into master 2026-11-30 09:25:42 +00:00
mesh-tools deleted branch fix/madring-trace 2026-11-30 09:25:42 +00:00
Author
Collaborator

{
"records": [
{
"instance": "record/master_4_76c7f363",
"sequence": 199737,
"bytes": 903,
"of-bytes": 65536,
"record": {
"milestone": "master.4",
"branch": "master",
"source": 4,
"call": "19de7a5fc2176dbd",
"heads": {
"jschoubben/f1-circuits@10": "072bbcc023c8a2ed00f43a83dc87dea98a20dcef",
"jschoubben/f1-circuits@9": "7cee693a2cd5448473ea4e611b00ac6a3bc041c6"
},
"opened": "2026-11-30T09:25:42.359148625Z",
"form": 3,
"trace": {
"from": "1039",
"to": "1039"
},
"ended": {
"at": "2026-11-30T10:51:58.458320203Z",
"why": "every present node runs its entries"
},
"ends": 1,
"pipeline-ends": 1,
"movers": 1,
"merge-called": "2026-11-30T09:25:42.355Z",
"phases": {
"build": {
"end": "2026-11-30T10:49:44.877348964Z",
"start": "2026-11-30T10:49:42.325131077Z"
},
"composition": {
"end": "2026-11-30T10:49:50.873243084Z",
"start": "2026-11-30T10:49:50.635963608Z"
},
"ended": "2026-11-30T10:49:50.873243084Z",
"placed": "2026-11-30T10:49:42.325131077Z",
"taken": "2026-11-30T09:25:53.164700174Z",
"validate": {
"end": "2026-11-30T10:49:50.635963608Z",
"start": "2026-11-30T10:49:42.325131077Z"
}
}
},
"movers-per-outcome": {
"bypassed": 1,
"could not run": 1,
"nothing to run": 1,
"passed": 1,
"taken-in": 1,
"waiting": 1,
"wanted": 1
}
}
]
}

<!-- mesh-delivery:view --> { "records": [ { "instance": "record/master_4_76c7f363", "sequence": 199737, "bytes": 903, "of-bytes": 65536, "record": { "milestone": "master.4", "branch": "master", "source": 4, "call": "19de7a5fc2176dbd", "heads": { "jschoubben/f1-circuits@10": "072bbcc023c8a2ed00f43a83dc87dea98a20dcef", "jschoubben/f1-circuits@9": "7cee693a2cd5448473ea4e611b00ac6a3bc041c6" }, "opened": "2026-11-30T09:25:42.359148625Z", "form": 3, "trace": { "from": "1039", "to": "1039" }, "ended": { "at": "2026-11-30T10:51:58.458320203Z", "why": "every present node runs its entries" }, "ends": 1, "pipeline-ends": 1, "movers": 1, "merge-called": "2026-11-30T09:25:42.355Z", "phases": { "build": { "end": "2026-11-30T10:49:44.877348964Z", "start": "2026-11-30T10:49:42.325131077Z" }, "composition": { "end": "2026-11-30T10:49:50.873243084Z", "start": "2026-11-30T10:49:50.635963608Z" }, "ended": "2026-11-30T10:49:50.873243084Z", "placed": "2026-11-30T10:49:42.325131077Z", "taken": "2026-11-30T09:25:53.164700174Z", "validate": { "end": "2026-11-30T10:49:50.635963608Z", "start": "2026-11-30T10:49:42.325131077Z" } } }, "movers-per-outcome": { "bypassed": 1, "could not run": 1, "nothing to run": 1, "passed": 1, "taken-in": 1, "waiting": 1, "wanted": 1 } } ] } <!-- mesh-act:view.record/master_4_76c7f363.jschoubben/f1-circuits#10@1796035918466209273.324ffce4 -->
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jschoubben/f1-circuits#10