I found this paper[1] to be a particularly good source of information on the legal landscape of using algorithms in the judicial system.
[1] Barocas, Solon, and Andrew D. Selbst. "Big data's disparate impact." (2016). APA https://www.accmeetings.com/AM16/faculty/files/Article_461_D...