density.rb
61 Bytes
-
(1) We calculate the density of votes over time to see if the catchup algorithm is having an effect. For each question, there are four types of prompts (seed vs seed, seed vs nonseed, nonseed vs seed, and nonseed vs nonseed). Over time, the density of all types of prompts should converge. This model will allow us to track over time (2)Rake task will be run every night via a cron job. Simply calculates and saves the four density records for each question in the db.