When Better Codebooks Are Not Enough: Predictive Performance and Rule Adherence in LLM Political Event Coding
Zixian HeBharath Raahul MurugesanPatrick T. BrandtYHYibo Hu
Zixian He
Bharath Raahul Murugesan
Patrick T. Brandt
YHYibo Hu
+4
This paper asks whether high accuracy suffices to show that an LLM follows an expert codebook, using political event coding—a source-target relation classification task in which a model identifies the action one actor directs toward another under detailed rules. Enriching codebooks with clearer definitions, examples, retrieved context, and rules for difficult cases raises mean root-level macro-F1 from 0.457 with label names alone to 0.633 across four open-source LLMs, improving fine-grained classification. However, reversing the order of entries in the enriched codebook changes 21.2% of predictions on a 312-example subset despite unchanged labels and definitions, and performance is also low when label names are reassigned to different definitions. The authors conclude that both predictive performance and sensitivity to codebook changes should be evaluated when LLM-generated labels are used as social-science data.

arXiv ·
· June 4, 2026