PYTHON · NUMPY
The Improvement Loop: Measure → Tune → Re-Sim
latch-arm-v1: a single-DOF revolute hinge driven by a torsion-spring + position actuator, modelled parametrically in numpy (in the full Bench this is CadQuery geometry + MuJoCo-WASM dynamics). Deterministic seed 0xD2C1, 3.0s rollout. Tune ONE knob, actuator_kv (damping), and Re-Sim until all five spec checks PASS. Cranking actuator_kp makes overshoot worse; the data points at kv.
You read
the arrays and values already in scope
You change
the code you write in each cell
Fixed
the dataset and the checks that grade you