AI-Generated Code Detection: The New Frontier in Academic Integrity
As AI coding assistants become ubiquitous, learn how institutions are adapting to detect AI-generated code and maintain educational standards.
Expert insights on AI code detection and academic integrity
As AI coding assistants become ubiquitous, learn how institutions are adapting to detect AI-generated code and maintain educational standards.
Stay ahead with expert analysis and practical guides
General
13 min
I ran peer similarity, web similarity, and an AI score on 1,412 bootcamp submissions and then read every flagged file myself. The AI score alone held up about a quarter of the time. Here's the triage framework I built around that gap, with the numbers, the code, and the places where it falls apart.
General
10 min
Most integrity cases begin with a number someone else chose. This guide walks through building a baseline distribution from your own past cohorts, finding the knee in the score curve, and tiering reviews so the 60 flagged pairs do not turn into eleven hours of TA time and four apology emails.
General
11 min
A public university ran 4,213 CS 2 submissions through peer similarity, web matching, and AI-generation scoring in a single term. The three signals barely overlapped, and the gap between what the tools flagged and what humans confirmed turned out to be the most useful number the department had.
General
10 min
Every AI code detector you've tried is some weighted blend of three signals: perplexity, burstiness, and structural regularity. I put 900 generated files and 240 human ones through all three to see where each one fires, where it fails, and why Copilot autocomplete is the hardest case of the lot.
General
12 min
I kept every take-home submission from six bootcamp cohorts and ran them through three scoring passes. Here is what the numbers say about AI-generated code, which signals survive contact with real students, and where every detector I tried still gets it wrong.
General
9 min
A line diff said two contractor modules were 3% alike. A token-normalized comparison said 91%. Field notes on what refactoring-resistant detection actually measures, where the thresholds quietly break, and why the same normalization matters more now that a lot of submitted code starts life in a chat window.
General
13 min
Your CI already gates on tests, lint, and a dependency scan. AI-generated code walks straight through all three. Here's what a detector actually measures in a pull request diff, where the signal goes quiet, and how to wire the check into a merge gate that reviewers will tolerate.
General
4 min
Most teams think they have license compliance because Dependabot runs. They have a dependency list. A working gate needs three separate scans, and the third one catches the code that never appears in any manifest. Here is the workflow, the SPDX expression logic behind it, and the places it still gives wrong answers.
General
9 min
Three decades of code similarity detection can be told as two changes in the unit of comparison, from lines to token sequences to syntax trees. Each shift shrank the review queue by an order of magnitude. Here's what each era bought, what it still misses, and how generated code forced the field to add a second axis.
General
11 min
Renaming variables and extracting helpers is the cheapest way to defeat a naive similarity checker, and the fix is not a better diff. This walks through the normalization stack that makes refactoring-resistant plagiarism detection work, from token streams to winnowing to tree edit distance, and is honest about the precision you pay for each step.
General
10 min
An AI code detector is a measurement instrument, and like any instrument it needs a baseline before you trust the number it prints. This walks through per-file scoring, empirical false positive rates on pre-2023 submissions, cohort normalization, and why the AI score should never travel alone.
General
12 min
A working build guide to the similarity pipeline behind most academic code checks: tokenization, k-gram fingerprinting, winnowing, and AST shape comparison in roughly 300 lines of Python. Includes the threshold calibration table we used across six assignments and an honest account of where a homegrown checker stops being enough.