Spaces:
Sleeping
Sleeping
Fix R3 neutral score, raise goodness threshold to 0.72
Browse files67 unmodified lines686970717273747569 unmodified lines14514614714814915015167 unmodified linesmy_collision_rounds.append(record)if not my_deploy_rounds:# Agent never deployed — neutral score (can't win R3 by hiding)return 0.5collision_rate = len(my_collision_rounds) / len(my_deploy_rounds)return 1.0 - collision_rate69 unmodified linesDEFAULT_WEIGHTS = {"r1": 0.4, "r2": 0.3, "r3": 0.2, "r4": 0.1}DDEFAULT_GOODNESS_THRESHOLD = 0.72 # tune this after first smoke rundef compute_rewards(67 unmodified lines686970717273747569 unmodified lines14514614714814915015167 unmodified linesmy_collision_rounds.append(record)if not my_deploy_rounds:# Agent never deployed — no credit (doing nothing doesn't help the outage)return 0.0collision_rate = len(my_collision_rounds) / len(my_deploy_rounds)return 1.0 - collision_rate69 unmodified linesDEFAULT_WEIGHTS = {"r1": 0.4, "r2": 0.3, "r3": 0.2, "r4": 0.1}DEFAULT_GOODNESS_THRESHOLD = 0.72 # raised from 0.55 after observing inflated R3def compute_rewards(
src/rewards.py+3-3