Last week I was talking to students about a workflow for moving code from a notebook to a structured project with
scripts/ , … using an example resonance-pole analysis.
Just in case someone is interested, here is a link to the repository
Feel free to drop your thoughts and experience with a similar problem. I did not talk about tests (tbh, I do not write them for small projects until some code branches out to a package).