Claims

LLM-generated programming code was reliably detected, but inserting beginner bugs had an inconsistent effect across the two programming questions

Claim · All claims
Evidence · 1 study (2 entries) · causal r1–r2 · q2 · i3 large
Currency · newest study 2026 · not yet checked against its sources · not reviewed by a person · recheck by 2029: tool and model accuracy changes quickly

Subclaims

Reading the evidence codes

q is the design tier, i the impact, n the sample, and the kind with its r the rigour judged within that kind: what each code means.

This claim: no standardized effect is recorded in observations/ for it yet, so no benchmark reading is possible.

q2 i3 LLM responses received substantially higher likelihood estimates than real student code in programming question 1, and adding beginner mistakes did not reduce detectability there and may have increased it (Cliff's delta = -0.640 for bugs). → Juho Leinonen 2026 q2 i3 In programming question 2, the bugs prompt reduced separability relative to baseline/persona prompting (Cliff's delta = -0.512). → Juho Leinonen 2026 (2)

Evidence

Juho Leinonen 2026

Juho Leinonen, Paul Denny. (2026). Distinguishing Artificial from Authentic: Evaluating LLMs for Detecting LLM-Generated Content. https://arxiv.org/abs/2607.20446 doi:10.48550/arxiv.2607.20446

q2 · i3 · causal · r1

Detection of 201 real submissions versus 100 LLM responses per condition for programming question 1. LLM mean likelihoods were 80.0-86.1 vs 59.5 for real code. Printed effect sizes: Cliff's delta = -0.473 (baseline), -0.472 (persona), -0.640 (bugs), all p Holm < 10^-10; the bugs effect of -0.640 is large.

"For programming question 1, LLM responses received substantially higher likelihood estimates than real student code (means 80.0–86.1 for LLM vs. 59.5 for real; Table 1)."

Juho Leinonen 2026 (2)

Juho Leinonen, Paul Denny. (2026). Distinguishing Artificial from Authentic: Evaluating LLMs for Detecting LLM-Generated Content. https://arxiv.org/abs/2607.20446

q2 · i3 · causal · r2

Detection of 870 real submissions versus 100 LLM responses per condition for programming question 2. Baseline and persona means were 91.0 and 90.7 vs 73.1 for real. Printed effect sizes: Cliff's delta = -0.699 (baseline), -0.670 (persona), both large, while the bugs prompt reduced separability to Cliff's delta = -0.512.

"However, the bugs prompt reduced separability relative to baseline/persona (Cliff’sδ=−0.512), which is also visible in Figure 5d as increased overlap between the bugs and real-student distributions compared to baseline/persona."

Discussion

Page metadata
Field Value
type claim
id programming-detection-robust-bugs-inconsistent
title LLM-generated programming code was reliably detected, but inserting beginner bugs had an inconsistent effect across the two programming questions
description LLM-generated programming code was reliably detected, but inserting beginner bugs had an inconsistent effect across the two programming questions
status review
evidence_strength mixed
newest_evidence 2026
recheck_by 2029
generated by process:wiki-ingest on 2026-10-11
trust unverified — no one has confirmed this page's content
sources 2 — juho-leinonen-2026, juho-leinonen-2026-2

Frontmatter is the page's machine-readable record — see the Schema & Guide.