Notebooks
- Use
jupytextto sync notebooks with a script (for version control)- To pair files:
jupytext --set-formats ipynb,py:percent notebook.ipynb(# %%cell marker format) jupytext --sync notebook.ipynbto sync after
- To pair files:
- After making changes:
- Execute any code cells or examples using bash (
jupyter nbconvert --execute --inplacefor notebooks) - Read the output and verify it matches what the documentation claims
- If outputs show old class names, stale data, or errors, fix the source and re-execute
- Only report complete when all executable documentation runs clean. Iterate autonomously until everything validates.
- Execute any code cells or examples using bash (