Closed sibinhho99 closed 10 months ago
Cc:
Hi
This is a bug of the change introduced in #389 .
When submitting the Arhive.zip file in https://github.com/WING-NUS/SSID/issues/399, skeleton code is mysteriously included in current sem submissions' comparisons
Arhive.zip
This is because there's a careless mistake in the comparison in https://github.com/WING-NUS/SSID/blob/0fb4da9054d0148605f65cc050a426866e7dfb5a/lib/java/PlagiarismDetection/src/pd/SimComparer.java#L82C5-L82C5 , whereby the s2 submission should be from the currentSemSubmissions variable instead of submissions.
currentSemSubmissions
submissions
Steps to reproduce the behavior:
Archive.zip
Correct comparisons made
Thanks!
Cc:
Hi
Describe the Bug
This is a bug of the change introduced in #389 .
When submitting the
Arhive.zip
file in https://github.com/WING-NUS/SSID/issues/399, skeleton code is mysteriously included in current sem submissions' comparisonsThis is because there's a careless mistake in the comparison in https://github.com/WING-NUS/SSID/blob/0fb4da9054d0148605f65cc050a426866e7dfb5a/lib/java/PlagiarismDetection/src/pd/SimComparer.java#L82C5-L82C5 , whereby the s2 submission should be from the
currentSemSubmissions
variable instead ofsubmissions
.To Reproduce
Steps to reproduce the behavior:
Archive.zip
file in https://github.com/WING-NUS/SSID/issues/399Expected Behavior
Correct comparisons made
Tasks
Acceptance Criteria
More Information
Environment
Screenshots
Thanks!