UCL-INGI / INGInious

INGInious is a secure and automated exercises assessment platform using your own tests, also providing a pluggable interface with your existing LMS.
http://www.inginious.org
Other
202 stars 139 forks source link

[utils/tasktester] Make the task tester compatible with the new taskset feature #973

Open nrybowski opened 11 months ago

nrybowski commented 11 months ago

Is your feature request related to a problem? Please describe. inginious.org already deploys unmerged features such as the new tasksets (See https://github.com/UCL-INGI/INGInious/tree/tasksets).

However, the task tester script relies on the current course format and fails with the newer taskset format. See:

Traceback (most recent call last):
  File "/inginious/./inginious-test-task", line 301, in <module>
    taskset_factory, task_factory = create_factories(local_fsp, task_dispensers, task_problem_types)
ValueError: too many values to unpack (expected 2)

Hence, courses currently available on inginious.org won't benefit from the CI task tester feature.