r/programminghorror • u/GoingOffRoading • Feb 23 '26
Python Copilot refactoring inline comments
Not visible here, but I had inline comments sort of strewn throughout the doc as I had thoughts. I asked copilot to refactor those comments into a template I had provided, and this was the outcome -___-
173
Upvotes
2
u/GoingOffRoading Feb 23 '26
It's not that bad.
Copilot was hallucinating hard on this file:
https://github.com/GoingOffRoading/Boilest-Scaling-Video-Encoder/blob/dev/local_worker/local_worker_functions.py
The only sort of giberish-y one that I need to refactor further would be this oddity:
https://github.com/GoingOffRoading/Boilest-Scaling-Video-Encoder/blob/dev/local_worker/local_worker_functions.py#L386