Thanks, I misunderstood.
> I think these could both be solved with a larger context, where you could include a style guide.
Hm, I'm not so sure. If you tell ChatGPT that good code has something wrong with it, it will overcorrect by modifying the working code, usually making it worse or even breaking it!
IMO, this is where you need a human in the loop, to recognize the deficiency and tell ChatGPT what to correct. Maybe in GPT-6 that won't be necessary and human programmers will be obsolete, but not today.