Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Comprehension/fix plagiarism nil error (#7976)
* Refactor plagiarism highlighting to handle edge cases Because of the way that we calculate plagiarism, the code that identifies the matched string for highlighting removes any cases of multiple spaces in a row. We need to account for that edge case in case a student entry actually has multiple spaces. * Add tests for Plagiarism edge case
- Loading branch information
1 parent
1f60b73
commit cabbd69
Showing
2 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters