{"type":"script","doc_desc":{"producers":[{"name":"Reproducibility WBG","abbr":"DECDI","affiliation":"World Bank - Development Impact Department","role":"Verification and preparation of metadata"}],"prod_date":"2026-11-09","version":"1"},"project_desc":{"authoring_entity":[{"name":"Patrick Behrer","affiliation":"World Bank Group","email":"abehrer@worldbank.org"},{"name":"Shareen Joshi","affiliation":"Georgetown University","email":"Shareen.Joshi@georgetown.edu"},{"name":"Olexiy Kyrychenko","affiliation":"Radboud University","email":"olexiy.kyrychenko@ru.nl"},{"name":"Viknesh Nagarathinam","affiliation":"Georgetown University","email":"viknesh.n91@gmail.com"},{"name":"Peter Neis","affiliation":"Universitie Clermont Auvergne","email":"peter.neis@uca.fr"},{"name":"Shashank Singh","affiliation":"The University of Chicago","email":"shashanksinghss09@gmail.com"}],"title_statement":{"title":"Reproducibility package for Decoding Green Justice: An AI-Assisted Exploration of Indian Environmental Court Rulings over Five Decades","idno":"RR_IND_2026_771"},"data_statement":"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.","software":[{"name":"Stata","version":"19.5 MP"}],"scripts":[{"title":"Reproducibility package for Decoding Green Justice: An AI-Assisted Exploration of Indian Environmental Court Rulings over Five Decades","date":"2026-11","notes":"Computational reproducibility verified by Development Impact (DECDI) Analytics team, World Bank.","instructions":"See README in reproducibility package.","file_name":"RR_IND_2026_771","zip_package":"RR_IND_2026_771.zip","dependencies":"R dependencies are listed in the file renv.lock. Stata dependencies are listed in the ado folder."}],"repository_uri":[{"name":"Reproducible Research Repository (World Bank)","uri":"https:\/\/reproducibility.worldbank.org"}],"production_date":"2026-11-09","abstract":"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.","geographic_units":[{"name":"India","code":"IND"}],"keywords":[{"name":"Environmental Law"},{"name":"Large Language Models"},{"name":"Argument Mining"},{"name":"India"}],"topics":[{"id":"K32","uri":"https:\/\/www.aeaweb.org\/econlit\/jelCodes.php?view=jel","vocabulary":"Journal of Economic Literature (JEL)","name":"Energy, Environmental, Health, and Safety Law","parent_id":"K3"},{"id":" K41","uri":"https:\/\/www.aeaweb.org\/econlit\/jelCodes.php?view=jel","vocabulary":"Journal of Economic Literature (JEL)","name":"Litigation Process","parent_id":"K4"},{"id":" C45","uri":"https:\/\/www.aeaweb.org\/econlit\/jelCodes.php?view=jel","vocabulary":"Journal of Economic Literature (JEL)","name":"Neural Networks and Related Topics","parent_id":"C4"},{"id":" Q58","uri":"https:\/\/www.aeaweb.org\/econlit\/jelCodes.php?view=jel","vocabulary":"Journal of Economic Literature (JEL)","name":"Government Policy","parent_id":"Q5"}],"output":[{"type":"Working Paper","description":"Policy Research Working Paper (PRWP)","title":"Decoding Green Justice: An AI-Assisted Exploration of Indian Environmental Court Rulings over Five Decades"}],"language":[{"name":"English","code":"EN"}],"technology_requirements":"Run time: ~ 2 minutes","disclaimer":"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.","license":[{"name":"MIT License","uri":"https:\/\/opensource.org\/license\/mit"},{"name":"World Bank IGO Rider","uri":"https:\/\/github.com\/worldbank\/metadata-editor\/blob\/main\/WB-IGO-RIDER.md"}],"contacts":[{"name":"Patrick Behrer","affiliation":"World Bank Group","email":"abehrer@worldbank.org"},{"name":"Reproducibility World Bank Group","affiliation":"World Bank Group","email":"reproducibility@worldbank.org"}],"datasets":[{"name":"Decoding Green Justice: replication input data","note":"Nine input files prepared by the authors. They are the starting point of the reproduction and will be deposited as one entry in the World Bank Microdata Library. File location: data\/input\/ (not included in the package; SHA-256 checksums in data\/input\/SHA256SUMS.txt). The files hold no ruling text, only metadata, citations, human codes and model responses, keyed on the Indian Kanoon document number (kanoon_id). They contain party and judge names as they appear in public rulings; coder identifiers were removed.\n\nOriginal sources: ruling metadata scraped from Indian Kanoon (https:\/\/indiankanoon.org) by August 2024, in files (3) compact_merged_df_with_meta.csv, (7) NGT_word_count_and_citations.csv, (8) courts_kanoon_ids.csv and (9) All_cases_with_pulled_citations.csv; and human coding of 1,910 rulings by 14 law students of the National Law School of India University in 2021, in file (4) Air Pollution Cases_updated 17.10.21.xlsx.\n\nGenerated by the authors with LLMs from the rulings in 2024: GPT-4o (gpt-4o-2024-05-13, OpenAI API) outputs in files (1) gptoutput_flat_27jun_notext.csv and (5) gpt4_human_data_green_verdict_v1.csv; and Claude 3 Sonnet (claude-3-sonnet-20240229, Anthropic API) outputs in files (2) claude_air_pollution_output_flat_sep16.csv and (6) Claude_human_prompt.csv. Both models were called at temperature 0.5 with no fixed seed, and both versions are now retired, so these outputs cannot be regenerated exactly.\n\nThe scraping and API scripts are in code\/0_documentation_not_run\/ and were not re-run. The LLM use is documented in ai_documentation\/ai_log.md. The files are embargoed until the companion paper is published, then openly available.","access_type":"Data is currently embargoed but expected to be made public in World Bank Microdata Library.","citation":"Behrer, A. P., S. Joshi, O. Kyrychenko, V. Nagarathinam, P. Neis, and S. Singh. 2026. \"Decoding Green Justice: replication input data\" [dataset]. World Bank Microdata Library. Forthcoming."}],"technology_environment":"Paper exhibits were reproduced on a computer with the following specifications:\n\u2022 OS: Windows 11 Enterprise\n\u2022 Processor: INTEL(R) XEON(R) PLATINUM 8562Y+ 2.80 GHz (2 processors)\n\u2022 Memory available: 32.0 GB","reproduction_instructions":"To reproduce the findings in this paper, a replicator must:\n\n1. **Secure access to data:** obtain the nine input datasets from the World Bank Microdata Library once the embargo ends, and place them in `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.\n2. **Run the package:** update the working directory in line 22 of the script `00_main.do`, and run it.\n\n**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.\n\nWhile 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."},"datacite":{"creators":[{"givenName":"Patrick","familyName":"Behrer","nameType":"Personal","affiliation":[{"name":"World Bank Group","affiliationIdentifier":"https:\/\/ror.org\/02md09461","affiliationIdentifierScheme":"ROR","schemeUri":"https:\/\/ror.org"}]},{"givenName":"Shareen","familyName":"Joshi","nameType":"Personal","affiliation":[{"name":"Georgetown University","affiliationIdentifier":"https:\/\/ror.org\/05vzafd60","affiliationIdentifierScheme":"ROR","schemeUri":"https:\/\/ror.org"}]},{"givenName":"Olexiy","familyName":"Kyrychenko","nameType":"Personal","affiliation":[{"name":"Radboud University","affiliationIdentifier":"https:\/\/ror.org\/016xsfp80","affiliationIdentifierScheme":"ROR","schemeUri":"https:\/\/ror.org"}]},{"givenName":"Viknesh","familyName":"Nagarathinam","nameType":"Personal","affiliation":[{"name":"Georgetown University","affiliationIdentifier":"https:\/\/ror.org\/05vzafd60","affiliationIdentifierScheme":"ROR","schemeUri":"https:\/\/ror.org"}]},{"givenName":"Peter","familyName":"Neis","nameType":"Personal","affiliation":[{"name":"Universitie Clermont Auvergne","affiliationIdentifier":"https:\/\/ror.org\/01a8ajp46","affiliationIdentifierScheme":"ROR","schemeUri":"https:\/\/ror.org"}]},{"givenName":"Shashank","familyName":"Singh","nameType":"Personal","affiliation":[{"name":"The University of Chicago","affiliationIdentifier":"https:\/\/ror.org\/024mw5h28","affiliationIdentifierScheme":"ROR","schemeUri":"https:\/\/ror.org"}]}],"titles":[{"lang":"en","title":"Reproducibility package for Decoding Green Justice: An AI-Assisted Exploration of Indian Environmental Court Rulings over Five Decades"},{"title":"RR_IND_2026_771","titleType":"Other"}],"publisher":"World Bank","publicationYear":"2026","types":{"resourceType":"Reproducibility package","resourceTypeGeneral":"Other"},"url":"https:\/\/reproducibility.worldbank.org\/index.php\/catalog\/study\/RR_IND_2026_771","language":"en"},"tags":[{"tag":"DOI"},{"tag":"Open Code"},{"tag":"Restricted Data"}],"schematype":"script"}