Skip to content

Commit

Permalink
use constant for dictionary key for chain_of_thought
Browse files Browse the repository at this point in the history
  • Loading branch information
phelps-sg committed Nov 18, 2023
1 parent 00191bd commit c58b211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llm_cooperation/experiments/dilemma.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def payout(amount: int) -> str:
return f"${amount}.00"

def round_instructions() -> str:
if participant["chain_of_thought"]:
if participant[CONDITION_CHAIN_OF_THOUGHT]:
return f"""
For each round, give your answer in the format below on two separate lines:
Explanation: [why I made my choice]
Expand Down

0 comments on commit c58b211

Please sign in to comment.