From 493998030ddcfcd815ec12d0b7af243d58bc608f Mon Sep 17 00:00:00 2001 From: Luke Baker Date: Tue, 27 Mar 2012 15:34:35 -0400 Subject: [PATCH] ignore another choice in irregular # appearances test --- lib/tasks/test_api.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/test_api.rake b/lib/tasks/test_api.rake index f57c69c..4ce6c31 100644 --- a/lib/tasks/test_api.rake +++ b/lib/tasks/test_api.rake @@ -319,7 +319,7 @@ namespace :test_api do # this choice appears to have been deactivated then reactivated after # a period of voting - ignore_choices = [133189] + ignore_choices = [133189, 196277] appearances_by_choice_id.each do |choice_id, n_i| if ((n_i < (mean - 6*stddev)) || (n_i > mean + 6 *stddev)) && !ignore_choices.include?(choice_id) && Choice.find(choice_id).active? error_message = "Choice #{choice_id} in Question ##{question.id} has an irregular number of appearances: #{n_i}, as compared to the mean: #{mean} and stddev #{stddev} for this question\n" -- libgit2 0.21.2