The fact that people publicly posting their work would get expelled disappoints me. During the Machine Learning class on Coursera, I did all of the programming exercises myself. After submitting the assignments and getting 100% scores, I would browse other people's GitHub repositories to see how they completed the assignment, which taught me more about both Octave syntax and machine learning and helped me to vectorize some of the more tricky algorithms (use Octave's native matrix operations rather than slower for loops).
The people who submit exact copies of assignments they find online should absolutely be penalized. To expel those who publish their work seems overly harsh.