Original research · November 2026
We run an AI code detector, so instead of telling you how accurate we are, we are publishing the evaluation itself: the frozen test set, the real-world study where our own detector flagged human code, the fix, and what production traffic actually looks like.
Evaluation date
October 8, 2026
Frozen set, re-run when the model, threshold, or input pipeline changes.
Frozen samples
1,922
Human-written and AI-generated, scored under production normalization and threshold.
Languages covered
6
Python, Java, C++, JavaScript, HTML, Lua — with a stated human-side gap in three.
Update cadence
Every round
This page changes with each evaluation round, including failure modes we have not fixed yet.
Everything below comes from three data layers: a frozen evaluation set we can re-run, a staging study we ran to explain a failure, and aggregate statistics from production traffic.
| Layer | Data set | Size | When |
|---|---|---|---|
| L1 · Frozen evaluation set | Held-out set built on the public CoDET-M4 benchmark and a GPTSniffer Java set plus our own multi-language set; AI samples come from public-benchmark frontier outputs, commercial API models, and open-source models run locally. | 1,922 samples (frozen, checksum manifest on file) | Frozen October 1, 2026; re-tested October 8, 2026 |
| L2 · Staging attribution study | Hand-constructed and real-world samples: library-style snippets (×8), zero-import controls (×3), longer human samples (×5), AI anchors (×2). | 18 + 11 re-tested | November 1, 2026 |
| L3 · Production aggregates | Read-only aggregate SQL over retained scan results. No user IDs, no code content, no original file names — counts and averages only. | 242 jobs / 103 retained results | October 8 – November 16, 2026 |
Reproducibility: every sample in L1 went through the same input normalization our production scanner uses and was scored at the same production threshold, on the same engine version that runs in production (codebert-a5-1.0.0). The frozen set's checksum manifest (48 files) re-verified with zero mismatches, and re-run anchors matched the frozen values within tolerance — the pipeline did not drift, so the numbers are stable.
Samples with fewer than 10 non-empty lines (after normalization) are not scored.
In our frozen evaluation set of 1,922 samples, 230 (12.0%) changed prediction after production-equivalent input normalization — all 230 in the AI direction.
| Cut | Flipped predictions |
|---|---|
| All samples | 230 of 1,922 (12.0%) — all 230 toward the AI side, 0 toward human |
| By language | Python 21.8% · Java 5.7% |
| By sample source | Locally-run open-source models 56.8% · public-benchmark AI samples 0% |
The mechanism, from our staging attribution work: normalization removed a spurious correlation in which a trailing newline made files look human. Before the fix, human files ending in a newline received visibly more human-leaning scores; once every sample was trimmed uniformly, all samples faced the model's real decision surface. The most useful lesson here is that a detector's "accuracy" is, to a large degree, a function of the data pipeline — not just the model.
In a November 2026 staging study of 18 real-world human-written snippets (13–57 lines), all 18 received scores of 0.69 or higher — scores that, at our production threshold, fall in the band we label high. The set included an excerpt from the CPython standard library (score 0.98). In the same model's frozen evaluation set, no human-written sample was flagged at all.
| Sample group | n | Lines | Score range | Scored high |
|---|---|---|---|---|
| Library-style usage (requests, pandas, Flask, logging — hand-written) | 8 | 13–20 | 0.860–0.992 | 8/8 |
| Zero-import controls (business logic, hand-rolled parsing, fizzbuzz) | 3 | 16–20 | 0.924–0.970 | 3/3 |
| Longer human samples (competition Dijkstra, tic-tac-toe, input() games) | 5 | 15–57 | 0.696–0.988 | 5/5 |
| Verifiably human open source (CPython textwrap.py excerpt) | 1 | 16 | 0.980 | 1/1 |
| CSS snippet control | 1 | 14 | 0.974 | 1/1 |
| Total real-world human code | 18 | 13–57 | 0.696–0.992 | 18/18 |
| AI anchors (ChatGPT-style, ×2) | 2 | 23–45 | 0.955–0.966 | 2/2 |
Benchmark performance and real-world behavior can decouple completely: zero false positives on a frozen benchmark and 18 out of 18 false positives on real pasted snippets were simultaneously true of the same model. This is the gap behind the industry's "99% in the lab, broken in the classroom" pattern — measured, in our own product.
In the short-input band, the human and AI distributions do not just overlap — they invert. One AI anchor scored 0.955, lower than a human library-style sample at 0.992. There is no line that separates the two: raising the threshold to 0.18 changed nothing, and even at 0.5 every flagged sample would still have been flagged. Suppression heuristics failed too — the zero-import human controls still scored 0.924–0.970, while real AI code uses libraries just as heavily.
So we changed the product, not the threshold. Since November 1, 2026, inputs under 50 non-empty lines are capped at the medium band — the score is still shown, with a "mixed signals; manual review recommended" reading. In re-testing, all 11 library-style and control samples stopped landing in the high band, and the behavior of inputs at 50 lines or more is unchanged.
Production then confirmed the fix independently. After we capped verdicts for inputs under 50 non-empty lines (deployed November 1, 2026), 6 production results with scores ≥ 0.14 were shown as medium instead of high in the following two weeks; zero short inputs were shown as high.
| Length band (total lines) | n | Mean score | High | Medium | Low |
|---|---|---|---|---|---|
| Under 50 lines | 13 | 0.482 | 1 | 6 | 6 |
| 50–199 lines | 13 | 0.178 | 5 | 2 | 6 |
| 200+ lines | 77 | 0.323 | 62 | 8 | 7 |
Two independent data layers point at the same conclusion: the lab finding (short inputs are not separable) and the production observation (short inputs carry the highest average scores and the misclassification risk) reinforce each other. That agreement is the backbone of this page's credibility.
Our naming-style signal showed no separation across verdict bands in production data (band means 0.957 / 0.963 / 0.959) — which is why we treat the four signals as explanations, not verdicts. In real-world code, naming conventions are saturated: nearly everything scores high, so the signal cannot distinguish anything. The four signals are computed alongside the score and never enter it.
We also tested whether the model's attention could explain itself. It could not: when we aggregated the classifier's final-layer token attention to lines, the top-5 attributed lines were all token-dense boilerplate such as System.out.println(...) (attention share 4–11%), with no defensible correspondence to AI-style semantics. That is why our reports show chunk-level scores and signal context — and why we do not ship per-line verdicts. Tools that claim line-level certainty are claiming more than the technique supports.
These are aggregate counts from October 8 to November 16, 2026 — no user identifiers, no code content, no original file names. Across 103 retained production results, the median score was 0.26; 68 were in the high band, 16 medium, 19 low.
| Metric | Value |
|---|---|
| Total jobs | 242 |
| Single synchronous scans | 148 |
| Single asynchronous scans | 65 |
| Batch jobs | 29 (26 done, 3 running) |
| Retained results | 103 — anonymous scans are never persisted, and synchronous single scans record only the job row, by design |
| Score band | Results |
|---|---|
| 0.0–0.1 | 22 |
| 0.1–0.2 | 18 |
| 0.2–0.3 | 14 |
| 0.3–0.4 | 16 |
| 0.4–0.5 | 10 |
| 0.5–0.6 | 10 |
| 0.6–0.7 | 5 |
| 0.7–0.8 | 2 |
| 0.8–0.9 | 0 |
| 0.9–1.0 | 6 |
| Form | n |
|---|---|
| No extension (pasted snippets) | 65 |
| .py | 25 |
| .cpp / .c | 7 |
| .zip (batch archives) | 3 |
| .java | 2 |
| Other (.rc / .jar / .ipynb / .txt, one each) | 4 |
Submissions are large: the median retained result is 4,281 tokens, and the 90th percentile is 7,304 — more than half of retained samples exceeded the synchronous single-block path (a 512-token window, at most 4 blocks, roughly 2,048 tokens) and were handled by the multi-block or asynchronous pipeline. We also know what we do not know: pasted snippets are almost never language-labeled (104 of 106 records), a gap in our own instrumentation that we disclose rather than paper over.
We are not the only ones measuring this. In an independent 5,069-sample study (ICSE-SEET 2024), a leading general-purpose detector scored near chance on code (accuracy ≈ 0.497). The table below lists third-party results — the numbers are theirs, from the cited papers, not ours.
| Study | Setup | Key numbers |
|---|---|---|
| arXiv:2401.03676 (ICSE-SEET 2024) | 5,069 samples across 5 detectors | GPTZero code detection accuracy ≈ 0.497; GLTR 0.4841–0.7693, highly sensitive to prompt variants |
| arXiv:2307.09381v2 (GPTSniffer, ASE 2023 — the paper baseline of our training recipe) | Same-distribution paired test | Accuracy 0.99 |
| Same paper | Cross-distribution test (closer to the real world) | Accuracy 0.62; recall on the human class only 0.25 |
Three takeaways. First, the gap between "90%+ accuracy" marketing and independent measurement is documented in the literature, not just alleged. Second, the decay from 0.99 same-distribution to 0.62 cross-distribution runs in the same direction as our own lab-versus-reality findings above. Third, a screening workflow — narrowing 100 submissions down to the 10–20 that deserve human review first — remains useful even in the 60–85% accuracy range, which is exactly why we position every score as a screening signal.
Independent research paints a sobering picture: in a 5,069-sample study presented at ICSE-SEET 2024, a leading general-purpose detector scored near chance on code (accuracy ≈ 0.497). Our own data says the honest answer is layered, not a single number: our frozen evaluation set of 1,922 samples behaves differently from real-world pasted snippets, and we publish both layers on this page instead of one percentage.
In a November 2026 staging study of 18 real-world human-written snippets (13–57 lines), all 18 received AI-likelihood scores of 0.69 or higher — including an excerpt from the CPython standard library (score 0.98). We found that no threshold could separate short human code from AI code in that band, so since November 1, 2026, inputs under 50 non-empty lines are capped at the medium band with a manual-review note. In the following two weeks, 6 production results with scores ≥ 0.14 were shown as medium instead of high, and zero short inputs were shown as high.
No. An AI code detection score is a screening signal — a reason to look closer, never a conclusion. For a classroom, the correct use is to narrow 100 submissions down to the 10–20 that deserve a human review first, not to convict anyone by score.
Submissions with fewer than 10 non-empty lines of code (after normalization) are not scored at all — they are rejected rather than guessed at. Separately, our October 8, 2026 evaluation round contained AI-generated samples in JavaScript, HTML, and Lua but no human-written ones, so behavior in those languages is extrapolated, not measured.
This page is updated with every evaluation round — whenever the model, the scoring threshold, or the input pipeline changes. The next round will add human-side validation samples for JavaScript, HTML, and Lua, and known failure modes (with before-and-after fixes) are listed as we find them.