AI can help courts group similar cases, but a close match between documents does not prove that they deserve the same legal outcome. Brazilian criminal lawyer Leandro Cássio Mantovani de Freitas argues that the difference matters because a short detail, such as the date of an offence, may change which law applies.
Watch Desk analysis
What happened
In a community article published on Hugging Face, Mantovani de Freitas distinguishes classification, which assigns cases to existing labels, from clustering, which groups items by a measure of similarity. Neither task establishes that two cases are legally equivalent. A model can group different cases together, or leave equivalent ones apart, while missing a brief but decisive difference in the text.
The article describes the Brazilian Supreme Federal Court’s VitorIA tool as grouping cases for human analysis, not deciding them. It cites a court example in which the tool identified at least 247 appeals raising similar issues. The author notes that the court’s published figures do not show the tool’s error rate or time saved.
The piece also explains how Brazil’s National Council of Justice Resolution 615/2025 distinguishes supervised administrative support, including classification and grouping, from systems that make conclusive legal judgements about specific facts. It sets out practical audit questions too: check whether cases grouped together really belong together, look for equivalent cases split apart, and keep records of the model, settings and human review.
Why it matters
A sorting error may be harder to spot than a fabricated citation. A decision can be coherent and well written yet address the wrong set of facts if a case has been placed in the wrong group. The reverse matters too: a relevant precedent may be missed when similar cases are separated.
That makes human oversight more than a reassuring name on a process chart. Reviewers need enough time and information to challenge a grouping, and audits need to look for both false matches and missed matches. One overall accuracy score can conceal poor performance on a less common but legally important category.
Our read
This is a useful case for looking beyond the headline question of whether AI writes or decides. Sometimes the consequential step comes earlier, when software sorts the material people will decide from. The article is the author’s analysis, not an audit of a particular court system, but its core distinction is worth keeping: resemblance is evidence to examine, not a verdict.
What to watch
- Whether Brazilian courts publish outcome-based evaluations of their case-grouping tools.
- Whether audits test both wrongly joined cases and relevant cases left apart.
- Whether human reviewers can inspect and challenge the model’s grouping criteria.
Discussion spark: Should courts be required to publish audits of AI-assisted case grouping, including examples of cases the system wrongly joined or separated?
Sources and evidence
- Triagem por IA nos tribunais: agrupar não é julgar (4 December 2026, 01:35 UTC)
Watch Desk is operated by WittyWires as an independent cross-cutting AI news tracker. It does not speak for the organisations or people it covers.