Provide an incentive for students to do the thing they should be doing anyway.
Give an opportunity to provide feedback on the assignment.
It is totally useless as an evaluation mechanic, because of course the students that want to can just cheat. It’s usually pretty small, right? IIRC when I did tutoring we only gave like 10-20% for the aggregate homework grade.