From 4fb9908d9b04475c858bef066ac103ebd42ba88c Mon Sep 17 00:00:00 2001 From: Yuren Hao Date: Sat, 18 Jul 2026 13:40:13 -0500 Subject: =?UTF-8?q?RESULT=2043+44:=20crown-3=20=E6=AD=BB=E5=9B=A0=3Dcap?= =?UTF-8?q?=E7=A1=AC=E5=BA=95=E9=92=89=E5=9C=A8=E5=A1=8C=E8=90=BD=E5=A4=A9?= =?UTF-8?q?=E8=8A=B1=E6=9D=BF=E4=B9=8B=E4=B8=8A(=E5=8F=98=E7=9B=B8wall-2);?= =?UTF-8?q?=20endgame=20A/B=E5=B9=B3=E5=B1=80(3.4245/3.4244)=E4=BC=B0?= =?UTF-8?q?=E8=AE=A1=E5=99=A8=E6=97=A0=E7=BD=AA;=20bpmix=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?gap=E5=85=A8=E5=9C=A8=E4=B8=8A=E5=8D=8Ablocks(77%)attn/ffn?= =?UTF-8?q?=E5=9D=87=E5=88=86,=E5=BA=95=E5=8D=8A=3D0;=20--cap=5Ffloor?= =?UTF-8?q?=E8=A1=A5=E4=B8=81+fw72m=5Fplain=5Fnf=E6=97=A0=E7=A1=AC?= =?UTF-8?q?=E5=BA=95190k=E9=87=8D=E6=94=BE=E5=9C=A8=E9=A3=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_014FAPDWQ49M5Ye3NpTndTpn --- ep_run/casc_eq_train.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'ep_run') diff --git a/ep_run/casc_eq_train.py b/ep_run/casc_eq_train.py index fb9dca5..cca37b5 100644 --- a/ep_run/casc_eq_train.py +++ b/ep_run/casc_eq_train.py @@ -68,6 +68,9 @@ ap.add_argument('--drift_adapt', type=float, default=0.0) # >0: adaptive drift ap.add_argument('--beta_cap_rho', type=float, default=0.0) # >0: LOOP-GAIN CAP on beta — if per-sweep residual # ratio rho^ exceeds this, bscale *= 0.8 (beta backs off # under the wall-2 ceiling); recovers x1.02 when rho^ low +ap.add_argument('--cap_floor', type=float, default=0.05) # hard bottom of the rho-cap; 0 = pure ceiling-tracking + # (cap follows the measured ceiling all the way down; a + # pinned bottom above the true ceiling = disguised wall-2) ap.add_argument('--relax_tol', type=float, default=0.0) # >0: ADAPTIVE relax — sweep until rel. state change < tol # (or --kmax), geta backtracks x0.6 on residual GROWTH (rho>=1 # signal), then one final graphed round. 0 = legacy fixed-K. @@ -445,7 +448,7 @@ def ep_step(x, y): # EFFECTIVE beta is continuous across any floor change (the 0.09-at-20k bug, RESULT 37) pf = GOV.get('prev_floor') if pf is not None and fl != pf and pf > 0 and fl > 0: - GOV['cap'] = min(max(GOV.get('cap', 1.0) * pf / fl, 0.05), args.beta_ride) + GOV['cap'] = min(max(GOV.get('cap', 1.0) * pf / fl, args.cap_floor), args.beta_ride) GOV['prev_floor'] = fl beta_t = beta_t * GOV.get('cap', 1.0) # wall-2 loop-gain cap OVERRIDES the floor (the ceiling # can sit below the floor near the wall; survival first) @@ -504,7 +507,7 @@ def ep_step(x, y): if _legal(gdrift): ok_retry = True if args.beta_ride > 1.0: # the failed trial IS the ceiling measurement - GOV['cap'] = max(GOV.get('cap', 1.0) * 0.5 ** (_h + 1), 0.05) + GOV['cap'] = max(GOV.get('cap', 1.0) * 0.5 ** (_h + 1), args.cap_floor) break if ok_retry: pass @@ -534,7 +537,7 @@ def ep_step(x, y): rho_use = GOV['rho_ema'] = 0.9 * GOV.get('rho_ema', rho_g) + 0.1 * rho_g GOV['cool'] = max(GOV.get('cool', 0) - 1, 0) if res_g > 0.02 and rho_use > args.beta_cap_rho: - GOV['cap'] = max(GOV.get('cap', 1.0) * 0.85, 0.05) # attack (gentler than v1) + GOV['cap'] = max(GOV.get('cap', 1.0) * 0.85, args.cap_floor) # attack (gentler than v1) if args.ride_cool > 0: GOV['cool'] = args.ride_cool # ride-v2(c), opt-in elif (res_g < 0.01 or rho_use < 0.5 * args.beta_cap_rho) and GOV['cool'] == 0: # recover; with beta_ride > 1 the governor CLIMBS past the schedule — beta finds -- cgit v1.2.3