Grader for C programming

Hi all,

We are planning to grade the students C program as part of a course in open-edx. Anyone have any information regarding the grader available for open-edx to evaluate the student’s C program and grade it.

@iamsumesh I don’t know of one made specifically for C, but you can see some documentation about external graders at

https://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/exercises_tools/external_graders.html

and see an example of a Python code grader:

@antoviaque Thanks for the help. We have configured this grader for python and it is working well. Shall I ask one more help?

We are trying to integrate https://github.com/edx/xqueue-watcher with openedx for python grading. we getting the following error

lab@openedx:/edx/xqueue-watcher$  python -m xqueue_watcher -d conf.d/
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/edx/xqueue-watcher/xqueue_watcher/__main__.py", line 2, in <module>
    from .manager import main
  File "xqueue_watcher/manager.py", line 21, in <module>
    'python': codejail.languages.python2,
AttributeError: 'module' object has no attribute 'languages'

our json file contents are

lab@openedx:/edx/xqueue-watcher/conf.d$ cat xqueue_watcher.json
{
“xqueue_watcher”: {
“SERVER”: “http://127.0.0.1:18040”,
“CONNECTIONS”: 1,
“AUTH”: [“lms”, “lms”],
“HANDLERS”: [
{
“HANDLER”: “xqueue_watcher.grader.Grader”,
“KWARGS”: {
“grader_root”: “/edx/xqueue-watcher/xqueue_watcher/”,
}
}
]
}
“CODEJAIL”: {
“name”: “python”,
“python_bin”: “/edx/app/edxapp/venvs/edxapp-sandbox/bin/python”,
“user”: “sandbox”
}
}

openedx version is ironwood.