The holy grail of precedent automation