Reproducible Research Repository
Reproducible Research Repository
  • Home
  • Repository
  • Collections
  • About
    Home / Repository / PRWP / RR_PER_2026_700
PRWP

Reproducibility package for Scaling Up Classroom Observation With Large Language Models: A Reliability Study Of The World Bank's Teach Framework In Peru

2026
Get Reproducibility Package
Reference ID
RR_PER_2026_700
DOI
https://doi.org/10.60572/mjc8-rk86
Author(s)
Carolina Lopez, Ezequiel Molina, Matthew D. Krasnow, Jostin Kitmang, Carolina Moreira Vasquez, William J. Krasnow
Collections
World Bank Policy Research Working Papers
Metadata
JSON
Created on
Aug 17, 2026
Last modified
Aug 17, 2026
Page views
8
Downloads
1
  • Project Description
  • Downloads
  • Overview
  • Reproducibility Package
  • Description
  • Scope and coverage
  • Disclaimer
  • Access and rights
  • Contacts
  • Information on metadata
  • Citation
  • Overview

    Abstract

    Classroom observation is widely used to measure teaching practices but is costly at scale, limiting its use as a formative tool for teacher improvement in low- and middle-income countries (LMICs). We test whether a large language model (LLM) can agree with a certified human observer as closely as the World Bank's Teach reliability protocol requires of trained raters. Across 199 Peruvian primary-classroom transcripts, we evaluate eight LLM configurations (Gemini 2.0 and 2.5 Flash) varying rubric quality, prompt format, and reasoning depth, and apply the Teach certification rule to the LLM-observer agreement via Monte Carlo simulation. Our best configuration meets the within-one-point certification criterion against the certified observer in 92.9% of simulated exams (95% CI [91.3, 94.5]), with element-level agreement of 81-99% across Teach elements—in the range trained human raters reach, though our gold standard is a single certified field observer rather than the program's master coders. A regression that isolates each design lever shows that rubric content and distributional priors are the two dominant drivers of agreement, while chain-of-thought reasoning and snapshot tagging are not; a minimal-rubric baseline almost never clears the criterion. A reliable LLM scorer can help ministries deliver formative feedback within teacher-support programs more frequently and at lower marginal cost.

    Reproducibility Package

    Scripts
    Readme Get Reproducibility Package
    Link: https://reproducibility.worldbank.org/catalog/630/download/1872/README.pdf
    Reproducibility package for Scaling Up Classroom Observation With Large Language Models: A Reliability Study Of The World Bank's Teach Framework In Peru
    File name
    RR_PER_2026_700
    Zip package
    RR_PER_2026_700.zip
    Title
    Reproducibility package for Scaling Up Classroom Observation With Large Language Models: A Reliability Study Of The World Bank's Teach Framework In Peru
    Date
    2026-07
    Dependencies
    Python dependencies are listed in the "requirements.txt" file.
    Instructions
    See README in reproducibility package.
    Notes
    Computational reproducibility verified by Development Impact (DECDI) Analytics team, World Bank.
    Source code repository
    Repository name URI
    Reproducible Research Repository (World Bank) https://reproducibility.worldbank.org
    Software
    Python
    Name
    Python
    Version
    3.11.15

    Reproducibility

    Technology environment

    Paper exhibits were reproduced on a computer with the following specifications:
    • OS: Windows 11 Enterprise
    • Processor: Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz (2.30 GHz) (2 processors)
    • Memory available: 16.0 GB
    • Software version: Python 3.11.1

    Technology requirements

    Run time: ~5 minutes

    Reproduction instructions

    To reproduce the findings in this paper, a replicator must:

    1. Secure Access to Data: Access the datasets not included in the package. See the Datasets section for more details.
    2. Run the Package: Restore the environment using requirements.txt, set the environment variable AITEACH_USE_CACHED_LLM=1 to run the cached version of the pipeline using the shipped de-identified intermediate data, and run 00_master.py.

    Since not all the data is included, the package includes the results produced by replicators. These files can be used to review the results presented in the paper.

    Data

    Datasets
    Global Education Policy Dashboard Survey: Peru 2019
    Name
    Global Education Policy Dashboard Survey: Peru 2019
    Note
    Source: World Bank Global Education Policy Dashboard. This paper uses the classroom observation component of a dataset collected in 2019 from a nationally representative sample of public primary schools in Peru by the World Bank’s Global Education Policy Dashboard team (https://www.educationpolicydashboard.org/). The raw classroom video recordings contain personally identifiable information (PII) and are not distributed. The recordings and all data-collection information may be requested from the World Bank’s Global Education Policy Dashboard team at educationdashboard@worldbank.org. De-identified intermediate data is forthcoming in the World Bank Microdata Library under a restricted license.
    Access policy
    Data access was granted directly to the study authors by the data owners. Intermediate data is forthcoming in the World Bank Microdata Library under a restricted license.
    License
    Custom license
    Data URL
    Forthcoming at https://microdatalib.worldbank.org/
    Citation
    World Bank. 2019. "Global Education Policy Dashboard Survey: Peru 2019" [dataset]. Accessed April 2025. Forthcoming at https://microdatalib.worldbank.org/
    Data statement

    Some data is restricted and has not been included in the reproducibility package. For more details, please refer to the README file. Intermediate data is forthcoming in the World Bank Microdata Library under a restricted license and can be used to fully reproduce the results in the paper.

    Description

    Output
    Scaling Up Classroom Observation With Large Language Models: A Reliability Study Of The World Bank's Teach Framework In Peru
    Type
    Working Paper
    Title
    Scaling Up Classroom Observation With Large Language Models: A Reliability Study Of The World Bank's Teach Framework In Peru
    Authors
    Matthew D. Krasnow, Carolina Lopez, Jostin Kitmang, William J. Krasnow, Carolina Moreira Vasquez, Ezequiel Molina
    Description
    Policy Research Working Papers (PRWP)
    Authors
    Author Affiliation Email
    Carolina Lopez World Bank carolina_lopez@worldbank.org
    Ezequiel Molina World Bank molina@worldbank.org
    Matthew D. Krasnow Harvard University matt@swiftscore.org
    Jostin Kitmang Harvard University jkitmang@g.harvard.edu
    Carolina Moreira Vasquez World Bank cmm9mn@virginia.edu
    William J. Krasnow Swiftscore will@swiftscore.org
    Date of production

    2026-07-29

    Scope and coverage

    Geographic locations
    Location Code
    Peru PER
    Keywords
    Automated Scoring Classroom Observation Large Language Models Teacher Professional Development Rubric Engineering Teach Peru
    Topics
    ID Topic Parent topic ID Vocabulary Vocabulary URI
    I21 Analysis of Education I2 Journal of Economic Literature (JEL)
    I25 Education and Economic Development I2 Journal of Economic Literature (JEL)
    C45 Neural Networks and Related Topics C4 Journal of Economic Literature (JEL)
    C81 Methodology for Collecting, Estimating, and Organizing Microeconomic Data • Data Access C8 Journal of Economic Literature (JEL)

    Disclaimer

    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.

    Access and rights

    License
    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

    Contacts

    Contacts
    Name Affiliation Email
    Carolina Lopez World Bank carolina_lopez@worldbank.org
    Reproducibility WBG World Bank reproducibility@worldbank.org

    Information on metadata

    Producers
    Name Abbreviation Affiliation Role
    Reproducibility WBG DECDI World Bank - Development Impact Department Verification and preparation of metadata
    Date of Production

    2026-07-29

    Document version

    1

    Citation

    Citation
    loading, please wait...
    Citation format
    Export citation: RIS | BibTeX | Plain text
    Back to Catalog
    The World Bank Working for a World Free of Poverty
    • IBRD IDA IFC MIGA ICSID

    © The World Bank Group, All Rights Reserved.