Theme
Tier 4 · project · about 1½ hours

Project: Bug hunt

Six faults, planted one at a time. For each, predict the cheapest layer that will catch it, then plant it, run the layers in order, and record which one actually caught it and how long that took. Revert before the next.

Then do the part that matters most: find a fault that nothing catches, and write the test that would.

Tasks

  1. Boundary. Add <exec_depend>ros_gz_sim</exec_depend> to src/threevn_bringup/package.xml.

  2. Version drift. Change VERSION without touching any package.

  3. A pose at the edge. In config/so101_follower.yaml, change the third value of the ready pose, elbow_flex, from 0.8 to 1.68: inside its 1.69 rad limit, by half a degree. A pose that close to a limit is one a real arm may never arrive at; find out what notices.

  4. Impossible motor. In the same file, raise limit_derate.effort from 0.68 to 1.2, so the derived effort limit exceeds what the servo can deliver.

  5. Unenforced limits. Set enforce_command_limits: false in src/threevn_bringup/config/so101_controllers.yaml.

  6. Silent matcher. Replace the pattern in FORBIDDEN in test_package_dependencies.py with r'(?!)'.

  7. For each, run make test first, then make test-ros only if needed, then make test-sim only if needed. Revert with git checkout after each.

  8. Now find a seventh fault that passes every layer. Write the test that catches it, and show it failing on the fault and passing without it.

Done when

  • A table with six rows — fault, predicted layer, actual layer, time to red — every cell filled in.
  • At least one prediction was wrong, and you can say why.
  • A seventh fault, uncaught before, now caught by a test you wrote.
  • git status is clean apart from your new test.
Where to look for an uncaught fault

Look for documented promises with no test behind them — a sentence in docs/ that says something "must" or "never" happens. Then look for the test. Sometimes it is not there.

Going deeper