Goldensunboy / combocheck

Cheat detection software for programming assignments
GNU General Public License v3.0
1 stars 0 forks source link

Incorrect LCS matching #2

Open Goldensunboy opened 4 years ago

Goldensunboy commented 4 years ago

The attached files are not lined up properly by the longest common subsequence algorithm for the comparison dialog. IncorrectMatching.zip

Goldensunboy commented 4 years ago

The left file (file2) should be 47 lines long after LCS matching, but it is 46. LCS finds 3 regions to add space to files so that they match in length, and the left file should have a single empty line at the end (but it does not).