In a nutshell yes, programming is surprisingly predictable. To prove this, during a hackaton we built Codeball — a code review AI which approves safe Pull Requests that a human would have approved.
You can play with it at codeball.ai where you can test any repo.