I'm also confused what you think human software engineers do when they write programs. Don't you also test what you write and iterate on any errors?