A session is the store for all information related to a single student, working on a single exercise or question. It contains the definition of the exercise, every intermediate step performed by the student (with evaluation result and feedback) and every hint requested.
Note: A session does not store any information that identifies the student; it is up to you to keep track of which sessions are performed by which student.
Each session has a unique session id, which is returned by the AlgebraKiT webservice when calling
/session/create. Use this session id to:
- Restore the question widget. For example, the widget is restored to its most recent state, when a student navigates away from the page and returns to it later.
- Review the question. Reconstruct the question widget such that a teacher can inspect all intermediate results, feedback and hints.
- Get the worked-out solution for a session.
- Get a list of all learning events. Obtain a list of evaluation results, detected student errors and generated hints. You can use this information to calculate a score according to your own requirements.