France-ioi / taskgrader

This simple tool manages every step of grading a contest task, from the generation of test data to the grading of a solution output
MIT License
13 stars 3 forks source link

MOOC 7 final should Grader ignore comments #97

Closed AadhyaKocha closed 3 years ago

AadhyaKocha commented 3 years ago

As seen in this issue, the final quiz of MOOC 7 marks the students incorrect if they delete comments from the given code. I have made note not to do that in the question now but we were wondering if it is possible to change the grader to ignore comments when checking the code? Any thoughts on if this should be done? @remisharrock @EllaHa

AadhyaKocha commented 3 years ago

@mblockelet any ideas if comments can be ignored from the grader?

mblockelet commented 3 years ago

Hi, sorry I somehow missed this when you posted it the first time.

The grader can ignore comments if it wants ; but it is your own custom grader, it's not something the taskgrader can help with. You'll need to modify your own custom grader to do so.