We have been using Moodle to grade students in programming exercises. There are great extensions for that like CodeRunner. Unfortunately, our University won't install that for us, neither do they allow us to use Moodle Web Services API.
Until we sort that out, what we have been doing is good old scraping. Students write their code and then we have a scrapper that evaluates the code and grades them.
For each student, the payload from the Manual Grading module looks like this:
'q13714:1_:sequencecheck': '4', 'q13714:1_-comment:itemid': '851663052', 'q13714:1_-commentformat': '1', 'q13714:1_-mark': '100', 'q13714:1_-maxmark': '100', 'q13714:1_:minfraction': '0', 'q13714:1_:maxfraction': '1'
We have been submitting the grade using q13714:1_-mark. My question is, it would be nice to also submit something as comment/feedback.
Looking at the POST payload, I am not sure how we should do that... Help?