Especially in the US, predicting who will commit a crime is not the same as predicting who will be arrested. And here all the AI has is arrest data.
Here, one could adjust assuming a fair justice system would have produced equal arrest rates for Black vs white defendants.
Here, it's important to understand the difference, especially in the US, between the rates at which people commit crimes vs the rates at which they're arrested.
Making it predict the fair behavior we want, vs the biased behavior we have, requires careful work.