Developing plugins: automatic evaluation of submissions

Developing plugins: automatic evaluation of submissions

Irfan Adilovic -
回帖数:2
Hi, I have a specific problem, and couldn't find any plugin doing a similar thing. Here's a short list of requirements of such a plug-in, my question is if such a thing *can* be implemented for moodle.

I need to allow students to submit program code which is automatically evaluated by being run with some inputs and compared with corresponding outputs. Those plugins need either be predefined in a fixed way, or generatable by a component on-demand (i.e. every exercise specified by the lecturer may have a component which generates I/O pairs (on demand) used to test a student's solution to that exercise). Exercises need to be assigned to students randomly and automatically based on a schedule. Depending on which programming language is set for an individual exercise, a different part of the plug-in would configure and run a compiler/interpreter for that code (e.g. C++, Java, Perl)

Currently I have a custom, from-scratch-written j2ee solution that solves all these things, but is weak in its CMS features where moodle excels - that is why I'd be interested in developing a plugin for moodle, but I don't want to start, and end up half-way after a month+ of work, figuring it'd be impossible to implement such a plug-in without rehacking half of moodle itself.

Regards,

-- Irfy
回复Irfan Adilovic

Re: Developing plugins: automatic evaluation of submissions

Björn Lakeberg -
Hello,

I've the same problem. Our university needs a plugin for moodle, where students can submit their program code in java. Beyond that we have to test the following things:
  • are the program compilable
  • test like jLint
  • test for code conventions
  • test I/O pair
  • plagiatfinder
Have you tested the plugin "Automatic grading of programs" or could you find other plugins, tools or helpful things for your problem.

Kind regards, Björn