Navigation · Navigation Foundations · M1-L3 · Beginner
Score a Navigation Run
09:40. The weekly report says Scout's success rate is 100%. The ward manager says it scraped a pillar on Tuesday, a nurse says it lurches when it stops, and the planner team says its routes are "basically optimal". All four statements can be true at once, because success measures none of those things.
You will write the three scoring functions that tell them apart: path efficiency, clearance and comfort. Then you decide which of two successful runs you would trust in a ward.
Your task
Lab complete: post-mortem
You have passed every stage. Now connect it back to the theory and move on:
Output
What Python can I use?
Plain Python with math and heapq. Your code runs in a background worker: an endless loop is stopped after a few seconds and the page stays usable. It runs in your browser and is never sent anywhere.