Hi all,
The plugin code has been polished up and is now available for download and testing. I'd appreciate any and all feedback:
https://github.com/dannyliu-mq/moodle-mod_engagement
https://github.com/dannyliu-mq/moodle-report_engagement
(We are no longer using/supporting the block, as our research has found that the traffic light representations are inaccurate and too abstracted).