New: MCP integration. Run plagiarism scans from Claude, Cursor or any AI assistant. Run scans from Claude or Cursor. Set it up
Alex Petrov

Alex Petrov

Detection Systems Engineer at Codequiry

Alex focuses on refactoring-resistant similarity detection and benchmarking Codequiry against tools like MOSS, JPlag and Dolos.

Articles by Alex Petrov

How Cross-Language Code Plagiarism Detection Works General 13 min
Alex Petrov Alex Petrov 1 day ago

How Cross-Language Code Plagiarism Detection Works

A Java submission and a Python submission looked nothing alike, but they were the same algorithm translated line by line. This is the story of how cross-language code plagiarism detection actually works, where it catches translated code, and where it still fails.

Designing Coding Assignments That AI Can't One-Shot General 10 min
Alex Petrov Alex Petrov 3 days ago

Designing Coding Assignments That AI Can't One-Shot

As a bootcamp instructor, I've graded hundreds of take-home coding challenges. The AI-resistant ones share a pattern: they ask for process artifacts, not just final code. Here's how to design assignments that hold up.

The Long Road to Refactoring-Resistant Code Plagiarism Detection General 6 min
Alex Petrov Alex Petrov 4 days ago

The Long Road to Refactoring-Resistant Code Plagiarism Detection

A hands-on retrospective on how code similarity detection grew from naive line diffs to tokenization, ASTs, and fingerprinting. Follow a step-by-step Python prototype and a production workflow with Codequiry to catch refactored plagiarism in CS courses.

How to Detect Code Copied From Online Sources in Student Submissions General 9 min
Alex Petrov Alex Petrov 2 weeks ago

How to Detect Code Copied From Online Sources in Student Submissions

A bootcamp instructor walks through the exact workflow he uses to catch student code copied from tutorials, GitHub repos, and Stack Overflow answers, including what peer-only checkers miss, how to read web match reports without false positives, and where Codequiry fits.

From Manual Google Searches to Automated Stack Overflow Code Detection General 10 min
Alex Petrov Alex Petrov 2 weeks ago

From Manual Google Searches to Automated Stack Overflow Code Detection

Quoted Google searches used to be the standard way to catch a Stack Overflow lift. I tracked the shift across tools, fingerprints, and live web corpora, and why modern checks need to pair source matching with AI detection. The short version: the web changed the question from "who copied whom" to "where did this code come from."

How Token-Based Fingerprinting Drives Contractor Code Verification General 8 min
Alex Petrov Alex Petrov 3 weeks ago

How Token-Based Fingerprinting Drives Contractor Code Verification

A logistics company needed to know whether a contractor's 14,000-line Python service was original before paying the final invoice. Token-based fingerprinting showed exactly how much had been lifted from an open source repo and rewritten just enough to hide. What the team learned about normalization, thresholds, and the limits of similarity scoring applies to any company that accepts outside code.

What 238 License Violation Tickets Taught Me About Open Source Compliance General 10 min
Alex Petrov Alex Petrov 3 weeks ago

What 238 License Violation Tickets Taught Me About Open Source Compliance

As a bootcamp instructor and open-source maintainer, I've closed hundreds of license-related pull requests. Most were copy-paste fixes where someone dropped a Stack Overflow function into a GPL project. This walks through what actually triggers license tickets, which scanners catch what, and where source similarity tools save you from silent compliance failures.

What 2,312 CS1 Python Submissions Revealed About Code Copied General 10 min
Alex Petrov Alex Petrov 3 weeks ago

What 2,312 CS1 Python Submissions Revealed About Code Copied

A direct walkthrough of a Python code plagiarism audit across three bootcamp cohorts. Learn which thresholds actually caught copied code, why starter-code exclusion matters, and how to stack web and AI detection into one honest review pass.

Perplexity Thresholds for Detecting AI Code General 9 min
Alex Petrov Alex Petrov 4 weeks ago

Perplexity Thresholds for Detecting AI Code

A bootcamp instructor explains how token-level perplexity works as an AI code signal, what thresholds we actually use in Java review, and why a single statistical score is never enough on its own.

How a 400-Student Python Course Flags AI and Copied Code General 11 min
Alex Petrov Alex Petrov 1 month ago

How a 400-Student Python Course Flags AI and Copied Code

A 400-student Python course adopted Codequiry to check submissions for plagiarism and AI generation. The instructor found that 18% of assignments contained copy-pasted code from Chegg, and 12% showed strong signs of LLM authorship — a pattern that peer-only checks had missed entirely.

How a University Caught AI-Generated Code in 14Percent of CS2 Submissions General 11 min
Alex Petrov Alex Petrov 1 month ago

How a University Caught AI-Generated Code in 14Percent of CS2 Submissions

When Riverside University’s CS department ran an AI detector across 300 CS2 assignments alongside MOSS, they discovered a new layer of academic integrity challenges. The case study reveals what they found, how they calibrated thresholds, and why combining AI detection with source-code fingerprinting changed their grading workflow.

Putting a Code Similarity Checker in Your Git Pre-Commit Hook General 11 min
Alex Petrov Alex Petrov 1 month ago

Putting a Code Similarity Checker in Your Git Pre-Commit Hook

A copied snippet might survive a human code review after a quick variable rename and loop inversion. A similarity checker that understands ASTs won’t be fooled. This guide walks through wiring Codequiry’s API into your Git pre‑commit workflow, step by step, so every commit is scanned for non‑original code before it hits the branch.