Computational and Text Analysis Methods Open access Peer reviewed

Introducing HALC: a general pipeline for the systematic and reliable construction of prompts for automated coding with LLMs in the computational social sciences

Andreas Reich, Claudia Thoms, Tobias Schrimpf

Communication Methods and Measures | Jul 7, 2026

Abstract

Abstract

LLMs are seeing widespread use for task automation, including automated coding in the social sciences. However, even though researchers have proposed different prompting strategies, their effectiveness varies across LLMs and tasks. Often trial and error practices are still widespread. Our study aims to fill this gap and evaluate how LLMs can be used in a systematic and transparent way to produce reliable codings in content analyses. We propose HALC — a general pipeline that allows for the systematic and reliable construction of prompts for any given coding task and model. We develop this pipeline based on current literature and findings of a prestudy investigating consistency and influencing factors of LLM codings. We also apply HALC on two other datasets covering different thematic contexts, document types, languages, and coding units to test its applicability. Based on more than three million LLM requests, our results demonstrate that the pipeline is capable of identifying prompts for reliable codings in different settings. We also discuss shortcomings and further potential for development.

Direct answer

What can I do from this paper page?

Use this page to scan "Introducing HALC: a general pipeline for the systematic and reliable construction of prompts for automated coding with LLMs in the computational social sciences" quickly: start with the summary and abstract, then check the authors, source, topics, and related papers. From here, open Scollr to follow Computational and Text Analysis Methods research, save the paper, or map adjacent work.

Authors

Researchers on this paper

Andreas Reich

first | University of Hohenheim | ORCID 0000-0002-2426-6490

Claudia Thoms

middle | ORCID 0000-0002-6601-1170

Tobias Schrimpf

last | University of Hohenheim | ORCID 0009-0000-1400-4086

Research areas

Follow related topics

Citation

BibTeX

@article{Reich2026Introducing,
  title = {Introducing HALC: a general pipeline for the systematic and reliable construction of prompts for automated coding with LLMs in the computational social sciences},
  author = {Andreas Reich and Claudia Thoms and Tobias Schrimpf},
  journal = {Communication Methods and Measures},
  year = {2026},
  doi = {10.1080/19312458.2026.2693637},
  url = {https://doi.org/10.1080/19312458.2026.2693637}
}

FAQ

Using this paper in a discovery workflow

How do I find related work for this paper?

Use the related papers and topic links on this page as starting points. In Scollr, you can also open the paper and build a literature map around its references, citing papers, and related work.

How can I keep up with new Computational and Text Analysis Methods research papers?

Follow Computational and Text Analysis Methods research in Scollr. New papers from the topic flow into a personalized feed, and you can save useful studies to revisit later.

Can I cite this paper from this page?

This page includes a static BibTeX block for Introducing HALC: a general pipeline for the systematic and reliable construction of prompts for automated coding with LLMs in the computational social sciences. Always verify the DOI, source, and publication details against the publisher record before submitting a manuscript.

Follow this research in Scollr

Follow the topics and authors behind this paper, save useful studies, and build a literature map when you are ready to go deeper.

Get the app