Skip to content

Course Authoring Evaluator - Sandboxed expression evaluator for templated question creation

License

Notifications You must be signed in to change notification settings

Simon-Initiative/authoring-eval

Repository files navigation

authoring-eval

Open Learning Initiative

OLI Authoring Evaluator is a sandboxed expression evaluation engine and web service for dynamic questions. It allows for the creation of questions that have variables that can change for each student, so that each student has a different question. For example, one student may see a question asking to find the derivative of 8x^2, while another student may see 11x^4. In this case, the coefficient and the exponent are variables that can be a random number so that every number can have a different number.

The expression evaluator accepts a set of variable names and their expressions in a POST request and returns the evaluations. A sample of the POST payload can be found in the data directory as sample.json.

Dynamic Questions

Dynamic questions can be created within question pools using the Course Author.

Dynamic Question Editor

For more information on how to create dynamic questions, see OLI Dynamic Questions.

Running locally

Command to build and run the Evaluation server on local port 8000:

docker build -t eval-engine . && docker run -p 8000:8000 eval-engine

Related repositories

License

This software is licensed under the MIT License © 2019 Carnegie Mellon University