Engine benchmarks

We ran every Codequiry engine on the same seven files, where we already knew which ones were copied. Here is what each engine caught, what it missed, and the files, so you can run the test yourself.

Checks every file against classmates, the web and AI, in 65+ languages.

Copies caught

The average similarity each engine reported between the original and its four copies. Higher is better.

By disguise

Similarity to the original for each file. The last two columns are code written separately, where any score is a false match.

Engine Exact copyRenamed codeReworked codeHeavy rewrite Merge sortOwn quicksort
Zeus Deep Scan, peer only 100%100%14%0%0%0%
Zeus Hyper, peer only 100%100%14%0%0%0%
Dolos, peer only 100%100%0%0%0%0%
JPlag, peer only 100%100%0%0%0%0%
Window (Hexagram Fast), peer only 92%78%0%0%0%0%
Winnow, peer with starter code removed 91%73%0%0%0%0%
Winnow Enterprise 90%67%0%0%0%0%
Winnow Batch, peer only 82%61%0%0%0%0%
  • Zeus Deep Scan, peer only: Also linked the restructured copy to the heavy disguise at 12%.
  • Zeus Hyper, peer only: Same scores as Zeus Deep Scan on every pair.
  • Dolos, peer only: Linked the restructured copy to the heavy disguise at 18.5%, but neither to the original.

Languages

How many programming languages each engine parses as code. Anything else is still compared, as plain text, which catches less.

What it shows

  • Zeus is the most accurate. It scored the exact and renamed copies at 100% and was the only engine to link the restructured copy back to the original.
  • Dolos and JPlag also scored the exact and renamed copies at 100%, and nothing past that.
  • Window and Winnow found the exact and renamed copies but scored them lower, between 61% and 92%.
  • Heavy restructuring gets past every engine. Moving the logic into a class with an explicit stack brought every score against the original to 0%. Read flagged pairs side by side; a low score is not proof of original work.
  • No false matches. No engine matched the merge sort or the separately written quicksort to anything.

How it was run

  • Date: 2 December 2026.
  • Files: seven Python files, each uploaded as its own submission, the same seven for every engine.
  • Engines: the peer-only version of each, which compares the submissions with each other and nothing else. Web search and AI detection were off.
  • Score: the similarity the engine reported between each file and the original, as shown on its results page.
  • Limits: one language, small files, one run. Longer files give every engine more to match on.

The test files

Original (quicksort.py)

An in-place quicksort with input parsing and a sortedness check, 58 lines.

"""Assignment 4: in-place quicksort with input validation."""
import sys


def partition(arr, low, high):
    # use the last element as the pivot
    pivot = arr[high]
    i = low - 1
    for j in range(low, high):
        if arr[j] <= pivot:
            i += 1
            arr[i], arr[j] = arr[j], arr[i]
    arr[i + 1], arr[high] = arr[high], arr[i + 1]
    return i + 1


def quick_sort(arr, low, high):
    if low < high:
        pi = partition(arr, low, high)
        quick_sort(arr, low, pi - 1)
        quick_sort(arr, pi + 1, high)


def is_sorted(arr):
    for k in range(len(arr) - 1):
        if arr[k] > arr[k + 1]:
            return False
    return True


def read_numbers(line):
    numbers = []
    for token in line.split(","):
        token = token.strip()
        if not token:
            continue
        try:
            numbers.append(int(token))
        except ValueError:
            print("skipping bad value:", token)
    return numbers


def main():
    if len(sys.argv) > 1:
        data = read_numbers(sys.argv[1])
    else:
        data = [33, 10, 55, 71, 29, 3, 18, 42, 7, 64]
    print("before:", data)
    quick_sort(data, 0, len(data) - 1)
    print("after: ", data)
    if not is_sorted(data):
        print("error: list is not sorted")
        sys.exit(1)


if __name__ == "__main__":
    main()
Exact copy (quicksort.py)

The original, byte for byte.

"""Assignment 4: in-place quicksort with input validation."""
import sys


