Commit Graph

72 Commits

Author SHA1 Message Date
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
mikkeli 80e3521f44 274: aligned lrc
115 timestamped lines, 14.54 s to 8:12, monotonic throughout.

Resolver check against 274-lookup.csv: of 97 lines carrying text, 75
match an object name exactly and 17 match a full address, leaving 5.
Four of those need aliases rather than corrections — the three power
stations appear without their operator prefix (川端発電所, 滝の上発電所,
北電日高発電所 against 北海道企業局 川端発電所, 北海道企業局 滝の上発電所,
北海道電力 日高発電所) and one is the merged モトツ橋にモトツシェルター.
The fifth, 東に続く, is closing text and not an object.

So the lyric-to-row index needs a four-entry alias table and nothing else.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-15 17:04:08 +09:00
mikkeli e45562a9d2 274: two named parking bays; roster trimmed to 132
50.52  紅葉山駐車帯  41 m off  夕張市紅葉山
57.08  楓駐車帯     39 m off  夕張市楓

Both signposted and both absent from OpenStreetMap, which carries no
parking or rest-area features anywhere on this stretch. One of them is a
bay the author had previously recorded as unnamed. Responsible body is
北海道開発局 札幌開発建設部 岩見沢道路事務所 by jurisdiction — R274 is
指定区間 全線 and every adjacent structure registers to that office — but
no document names either bay, since parking has no published register.

Author's trimming removed 38 rows: the 丁目 grid, all five bus stops,
川端駅, and some civic furniture. That leaves 132 rows with 132 distinct
object names, so the planned lyric-to-row index is unambiguous with no
special case except モトツ橋/シェルター, which already share coordinates.

274-romaji.py learns ちゅうしゃたい and ていしゃたい so parking bays split
as Momijiyama chuushatai rather than one run-on token; --check is clean.

CSV and GeoJSON re-propagated from the Markdown.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-15 14:58:21 +09:00
mikkeli ab292a5adf 274: raw lrc (pending fine tune) 2026-09-15 14:56:57 +09:00
mikkeli 841229715e 274: rename the roster to 274-lookup.md, method notes to 274-dev.md
The file called 274-dev.md was never dev notes — it was the roster. It
now sits alongside 274-lookup.csv and 274-lookup.geojson under the same
stem, since all three carry the same table.

  274-dev.md    -> 274-lookup.md   the roster, source of truth
  274-method.md -> 274-dev.md      how it was built

References updated: DOC in 274-romaji.py, the roster path in
274-transect-build.py, and the docstrings in both. 274.md now links to
the dev notes and the reference tables separately; each of the two docs
links to the other and back to the song page.

Titles follow: "274 - reference tables" and "274 - how the roster was
built".

Verified after renaming: 274-romaji.py --check reports no changes and
274-transect-build.py rebuilds 168 entries, so neither script lost its
input.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-12 20:35:44 +09:00
mikkeli 9daca9e3fb 274-transect: copy object name on click; stop clobbering text selection
Row clicks called draw(), which rebuilt the whole tbody — so any attempt
to drag-select text in the roster was wiped on mousedown. Selection was
never blocked, just destroyed. Row clicks now call select(), which swaps
the highlight class and repaints the SVG marks in place.

Object names sit in a bare button with a dotted underline and cursor:copy;
clicking copies the name and flashes "copied" beside it. Propagation is
stopped so copying and row-selecting stay independent.

Clipboard uses navigator.clipboard with a hidden-textarea fallback, since
the vendored copy opens over file:// where the async API is often absent.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-12 20:35:12 +09:00
mikkeli 4fd56a12fd 274: provenance document for the roster and transect page
Records where each number came from, which are derived rather than
measured, and which were corrected by hand against reality.

Covers the eight sources and what each does and does not give; the
kilometre datum and why it is not official KP; the two methods used to
position structures (sequence alignment on length, watercourse crossings
as anchors) and where each is unreliable; the 250 m reverse-geocode sweep
that produces the district bands.

Two sections matter most for anyone picking this up later. "Human in the
loop" lists every correction that came from signs, satellite imagery or
knowledge held by no dataset — the 十三里 plate, the ホルカクルキ Ainu
gloss, モトツ橋 as a sheltered span, the 登川 community shift, and the ten
entries found by hand that OpenStreetMap lacks entirely. "Errors found
and fixed" records the pipeline's own failure modes, including the
duplicate-name coordinate bug and the 穂高トンネル 1991 m / 1991 collision.

