Artificial intelligence is coming for both judges and defendants