def partition(arr, low, high):
    # use the last element as the pivot
    pivot = arr[high]
    i = low - 1
    for j in range(low, high):
        if arr[j] <= pivot:
            i += 1
            arr[i], arr[j] = arr[j], arr[i]
    arr[i + 1], arr[high] = arr[high], arr[i + 1]
    return i + 1


def quick_sort(arr, low, high):
    if low < high:
        pi = partition(arr, low, high)
        quick_sort(arr, low, pi - 1)
        quick_sort(arr, pi + 1, high)


def is_sorted(arr):
    for k in range(len(arr) - 1):
        if arr[k] > arr[k + 1]:
            return False
    return True


def read_numbers(line):
    numbers = []
    for token in line.split(","):
        token = token.strip()
        if not token:
            continue
        try:
            numbers.append(int(token))
        except ValueError:
            print("skipping bad value:", token)
    return numbers


def main():
    if len(sys.argv) > 1:
        data = read_numbers(sys.argv[1])
    else:
        data = [33, 10, 55, 71, 29, 3, 18, 42, 7, 64]
    print("before:", data)
    quick_sort(data, 0, len(data) - 1)
    print("after: ", data)
    if not is_sorted(data):
        print("error: list is not sorted")
        sys.exit(1)


if __name__ == "__main__":
    main()
Renamed code (sorting.py)

Every name changed and every comment rewritten. Same structure.

"""CS101 homework - quick sort implementation."""
import sys


def split_list(values, start, end):
    # pivot is taken from the end of the range
    ref = values[end]
    w = start - 1
    for r in range(start, end):
        if values[r] <= ref:
            w += 1
            values[w], values[r] = values[r], values[w]
    values[w + 1], values[end] = values[end], values[w + 1]
    return w + 1


def qsort(values, start, end):
    if start < end:
        mid = split_list(values, start, end)
        qsort(values, start, mid - 1)
        qsort(values, mid + 1, end)


def check_order(values):
    for n in range(len(values) - 1):
        if values[n] > values[n + 1]:
            return False
    return True


def parse_input(text):
    result = []
    for piece in text.split(","):
        piece = piece.strip()
        if not piece:
            continue
        try:
            result.append(int(piece))
        except ValueError:
            print("ignoring invalid entry:", piece)
    return result


def main():
    if len(sys.argv) > 1:
        nums = parse_input(sys.argv[1])
    else:
        nums = [33, 10, 55, 71, 29, 3, 18, 42, 7, 64]
    print("unsorted:", nums)
    qsort(nums, 0, len(nums) - 1)
    print("sorted:  ", nums)
    if not check_order(nums):
        print("problem: output not in order")
        sys.exit(1)


if __name__ == "__main__":
    main()
Reworked code (main.py)

Renamed, functions reordered, for loops turned into while loops, swaps done through a temporary variable, a debug flag added.

import sys

DEBUG = False


def parse_input(text):
    result = []
    parts = text.split(",")
    idx = 0
    while idx < len(parts):
        piece = parts[idx].strip()
        idx += 1
        if piece == "":
            continue
        try:
            result.append(int(piece))
        except ValueError:
            print("ignoring invalid entry:", piece)
    return result


def check_order(values):
    n = 0
    while n < len(values) - 1:
        if values[n] > values[n + 1]:
            return False
        n += 1
    return True


def qsort(values, start, end):
    if start >= end:
        return
    mid = split_list(values, start, end)
    if DEBUG:
        print("pivot index", mid)
    qsort(values, start, mid - 1)
    qsort(values, mid + 1, end)


def split_list(values, start, end):
    ref = values[end]
    w = start - 1
    r = start
    while r < end:
        if not values[r] > ref:
            w = w + 1
            tmp = values[w]
            values[w] = values[r]
            values[r] = tmp
        r = r + 1
    tmp = values[w + 1]
    values[w + 1] = values[end]
    values[end] = tmp
    return w + 1


def main():
    nums = parse_input(sys.argv[1]) if len(sys.argv) > 1 else [33, 10, 55, 71, 29, 3, 18, 42, 7, 64]
    print("unsorted:", nums)
    qsort(nums, 0, len(nums) - 1)
    print("sorted:  ", nums)
    if check_order(nums) is False:
        print("problem: output not in order")
        sys.exit(1)


