Skip to content

Commit

Permalink
fixed formatting for payoff description in dictator game
Browse files Browse the repository at this point in the history
  • Loading branch information
phelps-sg committed Nov 23, 2023
1 parent 4ef4796 commit bf2cd3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llm_cooperation/experiments/dictator.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ def payout_allo(participant: Participant, choice: DictatorChoice) -> str:
def describe_payoffs(participant: Participant, choice: DictatorChoice) -> str:
description: str = choice.description(participant)
return f"""
If you choose '{description}, then you will earn {payout_ego(participant, choice)}
and your partner will also earn {payout_allo(participant, choice)}.
If you choose '{description}', then you will earn {payout_ego(participant, choice)}
and your partner will earn {payout_allo(participant, choice)}.
"""


Expand Down

0 comments on commit bf2cd3f

Please sign in to comment.