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)
| 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 |