Commit 93444bab78041409f7fe4e4b146e1b6b8fec2f68

Authored by Dhruv Kapadia
1 parent 5580b9dd

Setting crsAWCpilot to use catchup algorithm

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/prompts_controller.rb
@@ -70,7 +70,7 @@ class PromptsController < InheritedResources::Base @@ -70,7 +70,7 @@ class PromptsController < InheritedResources::Base
70 #@prompt.choices.each(&:compute_score!) 70 #@prompt.choices.each(&:compute_score!)
71 respond_to do |format| 71 respond_to do |format|
72 if successful 72 if successful
73 - catchup_marketplace_ids = [120, 117, 1] 73 + catchup_marketplace_ids = [120, 117, 1, 116]
74 if catchup_marketplace_ids.include?(@question.id) 74 if catchup_marketplace_ids.include?(@question.id)
75 logger.info("Question #{@question.id} is using catchup algorithm!") 75 logger.info("Question #{@question.id} is using catchup algorithm!")
76 next_prompt = @question.catchup_choose_prompt 76 next_prompt = @question.catchup_choose_prompt