As you can imagine, algorithmic decisions are incredibly difficult in any common law system. And while they might be viable in a civil law system, you would lose out on the ability of a judge to give consideration to the specific circumstances of each case.
In practise both systems end up unwieldy in an attempt to be fair. Common law systems because of the overwhelming amount of precedent to consider, civil law systems because the laws become incredibly long and complex, with complex interactions between laws