There are no “bugs” in human institutions like law. There are always going to be edge cases and nuances that require a human to evaluate.