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

Freeing emory through checker #104

Closed AadhyaKocha closed 2 years ago

AadhyaKocha commented 2 years ago

I am working on this issue to add the ability to check for if memory is freed in the checker. We are hoping to duplicate something like this checker which has a line on freeing into this quiz which is not doing the checking as seen in its python code. However, we are not sure how to make this change and how to get it to update into the edX implementation. How does the python checked connect to Task Grader and to edX?

Here is a screenshot of another checker that checks for memory free correctly: Screenshot 2022-02-17 at 9 55 11 AM

mblockelet commented 2 years ago

Hi,

There seems to be an issue with the task editor which prevents from updating the checker, so I'll have a look into that.

I updated your checker manually in the meanwhile so that it includes the code from the other checker which was linked and had the check for "free" usage.

I'm not sure I understand the question about how the checker "connects" ; the checker is executed by the taskgrader to determine the grade.

AadhyaKocha commented 2 years ago

Looks like it is checking freeing memory correctly now. Thank you!