Robot Learning · Sim-to-Real Transfer and Robustness · M10-L2 · Intermediate
Stress-Test a Policy
Experiment log · Scout at Meridian General Hospital
Experiment log, Meridian General Hospital, facilities office. Two Scout controllers are candidates for the night shift: policy A, tuned in the nominal simulator, takes the short path round the pillar; policy B, trained on randomised worlds, takes a wider and slower one. Both reach the goal every time in the nominal simulator. The ward manager asks a fair question: what would make each of them fail?
The simulator can answer it by changing one thing at a time (actuator lag, actuator gain, floor drag, sensor noise, process noise) over six increasingly severe levels and counting successes. The counts arrive in batches of different sizes. You turn them into a robustness curve with honest intervals, read off the largest change each policy survives, and name the factor that breaks it first. This is a toy study on the simulated Scout: no real robot data is used.
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.