/mooc-grader-opendsa-course

Integrates OpenDSA exercises into mooc-grader.

Primary LanguageJavaScript

OpenDSA exercises served in mooc-grader

OpenDSA is an eTextbook project for Data Structures and Algorithms. This repository includes the OpenDSA repository as a git submodule. http://algoviz.org/OpenDSA/ https://github.com/OpenDSA/OpenDSA

This repository can be cloned to mooc-grader for serving OpenDSA exercises for A+ learning environment. https://github.com/Aalto-LeTech/mooc-grader https://github.com/Aalto-LeTech/a-plus

Note: see build.sh to

  1. Checkout the OpenDSA as a submodule
  2. Build the OpenDSA internals
  3. Amend the OpenDSA with Ajax submit

Note: problem with current OpenDSA code

In lib/odsaUtils.js or lib/odsaUtils-min.js lines 751-762 the code is trying to fix code URLs and is broken for the required exercises. Temporary solution is to comment that block out.

Security

  • The grading system only knows a signed URL to submit for a certain exercise and students.
  • The submission includes a hash signature over URL, answer, points and maximum points. Forging these requires reverse engineering minified JavaScript.
  • The submission includes log of solving the exercise. The log can be automatically reinspected in back-end or manually checked for suspected cases.