In my opinion, when an assignment is flagged as potential plagiarism, that should be a signal that the student needs to be interviewed about the work to make sure that they actually understand the material well enough to produce a good assignment. Disciplining based on the output of an algorithm provided by a third-party is very stupid.