This study demonstrates the potential of large language models (LLMs) to analyze environmental court rulings from India. Using a novel dataset of 12,615 environmental court orders spanning five decades, we evaluate the performance of two LLMs - GPT-4o API and Claude 3 Sonnet - in coding and interpreting judicial decisions. The LLMs are tasked with identifying pro-environmental rulings and extracting key case attributes, with their performance benchmarked against human coders who analyzed 1,910 rulings. Both models achieve approximately 70% accuracy compared to human coding, with the GPT-4o API showing slightly better performance in various sub-samples. These findings suggest promising applications for AI to improve access to and analysis of legal data, particularly in jurisdictions where administrative records lack standardization.
| Repository name | URI |
|---|---|
| Reproducible Research Repository (World Bank) | https://reproducibility.worldbank.org |
Paper exhibits were reproduced on a computer with the following specifications:
• OS: Windows 11 Enterprise
• Processor: INTEL(R) XEON(R) PLATINUM 8562Y+ 2.80 GHz (2 processors)
• Memory available: 32.0 GB
Run time: ~ 2 minutes
To reproduce the findings in this paper, a replicator must:
data/input/. See the Datasets section for more details. The checksums in data/input/SHA256SUMS.txt can be used to confirm the files are unchanged.00_main.do, and run it.Note: The package also includes the scripts the authors used to scrape the court rulings from Indian Kanoon and to generate the LLM classifications. They are in code/0_documentation_not_run/ and are documentation only, not meant to be re-run. Re-running them would not reproduce the input data exactly: the LLM outputs are not deterministic, the model versions used are retired, and Indian Kanoon content can change. The analysis is reproduced from the constructed input datasets.
While the data is embargoed, the package includes the results produced by the reviewers. These files can be used to review the results presented in the paper.
The reproducibility package relies on 1 type of data: embargoed (expected to be made public via World Bank Microdata Library). For the source, access type, file location, and citation of each dataset, refer to the Datasets section and the README file.
| Author | Affiliation | |
|---|---|---|
| Patrick Behrer | World Bank Group | abehrer@worldbank.org |
| Shareen Joshi | Georgetown University | Shareen.Joshi@georgetown.edu |
| Olexiy Kyrychenko | Radboud University | olexiy.kyrychenko@ru.nl |
| Viknesh Nagarathinam | Georgetown University | viknesh.n91@gmail.com |
| Peter Neis | Universitie Clermont Auvergne | peter.neis@uca.fr |
| Shashank Singh | The University of Chicago | shashanksinghss09@gmail.com |
2026-11-09
| Location | Code |
|---|---|
| India | IND |
The materials in the reproducibility packages are distributed as they were prepared by the staff of the International Bank for Reconstruction and Development/The World Bank. The findings, interpretations, and conclusions expressed in this event do not necessarily reflect the views of the World Bank, the Executive Directors of the World Bank, or the governments they represent. The World Bank does not guarantee the accuracy of the materials included in the reproducibility package.
| Name | URI |
|---|---|
| MIT License | https://opensource.org/license/mit |
| World Bank IGO Rider | https://github.com/worldbank/metadata-editor/blob/main/WB-IGO-RIDER.md |
| Name | Affiliation | |
|---|---|---|
| Patrick Behrer | World Bank Group | abehrer@worldbank.org |
| Reproducibility World Bank Group | World Bank Group | reproducibility@worldbank.org |
| Name | Abbreviation | Affiliation | Role |
|---|---|---|---|
| Reproducibility WBG | DECDI | World Bank - Development Impact Department | Verification and preparation of metadata |
2026-11-09
1