Tutorials that check your work.
Miyagi turns any tutorial into a graded lab that runs beside your code. The video waits at each step until your own code, terminal or training run passes that step's check.
Step 4: loss stuck at 0.31
Passed, video resumes
How it works
- AskSay what you want to learn.
- FindMiyagi picks a strong tutorial and splits it into steps.
- BuildYou follow along in your own editor and terminal. Each step has a real check.
- PassOff track? A coach card shows what went wrong and where to look. Pass, and the video moves on.
file_contains
command_exit_ok
metric_threshold
file_exists
The demo
Train a physics-informed neural network on the convection equation.
- 1At β = 30 the loss flattens, and the step turns red.
- 2Miyagi names the known failure mode (Krishnapriyan et al., NeurIPS 2021).
- 3You add a curriculum on β. The loss drops.
- 4The step turns green and the video picks up where it left off.