All these troubles make ChatGPT practically useless in code writing even as a co-pilot right now. But they don't seem as something too difficult to fix, so I believe that already in a year the situation may change.