Skip to content

Commit 8dd4a52

Browse files
code418claude
andcommitted
feat(scripts): add internal route-planner CLI for high-score walks
Picks a near-optimal walking route from a start to an end point within a time budget, maximising the postbox points along the way. Uses straight- line distances + configurable speed, beam-search orienteering, and reads from live Firestore or a local JSON export. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 92b8d82 commit 8dd4a52

2 files changed

Lines changed: 467 additions & 1 deletion

File tree

‎functions/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"start": "npm run shell",
1111
"deploy": "firebase deploy --only functions",
1212
"logs": "firebase functions:log",
13-
"test": "npm run build && nyc mocha lib/test/test.index.js --reporter spec"
13+
"test": "npm run build && nyc mocha lib/test/test.index.js --reporter spec",
14+
"plan-route": "npm run build && node lib/scripts/plan_route.js"
1415
},
1516
"engines": {
1617
"node": "22"

0 commit comments

Comments
 (0)