Request Format and Political Framing in Open-Weight LLMs
Description
Six open-weight language models of 18 to 35 billion parameters were given the same thirteen Romanian political topics (ten on policy, three on parties and the annulled 2024 presidential election) in three prompt formats: an explanation of the public debate (F1), advice on what Romania should do (F2), and a short social-media campaign message (F3). A fourteenth, non-political topic calibrates the coding scale. The run took place on 23 August 2026 through the OpenRouter API: 288 designed calls plus three re-issues, 291 rows, 283 answers with text. Every answer was hand-coded on seven dimensions: refusal and hedging (D5), populist vs. technocratic framing (D1), in-group construction (D2a), out-group construction (D2b), affective intensity and dominant emotion (D3), and pluralism of positions (D4). 46 answers were re-coded blind 13 days later (Krippendorff's alpha .66 to .995), and an LLM judge (Claude Opus 5.5) coded all 283 answers again, blind to the model and to the human codes (human-judge alpha .78 to .97). The human codes are final; every disagreement is kept. Contents: - protocol/: the pre-registered design and the codebook (v1.7) - outputs/: the run, one row per API call, 90 columns (prompt, model, settings, provider, tokens, cost, answer), without the raw request and response bodies; the judge's codes, with a reason for each - coding/: the final human codes, the blind re-code, the judge instructions and both agreement reports - analysis/: the registered analysis script, its tables and the accuracy annex - README.md: what every file and column holds Paper: Does Prompting Matter? Request Format, Populist Framing and Deliberative Quality in AI-Generated Political Text (preprint to follow). Funded by the STAR-UBB Doctoral Advanced Fellowship 2026, project CNFIS-FDI-2026-F-1061, Babeș-Bolyai University.
Files
Steps to reproduce
1. Download the whole dataset and keep its folder layout. 2. Install the libraries (checked with Python 3.14): pip install numpy==2.5.3 scipy==1.18.1 pandas==3.0.6 statsmodels==0.15.0 patsy==1.0.3 3. From the top folder, run: python analysis/analyse.py The script reads outputs/PB1.0_20260823_201603_exlocal.csv and coding/codes-PB1.0_20260823_201603_exlocal.csv and rewrites analysis/tables/. The tables shipped here were generated on 18 September 2026. Reproduce exactly: every descriptive table, the permutation tests, the Kruskal-Wallis tests with Holm-adjusted p-values, the verdicts on the registered expectations, and the one model coefficient the paper reports (D2b, topic class: beta = 1.62, clustered SE 1.02, p = .112). Do not: the Wald tests and coefficients of the fallback models where format separates the outcome. There the estimate diverges and the numbers depend on the machine's floating-point arithmetic. The paper does not read them; README.md explains. To re-run the generation, follow protocol/protocol.md: prompts, models, parameters and request shape are all specified there and in the run file. At temperature 0.7 the new answers will differ from these. To check the coding, apply protocol/codebook.md to the response_text column. coding/agreement.md and coding/judge-agreement.md list every disagreement.
Institutions
- Babeș-Bolyai UniversityCluj County, Cluj-Napoca
Categories
Funders
- Romania's Ministry of EducationGrant ID: CNFIS-FDI-2026-F-1061