|
|
|
|
|
by jacques_chester
4768 days ago
|
|
I've seen cheating-detection programs that use tree diff scores to compare code from different students. The theory goes that students who share solutions will probably change the variable names, do some reformatting etc, which would fool a text diff. But the actual structure of the AST will be the same or similar. So if you find close matches, you inspect them more closely. Some quick Googling reveals that plagiarism detection using tree comparisons is a common idea. |
|