Skip to content

Commit c58b211

Browse files
committed
use constant for dictionary key for chain_of_thought
1 parent 00191bd commit c58b211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llm_cooperation/experiments/dilemma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def payout(amount: int) -> str:
182182
return f"${amount}.00"
183183

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

0 commit comments

Comments
 (0)