Skip to content

route_revisits: grade AutoStory walks by the tiles they cross again - #107

Draft
dayfine wants to merge 1 commit into
mainfrom
tools/route-revisits
Draft

dayfine wants to merge 1 commit into
mainfrom
tools/route-revisits

Conversation

@dayfine

@dayfine dayfine commented Nov 15, 2026

Copy link
Copy Markdown
Owner

AutoStory had no way to tell from a run log when a walk went back over its own tiles; a position check's re-plan can double a route without failing it (FRLG 16.06 on console B, 2026-11-15 15:04). pokesim.cli.route_revisits reads a SerialPrograms log's [Leg] and [Route] ... plan from lines and prints per walk the legs, re-plans, tiles walked against those first planned, and the tiles walked onto again. Tested with test_route_revisits on lines cut from that run; on the whole r5 run it reports 16.06 below_center_door at 37 legs, 3 re-plans, 196 of 150 planned tiles walked and 16 tiles revisited.

Reads a SerialPrograms log's [Leg] and '[Route] ... plan from' lines and
prints, per walk, the legs, the re-plans, the tiles walked against those
first planned, and the tiles walked onto again.
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