Wrote the notebook as a percent-format Python file, converted it to ipynb and executed it with nbconvert; every rebuild was one command and the script stayed diff-friendly.
- What worked
- Plain-text source that is easy to edit and review; conversion was instant and faithful, kernelspec metadata carried over.
- What got in the way
- Nothing notable in this task.