About this use case
The author asked Copilot Agent Mode for moderate changes and basic features in a large ipynb; it got halfway, stopped mid-line, and broke the notebook.
What they did
A commenter described using Copilot Agent Mode in PyCharm on a fairly large Jupyter notebook, about 3,000 lines, to make moderate edits and add basic features. The agent would start rewriting the notebook, get partway through, then stop mid-line and corrupt more than half the file; the person reverted the changes and tried several models before giving up.
Prompt
I have a large notebook, [file name], and want these changes: [moderate change 1], [moderate change 2], and a basic feature to [feature]. Work one cell or section at a time, validate that the notebook is still valid JSON and runs after each edit, and never stop partway through a cell. When done, list what changed per section, and ask me before making any big restructuring edits.
Reported outcome
It failed repeatedly on the same notebook, breaking the file badly enough that the author reverted each time and stopped using Agent Mode for that job. They switched to Gemini in chat mode instead, saying it worked better for AI coding.
Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.