My solution (formulated about 10 years ago) to this problem was to have the students copyright the code for each assignment with me as their professor. I would provide guidance and code snippets to use as part of their solution. I also copyrighted my exams and quizzes to limit the retention between years. With a copyright claim, I did not need to depend on underdeveloped university policies providing adequate support. This also helped prevent filing of old assignments and exams/quizzes in frat files.
The students also knew I would cross check a particular assignment for copying others in that same year and from preceding years. It was amazing that even though the lore was there, they would still attempt to copy one particular assignment. When the students were found to have copied, they would be called in for confessions. It occasionally fell that confessions happened on Holy Thursday. In the end, the students got the grades they deserved and the university did not need to be involved.
My solution (formulated about 10 years ago) to this problem was to have the students copyright the code for each assignment with me as their professor. I would provide guidance and code snippets to use as part of their solution. I also copyrighted my exams and quizzes to limit the retention between years. With a copyright claim, I did not need to depend on underdeveloped university policies providing adequate support. This also helped prevent filing of old assignments and exams/quizzes in frat files. The students also knew I would cross check a particular assignment for copying others in that same year and from preceding years. It was amazing that even though the lore was there, they would still attempt to copy one particular assignment. When the students were found to have copied, they would be called in for confessions. It occasionally fell that confessions happened on Holy Thursday. In the end, the students got the grades they deserved and the university did not need to be involved.