Skip to main content

Metrics and Achievements

The metrics system (as it's commonly referred to as) is a system built by IDL that allows us to track metrics for individual users.

It is only used to track pupils metrics as of writing, however it's implementation is not limited to just pupils.

The main use case for the system is to track metrics such as the number of literacy lessons completed, or how many numeracy lessons they have consecutively scored 5 stars in (aka a streak) so that achievements can be awarded.

metrics.json

All the metrics we track for a particular user are stored in the static/metrics.json file.

Achievements

Achievement evaluation is done separately, e.g. for Numeracy by Strand, it's done when a lesson is submitted and after their metrics have been updated