summaryrefslogtreecommitdiff
path: root/ep_run/casc_eq_train.py
diff options
context:
space:
mode:
authorYuren Hao <yurenh2@illinois.edu>2026-07-18 23:30:03 -0500
committerYuren Hao <yurenh2@illinois.edu>2026-07-18 23:30:03 -0500
commit258791fd9909c56858b9fdb55900ae2efcd14b8b (patch)
tree74e48e836e53767c9e9f3aed012b4e6c6e2399e9 /ep_run/casc_eq_train.py
parent15ed315b3f43aa35532a5dfea3f9884d63fba71a (diff)
governor接线修复:res/rho非法判据常开(beta_cap_rho>0即生效),crown-3的18k垃圾步正是从'表只接beta_sync'这个洞进的账;用户判定=adaptive beta bug,成立
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014FAPDWQ49M5Ye3NpTndTpn
Diffstat (limited to 'ep_run/casc_eq_train.py')
-rw-r--r--ep_run/casc_eq_train.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ep_run/casc_eq_train.py b/ep_run/casc_eq_train.py
index 0cd46ee..b3239f1 100644
--- a/ep_run/casc_eq_train.py
+++ b/ep_run/casc_eq_train.py
@@ -501,7 +501,10 @@ def ep_step(x, y):
# SYNCHRONOUS acceptance (--beta_sync): judge THIS step by THIS step's own relax
# telemetry — an out-of-window beta can be attempted but can never COMMIT.
if (not math.isfinite(gd)) or (gd > dthr and not args.noguard): return False
- if args.beta_sync > 0 or args.wsync > 0:
+ if args.beta_sync > 0 or args.wsync > 0 or args.beta_cap_rho > 0:
+ # if you measure the ceiling, illegality COUNTS — crown-3's poison entered
+ # through this gate being wired only to beta_sync (18k accepted garbage steps
+ # with the rho-meter screaming); the meter and the gate are now永久 connected.
res_s = ddp_bcast_scalar(GOV.get('res', 0.0))
rho_s = ddp_bcast_scalar(GOV.get('rho') or 0.0)
if res_s > 0.02 and rho_s > args.beta_cap_rho: return False