Skip to content

Commit bf2cd3f

Browse files
committed
fixed formatting for payoff description in dictator game
1 parent 4ef4796 commit bf2cd3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llm_cooperation/experiments/dictator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ def payout_allo(participant: Participant, choice: DictatorChoice) -> str:
163163
def describe_payoffs(participant: Participant, choice: DictatorChoice) -> str:
164164
description: str = choice.description(participant)
165165
return f"""
166-
If you choose '{description}, then you will earn {payout_ego(participant, choice)}
167-
and your partner will also earn {payout_allo(participant, choice)}.
166+
If you choose '{description}', then you will earn {payout_ego(participant, choice)}
167+
and your partner will earn {payout_allo(participant, choice)}.
168168
"""
169169

170170

0 commit comments

Comments
 (0)