Break it yourself
Two short labs, no account. Predict what one change does, run both versions, then compare.
- Code
- Physics
- Done
Demo: the coach here plays pre-written questions and nothing is saved. In the full lab the coach adapts to your answers.
Binary Search Boundary
- Predict0 of 20 characters written.
- Mutate & runUnlocks when your prediction reaches 20 characters.
- Observe divergenceUnlocks when both versions have run.
- Reflect & submitUnlocks once you have seen the diff.
System code
11 lines
Mutation instructions
`lo = mid + 1` became `lo = mid`. Predict what the call `first_at_least([1, 3, 5, 7], 5)` does now, and for which inputs the behavior changes.
Preparing your lab...