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.
Metadata
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 | Provenance | |
|---|---|---|---|---|
| plagiarism-0.1.0.tar.gz | 21.1 kB | Without provenance | 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 |
Security for plagiarism 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.