Nov 15, 2026 Codequiry software is now a one-time payment for life access, versus monthly subscriptions. See plans →
Dr. Sarah Chen

Dr. Sarah Chen

AI Detection Researcher at Codequiry

Sarah leads AI-generated code research at Codequiry, focusing on how large-language-model output can be reliably distinguished from human-written code.

Articles by Dr. Sarah Chen

Designing Assignments That Make AI Use Visible General 11 min
Dr. Sarah Chen Dr. Sarah Chen • 1 week ago

Designing Assignments That Make AI Use Visible

Detector scores are triage, not verdicts, and any honor board will tell you the same. Here is what one CS professor now writes into the assignment handout: staged deliverables, a starter file with one deliberate quirk, short oral code walks, and a detector used only to sort the queue.

How Professors Actually Read a Code Plagiarism Report General 11 min
Dr. Sarah Chen Dr. Sarah Chen • 1 week ago

How Professors Actually Read a Code Plagiarism Report

A similarity score is not a verdict, and the gap between the two is where most integrity cases are won or lost. A CS professor with fifteen years in the classroom and two terms on an honor board explains what a code plagiarism report actually shows, which signals survive cross-examination, and how departments can read one without ruining a student's semester by mistake.

Setting AI Code Detection Thresholds on 1,200 Student Files General 12 min
Dr. Sarah Chen Dr. Sarah Chen • 2 weeks ago

Setting AI Code Detection Thresholds on 1,200 Student Files

Eleven of the 43 files I flagged as machine-written last fall belonged to students who had never opened a chat window. This is a step-by-step account of the calibration I now run every August: human baselines, per-file scoring, and a combining rule that cut my review queue from 214 to 61.

Stacking AI Detection and Plagiarism Checks in One Grading Pass General 12 min
Dr. Sarah Chen Dr. Sarah Chen • 3 weeks ago

Stacking AI Detection and Plagiarism Checks in One Grading Pass

A CS2 course with 412 students and eleven TAs ran peer similarity, web-source matching, and AI-generation scoring in one pass per assignment instead of three separate workflows. The interesting result wasn't the flag count. It was that the review meetings stopped arguing about whether a submission looked suspicious and started arguing about what the department's own AI policy actually permitted.

How Do You Scan a Course for Both Copied and AI-Written Code? General 15 min
Dr. Sarah Chen Dr. Sarah Chen • 4 weeks ago

How Do You Scan a Course for Both Copied and AI-Written Code?

Running one scan and hoping it covers everything is how courses end up with both missed cases and false accusations. This walkthrough separates peer similarity, web provenance, and machine generation into three pipelines, then shows how to merge them into a ranked queue a TA can work through in an afternoon.

How Cross-Language Code Plagiarism Detection Works General 17 min
Dr. Sarah Chen Dr. Sarah Chen • 1 month ago

How Cross-Language Code Plagiarism Detection Works

A student submits Python. Their partner submits Java. A line diff reports 0% identical text, and the plagiarism checker stays quiet. Cross-language copying is a semantic clone problem, and it needs a different kind of comparison than the token matching most tools provide. Here is how the detection actually works, where it fails, and what to put in your syllabus before next term.

When Does Copied Code Become an Open Source License Violation? General 15 min
Dr. Sarah Chen Dr. Sarah Chen • 1 month ago

When Does Copied Code Become an Open Source License Violation?

Dependency scanners read manifests. They cannot see the 300 lines someone pasted into a file with the header deleted. This piece walks through what actually constitutes an open source license violation, why SBOM tooling goes blind at exactly the wrong moment, and how provenance checks catch copied code before counsel does.

Where Should You Set the Code Plagiarism Score Threshold? General 12 min
Dr. Sarah Chen Dr. Sarah Chen • 1 month ago

Where Should You Set the Code Plagiarism Score Threshold?

A mid-size CS department got 41 similarity flags from a single assignment and no written policy for what any of them meant. This is the calibration exercise they ran, the AI cluster that confused everyone, and the starter-file mistake that produced 61 false 100% matches.

A Short History of AI-Generated Code Detection General 8 min
Dr. Sarah Chen Dr. Sarah Chen • 2 months ago

A Short History of AI-Generated Code Detection

A CS professor traces how AI-generated code detection grew out of MOSS-era token fingerprints, code stylometry, and a broken similarity assumption. The piece explains how modern detectors work, where they still stumble, and why stacked peer, web, and AI signals make the most defensible academic workflow.

Why a 400-Student Intro Course Adopted Layered Code Checks General 11 min
Dr. Sarah Chen Dr. Sarah Chen • 2 months ago

Why a 400-Student Intro Course Adopted Layered Code Checks

One CS department's switch from a single similarity tool to a layered detection workflow changed what they could see in student code. Peer copying, web sources, and AI-generated submissions each required different signals, and combining them revealed more than any one check alone.

AI Code Detector Comparison Across Codequiry, GPTZero, and Copyleaks General 10 min
Dr. Sarah Chen Dr. Sarah Chen • 2 months ago

AI Code Detector Comparison Across Codequiry, GPTZero, and Copyleaks

A CS professor ran 1,200 Java submissions through three AI code detectors. Codequiry caught 94% of known AI files and flagged only 3.5% of pre-LLM human code, while the other tools posted two to three times that false positive rate. The full numbers and methods are below.

How a CS Professor Spots Refactored Code Plagiarism in Java Labs General 11 min
Dr. Sarah Chen Dr. Sarah Chen • 2 months ago

How a CS Professor Spots Refactored Code Plagiarism in Java Labs

This is the workflow Dr. Sarah Chen uses every week to catch plagiarism that survives renaming, reordering, and refactoring. It layers token normalization, AST comparison, and a smart review queue, then walks through what to look for in a diff before talking to a student.