File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llm_cooperation/experiments Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ def compute_freq_pd(choices: List[Choices[DilemmaChoice]]) -> float:
298298
299299
300300@lru_cache ()
301- def create_participants (num_participant_samples : int ) -> List [Participant ]:
301+ def get_participants (num_participant_samples : int ) -> List [Participant ]:
302302 participant_conditions = GROUP_PROMPT_CONDITIONS
303303 random_attributes : Grid = {
304304 CONDITION_CHAIN_OF_THOUGHT : [True , False ],
@@ -338,7 +338,7 @@ def run(
338338 compute_freq = compute_freq_pd ,
339339 )
340340 return run_experiment (
341- participants = iter (create_participants (num_participant_samples )),
341+ participants = iter (get_participants (num_participant_samples )),
342342 partner_conditions = {
343343 "unconditional cooperate" : strategy_cooperate ,
344344 "unconditional defect" : strategy_defect ,
You can’t perform that action at this time.
0 commit comments