diff --git a/backend/app/routes/session_utils/save_trial.py b/backend/app/routes/session_utils/save_trial.py index db31ff45..5c85a53c 100644 --- a/backend/app/routes/session_utils/save_trial.py +++ b/backend/app/routes/session_utils/save_trial.py @@ -92,6 +92,15 @@ async def save_social_learning_selection(trials: List[Trial], sl_selection = trials[0] sl_trials = trials[1:] + # TODO: remove this after pilot 2B !!! + # ----------------- Relevant for pilot 2B ----------------- + # sl_selection.id == 4 is the first social learning selection trial + if sl_selection.id == 4: + comment = "To be able to get to the arrows with 400 points you first need to take three arrows with -50 points." + else: + comment = "Follow three red arrows, then follow the highest points possible." + # --------------------------------------------------------- + # remove instruction trial if it is in the list of social learning trials sl_trials = [t for t in sl_trials if t.trial_type != 'instruction'] @@ -119,7 +128,11 @@ async def save_social_learning_selection(trials: List[Trial], sl_trials[n * 3 + i].advisor = Advisor( advisor_id=body.advisor_id, solution=t.solution, - written_strategy=wr_s.strategy + # written_strategy=wr_s.strategy + # TODO: remove this after pilot 2B !!! + # ----------------- Relevant for pilot 2B ----------------- + written_strategy=comment + # --------------------------------------------------------- ) # assign advisor's network to the trial sl_trials[n * 3 + i].network = t.network