This is my experience as well, AI can be very very helpful to start things or small projects.
and continues to be helpful even in more complicated projects, as long as the scope of AI help is controlled and minimum (business reasons/logic behind existing code is more difficult to prompt to it).
of courese there is the maintaining issue, i think i saw one, it's okey but little quirky
"if dial_device and device == dial_device:" # then do something..
if dial_device itself is boolean, then -> "if dialdevice and device:" # should do the same thing..
if dial_device is not boolean, then dial_device doesn't need to be there, so -> "if device == dial_device:" # should do the same thing..
actually i stand corrected, it say's be truthy and equal at the same, so it's good... Impressive again, AI.