LegalScore: Development of a Benchmark for Evaluating AI Models in Legal Career Exams in Brazil

Roberto Caparroz, Marcelo Roitman, Beatriz G. Chow, Caroline Giusti, Larissa Torhacs +6 more
1/17/2025
cs.CYcs.AI

No confident code implementation found for this paper.

Abstract

This research introduces LegalScore, a specialized index for assessing how generative artificial intelligence models perform in a selected range of career exams that require a legal background in Brazil. The index evaluates fourteen different types of artificial intelligence models' performance, from proprietary to open-source models, in answering objective questions applied to these exams. The research uncovers the response of the models when applying English-trained large language models to Brazilian legal contexts, leading us to reflect on the importance and the need for Brazil-specific training data in generative artificial intelligence models. Performance analysis shows that while proprietary and most known models achieved better results overall, local and smaller models indicated promising performances due to their Brazilian context alignment in training. By establishing an evaluation framework with metrics including accuracy, confidence intervals, and normalized scoring, LegalScore enables systematic assessment of artificial intelligence performance in legal examinations in Brazil. While the study demonstrates artificial intelligence's potential value for exam preparation and question development, it concludes that significant improvements are needed before AI can match human performance in advanced legal assessments. The benchmark creates a foundation for continued research, highlighting the importance of local adaptation in artificial intelligence development.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{caparroz2025legalscore,
  title  = {LegalScore: Development of a Benchmark for Evaluating AI Models in Legal Career Exams in Brazil},
  author = {Roberto Caparroz and Marcelo Roitman and Beatriz G. Chow and Caroline Giusti and Larissa Torhacs and Pedro A. Sola and João H. M. Diogo and Luiza Balby and Carolina D. L. Vasconcelos and Leonardo R. Caparroz and Albano P. Franco},
  year   = {2025},
  eprint = {2502.08652},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.08652v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.08652.svg)](https://codeofpaper.com/paper/2502.08652)

Discussion