Commit 493998030ddcfcd815ec12d0b7af243d58bc608f
1 parent
af6a0e28
Exists in
master
and in
1 other branch
ignore another choice in irregular # appearances test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/test_api.rake
... | ... | @@ -319,7 +319,7 @@ namespace :test_api do |
319 | 319 | |
320 | 320 | # this choice appears to have been deactivated then reactivated after |
321 | 321 | # a period of voting |
322 | - ignore_choices = [133189] | |
322 | + ignore_choices = [133189, 196277] | |
323 | 323 | appearances_by_choice_id.each do |choice_id, n_i| |
324 | 324 | if ((n_i < (mean - 6*stddev)) || (n_i > mean + 6 *stddev)) && !ignore_choices.include?(choice_id) && Choice.find(choice_id).active? |
325 | 325 | 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" | ... | ... |