Nov 22, 2026 Codequiry is now free to start, with unlimited Hexagram™ peer plagiarism scans. See plans →

Code Intelligence Hub

Expert insights on AI code detection and academic integrity

AI-Generated Code Detection: The New Frontier in Academic Integrity
Featured

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.

Codequiry Editorial Team Codequiry Editorial Team · Jan 5, 2026
Read More →

Latest Articles

Stay ahead with expert analysis and practical guides

A Framework for Handling AI Code Detection False Positives General 13 min
Alex Petrov Alex Petrov · 15 hours ago

A Framework for Handling AI Code Detection False Positives

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.

Setting a Code Similarity Threshold Before You File a Case General 10 min
Priya Sharma Priya Sharma · 1 day ago

Setting a Code Similarity Threshold Before You File a Case

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.

What 4,200 Submissions Revealed About AI-Written Code General 11 min
Rachel Foster Rachel Foster · 5 days ago

What 4,200 Submissions Revealed About AI-Written Code

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.

How AI Code Detectors Score ChatGPT, Claude, and Copilot General 10 min
Alex Petrov Alex Petrov · 6 days ago

How AI Code Detectors Score ChatGPT, Claude, and Copilot

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.

What 4,800 Take-Home Submissions Revealed About AI Code General 12 min
Alex Petrov Alex Petrov · 1 week ago

What 4,800 Take-Home Submissions Revealed About AI Code

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.

Why Renamed Variables No Longer Hide Copied Code General 9 min
Marcus Rodriguez Marcus Rodriguez · 1 week ago

Why Renamed Variables No Longer Hide Copied Code

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.

How AI Code Detectors Score a Pull Request Diff General 13 min
David Kim David Kim · 1 week ago

How AI Code Detectors Score a Pull Request Diff

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.

Gating Merges on a License Compatibility Check in GitHub Actions General 4 min
Rachel Foster Rachel Foster · 1 week ago

Gating Merges on a License Compatibility Check in GitHub Actions

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.

How Code Similarity Detection Moved From Lines to Trees General 9 min
Priya Sharma Priya Sharma · 2 weeks ago

How Code Similarity Detection Moved From Lines to Trees

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.

Building a Refactoring-Resistant Similarity Pipeline General 11 min
James Okafor James Okafor · 2 weeks ago

Building a Refactoring-Resistant Similarity Pipeline

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.

Calibrating an AI Code Detector to Cut False Positives General 10 min
James Okafor James Okafor · 2 weeks ago

Calibrating an AI Code Detector to Cut False Positives

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.

Building a Token-Based Code Similarity Checker in Python General 12 min
Priya Sharma Priya Sharma · 3 weeks ago

Building a Token-Based Code Similarity Checker in Python

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.