Patching the Protocol: A Taxonomy of Pre-Registration Repairs in LLM-Proposer Experiments

Peter Chen, Ni Zhang, Siyuan ZhangarXiv 2026

TL;DR

Traditional pre-registration assumes a "frozen" research protocol, but software-intensive ML experiments—especially those using LLMs to propose code—inevitably encounter implementation defects. This paper introduces a taxonomy and a nine-item checklist for "patching" these protocols mid-study in a way that maintains scientific integrity and auditability.

What Problem Does This Paper Address?

Pre-registration is the gold standard for building trust in research: you "freeze" your hypotheses and methods before seeing the data to prevent p-hacking. However, in modern machine learning research—particularly "verifier-bound" experiments where an LLM proposes executable rules that a program then checks—the protocol itself is a complex piece of software.

Software has bugs. If a researcher discovers a bug mid-experiment, they face a "credibility hazard": do they continue running a broken study, or do they change the protocol and risk looking like they are moving the goalposts to get better results? The authors argue that the current pre-registration "playbook" has no vocabulary for these necessary repairs, leading to a lack of transparency in how software-intensive studies are actually conducted.

Methods

The authors performed a three-case study of protocol repairs (which they call "patches") across three distinct research domains: production scheduling, incentive design, and task assignment. Based on these cases, they developed:

  1. A Two-Axis Taxonomy: Classifying repairs by Defect Class (Environmental, Feasibility, or Correctness) and Timing (Pre-data vs. Post-data).
  2. Verifiable Non-Impact Claims: A requirement that post-data repairs must include a re-runnable code check proving that previously collected data remains valid under the new logic.
  3. A Nine-Item Checklist: A template for disciplined protocol repair, covering everything from freezing criteria to logging every rejection verbatim.

Datasets

The paper evaluates its framework using three simulation-based research programs, with data and code archived on Zenodo:

  • Domain A (Production Scheduling): LLM proposes job-to-slot assignment rules.
  • Domain B (Incentive Design): LLM proposes payment functions for mobile crowdsensing.
  • Domain C (Task Assignment): LLM proposes scoring functions for capacity-constrained tasks.

The authors emphasize that the "data" in these contexts are the outputs of the LLM-proposer/verifier pipeline.

Key Insights and Ideas

  • Patches are Normal: The authors argue we should stop pretending protocols are perfect and start making repairs auditable.
  • The Audibility vs. Damage Trade-off: As shown in Figure 2, different bugs have different risk profiles. "Environmental" defects (like crashes) are "loud" and easy to catch but low damage. "Correctness" defects (like silent measurement corruption) are the most dangerous because they produce plausible-looking but invalid data.
The defect-class axis defines how different types of bugs impact research credibility and how difficult they are to detect.
  • The "Red Line": The taxonomy draws a strict line: patches that repair the "vehicle" (the code) are acceptable, but post-data patches that alter the "judgment criteria" (the scoring or thresholds) are prohibited.
  • Verifiable Claims: Instead of a researcher saying "trust me, the bug didn't affect the results," they must provide a "mechanical" check—a script that a reader can run to verify the claim themselves.

Key Results

The authors successfully applied their nine-item checklist across all three domains. As summarized in Figure 1, they managed three distinct types of repairs:

  • Case 1 (Domain A): A post-data "environmental" fix for a crash at a boundary condition. They retained 37 pairs of data by providing a verifiable non-impact claim.
  • Case 2 (Domain B): A pre-data "feasibility" fix where parameters were mathematically incompatible.
  • Case 3 (Domain C): A pre-data "correctness" fix for a silent bug where the evaluation batch was being mutated in place.
Summary of the scale, patch type, and data status for the three case studies.

Crucially, in all cases, the "red line" was respected: no numbered judgment criteria or scoring rules were modified after data collection began.

Limitations and Future Work

The authors acknowledge several limitations:

  • Small Sample Size: The taxonomy is based on only three cases from a single research program.
  • Self-Audit: The study was conducted by the authors on their own work; external validation is needed.
  • Simulation Focus: The framework was developed for simulations; its application to human-subject experiments may differ.
  • Parameter Discretion: While the process of patching is disciplined, the choice of new parameters (e.g., changing a budget from 50 to 100) still relies on author judgment. The authors identify "disciplining repair parameterization" as an open design problem for future work.

Summary updated

Abstract

Pre-registration is increasingly proposed as a trust mechanism for machine-learning research involving LLM-generated content, but its canonical form assumes a frozen protocol can be executed unchanged. Software-intensive studies violate this assumption: the protocol is partly implemented, and implementations carry defects. We report a three-case study of protocol repairs ("patches") from a program where an LLM proposes executable rules that a programmatic verifier gates, across production scheduling, incentive design, and task assignment. Each protocol required exactly one defect-repair patch: three events in total. None modified a numbered judgment criterion, its threshold, or the scoring rule, and none altered already collected data; two changed pre-registered design parameters before any data were collected, each with a recorded rationale. We propose a two-axis taxonomy of patches (defect class: environmental / feasibility / correctness, x timing: pre-data / post-data), introduce a verifiable non-impact claim for post-data repairs, and distill a nine-item checklist; all nine items were exercised by at least one patch event -- an observation of use, not a validation of sufficiency. The credibility of verifier-bound, LLM-proposer studies depends less on whether patches occur than on whether they are auditable.
BibTeX
@misc{chen2026patching,
  author = {Peter Chen and Ni Zhang and Siyuan Zhang},
  title = {{Patching the Protocol: A Taxonomy of Pre-Registration Repairs in LLM-Proposer Experiments}},
  year = {2026},
  eprint = {2611.04338},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.04338},
}
Figure