grapesmoker / qems2

A new implementation of the QEMS submission system for quizbowl questions.
GNU General Public License v2.0
9 stars 4 forks source link

Pre-calculate things that require expensive queries on edit_question_set #275

Open mbentley00 opened 9 years ago

mbentley00 commented 9 years ago

We need to return the entire set of tossups and bonuses in order to calculate things like % of a subdistribution is left to write. Rather than doing this every single time, we should instead calculate this when the set is updated and allow for much faster queries.