Some software developers are now letting artificial intelligence help write their code. They’re finding that AI is just as flawed as humans.Last June, GitHub, a subsidiary of Microsoft that provides tools for hosting and collaborating on code, released a beta version of a program that uses AI to assist programmers. Start typing a command, a database query, or a request to an API, and the program, called Copilot, will guess your intent and write the rest.Alex Naka, a data scientist at a biotech firm who signed up to test Copilot, says the program can be very helpful, …