main()
Heavy rewrite (solution.py)

The same partition logic moved into a class, with recursion replaced by an explicit stack.

import sys


class ArraySorter:
    """Sorts a list of integers in place."""

    def __init__(self, items):
        self.items = items

    def _partition(self, lo, hi):
        pivot_value = self.items[hi]
        store = lo
        for scan in range(lo, hi):
            if self.items[scan] <= pivot_value:
                self.items[store], self.items[scan] = self.items[scan], self.items[store]
                store += 1
        self.items[store], self.items[hi] = self.items[hi], self.items[store]
        return store

    def sort(self):
        pending = [(0, len(self.items) - 1)]
        while pending:
            lo, hi = pending.pop()
            if lo < hi:
                p = self._partition(lo, hi)
                pending.append((p + 1, hi))
                pending.append((lo, p - 1))
        return self.items

    def verify(self):
        return all(self.items[i] <= self.items[i + 1] for i in range(len(self.items) - 1))


def load(arg):
    out = []
    for raw in arg.split(","):
        raw = raw.strip()
        if raw:
            try:
                out.append(int(raw))
            except ValueError:
                print("bad input skipped:", raw)
    return out


if __name__ == "__main__":
    values = load(sys.argv[1]) if len(sys.argv) > 1 else [33, 10, 55, 71, 29, 3, 18, 42, 7, 64]
    sorter = ArraySorter(values)
    print("input :", values)
    sorter.sort()
    print("output:", sorter.items)
    if not sorter.verify():
        sys.exit("sort failed")
Merge sort (merge_sort.py)

A different algorithm, written separately.

"""Merge sort, written for lab 4."""
import sys


def merge(left, right):
    merged = []
    a = b = 0
    while a < len(left) and b < len(right):
        if left[a] <= right[b]:
            merged.append(left[a])
            a += 1
        else:
            merged.append(right[b])
            b += 1
    merged.extend(left[a:])
    merged.extend(right[b:])
    return merged


def merge_sort(seq):
    if len(seq) <= 1:
        return seq
    half = len(seq) // 2
    return merge(merge_sort(seq[:half]), merge_sort(seq[half:]))


if __name__ == "__main__":
    raw = sys.argv[1:] or ["5", "2", "9", "1", "7"]
    nums = [float(x) for x in raw]
    result = merge_sort(nums)
    print(" ".join(f"{x:g}" for x in result))
Own quicksort (qs.py)

The same algorithm, written separately in a functional style.

import random


def quicksort(items):
    """Functional quicksort with a random pivot."""
    if len(items) < 2:
        return list(items)
    pivot = random.choice(items)
    lower = [x for x in items if x < pivot]
    equal = [x for x in items if x == pivot]
    upper = [x for x in items if x > pivot]
    return quicksort(lower) + equal + quicksort(upper)


def demo(size=12, seed=4):
    random.seed(seed)
    sample = [random.randint(-50, 50) for _ in range(size)]
    print("in: ", sample)
    print("out:", quicksort(sample))


demo()

Frequently asked questions

Which Codequiry engine is the most accurate?

On this benchmark, Zeus. It caught the exact and renamed copies at 100% and was the only engine to link the restructured copy back to the original. No engine flagged the two files written separately.

How was the benchmark run?

Seven Python files with a known answer were sent to every peer-only engine through the public API on the same day. Four are copies of one original with more disguise each time; two were written separately. Each score is the similarity the engine reported between a file and the original.

Can I run it myself?

Yes. Every test file is printed on this page. Upload them as seven submissions to any engine and compare your scores with the table.

Why do some engines score an exact copy below 100%?

Window and Winnow scored the identical file between 82% and 92%. They still found the match and ranked it first, so the pair would be flagged; the number is lower than the other engines report for the same code.

Which engine reads the most languages?

Zeus, with about 68 programming languages. Dolos reads 19, Window and Winnow 17, and JPlag 14. Code in a language an engine does not parse is still compared, as plain text.

Run your own files

Pick an engine and compare a batch in a minute.

Start a check Pay as you go with credits. Comparing files is free.