This paper introduces a system for automatic evaluation of correctness and originality of source codes submitted by students enrolled in courses dealing with computer programming. Automatic correctness checking consists of searching for plagiarisms in assignments submitted earlier and checking the correct implementation of algorithms. User interface is implemented as a Moodle module using its Plagiarism API. The complete system is published with GPLv3 license; therefore other learning institutions can use it as well.