Named 274-method.md for now; intended to become 274-dev.md once the
current roster file is renamed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-12 18:02:15 +09:00
mikkeli ee4c177233 274: shrines, power stations, readings; romaji generator
Field sweep additions, all absent from OpenStreetMap and found by the
author on Google Maps:
  40.16  滝下八幡神社          栗山町字滝下
  43.07  滝下発電所           栗山町字滝下 (北海道企業局)
  57.44  登川神社            夕張市楓
  66.78  豊進神社            むかわ町穂別稲里
  71.86  穂別ダム神社          むかわ町穂別稲里
  79.67  福山神社            むかわ町穂別福山
  93.58  名石駐車場           占冠村字中央
 102.36  日高神社            日高町宮下町
 104.52  日高発電所           日高町字千栄 (北海道電力)
 106.22  右左府発電所          日高町字日高
Plus 滝ノ上信号場 and 楓信号場, which OSM tags railway=signal /
railway=junction with no place tag, so both fell through every filter.

Corrections: モトツ橋 moved 86.16 → 87.12. It does not cross パンケモトツ沢川;
it is the sheltered span between モトツトンネル and 福山トンネル, roofed by
モトツシェルター — the identical 62 m lengths are the same deck. Author
also fixed 下福山橋 → 77.05 and オロロップ橋 → 77.55, matching route01's order.

Readings: kana is the source of truth. Romaji regenerated from it in
wāpuro style, no macrons. Adds 274-romaji.py, which does that
deterministically and is idempotent against the current table.

Artifact now shows Romaji in the table and kana under each strip mark.
CSV and GeoJSON re-propagated. 168 entries, 118 with readings.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-12 17:54:45 +09:00
mikkeli f808154a16 274: add 穂別ダム神社; take in the hand-entered readings
穂別ダム神社 at 71.86 km, 18 m off the road and 166 m before the dam.
Absent from OpenStreetMap entirely — nothing tagged place_of_worship
within 900 m of it — so it came from the author's Google Maps sighting,
positioned from the pin and geocoded to 勇払郡むかわ町穂別稲里.

Readings: author's pass takes kana coverage from 42 to 83 of 173.
Cluster summary regenerated: 穂別 now carries five objects (キャンプ場,
ダム, ダム神社, 大橋, 川).

Page rebuilt, artifact republished, CSV and GeoJSON re-propagated.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-12 16:44:13 +09:00
mikkeli bbb96ab082 274: add the two missing signal posts; label strip by object name
滝ノ上信号場 (45.21 km) and 楓信号場 (57.76 km) were both absent. OSM tags
them railway=signal / railway=junction with no place tag, so they fell
through both the railway filter and the place layer that had caught
滝ノ下信号場 and 十三里信号場.

滝ノ上 was a passenger station until its demotion to 信号場 in 2024.

Strip marks now carry the full object name; the km line underneath shows
the extracted Name when it differs. Labelling by the stripped root alone
was ambiguous where several objects share a name.

CSV and GeoJSON re-propagated from the Markdown. 172 entries.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-11 20:33:13 +09:00
wan 7f98ae966f 274: adding toponyms into the lyrics 2026-09-11 13:53:16 +09:00
mikkeli cbee2a5f95 274: vendor the transect page into the repo
Keeps the interactive map available offline and under version control
while the song is in progress.

- 274-transect.html — self-contained; carries its data in a script block,
  fonts from Google Fonts, no other external requests. Opens by double
  clicking. Same page as the published artifact.
- 274-route.json, 274-districts.json — the route line and the 23 大字
  bands from the 250 m reverse-geocode sweep.
- 274-transect-build.py — re-reads the roster out of 274-dev.md and
  rewrites the page's data block in place, leaving markup and script
  alone. Run it after editing the table.

Everything under wip/ so the auto-wiki pipeline leaves it alone.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-11 01:06:57 +09:00
mikkeli a9d461301a 274: readings, addresses and the district transect
Roster now carries, for every entry: kana and romaji readings, the
administrative address with its reading, and the 大字 it sits in.

- Kana/Romaji columns prefilled from OSM name:ja-Hira / name:ja-Latn
  where they exist (42 of 170); the rest are blank rather than guessed,
  pending the plaque readings.
- Address and Address kana for all 170, from 国土地理院 reverse geocoding
  joined to GSI muni.js and 日本郵便 郵便番号データ. Confirms 千栄=ちさか
  and 穂別長和=ほべつおさわ.
- District transect: the route sampled every 250 m gives 23 大字 bands
  with entry and exit kilometres. R274 does not pass through 字ニニウ at
  all — it runs 穂別福山 → 字中央 → 字日高, and both municipal boundaries
  fall inside tunnels (穂高 and 日高).
- Fixes a real bug: duplicate-named features shared one set of
  coordinates, so both セイコーマート pointed at the same spot 50 km
  apart. 12 coordinate cells were wrong.
