New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use "Moss" to compare code-snippets #160

Open
FelixSFD opened this Issue Mar 30, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@FelixSFD
Copy link
Member

FelixSFD commented Mar 30, 2018

Moss (for a Measure Of Software Similarity) is an automatic system for determining the similarity of programs. To date, the main application of Moss has been in detecting plagiarism in programming classes. Since its development in 1994, Moss has been very effective in this role. The algorithm behind moss is a significant improvement over other cheating detection algorithms (at least, over those known to us).

https://theory.stanford.edu/~aiken/moss/

I think it's definitely worth a try. At first, I'd implement this a in new Reason, but if it's working, we could try adding this to StringSimilarity.

There is an unofficial Java-library: https://github.com/nordicway/moji

@sbaltes

This comment has been minimized.

Copy link

sbaltes commented Oct 25, 2018

In issue #28, I also pointed to our implementation of the Winnowing algorithm, which serves a similar purpose. We already evaluated how suitable it is for comparing Stack Overflow posts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment