Skip to content

devtools/maps: read one-line route plans - #321

Draft
dayfine wants to merge 7 commits into
mainfrom
devtools/route-log-one-line-plan
Draft

dayfine wants to merge 7 commits into
mainfrom
devtools/route-log-one-line-plan

Conversation

@dayfine

@dayfine dayfine commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Base: main; independent, the diff shows only this change.

#114 now logs a route plan on one line (<label>: plan from <tiles>: <leg> to <tiles>; <leg> to <tiles>) instead of one line per leg. route_log.parse() expected the start tiles to end the line, so it would miss every plan that has legs. It now stops the start tiles at the first ": ", which reads both the new and the old form. Tested with python3 -m unittest devtools.maps.tests.test_overlay, including a new one-line plan case.

🤖 Generated with Claude Code

https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss

dayfine and others added 7 commits November 9, 2026 21:42
The route log now writes a plan on one line, "plan from <tiles>: <leg>;
<leg>", where the start tiles used to end the line. route_log.parse()
stops the start tiles at the first ": " and still reads the older form.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant