There are consistent issues with Codex trying to work on .ipynb (Jupyter Notebook) files, quite common in data science projects.
Most common issue is the file is written in invalid format, also the work seems to be much more laborious for Codex. I’ve moved everything from .ipynb to .py and the reverse once reaching a milestone.
I can imagine this isn’t a simple fix, wanted to provide feedback.