- 沙流川 added at 105.67 km, where the road joins its valley at 右左府,
  rather than at its nearest point past the range end.
- Kind labels normalised to English throughout.

CSV and GeoJSON regenerated from the Markdown, which is now the source
of truth. GeoJSON also carries the district bands as geometryless
features.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-10 23:19:24 +09:00
mikkeli 1ec8aff737 274-dev: single master table keyed on the extracted name
Replaces the three separate tables (structures / watercourses / PoI) with
one table in road order, and adds a Name column: the proper noun with
generic tails stripped (橋, 川, トンネル, 覆道, 郵便局, 発電所, 町, 丁目),
Ainu size qualifiers stripped (パンケ, ペンケ, ポン), and variants aliased
(十三哩→十三里, 滝ノ上→滝の上, 浪ノ沢→浪の沢, 能見→熊見, クルキ→久留喜,
三川 compounds folded together).

Objects are kept in full alongside, with kilometre, offset, kind, WGS84
coordinates and the register attributes.

188 entries, 119 distinct names, 15 names carried by three or more objects.

Adds machine-readable copies for later visualisation work:
274-lookup.csv and 274-lookup.geojson (route line plus one point per
entry, all properties carried through).

Name extraction is mechanical and meant to be corrected by hand.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-10 02:03:05 +09:00
mikkeli 0b8fdfe5cc 274-dev: drop デチン沢川; watercourse shortlist down to 31
Too thin to carry a line. Three exclusions now recorded with reasons
(名称不明, ベリベツ川, デチン沢川) so a later sweep does not reintroduce them.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-10 01:53:34 +09:00
mikkeli 616e4ee988 274-dev: correct watercourse count after the two exclusions
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-10 01:47:53 +09:00
mikkeli 9df3cf9791 274-dev: drop 名称不明 and ベリベツ川 from the watercourse shortlist
Author's calls: 名称不明 has no name to use, and ベリベツ川 is mostly farm
waterway now and sits west of 川端橋, outside the range.

デチン沢川 kept pending verification — 沙流川水系, 河川コード 8101070000
(the 「その他」 group), 42.87965 / 142.43823.

Notes that the list is a shortlist to pick from, not a set of things each
of which earns a line.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-10 01:47:32 +09:00
mikkeli f54cfdbc50 274-dev: complete the W05 river sweep, correct ホルカクルキ川
The previous cross-check fetched only the 「その他」 group and ten main
stems, so 549 of the 561 named rivers in the three systems were never
looked at. Named rivers each carry their own 河川コード and are served
separately. Full sweep now done.

Corrects the claim that ホルカクルキ川 has no W05 counterpart: it does,
河川コード 8101030169, and its position agrees with OSM to the metre
(58.26 km, 9 m off). The 北海道 name plate on the bank confirms the
spelling and gives the Ainu original ホロカ・クルヒ (horka・kurihi) —
'to turn back' and 'its shadow'; horka marks a stream running counter to
its parent river. route01's ホロカクルキ was a slip.

31 of 34 names now confirmed by both sources, all but one agreeing to
within 110 m. Remaining: 名称不明 and デチン沢川 (W05 only), ベリベツ川
(OSM only). サヌシュッペ川 parallels the road and is tangent at two
reaches; it was never a disagreement.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-09 23:36:46 +09:00
mikkeli f902356840 274-dev: cross-check watercourses against 国土数値情報 W05
Adds the official river dataset (国土数値情報 河川データセット, via the
Geoshape repository at 国立情報学研究所) as a second source alongside
OpenStreetMap, covering the 石狩川, 鵡川 and 沙流川 systems.

Main stems sit under their own 河川コード rather than the 「その他」 group,
so 夕張川, 鵡川, 穂別川, サヌシュッペ川 and both ウシャップ rivers had to be
fetched separately.

30 of 34 names appear in both sources; 29 of those agree on position to
within 110 m, which validates the projection method. Adds a source column
and notes the four that need care: 名称不明 and デチン沢川 (official only),
ホルカクルキ川 (no W05 counterpart at all), and サヌシュッペ川, which
parallels the road so the two datasets are tangent 5 km apart.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-09 23:24:37 +09:00
mikkeli e2f39b03f2 274: split reference material into 274-dev.md
Follows the pulse / pulse_dev split. 274.md keeps the frontmatter, the
intro and the lyrics workspace; everything below moves to 274-dev.md,
which will document how the PoI candidates were assembled and hold the
filtered charts.

Uses the new relative-Markdown-link convention rather than a siblings
macro, in both directions. Dev page carries publish: false to match
274.md while both are under wip/.

