Skip to main content

Library for detecting plagiarism in source code. Userful for online judges, teachers, developers and maybe lawyers.

Plagiarism uses the method described [here](http://…). The basic idea is to classify each submitted file according to different metrics and perform a series of k-means based clusterizations to determine which objects are most similar to each other. This approach has a N log N cost and scales fairly well to big samples.

The algorithm can be applied to natural text, source code and can even be adapted to run on arbitrary data structures (such as the parse tree of a computer program, ASM output, even binary executables). It requires some tuning for each application and accuracy may vary widely depending on application. You should expect better results grading Python and C source code. Performance on other programming languages or even in other domains may vary.

Release files for plagiarism 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plagiarism 0.1.0
File Size Uploaded
plagiarism-0.1.0.tar.gz 21.1 kB Details

Release files / plagiarism-0.1.0.tar.gz

Download URL plagiarism-0.1.0.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ef158ebc755f323d4d371ddc230ab2e346462e2b96a7f6cfa4181e215450c3a4
BLAKE2b-256 checksum
How to use checksums
9e99b1db825ef1f24fa80e0535528f6b1f7eda1b11e61000c50260660a58f294
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page