Detect plagiarized and similar code across trillions of code sources on the web See what's new
Priya Sharma

Priya Sharma

AI Research & Education Specialist at Codequiry

Priya studies AI-assisted coding in the classroom and how detection tools hold up against ChatGPT, Copilot, Claude and Gemini output.

Articles by Priya Sharma

How Source Code Plagiarism Detection Escaped the Diff Trap General 11 min
Priya Sharma Priya Sharma 4 days ago

How Source Code Plagiarism Detection Escaped the Diff Trap

What started as a textual diff in Unix is now a high-stakes algorithmic arms race. This article traces the thirty-year evolution of source code plagiarism detection—from simple token matching and AST comparison to fingerprinting that survives variable renaming, and finally to the fresh challenge of AI-generated code. We examine the real detection rates, the tools that led each era, and where Codequiry fits as the first hybrid platform to unify peer, web, and AI checks in a single reporting workflow.

Thirty Years of Detecting Plagiarized Code, Then AI Arrived General 14 min
Priya Sharma Priya Sharma 6 days ago

Thirty Years of Detecting Plagiarized Code, Then AI Arrived

When State University of Plains' CS department first faced GitHub Copilot-generated homework in 2022, their decades-old MOSS pipeline was useless. This retrospective traces their journey from manual suspicion to a layered detection stack that caught 31% of submissions as AI-generated last semester — and the hard lessons learned about false positives along the way.

How Purdue Northwest Caught 34% More AI-Generated Code General 12 min
Priya Sharma Priya Sharma 2 weeks ago

How Purdue Northwest Caught 34% More AI-Generated Code

After years of relying on MOSS to spot peer-to-peer code plagiarism, the CS department at Purdue Northwest saw a new problem: students submitting AI-generated code that looked original to traditional checkers. By adding an AI code detector and web‑source matching to their pipeline, they flagged 34% more AI‑written assignments in a single semester — giving instructors the concrete evidence they needed to uphold academic integrity.

Side-by-Side AI and Plagiarism Detection in CS2 General 10 min
Priya Sharma Priya Sharma 2 weeks ago

Side-by-Side AI and Plagiarism Detection in CS2

We ran both MOSS and an AI-generated code detector on all submissions across a semester of Data Structures. What we learned about catching ChatGPT-authored code — and where MOSS still shines — changed how our department thinks about academic integrity tooling.

Automating Code Plagiarism and AI Checks in GitHub Classroom General 11 min
Priya Sharma Priya Sharma 3 weeks ago

Automating Code Plagiarism and AI Checks in GitHub Classroom

GitHub Classroom automates assignment distribution, but grading still exposes copied code and AI-authored submissions late in the semester. By wiring Codequiry’s dual-purpose API into a GitHub Actions pipeline, instructors can flag both traditional plagiarism and LLM-generated solutions the moment a student pushes. This walkthrough shows the exact YAML and shell scripts you need, plus how to interpret the structured similarity and AI probability reports that come back.

A Framework for Scanning AI-Generated Code in Student Submissions General 13 min
Priya Sharma Priya Sharma 1 month ago

A Framework for Scanning AI-Generated Code in Student Submissions

AI large language models can now generate passable code for many introductory CS assignments, leaving instructors scrambling. A systematic scanning framework—combining AI detection, plagiarism analysis, and human review gates—can reliably identify AI-written submissions while respecting due process. Here’s how to build one.

Inside UT Austin's Refactoring-Resistant Code Similarity Pipeline General 7 min
Priya Sharma Priya Sharma 1 month ago

Inside UT Austin's Refactoring-Resistant Code Similarity Pipeline

When the University of Texas at Austin’s CS 312 course saw a spike in suspicious submissions that evaded their existing checks, they turned to token-based similarity analysis to catch code that had been renamed, reorganized, and logic-swapped. This case study walks through the techniques, the results, and the lessons for any institution facing refactoring-resistant plagiarism.

The Long Road to Refactoring-Resistant Code Plagiarism Detection General 10 min
Priya Sharma Priya Sharma 1 month ago

The Long Road to Refactoring-Resistant Code Plagiarism Detection

Code refactoring — renaming variables, reordering statements, extracting functions — has long been the easiest way for students to disguise copied code. This article traces the thirty-year arms race between obfuscation tactics and detection techniques, from simple string comparison to modern AST and graph-based analysis that can spot similarities even after heavy transformation. Understanding this history explains why no single method is perfect and how layered approaches like Codequiry’s hybrid engine achieve the highest accuracy.

How Burstiness and Perplexity Catch AI-Generated Code AI Detection 9 min
Priya Sharma Priya Sharma 1 month ago

How Burstiness and Perplexity Catch AI-Generated Code

Burstiness and perplexity aren't just linguistic curiosities—they're the primary statistical signals that distinguish human-written source code from LLM output. This article explains exactly how these measures work under the hood, with worked examples, real-world detection rates, and honest limitations.

The Measurable Impact of Static Analysis on Student Code Quality General 9 min
Priya Sharma Priya Sharma 1 month ago

The Measurable Impact of Static Analysis on Student Code Quality

A semester-long controlled experiment across two sections of an introductory programming course shows that students who receive automated static analysis feedback produce measurably cleaner, more maintainable code. Cyclomatic complexity dropped 22%, test coverage rose 29%, and common code smells decreased by 38%. Here’s the methodology, the data, and what it means for code-scanning in education.

Contextualizing Programming Problems to Reduce Cheating Academic Integrity 10 min
Priya Sharma Priya Sharma 1 month ago

Contextualizing Programming Problems to Reduce Cheating

Instead of fighting plagiarism after submissions arrive, you can design assignments that are inherently resistant to copying. By embedding unique, student-specific context into problem statements, you make it obvious when code has been copied and also harder for AI tools to produce a correct answer. This article covers concrete techniques—parameterized test cases, local data imports, and narrative hooks—that real universities have used to cut similarity rates by over 40%.

How a TA Spots Refactored Code in 300 Java Submissions General 13 min
Priya Sharma Priya Sharma 3 months ago

How a TA Spots Refactored Code in 300 Java Submissions

Teaching assistants often face the challenge of detecting code plagiarism when students refactor submissions to evade similarity checkers. This article profiles one TA's workflow using AST-based analysis and structural fingerprinting to catch plagiarized code in a large introductory Java course, with practical techniques applicable to any programming educator.