Contents moved verbatim; the dev page's own prose is still to be written.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-09 23:14:11 +09:00
mikkeli 5a03a7890e 274: rescope reference material to Kawabata-Usappu
Replace the 由仁-十勝清水 reference section with the narrowed
川端橋 - 右左府 scope.

- structures table gains a kilometre key, derived two ways: sequence
  alignment of the 北海道開発局 register against OSM way geometry by
  length, and watercourse crossings as anchors where a bridge is named
  after the stream it crosses (草木橋, ポン久留喜橋, オロロップ橋,
  モトツ橋, 福山大橋, 新川橋)
- watercourses deduplicated 176 -> 32; the inflation was single rivers
  split across many OSM ways
- PoI and watercourse tables sorted on the same datum so all three
  interleave by distance
- working language switched to English, Japanese kept for proper nouns
- gloss fixed: 川端 as 'riverside', not 'end of a river'

Distances are measured from a datum near 上野幌 and are not official
kiloposts (official KP is roughly this plus 14 km). Full-route data and
the source registers live in the KB at ~/infra/kb/inbox/surreal/.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6MpcBisZYhX45oDGRRJoz
2026-09-09 11:50:38 +09:00
wan f686d6aea1 274/ybr2: fixed lyrics workspace scaffolding 2026-09-09 11:26:24 +09:00
mikkeli 7dd02ab0a6 274/yuubari2: research 2026-09-09 08:00:04 +09:00
mikkeli fbfa5efbb5 yuubari2: renamed to 274; focusing on the roads now 2026-09-05 23:17:52 +09:00
mikkeli 8c357457c8 yuubari2: removed llm bullshit I don't need 2026-09-02 22:14:00 +09:00
mikkeli d9c3e87e08 yuubari2: reorg 2026-08-31 00:49:10 +09:00
mikkeli 865955f529 yuubari2: directions 2026-08-28 08:49:34 +09:00
mikkeli 3b94b5f87c yuubari2: more work 2026-08-27 23:31:58 +09:00
mikkeli d7e46f6cd1 yuubari2: minor prog 2026-08-24 23:41:11 +09:00
mikkeli 5b3cf43cdb yuubari2: initial 2026-08-17 13:03:33 +09:00
wan 76239bc55e pulse: move completed files from wip/ to ses/
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-09 09:43:58 +09:00
wan 4f67331e26 pulse: reorganised files. is for the main wiki page and for the secondary, dev gibberish page. 2026-06-09 09:32:16 +09:00
Mikkeli Matlock 118213f2ee pulse: pulse_cn.md: fixed newlines 2026-06-07 16:47:12 +09:00
Mikkeli Matlock 246af3f650 pulse: cn and jp translations 2026-06-07 16:44:24 +09:00
Mikkeli Matlock 1a5c3aba1e pulse: added chinese translation 2026-06-06 17:24:06 +09:00
Mikkeli Matlock 2d0aaa9dd8 pulse: minor change on creator's note 2026-06-04 17:33:32 +09:00
Mikkeli Matlock 05d5af3cb7 pulse: creator's note mostly done 2026-06-04 15:44:16 +09:00
wan b2b8abf397 pulse: creator's notes minor 2026-06-01 19:04:34 +09:00
Mikkeli Matlock 8548c8eef3 pulse: creator's note 2026-06-01 07:42:10 +09:00
Mikkeli Matlock 5ce8d717e7 pulse: removed 'plagues' due to me forgetting to sing it & started on the creator's note 2026-05-28 15:54:14 +09:00
Mikkeli Matlock a86c6bc59a pulse: atmospherical -> atmospheric 2026-05-19 05:50:26 +09:00
Mikkeli Matlock 92786dbbf0 pulse: refinements 2026-05-16 23:55:09 +09:00
wan 91b08e189a pulse: reviewing structurally complete song 2026-05-15 15:20:27 +09:00
Mikkeli Matlock 8ac49634d7 pulse: much progress, almost fixed first passthru 2026-05-14 23:26:22 +09:00
wan a9cc99c1ef pulse: song 1 locked 2026-05-12 18:34:57 +09:00
Mikkeli Matlock 90f1e5235d pulse: progress and inheritance notes 2026-05-12 10:58:28 +09:00
Mikkeli Matlock 07f985c393 pulse: making progress with the song 2026-05-12 09:43:10 +09:00
Mikkeli Matlock 637c4d8ae3 pulse: keeping up 2026-05-11 12:43:01 +09:00
wan cd8fc1ab2a pulse: verses refinement 2026-04-14 15:30:15 +09:00
wan 8b367fa780 pulse: not sure what changed but for my sins 2026-04-09 13:08:59 +09:00