Itll get there very soon. Copilot can already write tests. And theyre actively working on refactoring / suggestions. And chatgpt can spot bugs in code. Also consider that a decently written bug will point out whats wrong, and what