empirical-org / Empirical-Core

Empirical Core is the mono repo for the Quill.org codebase. This repo contains both the Quill Learning Tools, such as Quill Connect, and the Quill Learning Management System, the platform that enables teachers to provide assignments and view results. (Empirical is the name of the nonprofit building Quill.org).
http://www.quill.org/
GNU Affero General Public License v3.0
25 stars 4 forks source link

Add pre-diagnostic and post-diagnostic stats to district Vitally data #12523

Open cissyxyu opened 22 hours ago

cissyxyu commented 22 hours ago

WHAT

Add stats on pre-diagnostic and post-diagnostics assigned and completed to District wrapup data in Vitally.

WHY

Admin want these stats in order to stay better informed on school districts throughout the years.

HOW

Add some methods for more fine-grained querying of activity data. Fix the bug where we were neglecting to include units that have been archived (visible: false) by using direct SQL instead of ActiveRecord in some of the queries.

Screenshots

(If applicable. Also, please censor any sensitive data)

Notion Card Links

https://www.notion.so/quill/Update-Vitally-Data-Sync-New-Diagnostic-Usage-Data-2fb92d4ba89847af9da661fc78710556?pvs=4

What have you done to QA this feature?

Deploy to staging and test on a sample district.

PR Checklist Your Answer
Have you added and/or updated tests? yes
Have you deployed to Staging? yes
Self-Review: Have you done an initial self-review of the code below on Github? yes