You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem?
- Currently code is confusing with unrelated actions occurring in a single function
Describe the solution you'd like
Copy the following into its' own function:
# From Reds message potency, e.g. 1.x, x*10 becomes the chance of ignoring red team members.
IgnoreRedchance = ((1 - action) * 10)
# Green nodes only ignore Red when their certainty value is positive (leaning toward voting).
if team == redTeam and node["Certainty"] > 0.0:
# If the Green node doesn't tolerate Red's nonsense, they will ignore them.
if IgnoreRedchance >= node["Tolerance"]:
node["Ignore Red"] = True
# If they tolerate a bit, leave whether they ignore Red to chance (nonsense / tolerance of respective node).
else:
node["Ignore Red"] = random.random()<(IgnoreRedchance/node["Tolerance"])
Call the update ignore red team after red plays it's turn.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
- Currently code is confusing with unrelated actions occurring in a single function
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: