numbas / numbas-lti-provider

An LTI tool provider to run Numbas exams
https://docs.numbas.org.uk/lti/en/latest/
Other
11 stars 12 forks source link

Timing issues with cached attempt metadata #289

Open christianp opened 9 months ago

christianp commented 9 months ago

There are a couple of bits of metadata for attempts that are cached, to save looking through SCORM elements: the scaled score, start and end time, and completion status.

When there's a delay running background tasks, these can be out of date. We should directly look up the SCORM elements when it's important to have the latest value: when reporting scores to the consumer, when emailing the attempt receipt, and when showing the list of attempts at a resource to the student.