From 4de4d115b15e4852240112477f0c5ee3f7e7f1b1 Mon Sep 17 00:00:00 2001 From: ritessshhh Date: Tue, 6 Aug 2024 17:48:44 +0530 Subject: [PATCH] fixed cbp component --- .../src/main/java/cmu/xprize/bp_component/CBP_Component.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/comp_bubblepop/src/main/java/cmu/xprize/bp_component/CBP_Component.java b/comp_bubblepop/src/main/java/cmu/xprize/bp_component/CBP_Component.java index 2c3e27d8d..8c1431d7c 100644 --- a/comp_bubblepop/src/main/java/cmu/xprize/bp_component/CBP_Component.java +++ b/comp_bubblepop/src/main/java/cmu/xprize/bp_component/CBP_Component.java @@ -123,7 +123,7 @@ public class CBP_Component extends FrameLayout implements IEventDispatcher, ILoa public String[] gen_stimTypeSet = null; // text/reference - for mixed stimulus items public String[][] gen_stimulus_script = null; // List of uttereances describing each question - public int question_count = 7; // by default limit to 10 questions. + public int question_count = 10; // by default limit to 10 questions. public String question_sequence = "SEQUENTIAL"; // question order - random / sequential (i.e. in stimulusSet order) public boolean question_replacement= false; // Whether to allow questions to appear more than once when random order @@ -283,8 +283,7 @@ protected void preProcessDataSource() { // If question count is 0 - show all item in the stimulus set // if(question_count == 0) { -// question_count = gen_stimulusSet.length; - question_count = 5; + question_count = gen_stimulusSet.length; } // gen_xxx...type values are used when the type is consistent throughout