Commit Graph

6 Commits

Author SHA1 Message Date
mikkeli 7af0f48afe 274: drop 紅葉山橋, fix オロロップ橋 and 下福山橋, re-timed lyric
紅葉山橋 is not on R274. The full Reiwa 8 bridge register lists it once, on
国道452号 (100.1 m, PC, 1989), just up R452 from the 紅葉山交差点. It had come
in through the OSM corridor sweep, which selected by distance rather than by
road — hence the only `bridge (structure)` kind in the roster and its 533 m
offset. An audit of all 53 roster structures against every route in the three
registers found no other stray.

オロロップ橋 moves to 78.31 km from the author's Google pin, on the 221 m OSM
bridge way that matches the register's 205.9 m. 下福山橋 moves to 78.03, the
104 m way. Both had been displaced by using the オロロップ沢川 stream crossing at
77.05 as an anchor; the stream and the bridge are 1.2 km apart. The sung order
ペンケ → 下福山 → オロロップ → 福山 was already right.

Lyric re-timed by the author with 紅葉山橋 removed; 274.md and 274.lrc match.
Lyric index regenerated: 97 lines, 98 rows, zero backward km steps.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17 09:44:33 +09:00
mikkeli e271da634e 274: lyric index for the visualiser
Adds 274-lyrics-index.py and its output 274-lyrics-index.csv: every sung
line resolved to its roster entry, with coordinates and timing.

98 lyric lines -> 99 rows. Columns are start/stop as mm:ss.xx and as
seconds, the line as sung, the roster's full name for it, kind, km,
lat/lon, and km_from/km_to for district headers. stop is the next
timestamp in the file, spacer lines included, so every line has one.

Four aliases cover the gap between sung and registered names: the three
power stations are sung without their operator prefix, and
モトツ橋にモトツシェルター names two facilities, so it emits two rows sharing
one timing and one coordinate. 東に続く is typed as closing, no object.

District headers resolve from the run of objects they introduce, not from
274-districts.json. Those bands are sampled along the road and so cannot
describe a district the road does not enter: 宮下町 has no band at all,
本町東 exists only as 本町東一丁目, and 千栄's band sits at 107.25-107.75
while the station it introduces is at km 104.52, 666 m off the
carriageway inside 千栄.

Object names in the roster are unique, so no other disambiguation is
needed. The script exits non-zero and names any line it cannot resolve.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 18:28:37 +09:00
mikkeli c7e24949cc 274: put the lyric back into road order
Two places where the sung order did not follow the carriageway.

楓駐車帯 moves up one line, between 千紫橋 and 万紅橋. It sits at km 57.08,
between their 56.60 and 57.25 — it was sung after 万紅橋.

穂別長和 splits into two headers around the 稲里 block. The road runs
長和 → 稲里 → 長和, but the two 長和 stretches had been welded into one
block sung first, so the 稲里 block then started 10.84 km behind where the
previous line left off. Now:

  長和  62.36 - 62.94   オマナイ橋, 桂木橋
  稲里  64.44 - 71.86   大和橋 … 穂別ダム神社
  長和  72.02 - 75.28   長和トンネル … 稲里トンネル

This is the same repeated-header pattern the song already uses for
由仁町川端 / 栗山町滝下 at the opening, where the road crosses back over
the 夕張川.

Applied to both 274.md and 274.lrc; the two are now identical, 98 lines
each. Lyric order is monotonic by kilometre end to end.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 18:28:37 +09:00
mikkeli 494902df1c 274: lrc time fix Ponkurki brdg 2026-09-15 19:16:35 +09:00
mikkeli 076efb829e 274: lrc time fix 2026-09-15 18:18:43 +09:00
mikkeli 3a8d49641a 274: move the song and its working files into wip/274/
Eleven files were cluttering wip/ alongside an unrelated draft. They now
sit together in their own directory.

Checked against the pipeline in novoyuuparosk-auto-wiki before moving:

- discovery is source_dir.rglob("*.md"), so nested directories are found
- the skip test is `"wip" in rel.parts`, which still excludes wip/274/
  while the song is in progress
- relative links resolve as (path.parent / rel_path), i.e. against the
  file's own directory, so the three docs keep linking to each other
- the lrc field resolves as abs_path.parent / lrc_rel, so 274.lrc must
  and does sit beside 274.md

Both scripts locate their inputs from __file__, so they needed no change;
verified after the move that --check is clean and the page rebuilds all
132 entries.

Non-Markdown files are never read by the pipeline at all.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-15 17:10:06 +09:00