Skip to content

Commit 097d501

Browse files
committed
ran black formatter per repo guidelines
1 parent 2436797 commit 097d501

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

axelrod/strategies/bayesian_forgiver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ def strategy(self, opponent: Player) -> Action:
125125
# Adaptive forgiveness threshold
126126
# Higher uncertainty → higher threshold → more forgiving
127127
forgiveness_threshold = (
128-
self.base_forgiveness_threshold + self.uncertainty_factor * uncertainty
128+
self.base_forgiveness_threshold
129+
+ self.uncertainty_factor * uncertainty
129130
)
130131

131132
# Decision logic

0 commit comments

Comments
 (0)