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

Side-by-Side AI and Plagiarism Detection in CS2 General 10 min
Priya Sharma Priya Sharma 36 minutes 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 1 day 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 week 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 2 weeks 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 2 weeks 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 3 weeks 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 4 weeks 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 2 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.

A Checklist for Integrating Code Scanning Into Your CI Pipeline Tutorials 11 min
Priya Sharma Priya Sharma 2 months ago

A Checklist for Integrating Code Scanning Into Your CI Pipeline

Manual code review alone can't catch every bug or security vulnerability. This practical guide walks you through building a robust code scanning pipeline that integrates directly into your CI/CD workflow, covering static analysis, dependency scanning, secret detection, and policy enforcement with concrete tool configurations and real-world examples.

Your AI Detection Tool Is Probably a Random Number Generator AI Detection 8 min
Priya Sharma Priya Sharma 3 months ago

Your AI Detection Tool Is Probably a Random Number Generator

The market is flooded with tools claiming to spot AI-written code with 99% accuracy. Most are built on statistical sand. We dissect the eight fundamental flaws, from dataset contamination to meaningless confidence scores, that render their outputs little better than a coin flip for serious applications.

Your Static Analysis Tool Is Lying to You About Complexity General 6 min
Priya Sharma Priya Sharma 3 months ago

Your Static Analysis Tool Is Lying to You About Complexity

We've been sold a bill of goods on code complexity. The metrics your static analysis tool proudly reports—cyclomatic complexity, lines of code, nesting depth—are not just incomplete; they're actively misleading. They create a false sense of security while the real architectural debt compounds silently. It's time to measure what actually matters.