cosmicds / cds-api

API for accessing the CosmicDS database
GNU General Public License v3.0
0 stars 3 forks source link

Add functionality for excluding certain student measurements #69

Closed Carifio24 closed 1 year ago

Carifio24 commented 1 year ago

This PR adds some infrastructure to allow us to ignore data for a given student in a given story. The intended use case here is for real students whose data are unusual enough that we don't want them to show up in whatever visualizations the story contains.

I've set this up so that we can specify a given student/story pair - this means that if we're ever at a point where a student uses the same account for multiple stories, we can choose to only ignore their data for a particular story. This is accomplished via an IgnoreStudents join table that we then use in our queries.