diff --git a/rsm_rise/scripts/nb/df_idmcap_cells/c007_thr_N1024_ex8_rnd.sh b/rsm_rise/scripts/nb/df_idmcap_cells/c007_thr_N1024_ex8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..a0f35ad9fd73ce6e5ebd5455c5cc73ae2a3b2c51 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcap_cells/c007_thr_N1024_ex8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcap_gen_queue.sh -- gen_q#274 run 40 (planner capacity) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 1024 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmcap_cells/c008_mug_N128_ex4_idm.sh b/rsm_rise/scripts/nb/df_idmcap_cells/c008_mug_N128_ex4_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..250efd761979b83d33e8ef539f9ce20cd056664f --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcap_cells/c008_mug_N128_ex4_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcap_gen_queue.sh -- gen_q#274 run 40 (planner capacity) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=4 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmcap_cells/c009_mug_N128_ex4_rnd.sh b/rsm_rise/scripts/nb/df_idmcap_cells/c009_mug_N128_ex4_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..81ef9e9a8bde7d2935a4b7d0fb6672d6eeaa369e --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcap_cells/c009_mug_N128_ex4_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcap_gen_queue.sh -- gen_q#274 run 40 (planner capacity) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=4 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmcap_cells/c010_thr_N128_ex4_idm.sh b/rsm_rise/scripts/nb/df_idmcap_cells/c010_thr_N128_ex4_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..a3163aaff74fbfb9336fd48f6a198d102594a6fc --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcap_cells/c010_thr_N128_ex4_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcap_gen_queue.sh -- gen_q#274 run 40 (planner capacity) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=4 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmcap_cells/c011_thr_N128_ex4_rnd.sh b/rsm_rise/scripts/nb/df_idmcap_cells/c011_thr_N128_ex4_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..863caac0fb33d5e88d3c315ea6c0e8dec1a955b9 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcap_cells/c011_thr_N128_ex4_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcap_gen_queue.sh -- gen_q#274 run 40 (planner capacity) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=4 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmcap_cells/c012_mug_N128_ex2_idm.sh b/rsm_rise/scripts/nb/df_idmcap_cells/c012_mug_N128_ex2_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..0822ca78267e99a0e2df106f2f2883146e7f58ff --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcap_cells/c012_mug_N128_ex2_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcap_gen_queue.sh -- gen_q#274 run 40 (planner capacity) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=2 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmcap_cells/c013_mug_N128_ex2_rnd.sh b/rsm_rise/scripts/nb/df_idmcap_cells/c013_mug_N128_ex2_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..81b3b0ac2946f19ccc3313372cf52c82644f5558 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcap_cells/c013_mug_N128_ex2_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcap_gen_queue.sh -- gen_q#274 run 40 (planner capacity) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=2 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmcap_cells/c014_thr_N128_ex2_idm.sh b/rsm_rise/scripts/nb/df_idmcap_cells/c014_thr_N128_ex2_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..54e15fe7a1084beed9aea2820ac5abf0738328fc --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcap_cells/c014_thr_N128_ex2_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcap_gen_queue.sh -- gen_q#274 run 40 (planner capacity) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=2 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmcap_cells/c015_thr_N128_ex2_rnd.sh b/rsm_rise/scripts/nb/df_idmcap_cells/c015_thr_N128_ex2_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..98a53bf77bb219f112f60118451a54707a2627b0 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcap_cells/c015_thr_N128_ex2_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcap_gen_queue.sh -- gen_q#274 run 40 (planner capacity) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=2 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmcap_gen_queue.sh b/rsm_rise/scripts/nb/df_idmcap_gen_queue.sh new file mode 100644 index 0000000000000000000000000000000000000000..80b926df157f2d86ca36173971e442c509b7259f --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcap_gen_queue.sh @@ -0,0 +1,80 @@ +#!/usr/bin/env bash +# gen_q#274, stream DF_MAKEITWORK run 40 -- the PLANNER-CAPACITY spot check. +# +# WHY. On threading the k8_n10 decoder arm now measures argmax-of-128 0.133 against its own +# random-of-128 control 0.023 and a no-selection floor 0.000 (6/9, 6/9, 7/9 cells). The scorer +# therefore HAS signal: the pick is worth ~6x the pool's own base rate. Two knobs govern how much +# of that signal reaches the environment, and NEITHER has ever been moved on this project -- every +# landed DF cell ran N=128 candidates and committed RR_DF_EXECUTE=8 frames per plan: +# * N, the candidate count. More candidates = a better argmax, IF J's ordering is informative +# out in its tail. If 512 and 1024 give the same score as 128, J's tail is flat and more +# compute cannot help -- that is a real answer too. +# * execute, the frames committed before replanning. Shorter = more selection decisions per +# episode (400/ex of them) = more chances to steer, at proportionally more planner compute. +# mug is the blocker at 0.040 and threading is at 0.133; the mean of the two is 0.087, below the +# 10% target, so the question this wave answers is whether planner capacity closes that gap. +# +# THIS IS A DISCLOSED SPOT CHECK, AND ITS OUTPUT IS A CHOICE OF CONFIGURATION, NEVER A RESULT. +# Policy seed 0 / eval seed 0 ONLY. Whatever configuration it picks is then re-run over the full +# 3 policy x 3 eval grid and ONLY THAT is published. Reporting a max over this wave as a DF score +# would be selection on the evaluation set (rule 3) and is refused here, in writing, before the +# first cell of the wave has run. +# +# FAIRNESS, unchanged from the landed grid and re-stated because every number must carry it: +# * DF's own predicted binary-provenance reward channel -- no outcome reward, no success bit, no +# simulator state (rule 1); +# * the same observation every other column sees (rule 2); +# * canonical region, horizon 400, 50 episodes, stock success criterion (rule 3); +# * EVERY argmax cell is emitted with its OWN random-of-N control at the SAME N and the SAME +# execute, over the identical candidate pool -- the control moves with the knob (rule 4); +# * training.plan_n=1 keeps the RISE planner off, so no RSM/IQL critic ever ranks a DF +# candidate (rule 7). +# * COMPUTE IS NOT MATCHED ACROSS COLUMNS at N>128 and this is stated plainly rather than +# buried: a 512- or 1024-candidate planner spends more inference than the columns it would be +# tabled against. The random-of-N control at the same N is what makes the SELECTION claim +# fair; the cross-column compute comparison is a separate disclosure the orchestrator owns. +# +# THE GRID: two ONE-DIMENSIONAL slices from the landed baseline (N=128, ex=8, k8_n10, g=0.0, +# gamma 0.95/H=20, df_G0 s40000), never a product, so each knob is readable on its own: +# slice N : N in {512, 1024}, ex=8 x {argmax, random} x {mug, threading} = 8 cells +# slice ex: ex in {4, 2}, N=128 x {argmax, random} x {mug, threading} = 8 cells +# = 16 cells. The N=128/ex=8 reference cell is ALREADY LANDED for both tasks at p0e0 and is not +# re-run. mug first: it is the blocker. +set -uo pipefail +ROOT=/proj/dmfexp/zwhong/rsm_rise +D=$ROOT/scripts/nb/df_idmcap_cells +Q=$ROOT/status/packs/df_idmcap_queue_20260924.txt +mkdir -p "$D" "$(dirname "$Q")" +GAMMA=0.95; P=0; E=0 +: > "$Q.new" + +emit() { + local n=$1 ex=$2; shift 2 + { echo '#!/usr/bin/env bash' + echo "# generated by scripts/nb/df_idmcap_gen_queue.sh -- gen_q#274 run 40 (planner capacity)" + echo 'set -uo pipefail' + echo "export RR_DF_IDM_TAG=k8_n10" + echo "export RR_DF_EXECUTE=$ex" + echo "$@" + } > "$D/$n.sh" + chmod +x "$D/$n.sh" + echo "$D/$n.sh" >> "$Q.new" +} + +n=0 +# slice N (execute held at the project default 8), then slice execute (N held at 128). +for SPEC in "512 8" "1024 8" "128 4" "128 2"; do + set -- $SPEC; NP=$1; EX=$2 + for T in mug_expert_suboptimal threading_expert_play; do + case $T in threading_expert_play) TT=thr;; *) TT=mug;; esac + for SEL in argmax random; do + case $SEL in argmax) ARM=idm;; random) ARM=rnd;; esac + emit "$(printf 'c%03d' $n)_${TT}_N${NP}_ex${EX}_${ARM}" "$EX" \ + "exec bash $ROOT/scripts/nb/df_idm_eval_payload.sh $T $GAMMA 0.0 $NP $P $E idm $SEL 50" + n=$((n+1)) + done + done +done +mv "$Q.new" "$Q" +echo "[df_idmcap_gen] wrote $n cell payloads under $D" +echo "[df_idmcap_gen] queue $Q ($(wc -l < "$Q") entries)" diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/_x000_thr_H8_k8_arg.sh b/rsm_rise/scripts/nb/df_idmcross_cells/_x000_thr_H8_k8_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..9313a5fe168e8415a54af9edbc075716d25efbff --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/_x000_thr_H8_k8_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.875 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/_x001_thr_H8_k8_rnd.sh b/rsm_rise/scripts/nb/df_idmcross_cells/_x001_thr_H8_k8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..545055e592db570dd94b6959c7a8f4616f8fea1d --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/_x001_thr_H8_k8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.875 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/_x002_thr_H40_k8_arg.sh b/rsm_rise/scripts/nb/df_idmcross_cells/_x002_thr_H40_k8_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..4bdf2bc09a12f41323b208f57632dc5db3d22583 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/_x002_thr_H40_k8_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.975 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/_x003_thr_H40_k8_rnd.sh b/rsm_rise/scripts/nb/df_idmcross_cells/_x003_thr_H40_k8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..71853773dc397cb92ffeef6e6af642aa63fcfc6a --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/_x003_thr_H40_k8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.975 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/_x004_mug_H8_k8_arg.sh b/rsm_rise/scripts/nb/df_idmcross_cells/_x004_mug_H8_k8_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..744599341be265191fb4d453b61ff958d8a2052f --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/_x004_mug_H8_k8_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/_x005_mug_H8_k8_rnd.sh b/rsm_rise/scripts/nb/df_idmcross_cells/_x005_mug_H8_k8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..3d5692e4b7ab38b6e67179d117e3caff7c5889db --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/_x005_mug_H8_k8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/_x006_mug_H40_k8_arg.sh b/rsm_rise/scripts/nb/df_idmcross_cells/_x006_mug_H40_k8_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..a66fe4cc5c02ee8ef74ad571ad329be6f2a2b89f --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/_x006_mug_H40_k8_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.975 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/_x007_mug_H40_k8_rnd.sh b/rsm_rise/scripts/nb/df_idmcross_cells/_x007_mug_H40_k8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..5350fe036cfd6b54300ba163bea72eaec7ffdb7c --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/_x007_mug_H40_k8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.975 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/y000_mug_A_H8_k8_arg.sh b/rsm_rise/scripts/nb/df_idmcross_cells/y000_mug_A_H8_k8_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..2e565a83ca7c38eafd3392ada338901007794c59 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/y000_mug_A_H8_k8_arg.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/y001_mug_A_H8_k8_rnd.sh b/rsm_rise/scripts/nb/df_idmcross_cells/y001_mug_A_H8_k8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..0c1c71f3e1f5d925e2c40d407ca9483adb1da395 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/y001_mug_A_H8_k8_rnd.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/y002_mug_A_H20_k8_arg.sh b/rsm_rise/scripts/nb/df_idmcross_cells/y002_mug_A_H20_k8_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..9fd0b6a4bbc99bfc7868c272702bdd0173fbf3b8 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/y002_mug_A_H20_k8_arg.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/y003_mug_A_H20_k8_rnd.sh b/rsm_rise/scripts/nb/df_idmcross_cells/y003_mug_A_H20_k8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..91c8253a1df8d694f2f865e0cab3d9d56b817844 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/y003_mug_A_H20_k8_rnd.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/y004_thr_A_H20_k8_arg.sh b/rsm_rise/scripts/nb/df_idmcross_cells/y004_thr_A_H20_k8_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..62e9385cee8557550ad2c496c039224d8f190d6f --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/y004_thr_A_H20_k8_arg.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_cells/y005_thr_A_H20_k8_rnd.sh b/rsm_rise/scripts/nb/df_idmcross_cells/y005_thr_A_H20_k8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..cf8109be230aee6f8c27fcb6d6fac0cd39e4601a --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_cells/y005_thr_A_H20_k8_rnd.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmcross_gen_queue.sh b/rsm_rise/scripts/nb/df_idmcross_gen_queue.sh new file mode 100644 index 0000000000000000000000000000000000000000..fc063eb796964a96952860103cd588a5373e567d --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmcross_gen_queue.sh @@ -0,0 +1,71 @@ +#!/usr/bin/env bash +# gen_q#274, stream DF_MAKEITWORK run 46 -- THE HORIZON x DECODER and WORLD-MODEL x DECODER CROSS. +# +# WHY THIS WAVE EXISTS (measured, run 46, from the 107 landed df274idm cells): +# The decoder axis and the horizon/world-model axes were NEVER CROSSED. Every cell that used the +# currently-best decoder k8_n10 is H=20 AND WM=DFG0s40000; every horizon-sweep cell and every +# world-model-comparison cell used the OLD default decoder (kfull_n10 on thr, kfull_n00 on mug). +# The decoder is worth a lot, especially on the task that is holding the mean down: +# thr H20 argmax: kfull_n10 0.120 (5 cells) -> k8_n10 0.133 (6 cells) +# mug H20 argmax: kfull_n00 0.014 (7 cells) -> k8_n10 0.040 (5 cells) ~3x +# So every horizon and world-model conclusion on record was drawn at a handicapped decoder, and +# mug -- the task at 0.040 against a 0.100 target -- is exactly where the decoder mattered most. +# +# PRE-REGISTERED, BEFORE ANY CELL RUNS. The claim under test is +# "H=20 / WM=DFG0s40000 is optimal" -- a conclusion only ever measured at the worse decoder. +# It SURVIVES if no x/y argmax cell here beats its task's k8_n10 H20 DFG0s40000 reference +# (thr 0.133, mug 0.040). It is FALSIFIED by any argmax cell that beats that reference AND +# beats its OWN matched random control shipped in this same wave. +# A cell that beats the reference but not its own random control is reported as NOT WORKING, +# per fairness rule 4, whatever its success rate. +# +# FAIRNESS. Identical to df_idm_eval_payload.sh's contract, which this only parameterises: +# same binary data-provenance reward, same observation, canonical region, horizon 400, +# 50 episodes, training.plan_n=1 so no RSM/IQL critic ever ranks a DF candidate (rule 7). +# EVERY argmax cell here ships with its matched random-of-N control at the same task, WM, +# horizon, decoder, guidance, n_plans, policy seed and eval seed (rule 4). +# Policy seed fixed at 0 and eval seed at 0 for this SCOUT wave: FINDING AF measured the policy +# seed to be INERT for the DF planner column (As1/As2 give byte-identical per-episode vectors), +# so the only real replication axis is the eval seed. No scout number here is published as a +# flagship cell; a winner must be re-run across eval seeds 0/1/2 before it is reported. +set -euo pipefail +ROOT=/proj/dmfexp/zwhong/rsm_rise +D=$ROOT/scripts/nb/df_idmcross_cells; mkdir -p "$D" +OUT=$ROOT/status/packs/df_idmcross_queue_20260924.txt; : > "$OUT" + +emit() { # name task gamma sel [wmpath] + local n=$1 task=$2 gam=$3 sel=$4 wm=${5:-} + local f=$D/$n.sh + { echo '#!/usr/bin/env bash' + echo "# generated by scripts/nb/df_idmcross_gen_queue.sh -- gen_q#274 run 46 (horizon x decoder / WM x decoder cross)" + echo 'set -uo pipefail' + echo 'export RR_DF_IDM_TAG=k8_n10' + echo 'export RR_DF_EXECUTE=8' + [ -n "$wm" ] && echo "export RR_DF_IDM_WM=$wm" + echo "exec bash $ROOT/scripts/nb/df_idm_eval_payload.sh $task $gam 0.0 128 0 0 idm $sel 50" + } > "$f"; chmod +x "$f"; echo "$f" >> "$OUT" +} + +# --- x: HORIZON x DECODER, default WM, at the best decoder --------------------------------- +emit x000_thr_H8_k8_arg threading_expert_play 0.875 argmax +emit x001_thr_H8_k8_rnd threading_expert_play 0.875 random +emit x002_thr_H40_k8_arg threading_expert_play 0.975 argmax +emit x003_thr_H40_k8_rnd threading_expert_play 0.975 random +emit x004_mug_H8_k8_arg mug_expert_suboptimal 0.875 argmax +emit x005_mug_H8_k8_rnd mug_expert_suboptimal 0.875 random +emit x006_mug_H40_k8_arg mug_expert_suboptimal 0.975 argmax +emit x007_mug_H40_k8_rnd mug_expert_suboptimal 0.975 random + +# --- y: WORLD MODEL x DECODER, at the best decoder ----------------------------------------- +# df_A/ckpt_s100000 is the only non-default WM that ever matched the default: mug H8 argmax 0.04 +# (tying mug's best) and thr H20 argmax 0.12 -- both measured at the handicapped kfull decoder. +MUGA=$ROOT/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +THRA=$ROOT/runs/threading_expert_play/wm/df_A/ckpt_s100000.pt +emit y000_mug_A_H8_k8_arg mug_expert_suboptimal 0.875 argmax "$MUGA" +emit y001_mug_A_H8_k8_rnd mug_expert_suboptimal 0.875 random "$MUGA" +emit y002_mug_A_H20_k8_arg mug_expert_suboptimal 0.95 argmax "$MUGA" +emit y003_mug_A_H20_k8_rnd mug_expert_suboptimal 0.95 random "$MUGA" +emit y004_thr_A_H20_k8_arg threading_expert_play 0.95 argmax "$THRA" +emit y005_thr_A_H20_k8_rnd threading_expert_play 0.95 random "$THRA" + +echo "[df_idmcross] wrote $(wc -l < "$OUT") cells -> $OUT" diff --git a/rsm_rise/scripts/nb/df_idmdeconf_cells/d000_thr_N128_ex8_idm.sh b/rsm_rise/scripts/nb/df_idmdeconf_cells/d000_thr_N128_ex8_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..e0954cfb86644319ec36ee4764add55578cf6477 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmdeconf_cells/d000_thr_N128_ex8_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmdeconf_gen_queue.sh -- gen_q#274 run 44 (FINDING AD de-confound) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmdeconf_cells/d001_mug_N128_ex8_idm.sh b/rsm_rise/scripts/nb/df_idmdeconf_cells/d001_mug_N128_ex8_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..eac0db7ccf2c4d2eba4e804a048305d73938fad0 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmdeconf_cells/d001_mug_N128_ex8_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmdeconf_gen_queue.sh -- gen_q#274 run 44 (FINDING AD de-confound) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmdeconf_cells/d002_mug_N128_ex8_rnd.sh b/rsm_rise/scripts/nb/df_idmdeconf_cells/d002_mug_N128_ex8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..66bbc3fbace41a70ca6fa51f5c9286891bdfc73a --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmdeconf_cells/d002_mug_N128_ex8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmdeconf_gen_queue.sh -- gen_q#274 run 44 (FINDING AD de-confound) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmdeconf_cells/d003_thr_N512_ex8_rnd.sh b/rsm_rise/scripts/nb/df_idmdeconf_cells/d003_thr_N512_ex8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..3d7f0fbc944ae9715af7ce106ecdc88d8eda319e --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmdeconf_cells/d003_thr_N512_ex8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmdeconf_gen_queue.sh -- gen_q#274 run 44 (FINDING AD de-confound) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 512 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmdeconf_gen_queue.sh b/rsm_rise/scripts/nb/df_idmdeconf_gen_queue.sh new file mode 100644 index 0000000000000000000000000000000000000000..2c2a0ae4c23ad6c9451b39a5224823423ff13b65 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmdeconf_gen_queue.sh @@ -0,0 +1,67 @@ +#!/usr/bin/env bash +# gen_q#274, stream DF_MAKEITWORK run 44 -- DE-CONFOUNDING THE CAPACITY CLAIM (FINDING AD). +# +# WHY THIS WAVE EXISTS, WRITTEN BEFORE A SINGLE CELL RAN. +# Run 43 reported FINDING AD -- "more search makes DF worse" -- and wrote that against the landed +# N=128 baseline "n_plans is the only dimension that changed". RE-READING THE FILENAMES SHOWS THAT +# IS NOT TRUE, and this wave is the correction. Measured by listing the landed cells: +# * threading N=128 argmax, k8_n10, 6 landed cells -> policy seeds As1 and As2 ONLY. +# There is NO completed As0 cell: As0-s0 and As0-s1 are `.json.partial`, As0-s2 is a bare diag. +# * the N=512 and N=1024 cells are ALL sS0As0-s0. +# => the headline comparison 0.1333 -> 0.060 crosses the POLICY SEED as well as n_plans. It is a +# two-dimensional move reported as one. That is the same class of error this stream caught on +# the guidance sweep in run 42, and it is corrected here rather than quietly reworked. +# The stale As0-s0 partials DO point the same way at a SMALLER gap -- threading 5/44 = 0.114 and mug +# 2/43 = 0.047, both at the matched As0-s0 against N=512's 0.060 and 0.020 -- so AD's DIRECTION +# survives; its MAGNITUDE (a "halving" off 0.1333) does not, and must not be quoted until these +# cells land. A partial is not a 50-episode cell and is not published as one. +# +# WHAT THIS WAVE MEASURES. The four cells that make the capacity curve one-dimensional at the +# matched seed (policy seed 0, eval seed 0), and that close rule 4 on the N=512 claim: +# 1. thr N=128 argmax As0-s0 -- the missing matched reference (its random control at the SAME +# seed and N is ALREADY landed and reads 0.020). +# 2. mug N=128 argmax As0-s0 -- same, mug. +# 3. mug N=128 random As0-s0 -- mug's matched control (currently only a `.partial`), rule 4. +# 4. thr N=512 random As0-s0 -- the N=512 argmax cell's OWN random-of-512 control, which run 43 +# reported as `.partial`/not landed. Rule 4 requires every argmax +# number publish the random control at ITS OWN N; without this the +# threading N=512 cell has no floor beside it. +# +# THE FALSIFIABLE PREDICTION, REGISTERED HERE BEFORE THE FIRST CELL RUNS. +# If FINDING AD is real, cell 1 (thr N=128 argmax As0-s0) reads ABOVE the N=512 As0-s0 value of +# 0.060 -- the partial's 0.114 says it should land near 5-6/50. If it instead reads AT OR BELOW +# 0.060, then the N=128 -> N=512 drop was the POLICY SEED and not n_plans, FINDING AD is DEAD as +# stated, and I will retract it in #274/#282 with these numbers rather than re-describe it. +# Note the low-N wave (run 43, N=32/8) is the INDEPENDENT test of the same hypothesis and is already +# in flight; the two disagree or agree on their own, and both are reported whichever way they fall. +# +# FAIRNESS. Decoder k8_n10, world model df_G0 s40000, gamma 0.95/H=20, guidance 0.0, execute 8, +# 50 episodes, canonical region, horizon 400, stock success criterion -- byte-identical to the cells +# these are read against (rules 1,2,3). Every argmax cell has its own random-of-N control at the +# same N (rule 4). No RSM/IQL critic ranks anything (rule 7). This wave's output is a CORRECTION +# TO A CONTROL, never a DF score; the reproduction gate (rule 6) is open and no RISE number from DF +# is claimed here. +set -euo pipefail +ROOT=/proj/dmfexp/zwhong/rsm_rise +OUT=$ROOT/status/packs/df_idmdeconf_queue_20260924.txt +CELLS=$ROOT/scripts/nb/df_idmdeconf_cells +mkdir -p "$CELLS"; : > "$OUT" +i=0 +emit() { # task short N sel stag + local TASK=$1 SHORT=$2 N=$3 SEL=$4 STAG=$5 + local F; F=$(printf "%s/d%03d_%s_N%s_ex8_%s.sh" "$CELLS" "$i" "$SHORT" "$N" "$STAG") + cat > "$F" <> "$OUT"; i=$((i+1)) +} +emit threading_expert_play thr 128 argmax idm +emit mug_expert_suboptimal mug 128 argmax idm +emit mug_expert_suboptimal mug 128 random rnd +emit threading_expert_play thr 512 random rnd +echo "[df_idmdeconf] wrote $i cells -> $OUT" diff --git a/rsm_rise/scripts/nb/df_idmfresh_cells/f000_thr_N32_k8_arg.sh b/rsm_rise/scripts/nb/df_idmfresh_cells/f000_thr_N32_k8_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..4ba3b570d3fe23eef7ecf4329c5025c9fad394c1 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmfresh_cells/f000_thr_N32_k8_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmfresh_gen_queue.sh -- gen_q#274 run 47 (FINDING AJ re-runs) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 32 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmfresh_cells/f001_thr_N32_k8_rnd.sh b/rsm_rise/scripts/nb/df_idmfresh_cells/f001_thr_N32_k8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..b21c17554ef9e7f960b20df7f50a1db3d74522ed --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmfresh_cells/f001_thr_N32_k8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmfresh_gen_queue.sh -- gen_q#274 run 47 (FINDING AJ re-runs) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 32 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmfresh_cells/f002_mug_N32_k8_arg.sh b/rsm_rise/scripts/nb/df_idmfresh_cells/f002_mug_N32_k8_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..243cc75e8432ac6bbcd2527c7cd4d5b42aabc9d6 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmfresh_cells/f002_mug_N32_k8_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmfresh_gen_queue.sh -- gen_q#274 run 47 (FINDING AJ re-runs) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 32 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmfresh_cells/f003_mug_N8_k8_arg.sh b/rsm_rise/scripts/nb/df_idmfresh_cells/f003_mug_N8_k8_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..6649c0a87bd4eab7449aa4dff41d1476924f646b --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmfresh_cells/f003_mug_N8_k8_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmfresh_gen_queue.sh -- gen_q#274 run 47 (FINDING AJ re-runs) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 8 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmfresh_cells/f004_thr_N512_k8_rnd.sh b/rsm_rise/scripts/nb/df_idmfresh_cells/f004_thr_N512_k8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..210b3327f45b7725acb6a280c1577e3838247cac --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmfresh_cells/f004_thr_N512_k8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmfresh_gen_queue.sh -- gen_q#274 run 47 (FINDING AJ re-runs) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 512 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmfresh_cells/f005_thr_N128_k8_arg.sh b/rsm_rise/scripts/nb/df_idmfresh_cells/f005_thr_N128_k8_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..a50c50c55313ff4a7371d8e36f205f98c7124ccb --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmfresh_cells/f005_thr_N128_k8_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmfresh_gen_queue.sh -- gen_q#274 run 47 (FINDING AJ re-runs) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmfresh_cells/f006_mug_N128_k8_arg.sh b/rsm_rise/scripts/nb/df_idmfresh_cells/f006_mug_N128_k8_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..edaf576659e6a7825c0c0553bd23de82686daa2f --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmfresh_cells/f006_mug_N128_k8_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmfresh_gen_queue.sh -- gen_q#274 run 47 (FINDING AJ re-runs) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmfresh_cells/f007_mug_N128_k8_rnd.sh b/rsm_rise/scripts/nb/df_idmfresh_cells/f007_mug_N128_k8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..133c40cac716e9d81318bbabfb952715b1aae6fb --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmfresh_cells/f007_mug_N128_k8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmfresh_gen_queue.sh -- gen_q#274 run 47 (FINDING AJ re-runs) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmfresh_cells/f008_mug_N128_kf_arg.sh b/rsm_rise/scripts/nb/df_idmfresh_cells/f008_mug_N128_kf_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..c1cebe9415badf67ece76ec26782fab1cff15eed --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmfresh_cells/f008_mug_N128_kf_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmfresh_gen_queue.sh -- gen_q#274 run 47 (FINDING AJ re-runs) +set -uo pipefail +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmfresh_gen_queue.sh b/rsm_rise/scripts/nb/df_idmfresh_gen_queue.sh new file mode 100644 index 0000000000000000000000000000000000000000..c7b42e9a680d5a3e95c2d5fb3860e2ad965cd4be --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmfresh_gen_queue.sh @@ -0,0 +1,66 @@ +#!/usr/bin/env bash +# gen_q#274, stream DF_MAKEITWORK run 47 -- RE-RUN THE 9 RESUMED CELLS FRESH. +# +# WHY. FINDING AJ, confirmed from the code this run: +# * The DF plan sampler's only stochastic input is the initial noise chunk drawn at +# code/df_rise/df_plan.py:111 from the generator passed in by the policy. +# * That generator is seeded EXACTLY ONCE, in the constructor: code/df_rise/df_policy.py:148 +# (`self.gen = torch.Generator(device=device); self.gen.manual_seed(int(seed))`). +# * Nothing re-seeds it per episode. df_policy.install() chains reset() to `start_episode` +# (df_policy.py:339-343), but `start_episode` HAS NO CALL SITE in code/rise_code/sim_pipeline -- +# RobomimicRolloutPolicy.reset() is `pass` -- so the docstring's claim that each episode +# replans from scratch is FALSE for this harness. +# * The ENV side of a resume is exact: eval.py:888-909 / 1144-1151 / 1212 snapshot and restore the +# numpy MT19937 state, and the log says so verbatim ("restored the numpy RNG state of episode 44 +# (no reset replay needed)", logs/lsf/rr_pack4_dfidmN_a.slot2.1903046.out:945-946). +# => A RESUMED CELL RUNS THE RIGHT INITIAL STATES WITH THE WRONG NOISE. Measured on +# threading .../Ndf128-g0.0-idmk8_n10-...-sS0As0-s0 (resumed_from_episode=44): episodes 0-43 +# byte-identical to the two fresh cells of the same column, episodes 44-49 give 0/6 successes +# against 3/6 fresh. +# * SEPARATELY AND WORSE FOR REPORTING: the diag/health block accumulates from PROCESS start and +# is never cleared (df_policy.py:157-170), so a resumed cell's published J_mean / J_spread / +# J_spread_frac_zero / act_clip_frac describe only the POST-RESUME TAIL while being published as +# the cell's health. Measured: `plans` = 300 (6 episodes) on the resumed cell vs 2500 (50 +# episodes) on the two fresh ones. That is a mislabelling no re-seed patch can repair; the only +# repair is a fresh run. +# +# The 9 affected cells are MOVED (not deleted) to status/nb/df_resumed_quarantine/ with a MANIFEST +# carrying the exact `mv` lines to restore them. This wave re-runs each one fresh. +# The four N-sweep points (N=8, N=32 x2, N=512 random) are the worst hit: each is the ENTIRE cell +# for its row, so the "does a bigger candidate pool help?" comparison rested wholly on non-fresh +# cells. FINDING AD's own argmax comparison is NOT affected -- thr N=128 argmax fresh (0.160, from +# As1/As2) vs thr N=512 argmax, and the N=512 ARGMAX cell is not in the resumed set. +# +# FAIRNESS. Nothing about the recipe changes: same payload, same reward, same observation, same +# canonical region, horizon 400, 50 episodes, stock criterion, training.plan_n=1 (rule 7), same +# guidance 0.0, same policy/eval seed. This wave re-measures identical cells on a clean process. +set -euo pipefail +ROOT=/proj/dmfexp/zwhong/rsm_rise +D=$ROOT/scripts/nb/df_idmfresh_cells; mkdir -p "$D" +OUT=$ROOT/status/packs/df_idmfresh_queue_20260924.txt; : > "$OUT" + +emit() { # name task n_plans tag sel + local n=$1 task=$2 np=$3 tag=$4 sel=$5 + local f=$D/$n.sh + { echo '#!/usr/bin/env bash' + echo "# generated by scripts/nb/df_idmfresh_gen_queue.sh -- gen_q#274 run 47 (FINDING AJ re-runs)" + echo 'set -uo pipefail' + echo "export RR_DF_IDM_TAG=$tag" + echo 'export RR_DF_EXECUTE=8' + echo "exec bash $ROOT/scripts/nb/df_idm_eval_payload.sh $task 0.95 0.0 $np 0 0 idm $sel 50" + } > "$f"; chmod +x "$f"; echo "$f" >> "$OUT" +} + +# the four N-sweep points first: each is the ONLY cell in its row, so each is the whole claim +emit f000_thr_N32_k8_arg threading_expert_play 32 k8_n10 argmax +emit f001_thr_N32_k8_rnd threading_expert_play 32 k8_n10 random +emit f002_mug_N32_k8_arg mug_expert_suboptimal 32 k8_n10 argmax +emit f003_mug_N8_k8_arg mug_expert_suboptimal 8 k8_n10 argmax +emit f004_thr_N512_k8_rnd threading_expert_play 512 k8_n10 random +# then the headline-row members (each is 1 of 5-7 cells, so each moves a row mean only slightly) +emit f005_thr_N128_k8_arg threading_expert_play 128 k8_n10 argmax +emit f006_mug_N128_k8_arg mug_expert_suboptimal 128 k8_n10 argmax +emit f007_mug_N128_k8_rnd mug_expert_suboptimal 128 k8_n10 random +emit f008_mug_N128_kf_arg mug_expert_suboptimal 128 kfull_n00 argmax + +echo "[df_idmfresh] wrote $(wc -l < "$OUT") cells -> $OUT" diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g000_mug_g0.5_idm.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g000_mug_g0.5_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..af53d8f0dd7d5ba0eed9141712972c96b97be072 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g000_mug_g0.5_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.5 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g001_mug_g0.5_rnd.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g001_mug_g0.5_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..a99e174d566d1e6294aa16ae76c4729df46a3e91 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g001_mug_g0.5_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.5 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g002_thr_g0.5_idm.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g002_thr_g0.5_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..6cb155a18eb505493a26db83da91ba8ff858f7e7 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g002_thr_g0.5_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.5 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g003_thr_g0.5_rnd.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g003_thr_g0.5_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..7a701c79820d1c7bd78b3289849da3f202af1756 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g003_thr_g0.5_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.5 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g004_mug_g1.0_idm.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g004_mug_g1.0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..8d20c5b524c0f2d295babff14da06cbcafa8c2e3 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g004_mug_g1.0_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 1.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g005_mug_g1.0_rnd.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g005_mug_g1.0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..8d481d2019cedbd6f9cbde21a3a2ad62b2b205d1 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g005_mug_g1.0_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 1.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g006_thr_g1.0_idm.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g006_thr_g1.0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..ddedd96cecd44ffe5e0c6e9d95def8b85fcc76de --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g006_thr_g1.0_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 1.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g007_thr_g1.0_rnd.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g007_thr_g1.0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..7ef4c2cbfbbb9e1cd9793ac540ded9bf2d2a8e0b --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g007_thr_g1.0_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 1.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g008_mug_g2.0_idm.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g008_mug_g2.0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..2f1d32f26a12d3497a0407b8749d57d4e09281dc --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g008_mug_g2.0_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 2.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g009_mug_g2.0_rnd.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g009_mug_g2.0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..48813b08ce14464916c3f68918285fee2d4d5138 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g009_mug_g2.0_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 2.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g010_thr_g2.0_idm.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g010_thr_g2.0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..595de1d044a9d97bb9a7a73ba9e9561bfcdebcf2 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g010_thr_g2.0_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 2.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g011_thr_g2.0_rnd.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g011_thr_g2.0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..6be46cbebcba0e5bd26bb7a38a3ab768e11390c1 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g011_thr_g2.0_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 2.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g012_mug_g5.0_idm.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g012_mug_g5.0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..1017067c14f33b22c63799834edac45654617b54 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g012_mug_g5.0_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 5.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g013_mug_g5.0_rnd.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g013_mug_g5.0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..514f8fb467eb0e3cfbd29153197a82bd24cb1939 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g013_mug_g5.0_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 5.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g014_thr_g5.0_idm.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g014_thr_g5.0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..a261239b276ec90bc1603840008ae6a8477c5e17 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g014_thr_g5.0_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 5.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g015_thr_g5.0_rnd.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g015_thr_g5.0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..130e5d98da288e5ab82a5cc6134e7bbfc24b3dbb --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g015_thr_g5.0_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 5.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g016_mug_g10.0_idm.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g016_mug_g10.0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..166deae96c8d226c2719b0670c5503e8a642ecef --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g016_mug_g10.0_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 10.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g017_mug_g10.0_rnd.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g017_mug_g10.0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..531c238b73ff3059584d83571213013ac0c0f157 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g017_mug_g10.0_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 10.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g018_thr_g10.0_idm.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g018_thr_g10.0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..4e4ec11d924d8aa93d318956856ae76e9e26e114 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g018_thr_g10.0_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 10.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_cells/g019_thr_g10.0_rnd.sh b/rsm_rise/scripts/nb/df_idmguid_cells/g019_thr_g10.0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..9d48ba8f5a4cb90eeb46087f3ba04a8ae9034b2e --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_cells/g019_thr_g10.0_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 10.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmguid_gen_queue.sh b/rsm_rise/scripts/nb/df_idmguid_gen_queue.sh new file mode 100644 index 0000000000000000000000000000000000000000..b4fd4e18296f26afe068f4d38a1276fdace455b8 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmguid_gen_queue.sh @@ -0,0 +1,94 @@ +#!/usr/bin/env bash +# gen_q#274, stream DF_MAKEITWORK run 41 -- THE GUIDANCE (cfg) SWEEP, ON THE DECODER THAT WORKS. +# +# WHY THIS WAVE EXISTS. The owner's mandate says, verbatim, "You may have to sweep the cfg +# parameter in diffusion forcing." It has never been swept on an arm that scores above zero: +# * the old 0/1/3/5 grid was run entirely on the `dfact` arm, which measures 0.000 at EVERY +# setting including g=0.0, so it could not have detected a guidance effect if one existed -- +# it was four readings of a floor; +# * the IDM arm, the only DF arm that scores above zero (threading 0.133, mug 0.040 over the +# full eval-seed axis, both beating their own random-of-N control), has run at g=0.0 ONLY; +# * the single g>0 IDM cell on record used the SUPERSEDED kfull decoder and gave 0.000 +# (threading, g=5.0, p0e0). +# That last cell is the reason this wave is not a shot in the dark. Run 39's probe measured the +# two decoders' action-reconstruction r2 ON THE ARGMAX PLAN under guidance, and they behave +# oppositely: at mug g=5.0, k8_n10 holds +0.3524 while kfull_n00 collapses to +0.0061; at +# threading g=5.0, +0.3471 vs +0.3236. The prediction under test is therefore specific and +# falsifiable: the 0.000 at g=5.0 was the DECODER failing under guidance, not guidance failing, +# and k8_n10 should survive it. If k8_n10 also gives 0.000 at g=5.0, that prediction is dead and +# the honest reading is that guidance moves the plan off the manifold the decoder was trained on. +# +# THE KNOB IS CONNECTED -- MEASURED, NOT ASSUMED (the brief's lead 2 demands this be checked +# before any guidance sweep is believed). From status/nb/df_idm/threading_expert_play_probe.json, +# same 64 states, same 32 candidates, only guidance changed: +# g=0.0 -> J_mean 54.04, J_spread 5.38, J_std_within_state 1.24 +# g=5.0 -> J_mean 72.69, J_spread 14.23, J_std_within_state 3.41 +# +35% on the objective's mean and 2.6x on its spread. This is NOT the inert-parameter signature +# the brief warns about (the old inert `plan_temp`, which moved nothing); guidance demonstrably +# changes both the sampled plans and the score landscape over them. So a sweep of it measures +# something real, and four identical 0.000s from the dfact era were a property of that arm. +# +# THIS IS A DISCLOSED SPOT CHECK AND ITS OUTPUT IS A CHOICE OF CONFIGURATION, NEVER A RESULT. +# Policy seed 0 / eval seed 0 only (run 40's FINDING AA: the policy seed is inert for this column, +# the planner supplies every action, so the axis that carries information is the eval seed). +# Whatever guidance this wave prefers is then RE-RUN over the full eval-seed grid and only that is +# published. Reporting the max over this wave as a DF score would be selection on the evaluation +# set (rule 3) and is refused here, in writing, before the first cell of the wave has run. +# +# FAIRNESS, unchanged from the landed grid and restated because every number must carry it: +# * DF's own predicted binary-provenance reward channel -- no outcome reward, no success bit, +# no simulator state, no shaped or oracle signal (rule 1); +# * the same observation every other column sees; no privileged state reaches the world model, +# the guidance, or the planner (rule 2); +# * canonical region, horizon 400, 50 episodes, stock success criterion (rule 3); +# * EVERY argmax cell is emitted with its OWN random-of-N control at the SAME guidance over the +# identical candidate pool -- the control moves with the knob, so a guidance setting that +# merely makes the candidate POOL better cannot be misread as selection working (rule 4); +# * training.plan_n=1 keeps the RISE planner off, so no RSM/IQL critic ever ranks a DF +# candidate (rule 7). DF plans with its own objective. +# * compute is unchanged across the sweep: N=128, execute 8 at every guidance, identical to the +# landed g=0.0 baseline, so this wave introduces no compute asymmetry of its own. +# +# THE GRID: one dimension, guidance, held against the landed baseline in every other respect +# (k8_n10 decoder, N=128, execute 8, gamma 0.95 / H=20, df_G0 s40000, both flagship tasks). +# g in {0.5, 1.0, 2.0, 5.0, 10.0} x {mug, threading} x {argmax, random} = 20 cells. +# g=0.0 is ALREADY LANDED for both tasks at p0e0 and is not re-run; it is the reference. +# g=10.0 is included because the mandate says to sweep WIDER than the old grid and because the +# probe's spread is still growing at 5.0 -- if the objective keeps separating candidates past the +# old grid's edge, the old edge was arbitrary. mug first: it is the blocker at 0.040. +set -uo pipefail +ROOT=/proj/dmfexp/zwhong/rsm_rise +D=$ROOT/scripts/nb/df_idmguid_cells +Q=$ROOT/status/packs/df_idmguid_queue_20260924.txt +mkdir -p "$D" "$(dirname "$Q")" +GAMMA=0.95; NP=128; EX=8; P=0; E=0 +: > "$Q.new" + +emit() { + local n=$1; shift + { echo '#!/usr/bin/env bash' + echo "# generated by scripts/nb/df_idmguid_gen_queue.sh -- gen_q#274 run 41 (guidance sweep)" + echo 'set -uo pipefail' + echo "export RR_DF_IDM_TAG=k8_n10" + echo "export RR_DF_EXECUTE=$EX" + echo "$@" + } > "$D/$n.sh" + chmod +x "$D/$n.sh" + echo "$D/$n.sh" >> "$Q.new" +} + +n=0 +for G in 0.5 1.0 2.0 5.0 10.0; do + for T in mug_expert_suboptimal threading_expert_play; do + case $T in threading_expert_play) TT=thr;; *) TT=mug;; esac + for SEL in argmax random; do + case $SEL in argmax) ARM=idm;; random) ARM=rnd;; esac + emit "$(printf 'g%03d' $n)_${TT}_g${G}_${ARM}" \ + "exec bash $ROOT/scripts/nb/df_idm_eval_payload.sh $T $GAMMA $G $NP $P $E idm $SEL 50" + n=$((n+1)) + done + done +done +mv "$Q.new" "$Q" +echo "[df_idmguid_gen] wrote $n cell payloads under $D" +echo "[df_idmguid_gen] queue $Q ($(wc -l < "$Q") entries)" diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k000_mug_p0_e0_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k000_mug_p0_e0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..1d02c417a676e4ef2becfe42d1fa1df76574095f --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k000_mug_p0_e0_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k001_mug_p0_e0_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k001_mug_p0_e0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..3a406f2b3bf48bd435bbe03c8a895b93546a60f1 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k001_mug_p0_e0_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k002_mug_p0_e0_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k002_mug_p0_e0_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..1091ff2fb96f66ac3863a8959b6f110fdf5a2f22 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k002_mug_p0_e0_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 1 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k003_thr_p0_e0_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k003_thr_p0_e0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..45d7e5f981fa576a9ea56e8dd4cff9b76a245207 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k003_thr_p0_e0_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k004_thr_p0_e0_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k004_thr_p0_e0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..9f616bf8008c2de0b09fa88ee43d2097c8cf6e98 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k004_thr_p0_e0_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k005_thr_p0_e0_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k005_thr_p0_e0_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..92fd285e54d4418d13e822d07b974f0a3efc30b4 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k005_thr_p0_e0_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 1 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k006_mug_p0_e1_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k006_mug_p0_e1_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..cb261bbfd405c63fa0d4459a3b124fb06c407eb1 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k006_mug_p0_e1_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k007_mug_p0_e1_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k007_mug_p0_e1_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..82d557ad46a93b58026c157a32d7445cb18cd84a --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k007_mug_p0_e1_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 1 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k008_mug_p0_e1_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k008_mug_p0_e1_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..40cf438d6bd6c10327d50636c3f7daffb20bd955 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k008_mug_p0_e1_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 1 0 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k009_thr_p0_e1_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k009_thr_p0_e1_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..ad1d4726b3f881b3fcbc726f2392b34492154cf1 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k009_thr_p0_e1_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k010_thr_p0_e1_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k010_thr_p0_e1_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..abc45b8a8eba71fa26fe3d4acc24b8cb29652b19 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k010_thr_p0_e1_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 1 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k011_thr_p0_e1_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k011_thr_p0_e1_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..41df3082891d92d8da2657d041da04155c51d289 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k011_thr_p0_e1_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 1 0 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k012_mug_p0_e2_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k012_mug_p0_e2_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..9607e3c11bc1b5fa61ff06ecbf8b5bf8bdddcf52 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k012_mug_p0_e2_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k013_mug_p0_e2_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k013_mug_p0_e2_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..bb4bfa6ef7539b245fadc0e1541610e4411e4ecd --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k013_mug_p0_e2_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 2 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k014_mug_p0_e2_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k014_mug_p0_e2_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..d90b3089e6f6aca08385f8c61c46d5023aa72bd9 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k014_mug_p0_e2_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 1 0 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k015_thr_p0_e2_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k015_thr_p0_e2_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..dec0ce8ab36269a8c3e71958fe28bb536ebfa0e5 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k015_thr_p0_e2_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k016_thr_p0_e2_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k016_thr_p0_e2_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..0a01857017eb08ce95c2189d18dbd16b36e74364 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k016_thr_p0_e2_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 2 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k017_thr_p0_e2_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k017_thr_p0_e2_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..748d57294cd56e9efef27de2c6e1ffc91c2e83e8 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k017_thr_p0_e2_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 1 0 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k018_mug_p1_e0_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k018_mug_p1_e0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..96e3ed20b4f42f26b28b6235050f13f7547d0e15 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k018_mug_p1_e0_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 1 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k019_mug_p1_e0_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k019_mug_p1_e0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..232d2ee2adfcbd5c0244003b142ddccb2b79b810 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k019_mug_p1_e0_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 1 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k020_mug_p1_e0_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k020_mug_p1_e0_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..0875b1ed2d5e5de4f023d676cd4a6d0c2827d323 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k020_mug_p1_e0_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 1 1 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k021_thr_p1_e0_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k021_thr_p1_e0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..eeefbb7c280787ca150709dd40304b9a918b1030 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k021_thr_p1_e0_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 1 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k022_thr_p1_e0_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k022_thr_p1_e0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..a0a52095df11afb84c9820ff25d622bcf22fd102 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k022_thr_p1_e0_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 1 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k023_thr_p1_e0_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k023_thr_p1_e0_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..14eb037c8a2f0edcfe3488406b294fcaa0e11088 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k023_thr_p1_e0_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 1 1 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k024_mug_p1_e1_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k024_mug_p1_e1_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..9f9a5f3cb7eb92dc47891688b4e1f3a63e5fb965 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k024_mug_p1_e1_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 1 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k025_mug_p1_e1_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k025_mug_p1_e1_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..f24cc80203fa10268690aee95b96a16c03a30ec8 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k025_mug_p1_e1_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 1 1 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k026_mug_p1_e1_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k026_mug_p1_e1_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..3eba2b8af0030165d3977b4e9929c17bea83546a --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k026_mug_p1_e1_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 1 1 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k027_thr_p1_e1_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k027_thr_p1_e1_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..100557043eda3c12475cd432731831a4ef90a5fd --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k027_thr_p1_e1_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 1 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k028_thr_p1_e1_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k028_thr_p1_e1_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..b9e5a614e4f824eff9e5d354006c6f771d71c11d --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k028_thr_p1_e1_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 1 1 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k029_thr_p1_e1_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k029_thr_p1_e1_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..d434e8eba8ada64196f5e7bc9c6d93e1eebf8ce9 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k029_thr_p1_e1_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 1 1 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k030_mug_p1_e2_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k030_mug_p1_e2_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..c0105608297ce2a406376a8bd0f4a09328d6d4c7 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k030_mug_p1_e2_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 1 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k031_mug_p1_e2_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k031_mug_p1_e2_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..e47006c0b989764f442d8f369a62f42daa7a83fa --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k031_mug_p1_e2_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 1 2 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k032_mug_p1_e2_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k032_mug_p1_e2_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..bb04d99022d96b4f7d3e20293091fd32ee852ae6 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k032_mug_p1_e2_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 1 1 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k033_thr_p1_e2_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k033_thr_p1_e2_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..04a09a470ab68bc2b1c3ee4a9317ee3d9cf4aa18 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k033_thr_p1_e2_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 1 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k034_thr_p1_e2_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k034_thr_p1_e2_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..ae139a37c8c9e07b9c230805bc40742868413030 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k034_thr_p1_e2_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 1 2 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k035_thr_p1_e2_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k035_thr_p1_e2_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..de75871275117abe15f5aafdf3c37ee3bf7db896 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k035_thr_p1_e2_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 1 1 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k036_mug_p2_e0_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k036_mug_p2_e0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..850e47bcd171638d5ba83f0ff6a8ef4b79a39954 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k036_mug_p2_e0_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 2 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k037_mug_p2_e0_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k037_mug_p2_e0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..e61704e3cbdfe696f5cfb25bd30bc487f7d61892 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k037_mug_p2_e0_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 2 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k038_mug_p2_e0_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k038_mug_p2_e0_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..997e2f530529cbbe9112a12f931c4479f06c5eeb --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k038_mug_p2_e0_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 1 2 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k039_thr_p2_e0_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k039_thr_p2_e0_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..b927db96b779039ef2f1221b51f30827782a9d03 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k039_thr_p2_e0_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 2 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k040_thr_p2_e0_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k040_thr_p2_e0_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..1af04723e59e3a5f311d1ee7e94e782c5f9cb90e --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k040_thr_p2_e0_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 2 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k041_thr_p2_e0_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k041_thr_p2_e0_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..e36a2a035b76326549f615579570bb214f0a73a1 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k041_thr_p2_e0_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 1 2 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k042_mug_p2_e1_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k042_mug_p2_e1_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..263ae3a43270840346d6d20f417785f775ee26c7 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k042_mug_p2_e1_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 2 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k043_mug_p2_e1_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k043_mug_p2_e1_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..dfb97fb321b299ddd020576ccb6a325cc09fbce8 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k043_mug_p2_e1_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 2 1 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k044_mug_p2_e1_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k044_mug_p2_e1_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..79a5d660955b651a0a58dd99b043bf5471b0cd15 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k044_mug_p2_e1_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 1 2 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k045_thr_p2_e1_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k045_thr_p2_e1_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..83606f369754ed353c5f6505d452f699408d20a8 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k045_thr_p2_e1_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 2 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k046_thr_p2_e1_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k046_thr_p2_e1_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..0a27183f81b577d2b3e2d2c3afe16ad3dc2959f9 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k046_thr_p2_e1_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 2 1 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k047_thr_p2_e1_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k047_thr_p2_e1_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..28904b23fa061d6219f4ab36f64cc9cb2700856a --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k047_thr_p2_e1_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 1 2 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k048_mug_p2_e2_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k048_mug_p2_e2_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..790a068437024f658f41100e17eb0fea04eb63ca --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k048_mug_p2_e2_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 2 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k049_mug_p2_e2_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k049_mug_p2_e2_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..d9863893422f8566287ae04cf7411c3944633bd9 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k049_mug_p2_e2_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 2 2 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k050_mug_p2_e2_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k050_mug_p2_e2_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..67f14ca0b206bb03e9ad4a1be705e50c07c154ef --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k050_mug_p2_e2_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 1 2 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k051_thr_p2_e2_idm.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k051_thr_p2_e2_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..c210caa4b8be3d7a13b06fadcbad5be5e415f7ff --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k051_thr_p2_e2_idm.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 2 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k052_thr_p2_e2_rnd.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k052_thr_p2_e2_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..2017192e31b1d3453ec4f4e1218892ae169cf6c8 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k052_thr_p2_e2_rnd.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 2 2 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_cells/k053_thr_p2_e2_nosel.sh b/rsm_rise/scripts/nb/df_idmk8_cells/k053_thr_p2_e2_nosel.sh new file mode 100644 index 0000000000000000000000000000000000000000..0c510c06bca3f1b28919fd369b1f5a14012a1647 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_cells/k053_thr_p2_e2_nosel.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 1 2 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmk8_gen_queue.sh b/rsm_rise/scripts/nb/df_idmk8_gen_queue.sh new file mode 100644 index 0000000000000000000000000000000000000000..66a9f9e6c6bcfc71045c43dd97920178ab06149a --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmk8_gen_queue.sh @@ -0,0 +1,77 @@ +#!/usr/bin/env bash +# gen_q#274, stream DF_MAKEITWORK run 39 -- the k8_n10 decoder grid. +# +# WHY THIS WAVE EXISTS. The landed IDM grid uses the decoder named in +# status/nb/df_idm/_best.txt: kfull_n10 on threading, kfull_n00 on mug. Those tags were +# picked from status/nb/df_idm/_probe.json on the `Kmean` r2 -- the action-reconstruction r2 +# averaged over ALL 32 candidate plans. THAT IS THE WRONG STATISTIC FOR THE ARM WE DEPLOY. The +# headline arm executes the argmax-of-128 plan, so the decoder that matters is the one that +# reconstructs the actions of the plan that is ACTUALLY EXECUTED -- the probe's `argmaxJ` r2. +# On mug the two criteria disagree and the winning margin under Kmean is noise: +# +# mug, g=0.0 Kmean argmaxJ (probe, n=506, 64 states x 32 candidates) +# kfull_n00 0.5282 <-cho 0.3740 +# k8_n10 0.5274 0.4749 <-best on the statistic the deployed arm uses +# kfull_n10 0.5016 0.4100 +# margin that chose mug's decoder under Kmean: 0.5282 - 0.5274 = 0.0008. +# +# threading, g=0.0 +# kfull_n10 0.7913 <-cho 0.6994 +# k8_n10 0.7701 0.7175 <-best on argmaxJ +# +# k8_n10 is ALSO the most robust arm under guidance on both tasks (mug g=5.0 argmaxJ: k8_n10 +# +0.3524 vs kfull_n00 +0.0061; threading g=5.0: k8_n10 +0.3471 vs kfull_n10 +0.3236), so the +# same choice wins on both guidance settings the probe covers, on both tasks, without a tie-break. +# +# FAIRNESS, STATED BEFORE ANY NUMBER EXISTS. The criterion is offline action-reconstruction r2 +# against the SAME dataset actions a BC column is trained on. No success bit, no simulator state, +# no held-out evaluation episode, no RSM/IQL contact (rule 7). The decoder is therefore chosen the +# way the previous one was -- from the probe -- only on the probe column that matches the deployed +# arm. CHOOSING A DECODER BY ITS SUCCESS RATE OVER THIS GRID WOULD BE SELECTION ON THE EVALUATION +# SET (rule 3) AND IS REFUSED: the criterion above is registered here, in the generator, before the +# first cell of this wave has run. +# +# THE GRID: tasks {mug (the blocker) first, then threading} x policy seed {0,1,2} x eval seed +# {0,1,2} x arms {idm argmax N=128 | idm random-of-128 (the control) | idm argmax N=1 (the +# no-selection floor)}, guidance 0.0, gamma 0.95 (H=20), world model df_G0 s40000, 50 episodes, +# horizon 400. = 2 x 3 x 3 x 3 = 54 cells. dfact is NOT repeated: it is decoder-independent and +# already measured 0.000 on both tasks. +# The cell name carries the decoder tag (idmk8_n10), so no cell here can collide with or overwrite +# a landed idmkfull_* cell; both decoders' grids stand side by side in scripts/nb/df_idm_tab.py. +set -uo pipefail +ROOT=/proj/dmfexp/zwhong/rsm_rise +D=$ROOT/scripts/nb/df_idmk8_cells +Q=$ROOT/status/packs/df_idmk8_queue_20260924.txt +mkdir -p "$D" "$(dirname "$Q")" +GAMMA=0.95 +: > "$Q.new" + +emit() { + local n=$1; shift + { echo '#!/usr/bin/env bash' + echo "# generated by scripts/nb/df_idmk8_gen_queue.sh -- gen_q#274 run 39 (k8_n10 decoder grid)" + echo 'set -uo pipefail' + echo "export RR_DF_IDM_TAG=k8_n10" + echo "$@" + } > "$D/$n.sh" + chmod +x "$D/$n.sh" + echo "$D/$n.sh" >> "$Q.new" +} + +n=0 +for P in 0 1 2; do + for E in 0 1 2; do + for T in mug_expert_suboptimal threading_expert_play; do + case $T in threading_expert_play) TT=thr;; *) TT=mug;; esac + for SPEC in "idm idm argmax 128" "rnd idm random 128" "nosel idm argmax 1"; do + set -- $SPEC; ARM=$1; DEC=$2; SEL=$3; NP=$4 + emit "$(printf 'k%03d' $n)_${TT}_p${P}_e${E}_${ARM}" \ + "exec bash $ROOT/scripts/nb/df_idm_eval_payload.sh $T $GAMMA 0.0 $NP $P $E $DEC $SEL 50" + n=$((n+1)) + done + done + done +done +mv "$Q.new" "$Q" +echo "[df_idmk8_gen] wrote $n cell payloads under $D" +echo "[df_idmk8_gen] queue $Q ($(wc -l < "$Q") entries)" diff --git a/rsm_rise/scripts/nb/df_idmlown_cells/l000_mug_N32_ex8_idm.sh b/rsm_rise/scripts/nb/df_idmlown_cells/l000_mug_N32_ex8_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..6452210e92d66c6169ce40ac6cee0f8fde55b7b1 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmlown_cells/l000_mug_N32_ex8_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmlown_gen_queue.sh -- gen_q#274 run 43 (low-N arm, optimiser's curse test) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 32 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmlown_cells/l001_mug_N32_ex8_rnd.sh b/rsm_rise/scripts/nb/df_idmlown_cells/l001_mug_N32_ex8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..855a277a15abf473ca6351bf209739531620c8dd --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmlown_cells/l001_mug_N32_ex8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmlown_gen_queue.sh -- gen_q#274 run 43 (low-N arm, optimiser's curse test) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 32 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmlown_cells/l002_thr_N32_ex8_idm.sh b/rsm_rise/scripts/nb/df_idmlown_cells/l002_thr_N32_ex8_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..c87a2ad1944c8920e92546eedd0cc1e3a87141e8 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmlown_cells/l002_thr_N32_ex8_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmlown_gen_queue.sh -- gen_q#274 run 43 (low-N arm, optimiser's curse test) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 32 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmlown_cells/l003_thr_N32_ex8_rnd.sh b/rsm_rise/scripts/nb/df_idmlown_cells/l003_thr_N32_ex8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..cc0ca9f8fe29b15397766d9e368561635e4363a6 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmlown_cells/l003_thr_N32_ex8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmlown_gen_queue.sh -- gen_q#274 run 43 (low-N arm, optimiser's curse test) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 32 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmlown_cells/l004_mug_N8_ex8_idm.sh b/rsm_rise/scripts/nb/df_idmlown_cells/l004_mug_N8_ex8_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..e927236ea0ef034027ff02965265507a62fc6f00 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmlown_cells/l004_mug_N8_ex8_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmlown_gen_queue.sh -- gen_q#274 run 43 (low-N arm, optimiser's curse test) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 8 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmlown_cells/l005_mug_N8_ex8_rnd.sh b/rsm_rise/scripts/nb/df_idmlown_cells/l005_mug_N8_ex8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..77199aa126418a6cda5d19190b2f579b8567bbbb --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmlown_cells/l005_mug_N8_ex8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmlown_gen_queue.sh -- gen_q#274 run 43 (low-N arm, optimiser's curse test) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 8 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmlown_cells/l006_thr_N8_ex8_idm.sh b/rsm_rise/scripts/nb/df_idmlown_cells/l006_thr_N8_ex8_idm.sh new file mode 100644 index 0000000000000000000000000000000000000000..fa3c78475d7cf7b1f90c88a1ae6540912285becf --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmlown_cells/l006_thr_N8_ex8_idm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmlown_gen_queue.sh -- gen_q#274 run 43 (low-N arm, optimiser's curse test) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 8 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmlown_cells/l007_thr_N8_ex8_rnd.sh b/rsm_rise/scripts/nb/df_idmlown_cells/l007_thr_N8_ex8_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..c58a274c10f13cc09dbf54b180d1fa97fac713f7 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmlown_cells/l007_thr_N8_ex8_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmlown_gen_queue.sh -- gen_q#274 run 43 (low-N arm, optimiser's curse test) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 8 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmlown_gen_queue.sh b/rsm_rise/scripts/nb/df_idmlown_gen_queue.sh new file mode 100644 index 0000000000000000000000000000000000000000..41d82cd02736b96cd39c658209b470d969e1bdab --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmlown_gen_queue.sh @@ -0,0 +1,62 @@ +#!/usr/bin/env bash +# gen_q#274, stream DF_MAKEITWORK run 43 -- THE LOW-N ARM OF THE CAPACITY CURVE. +# +# WHY THIS WAVE EXISTS, WRITTEN BEFORE A SINGLE CELL RAN. +# Run 42 launched the capacity sweep expecting MORE candidates to help (N=128 -> 512 -> 1024). +# The N=512 cells landed and they go the WRONG WAY, on BOTH tasks, at the identical decoder, +# world model, gamma, guidance, execute, policy seed and eval seed -- one dimension changed: +# threading argmax N=128 -> 0.1333 (6 es1 cells) N=512 -> 0.060 (1 cell) +# mug argmax N=128 -> 0.040 (5 es1 cells) N=512 -> 0.020 (1 cell) +# threading random N=128 -> ~0.027 (random is N-independent by construction) +# mug random N=128 -> 0.000 N=512 -> 0.000 +# argmax still beats its own random control at both N (rule 4 holds), but the SELECTION GAP +# SHRINKS as N grows: threading +0.107 at N=128 -> +0.033 at N=512. +# +# That is the signature of the OPTIMISER'S CURSE, and it is the first mechanism on this stream +# that explains the mandate's central clue -- J_gain large and positive while success is flat. +# If J carries a little signal and a lot of error, then argmax over N draws is increasingly +# dominated by the error tail as N grows: you select harder on the scorer's mistakes. Success +# then FALLS with N even though J RISES with N. Both are observed. +# +# THE FALSIFIABLE PREDICTION, REGISTERED HERE BEFORE THE FIRST CELL RUNS. +# If the curse is the mechanism, the capacity curve is non-monotone with a peak at SMALL N, so +# going DOWN from 128 should HELP: threading at N=32 and N=8 should read AT OR ABOVE its 0.1333. +# If instead N=32 and N=8 read at or below 0.1333, the curse reading is DEAD -- the honest +# alternative is simply that N=512 was a 3/50 fluctuation, and I will say so and drop it. +# Either way this wave answers it, and it is CHEAPER than the baseline, not more expensive. +# +# FAIRNESS. One dimension (n_plans) against the landed N=128 baseline; decoder k8_n10, world model +# df_G0 s40000, gamma 0.95/H=20, guidance 0.0, execute 8, 50 episodes, canonical region, horizon +# 400, stock success criterion -- all byte-identical to the capacity cells (rules 1,2,3). +# Every argmax cell carries its OWN random-of-N control over the identical candidate pool at the +# SAME N (rule 4). No RSM/IQL critic ranks anything (rule 7). Policy seed 0 / eval seed 0 only, +# matching the capacity cells this is read against -- this wave's output is a CHOICE OF +# CONFIGURATION, NEVER A RESULT; a preferred N is re-measured over the full 3x3 seed grid and +# only that is published. Reporting the max over this wave as a DF score would be selection on +# the evaluation set and is refused in writing here. +# The reproduction gate (rule 6) is still open; no RISE number from DF is claimed by this wave. +set -euo pipefail +ROOT=/proj/dmfexp/zwhong/rsm_rise +OUT=$ROOT/status/packs/df_idmlown_queue_20260924.txt +CELLS=$ROOT/scripts/nb/df_idmlown_cells +mkdir -p "$CELLS"; : > "$OUT" +i=0 +for N in 32 8; do + for TASK in mug_expert_suboptimal threading_expert_play; do + case $TASK in mug_expert_suboptimal) SHORT=mug;; *) SHORT=thr;; esac + for SEL in argmax random; do + case $SEL in argmax) STAG=idm;; random) STAG=rnd;; esac + F=$(printf "%s/l%03d_%s_N%s_ex8_%s.sh" "$CELLS" "$i" "$SHORT" "$N" "$STAG") + cat > "$F" <> "$OUT"; i=$((i+1)) + done + done +done +echo "[df_idmlown] wrote $i cells -> $OUT" diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/e000_mug_N128_ex2_arg.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/e000_mug_N128_ex2_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..d31bd24cf0c226bedec7754d1192b2b15c51b1d9 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/e000_mug_N128_ex2_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=2 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/e001_mug_N128_ex2_rnd.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/e001_mug_N128_ex2_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..308d500a68df7c20b190a538b93c7824e5e67790 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/e001_mug_N128_ex2_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=2 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/e002_thr_N128_ex4_arg.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/e002_thr_N128_ex4_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..b805273177f16b66497d072e7df4a7935f074072 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/e002_thr_N128_ex4_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=4 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/e003_thr_N128_ex4_rnd.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/e003_thr_N128_ex4_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..f3de18bfe77dc271313febc384e0c26d65bee011 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/e003_thr_N128_ex4_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=4 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/p000_mug_k1n10_arg.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/p000_mug_k1n10_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..4594c073320383a0e773e60b1d000793bcf62420 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/p000_mug_k1n10_arg.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +# gen_q#274 run 47 -- FALSIFIER for FINDING AK: the probe's argmaxJ r2 ranks k1_n10 BELOW k8_n10 on +# both tasks (mug 0.3491 vs 0.4749; thr 0.4857 vs 0.7175). PRE-REGISTERED PREDICTION: these argmax +# cells read at or below their task's kfull reference (mug <=0.02, thr <=0.12), i.e. strictly below +# the k8_n10 reference (mug 0.040, thr 0.133). If a k1_n10 cell BEATS k8_n10 and beats its own +# matched random control, FINDING AK is FALSIFIED and the probe is not a valid decoder selector. +set -uo pipefail +export RR_DF_IDM_TAG=k1_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/p001_mug_k1n10_rnd.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/p001_mug_k1n10_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..a5ce3da4aba89a16b4a85be4e36d30bd66e330ea --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/p001_mug_k1n10_rnd.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +# gen_q#274 run 47 -- FALSIFIER for FINDING AK: the probe's argmaxJ r2 ranks k1_n10 BELOW k8_n10 on +# both tasks (mug 0.3491 vs 0.4749; thr 0.4857 vs 0.7175). PRE-REGISTERED PREDICTION: these argmax +# cells read at or below their task's kfull reference (mug <=0.02, thr <=0.12), i.e. strictly below +# the k8_n10 reference (mug 0.040, thr 0.133). If a k1_n10 cell BEATS k8_n10 and beats its own +# matched random control, FINDING AK is FALSIFIED and the probe is not a valid decoder selector. +set -uo pipefail +export RR_DF_IDM_TAG=k1_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/p002_thr_k1n10_arg.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/p002_thr_k1n10_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..65ba8fdc41c97e3f252b9d3ac538d15c31cac615 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/p002_thr_k1n10_arg.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +# gen_q#274 run 47 -- FALSIFIER for FINDING AK: the probe's argmaxJ r2 ranks k1_n10 BELOW k8_n10 on +# both tasks (mug 0.3491 vs 0.4749; thr 0.4857 vs 0.7175). PRE-REGISTERED PREDICTION: these argmax +# cells read at or below their task's kfull reference (mug <=0.02, thr <=0.12), i.e. strictly below +# the k8_n10 reference (mug 0.040, thr 0.133). If a k1_n10 cell BEATS k8_n10 and beats its own +# matched random control, FINDING AK is FALSIFIED and the probe is not a valid decoder selector. +set -uo pipefail +export RR_DF_IDM_TAG=k1_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/p003_thr_k1n10_rnd.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/p003_thr_k1n10_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..ded64b120be2c172088fd0e372c805509f013e6d --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/p003_thr_k1n10_rnd.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +# gen_q#274 run 47 -- FALSIFIER for FINDING AK: the probe's argmaxJ r2 ranks k1_n10 BELOW k8_n10 on +# both tasks (mug 0.3491 vs 0.4749; thr 0.4857 vs 0.7175). PRE-REGISTERED PREDICTION: these argmax +# cells read at or below their task's kfull reference (mug <=0.02, thr <=0.12), i.e. strictly below +# the k8_n10 reference (mug 0.040, thr 0.133). If a k1_n10 cell BEATS k8_n10 and beats its own +# matched random control, FINDING AK is FALSIFIED and the probe is not a valid decoder selector. +set -uo pipefail +export RR_DF_IDM_TAG=k1_n10 +export RR_DF_EXECUTE=8 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/r000_mug_N64_ex4_arg.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/r000_mug_N64_ex4_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..10a1a5cf4bd30793010315fe609226fd5695ef71 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/r000_mug_N64_ex4_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=4 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 64 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/r001_mug_N64_ex4_rnd.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/r001_mug_N64_ex4_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..e101a6a95e5de6e8baaa4cbeeb1bc797f4b279b0 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/r001_mug_N64_ex4_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=4 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 64 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/r002_mug_N32_ex2_arg.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/r002_mug_N32_ex2_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..01e5c16ce47a18a3f7c89ad86cfa3da087eb0c09 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/r002_mug_N32_ex2_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=2 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 32 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/r003_mug_N32_ex2_rnd.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/r003_mug_N32_ex2_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..5daf99d6953ee0f933f3d06b4c211fb19ce2aebd --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/r003_mug_N32_ex2_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=2 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 32 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/r004_mug_N16_ex1_arg.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/r004_mug_N16_ex1_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..2e84309d2701ae2153474e0f3c6f6aa6269a54b4 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/r004_mug_N16_ex1_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=1 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 16 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/r005_mug_N16_ex1_rnd.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/r005_mug_N16_ex1_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..3fe028ff079c75fd5084b883a6cf824a6e0e3f92 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/r005_mug_N16_ex1_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=1 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 16 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/r006_thr_N64_ex4_arg.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/r006_thr_N64_ex4_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..8ecd02d6217008294c39bb709731e2abda15dfff --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/r006_thr_N64_ex4_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=4 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 64 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/r007_thr_N64_ex4_rnd.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/r007_thr_N64_ex4_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..be4357e624f2d674f653ba86f8dbc72d2c34e3e4 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/r007_thr_N64_ex4_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=4 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 64 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/r008_thr_N32_ex2_arg.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/r008_thr_N32_ex2_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..119b7a064828cb114035c3655420a251991ce5b1 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/r008_thr_N32_ex2_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=2 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 32 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/r009_thr_N32_ex2_rnd.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/r009_thr_N32_ex2_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..a65a03a01d9883610f1a24847a6ff708a130446e --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/r009_thr_N32_ex2_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=2 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 32 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/r010_thr_N16_ex1_arg.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/r010_thr_N16_ex1_arg.sh new file mode 100644 index 0000000000000000000000000000000000000000..b2def2be0ecb0f2d11e42efbad12899c740e97da --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/r010_thr_N16_ex1_arg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=1 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 16 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_cells/r011_thr_N16_ex1_rnd.sh b/rsm_rise/scripts/nb/df_idmreplan_cells/r011_thr_N16_ex1_rnd.sh new file mode 100644 index 0000000000000000000000000000000000000000..70837d75435250365e362c42b7641a417a6d0c85 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_cells/r011_thr_N16_ex1_rnd.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder) +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_EXECUTE=1 +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 16 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmreplan_gen_queue.sh b/rsm_rise/scripts/nb/df_idmreplan_gen_queue.sh new file mode 100644 index 0000000000000000000000000000000000000000..7cdf53a724be5f6fee4fd9aba0cd306f20b51f5e --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmreplan_gen_queue.sh @@ -0,0 +1,88 @@ +#!/usr/bin/env bash +# gen_q#274, stream DF_MAKEITWORK run 47 -- THE COMPUTE-MATCHED REPLAN-vs-SEARCH LADDER. +# +# WHY THIS WAVE EXISTS. Two findings already on record point the SAME way, and nothing on record +# has ever tested the axis they both point at: +# * FINDING AD (run 43, reinstated run 45): MORE SEARCH MAKES DF WORSE. Matched thr cell +# N=128 -> 0.160, N=512 -> 0.060. The optimiser's curse: with a reward channel measured at +# chance (FINDING V), extra candidates buy extra scorer noise, not extra task progress. +# * FINDING AH (run 46): guidance is Goodhart -- *maximising* the predicted-provenance objective +# costs all the success (0.120 -> 0.000 at g=5), while *ranking unguided samples* by it is +# worth 8.7x over random. So DF's objective is a weak ranker, not something to climb. +# A weak ranker argues for FEWER candidates and MORE FREQUENT REPLANNING: shorter open-loop +# commitment means less world-model drift (mug's rollout fidelity is WORSE than a stay-put +# predictor at every horizon, 1.05-1.32) and fewer chances for a noisily-top-ranked plan to run +# the episode off the manifold before the next decision. +# The replan axis is essentially UNSWEPT: of 110 landed cells, exactly ONE is not ex=8 +# (mug N=128 ex=4 -> 0.040, i.e. identical to ex=8). That single point changed N and ex +# together with nothing, which is why it is uninformative on its own. +# +# THE DESIGN: HOLD THE COMPUTE CONSTANT. Plan samples per episode scale as N/ex, so the ladder +# (N=128,ex=8) -> (64,4) -> (32,2) -> (16,1) +# holds N/ex = 16 fixed. Every rung costs the same GPU time as the CURRENT HEADLINE CELL +# (~15-30 min/cell), and the comparison is not confounded by a compute difference -- the usual +# way a "more replanning helps" result turns out to be "more compute helps". +# (N=128,ex=8) is NOT re-run: it is already measured at thr 0.133 / mug 0.040 and is the reference. +# Two UNCOMPENSATED probes disentangle ex from N at fixed N=128: mug ex=2 and thr ex=4. These +# cost 4x and 2x a headline cell respectively and are labelled as such. +# +# PRE-REGISTERED, BEFORE ANY CELL RUNS. The claim under test is +# "ex=8 / N=128 is optimal" -- a setting never once varied on the replan axis. +# It SURVIVES if no argmax cell in this wave beats its task's reference (thr 0.133, mug 0.040). +# It is FALSIFIED by any argmax cell that beats that reference AND beats its OWN matched +# random-of-N control shipped in this same wave at the same N and ex. +# A cell that beats the reference but NOT its own random control is reported as NOT WORKING, +# per fairness rule 4, whatever its success rate. +# Secondary, also pre-registered: if the compute-matched ladder is FLAT while the uncompensated +# ex probes move, the effect is compute, not replanning, and will be reported that way. +# +# FAIRNESS. Identical to df_idm_eval_payload.sh's contract, which this only parameterises: +# same binary data-provenance reward (unchanged), same observation, the task's canonical region, +# horizon 400, 50 episodes/cell, the stock success criterion, training.plan_n=1 so no RSM/IQL +# critic ever ranks a DF candidate (rule 7). EVERY argmax cell here ships with its matched +# random-of-N control at the same task, WM, horizon, decoder, guidance, N, ex, policy seed and +# eval seed (rule 4). Guidance is 0.0 everywhere -- the only setting that has ever worked (AH). +# Policy seed 0 / eval seed 0 for this SCOUT wave, justified by FINDING AF (the policy seed is +# inert for this column). NO SCOUT NUMBER IS PUBLISHED AS A FLAGSHIP CELL; a winner must be +# re-run across eval seeds 0/1/2 first, and -- per run 47's resume defect -- re-run FRESH. +set -euo pipefail +ROOT=/proj/dmfexp/zwhong/rsm_rise +D=$ROOT/scripts/nb/df_idmreplan_cells; mkdir -p "$D" +OUT=$ROOT/status/packs/df_idmreplan_queue_20260924.txt; : > "$OUT" + +emit() { # name task n_plans execute sel + local n=$1 task=$2 np=$3 ex=$4 sel=$5 + local f=$D/$n.sh + { echo '#!/usr/bin/env bash' + echo "# generated by scripts/nb/df_idmreplan_gen_queue.sh -- gen_q#274 run 47 (compute-matched replan ladder)" + echo 'set -uo pipefail' + echo 'export RR_DF_IDM_TAG=k8_n10' + echo "export RR_DF_EXECUTE=$ex" + echo "exec bash $ROOT/scripts/nb/df_idm_eval_payload.sh $task 0.95 0.0 $np 0 0 idm $sel 50" + } > "$f"; chmod +x "$f"; echo "$f" >> "$OUT" +} + +# --- r: the compute-matched ladder, N/ex = 16 held fixed ----------------------------------- +# mug first at every rung: mug is the ENTIRE shortfall against the 0.100 mandate (0.040 vs +# thr's 0.133), and mug is where the bad world model makes the replan argument strongest. +emit r000_mug_N64_ex4_arg mug_expert_suboptimal 64 4 argmax +emit r001_mug_N64_ex4_rnd mug_expert_suboptimal 64 4 random +emit r002_mug_N32_ex2_arg mug_expert_suboptimal 32 2 argmax +emit r003_mug_N32_ex2_rnd mug_expert_suboptimal 32 2 random +emit r004_mug_N16_ex1_arg mug_expert_suboptimal 16 1 argmax +emit r005_mug_N16_ex1_rnd mug_expert_suboptimal 16 1 random +emit r006_thr_N64_ex4_arg threading_expert_play 64 4 argmax +emit r007_thr_N64_ex4_rnd threading_expert_play 64 4 random +emit r008_thr_N32_ex2_arg threading_expert_play 32 2 argmax +emit r009_thr_N32_ex2_rnd threading_expert_play 32 2 random +emit r010_thr_N16_ex1_arg threading_expert_play 16 1 argmax +emit r011_thr_N16_ex1_rnd threading_expert_play 16 1 random + +# --- e: UNCOMPENSATED ex probes at fixed N=128, to separate "replanning" from "compute" ---- +# mug ex=2 costs ~4x a headline cell; thr ex=4 costs ~2x. Labelled, not hidden. +emit e000_mug_N128_ex2_arg mug_expert_suboptimal 128 2 argmax +emit e001_mug_N128_ex2_rnd mug_expert_suboptimal 128 2 random +emit e002_thr_N128_ex4_arg threading_expert_play 128 4 argmax +emit e003_thr_N128_ex4_rnd threading_expert_play 128 4 random + +echo "[df_idmreplan] wrote $(wc -l < "$OUT") cells -> $OUT" diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s000_thr_G0_g0.875_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s000_thr_G0_g0.875_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..ff96f922ca1f19060ca3b31034d5c17de5543140 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s000_thr_G0_g0.875_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_G0/ckpt_s40000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.875 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s001_thr_G0_g0.875_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s001_thr_G0_g0.875_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..215b93b2bf2a42d735579184e0e8cf580995f0b5 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s001_thr_G0_g0.875_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_G0/ckpt_s40000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.875 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s002_thr_G0_g0.95_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s002_thr_G0_g0.95_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..5d1f2d1da4e15f5b9c09633f681d6451e39836be --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s002_thr_G0_g0.95_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_G0/ckpt_s40000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s003_thr_G0_g0.95_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s003_thr_G0_g0.95_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..3b76424700a00f472c64ee66582709ceaa43ff43 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s003_thr_G0_g0.95_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_G0/ckpt_s40000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s004_thr_G0_g0.975_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s004_thr_G0_g0.975_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..f833ec05648a3c27db6d3621954dc7182854423e --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s004_thr_G0_g0.975_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_G0/ckpt_s40000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.975 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s005_thr_G0_g0.975_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s005_thr_G0_g0.975_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..1ab9c8078085106d2a6720cf84fd3e737129de4e --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s005_thr_G0_g0.975_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_G0/ckpt_s40000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.975 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s006_thr_A_g0.875_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s006_thr_A_g0.875_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..145c51dd13ec762ed2b85d88160e74da2388bb7b --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s006_thr_A_g0.875_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.875 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s007_thr_A_g0.875_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s007_thr_A_g0.875_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..2269df808fa88f3065e1496f4815b426649e74e2 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s007_thr_A_g0.875_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.875 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s008_thr_A_g0.95_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s008_thr_A_g0.95_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..119d9ee7db363687496d0c469d6fbc8bce3c8b76 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s008_thr_A_g0.95_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s009_thr_A_g0.95_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s009_thr_A_g0.95_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..61cfd52663b8755376c990910268f028e8de3082 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s009_thr_A_g0.95_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s010_thr_A_g0.975_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s010_thr_A_g0.975_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..bd46d51d762ef3624adf3b2e850fccf7bc90208a --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s010_thr_A_g0.975_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.975 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s011_thr_A_g0.975_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s011_thr_A_g0.975_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..54f7c490cb9fba2352e426ccf86e7aef36e5ac49 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s011_thr_A_g0.975_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.975 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s012_thr_C_g0.875_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s012_thr_C_g0.875_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..6343b2e9e850a4273a242e5818777b13d58f045a --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s012_thr_C_g0.875_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_C/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.875 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s013_thr_C_g0.875_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s013_thr_C_g0.875_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..200a315f915545d5cef5dc6593b9fbd50304794c --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s013_thr_C_g0.875_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_C/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.875 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s014_thr_C_g0.95_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s014_thr_C_g0.95_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..32fd7413c5eb2ded0af5e2dc8be6ee98c2bcad0e --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s014_thr_C_g0.95_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_C/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s015_thr_C_g0.95_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s015_thr_C_g0.95_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..d40f32491141a4ed2041d48862b87cfd18ccdbd7 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s015_thr_C_g0.95_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_C/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s016_thr_C_g0.975_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s016_thr_C_g0.975_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..6c532d976d1f00d4a7299901bba337cb108171f4 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s016_thr_C_g0.975_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_C/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.975 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s017_thr_C_g0.975_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s017_thr_C_g0.975_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..7f89b43bf8145084d48243985ad3e2438e878d21 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s017_thr_C_g0.975_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/threading_expert_play/wm/df_C/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh threading_expert_play 0.975 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s018_mug_G0_g0.875_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s018_mug_G0_g0.875_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..f8fc240193c1004c00fe7b72741747b39bc14af6 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s018_mug_G0_g0.875_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_G0/ckpt_s40000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s019_mug_G0_g0.875_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s019_mug_G0_g0.875_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..7a78cb6a31cabb492a76f7f5d5a664ff3a176d36 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s019_mug_G0_g0.875_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_G0/ckpt_s40000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s020_mug_G0_g0.95_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s020_mug_G0_g0.95_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..22aaae5e18e4cb413651bebb924a5b9698fe91ef --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s020_mug_G0_g0.95_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_G0/ckpt_s40000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s021_mug_G0_g0.95_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s021_mug_G0_g0.95_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..ae97152b7474359744fba52e36e4463b67c4a67c --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s021_mug_G0_g0.95_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_G0/ckpt_s40000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s022_mug_G0_g0.975_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s022_mug_G0_g0.975_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..0242720e34d099a19963ec24ddc91d26972f7dee --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s022_mug_G0_g0.975_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_G0/ckpt_s40000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.975 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s023_mug_G0_g0.975_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s023_mug_G0_g0.975_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..278cd51ea5ae0b794238c9e1e3b30f9845741fa4 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s023_mug_G0_g0.975_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_G0/ckpt_s40000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.975 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s024_mug_A_g0.875_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s024_mug_A_g0.875_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..e722d3284d677ba4fd6a59d3a2853da03ff2f710 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s024_mug_A_g0.875_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s025_mug_A_g0.875_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s025_mug_A_g0.875_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..c0ebcd69705f926af56d008cbfd95951dcb7e491 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s025_mug_A_g0.875_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s026_mug_A_g0.95_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s026_mug_A_g0.95_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..2b255046439ec7c589254b472d40db9b9a2f7c43 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s026_mug_A_g0.95_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s027_mug_A_g0.95_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s027_mug_A_g0.95_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..e7db1e17c93da604879205244d49aaef3bdffb6c --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s027_mug_A_g0.95_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s028_mug_A_g0.975_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s028_mug_A_g0.975_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..a710339d83aabc82ac09e3ced869d3571d343afc --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s028_mug_A_g0.975_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.975 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s029_mug_A_g0.975_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s029_mug_A_g0.975_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..66da05611f0cfdfb5db4f1ed51ed3c45de98f8a1 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s029_mug_A_g0.975_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.975 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s030_mug_C_g0.875_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s030_mug_C_g0.875_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..8df8eee896563822bf7e842c241c74d8f563445e --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s030_mug_C_g0.875_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_C/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s031_mug_C_g0.875_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s031_mug_C_g0.875_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..67d5cf19d93cd653472d7f3f7f9cb2f0de89e2cc --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s031_mug_C_g0.875_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_C/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s032_mug_C_g0.95_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s032_mug_C_g0.95_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..453706a8fdbabee33d8251f8534553119b1c5176 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s032_mug_C_g0.95_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_C/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s033_mug_C_g0.95_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s033_mug_C_g0.95_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..add4e81e8b84dcf7671c019befe41e370601af9a --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s033_mug_C_g0.95_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_C/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.95 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s034_mug_C_g0.975_argmax.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s034_mug_C_g0.975_argmax.sh new file mode 100644 index 0000000000000000000000000000000000000000..23289e8fef6c4a4c6b517c6f47f7cb3d5d67890b --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s034_mug_C_g0.975_argmax.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_C/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.975 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_cells/s035_mug_C_g0.975_random.sh b/rsm_rise/scripts/nb/df_idmsweep_cells/s035_mug_C_g0.975_random.sh new file mode 100644 index 0000000000000000000000000000000000000000..9ba41970321fa64e6e2f8788c58d5e7716734e4c --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_cells/s035_mug_C_g0.975_random.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result) +set -uo pipefail +# run 41: decoder PINNED to the tag this cell already resolved to via _best.txt, so the +# in-flight sweep stays internally consistent when _best.txt is corrected to the criterion winner. +export RR_DF_IDM_TAG=kfull_n00 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_C/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.975 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmsweep_gen.sh b/rsm_rise/scripts/nb/df_idmsweep_gen.sh new file mode 100644 index 0000000000000000000000000000000000000000..9a96461d48cd2fae334c757c8252659f9c2c9d14 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmsweep_gen.sh @@ -0,0 +1,54 @@ +#!/usr/bin/env bash +# gen_q#274, stream DF_MAKEITWORK run 38 -- CONFIG SWEEP for the IDM-decoded DF planner arm. +# +# WHY. The first nonzero DF cell in this stream landed at (threading, df_G0 s40000, gamma 0.95/H=20, +# g=0, idm-argmax-of-128, policy seed 0, eval seed 0): success 0.120, against random-of-128 0.000 and +# the no-selection floor 0.040 on the SAME seed and the SAME candidate pool. df_G0 is a 40000-step +# world model; df_A and df_C both have 100000-step checkpoints that no eval cell has ever used. +# +# WHAT THIS SWEEP IS, DECLARED BEFORE ANY NUMBER EXISTS. It is a DISCLOSED SPOT CHECK on ONE seed +# (policy 0, eval 0) over {world model} x {horizon}. It is NOT a result and will never be reported as +# one. Its only output is a CHOICE of configuration; whatever it picks is then run over the full +# 3 policy x 3 eval seed grid at 50 episodes and THAT is the number that gets published. Reporting a +# max over this sweep as a DF score would be selection on the evaluation set -- i.e. cheating under +# fairness rule 3 -- and is refused here in writing. +# +# EVERY CELL CARRIES ITS OWN CONTROL. argmax and random-of-128 are emitted as an adjacent PAIR over +# the identical candidate pool, so no configuration in this sweep can ever be read without the control +# that says whether its selection did anything. A config whose argmax does not beat its own random is +# not a candidate however high its number. +# +# Unchanged: reward = DF's own predicted binary-provenance channel; observations as every other column +# sees them; canonical region, horizon 400, 50 episodes, stock success criterion; training.plan_n=1 so +# no RSM/IQL critic ever ranks a DF candidate (fairness rule 7). +set -uo pipefail +ROOT=/proj/dmfexp/zwhong/rsm_rise +D=$ROOT/scripts/nb/df_idmsweep_cells +Q=$ROOT/status/packs/df_idmsweep_queue_20260924.txt +mkdir -p "$D" "$(dirname "$Q")" +: > "$Q.new" +n=0 +for T in threading_expert_play mug_expert_suboptimal; do + case $T in threading_expert_play) TT=thr;; *) TT=mug;; esac + for WMSPEC in "G0:df_G0/ckpt_s40000.pt" "A:df_A/ckpt_s100000.pt" "C:df_C/ckpt_s100000.pt"; do + WK=${WMSPEC%%:*}; WP=${WMSPEC#*:} + [ -f "$ROOT/runs/$T/wm/$WP" ] || { echo "[gen] MISSING $T $WP -- skipped"; continue; } + for GAM in 0.875 0.95 0.975; do + for SEL in argmax random; do + nm=$(printf 's%03d' $n)_${TT}_${WK}_g${GAM}_${SEL} + { echo '#!/usr/bin/env bash' + echo '# generated by scripts/nb/df_idmsweep_gen.sh -- gen_q#274 run 38 (disclosed spot check, NOT a result)' + echo 'set -uo pipefail' + echo "export RR_DF_IDM_WM=$ROOT/runs/$T/wm/$WP" + echo "exec bash $ROOT/scripts/nb/df_idm_eval_payload.sh $T $GAM 0.0 128 0 0 idm $SEL 50" + } > "$D/$nm.sh" + chmod +x "$D/$nm.sh" + echo "$D/$nm.sh" >> "$Q.new" + n=$((n+1)) + done + done + done +done +mv "$Q.new" "$Q" +echo "[df_idmsweep_gen] $n cells -> $D" +echo "[df_idmsweep_gen] queue $Q ($(wc -l < "$Q") entries)" diff --git a/rsm_rise/scripts/nb/df_idmwmre_cells/w000_mug_A_g0.875_es0_argmax_N128.sh b/rsm_rise/scripts/nb/df_idmwmre_cells/w000_mug_A_g0.875_es0_argmax_N128.sh new file mode 100644 index 0000000000000000000000000000000000000000..05b0fb50648dee38f3bc884c56ab0535a2d02a7e --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmwmre_cells/w000_mug_A_g0.875_es0_argmax_N128.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmwmre_gen_queue.sh -- gen_q#274 run 42. +# FINDING AB re-measurement: mug sweep winner df_A s100000 @ gamma 0.875/H=8 on the CRITERION +# decoder k8_n10 (run 39's offline argmaxJ action-reconstruction r2 winner), full eval-seed axis, +# with its own same-N random control and the no-selection floor at the same world model. +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmwmre_cells/w001_mug_A_g0.875_es0_random_N128.sh b/rsm_rise/scripts/nb/df_idmwmre_cells/w001_mug_A_g0.875_es0_random_N128.sh new file mode 100644 index 0000000000000000000000000000000000000000..bf598a650ba1c40958d381d442afb3430e158507 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmwmre_cells/w001_mug_A_g0.875_es0_random_N128.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmwmre_gen_queue.sh -- gen_q#274 run 42. +# FINDING AB re-measurement: mug sweep winner df_A s100000 @ gamma 0.875/H=8 on the CRITERION +# decoder k8_n10 (run 39's offline argmaxJ action-reconstruction r2 winner), full eval-seed axis, +# with its own same-N random control and the no-selection floor at the same world model. +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 0 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmwmre_cells/w002_mug_A_g0.875_es0_argmax_N1.sh b/rsm_rise/scripts/nb/df_idmwmre_cells/w002_mug_A_g0.875_es0_argmax_N1.sh new file mode 100644 index 0000000000000000000000000000000000000000..e16afb855d61b01aac289ccffad8ad96312aaf58 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmwmre_cells/w002_mug_A_g0.875_es0_argmax_N1.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmwmre_gen_queue.sh -- gen_q#274 run 42. +# FINDING AB re-measurement: mug sweep winner df_A s100000 @ gamma 0.875/H=8 on the CRITERION +# decoder k8_n10 (run 39's offline argmaxJ action-reconstruction r2 winner), full eval-seed axis, +# with its own same-N random control and the no-selection floor at the same world model. +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 1 0 0 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmwmre_cells/w003_mug_A_g0.875_es1_argmax_N128.sh b/rsm_rise/scripts/nb/df_idmwmre_cells/w003_mug_A_g0.875_es1_argmax_N128.sh new file mode 100644 index 0000000000000000000000000000000000000000..7cfe045ca2c81f98a96592b882dafed04d07e0af --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmwmre_cells/w003_mug_A_g0.875_es1_argmax_N128.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmwmre_gen_queue.sh -- gen_q#274 run 42. +# FINDING AB re-measurement: mug sweep winner df_A s100000 @ gamma 0.875/H=8 on the CRITERION +# decoder k8_n10 (run 39's offline argmaxJ action-reconstruction r2 winner), full eval-seed axis, +# with its own same-N random control and the no-selection floor at the same world model. +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmwmre_cells/w004_mug_A_g0.875_es1_random_N128.sh b/rsm_rise/scripts/nb/df_idmwmre_cells/w004_mug_A_g0.875_es1_random_N128.sh new file mode 100644 index 0000000000000000000000000000000000000000..ea9defa4966cae9a52a045399dedb1df3150efca --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmwmre_cells/w004_mug_A_g0.875_es1_random_N128.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmwmre_gen_queue.sh -- gen_q#274 run 42. +# FINDING AB re-measurement: mug sweep winner df_A s100000 @ gamma 0.875/H=8 on the CRITERION +# decoder k8_n10 (run 39's offline argmaxJ action-reconstruction r2 winner), full eval-seed axis, +# with its own same-N random control and the no-selection floor at the same world model. +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 1 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmwmre_cells/w005_mug_A_g0.875_es1_argmax_N1.sh b/rsm_rise/scripts/nb/df_idmwmre_cells/w005_mug_A_g0.875_es1_argmax_N1.sh new file mode 100644 index 0000000000000000000000000000000000000000..fd5a54bb21de728387fae37d538a6ffc516b66c2 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmwmre_cells/w005_mug_A_g0.875_es1_argmax_N1.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmwmre_gen_queue.sh -- gen_q#274 run 42. +# FINDING AB re-measurement: mug sweep winner df_A s100000 @ gamma 0.875/H=8 on the CRITERION +# decoder k8_n10 (run 39's offline argmaxJ action-reconstruction r2 winner), full eval-seed axis, +# with its own same-N random control and the no-selection floor at the same world model. +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 1 0 1 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmwmre_cells/w006_mug_A_g0.875_es2_argmax_N128.sh b/rsm_rise/scripts/nb/df_idmwmre_cells/w006_mug_A_g0.875_es2_argmax_N128.sh new file mode 100644 index 0000000000000000000000000000000000000000..cf8a0cf255d5dbdcc0cb80821422a8073d3ea8aa --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmwmre_cells/w006_mug_A_g0.875_es2_argmax_N128.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmwmre_gen_queue.sh -- gen_q#274 run 42. +# FINDING AB re-measurement: mug sweep winner df_A s100000 @ gamma 0.875/H=8 on the CRITERION +# decoder k8_n10 (run 39's offline argmaxJ action-reconstruction r2 winner), full eval-seed axis, +# with its own same-N random control and the no-selection floor at the same world model. +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmwmre_cells/w007_mug_A_g0.875_es2_random_N128.sh b/rsm_rise/scripts/nb/df_idmwmre_cells/w007_mug_A_g0.875_es2_random_N128.sh new file mode 100644 index 0000000000000000000000000000000000000000..1c2b674be8bd17722610c8d14bf743bf25cd7994 --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmwmre_cells/w007_mug_A_g0.875_es2_random_N128.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmwmre_gen_queue.sh -- gen_q#274 run 42. +# FINDING AB re-measurement: mug sweep winner df_A s100000 @ gamma 0.875/H=8 on the CRITERION +# decoder k8_n10 (run 39's offline argmaxJ action-reconstruction r2 winner), full eval-seed axis, +# with its own same-N random control and the no-selection floor at the same world model. +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 128 0 2 idm random 50 diff --git a/rsm_rise/scripts/nb/df_idmwmre_cells/w008_mug_A_g0.875_es2_argmax_N1.sh b/rsm_rise/scripts/nb/df_idmwmre_cells/w008_mug_A_g0.875_es2_argmax_N1.sh new file mode 100644 index 0000000000000000000000000000000000000000..00cdb646abde68f9e0140179e9d6701e47a7055b --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmwmre_cells/w008_mug_A_g0.875_es2_argmax_N1.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# generated by scripts/nb/df_idmwmre_gen_queue.sh -- gen_q#274 run 42. +# FINDING AB re-measurement: mug sweep winner df_A s100000 @ gamma 0.875/H=8 on the CRITERION +# decoder k8_n10 (run 39's offline argmaxJ action-reconstruction r2 winner), full eval-seed axis, +# with its own same-N random control and the no-selection floor at the same world model. +set -uo pipefail +export RR_DF_IDM_TAG=k8_n10 +export RR_DF_IDM_WM=/proj/dmfexp/zwhong/rsm_rise/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +exec bash /proj/dmfexp/zwhong/rsm_rise/scripts/nb/df_idm_eval_payload.sh mug_expert_suboptimal 0.875 0.0 1 0 2 idm argmax 50 diff --git a/rsm_rise/scripts/nb/df_idmwmre_gen_queue.sh b/rsm_rise/scripts/nb/df_idmwmre_gen_queue.sh new file mode 100644 index 0000000000000000000000000000000000000000..80ce839dcae009c52516070ec7989a3366fb418e --- /dev/null +++ b/rsm_rise/scripts/nb/df_idmwmre_gen_queue.sh @@ -0,0 +1,81 @@ +#!/usr/bin/env bash +# ===================================================================================== +# gen_q#274 / #282, stream DF_MAKEITWORK run 42. +# THE SWEEP-WINNER RE-MEASUREMENT THAT RUN 41's FINDING AB REQUIRES, IN WRITING, BEFORE +# ANYTHING IS CONCLUDED FROM THE WORLD-MODEL SWEEP. +# +# WHY THIS WAVE EXISTS. Run 38's 36-cell world-model/gamma sweep ran on the decoder run 39 +# retired (`kfull_n00` on mug), so every mug sweep cell is read against mug's DEPRESSED +# kfull_n00 reference (0.014 measured over 7 landed cells) rather than the k8_n10 headline +# (0.040). Run 41 recorded the rule: no world model is dropped on that sweep alone, and any +# mug world model that reads AT OR ABOVE the kfull_n00 reference is re-measured on k8_n10 +# before anything is concluded. This wave is that re-measurement. +# +# WHAT TRIGGERED IT -- the number, not a hunch. Landed sweep cells, mug, kfull_n00, g=0, +# N=128, argmax, p0/e0: +# df_A s100000 gamma 0.875 / H=8 -> 0.040 <-- ~3x the reference +# df_C s100000 gamma 0.875 / H=8 -> 0.000 +# df_G0 s40000 gamma 0.875 / H=8 -> 0.000 +# df_G0 s40000 gamma 0.95 / H=20 -> 0.014 (the reference, 7 cells) +# df_A at gamma 0.875 is the ONLY mug world model on record above the reference. mug at 0.040 +# is what holds the two-task mean at 0.087, below the 10% target, so this is the lead that +# decides reachability. +# +# HONEST READING OF ITS STRENGTH, REGISTERED BEFORE THE WAVE RUNS. The trigger is a SINGLE +# 50-episode cell: 2/50 against a reference of roughly 0.7/50. That is weak evidence on its +# own -- it is a reason to re-measure, NOT a result, and it is not reported as one. This wave +# is what turns it into evidence or kills it. +# +# FAIRNESS -- every rule of the no-cheating contract, restated because this wave could produce +# a publishable number: +# 1. reward: DF's own predicted binary provenance channel, unchanged. No success bit. +# 2. observation: identical cache/encoder/split to every other column. No privileged state. +# 3. evaluation: canonical region, horizon 400, 50 episodes/cell, stock success criterion. +# FULL eval-seed axis 0/1/2 -- not one hand-picked seed. Policy seed 0 only, because run +# 40's FINDING AA measured the policy seed INERT for this column (the planner supplies +# every action; per-episode records byte-identical across policy seeds while the loaded +# checkpoints differ by md5). Effective n is 3 either way; running 9 cells would buy no +# information. That is a disclosure, not a saving of evidence. +# 4. controls: every argmax cell is paired with its OWN random-of-128 control over the +# identical candidate pool at the identical world model and gamma, AND with the +# no-selection floor (N=1) at that same world model. A world model that merely improves +# the candidate POOL will show it in the control and cannot be misread as selection. +# 5. health: J spread / ties-at-max / selection gap land in the per-cell diag JSON as always. +# 6. REPRODUCTION GATE STILL OPEN (LSF 1897385). No RISE number from DF is published while +# it is, including anything this wave produces. +# 7. no borrowing our scorer: training.plan_n=1, rsm_ckpt/rsm_hop_ckpt empty. +# +# ONE DIMENSION. Against the landed k8_n10 headline (mug, df_G0 s40000, gamma 0.95/H=20, +# g=0.0, N=128, ex=8 -> 0.040) this wave changes the WORLD MODEL AND ITS PLANNING HORIZON +# TOGETHER (df_A s100000 at gamma 0.875/H=8), because that pair is what the sweep varied and +# what read 0.040 on the retired decoder. It is therefore a two-knob move and is described as +# one; the baseline is not re-run. +# ===================================================================================== +set -euo pipefail +ROOT=/proj/dmfexp/zwhong/rsm_rise +CD=$ROOT/scripts/nb/df_idmwmre_cells +OUT=$ROOT/status/packs/df_idmwmre_queue_20260924.txt +mkdir -p "$CD"; : > "$OUT" +WM=$ROOT/runs/mug_expert_suboptimal/wm/df_A/ckpt_s100000.pt +[ -f "$WM" ] || { echo "MISSING $WM"; exit 2; } +[ -f "$ROOT/runs/mug_expert_suboptimal/idm/k8_n10/idm_last.pt" ] || { echo "MISSING idm k8_n10"; exit 2; } +i=0 +for ES in 0 1 2; do + for SPEC in "argmax 128" "random 128" "argmax 1"; do + set -- $SPEC; SEL=$1; NP=$2 + nm=$(printf "w%03d_mug_A_g0.875_es%s_%s_N%s" "$i" "$ES" "$SEL" "$NP") + cat > "$CD/$nm.sh" <> "$OUT"; i=$((i+1)) + done +done +echo "[df_idmwmre_gen] wrote $i cells -> $OUT" diff --git a/rsm_rise/scripts/nb/df_jrange.py b/rsm_rise/scripts/nb/df_jrange.py new file mode 100644 index 0000000000000000000000000000000000000000..7ca29be9a2da9b2f8b0dfb4e7dd3bc2ae35671f2 --- /dev/null +++ b/rsm_rise/scripts/nb/df_jrange.py @@ -0,0 +1,300 @@ +#!/usr/bin/env python3 +"""gen_q#274 -- put DF's GUIDANCE OBJECTIVE on the axis of the label it was trained on. + +WHY THIS EXISTS. `status/nb/df_table.txt` publishes `J_mean` beside every DF score and its own +footer describes it as "DF's own predicted provenance-reward sum over the plan". That description +is wrong by a large constant, and the constant is structural, not statistical: + + df_plan.py:_guidance_weights w = [w_cond]*frame_stack + [gamma**j for j 1 means DF's reward + head predicts, on its own diffused frames, a provenance value no training + example ever had. + spread_r = J_spread / W_plan candidate-to-candidate spread, same axis + gain_r = J_gain / W_plan what guidance moved, same axis + +BERNOULLI SELF-CHECK. The label is `ep_success` broadcast to every frame (df_data.py:128), so the +channel is exactly Bernoulli(p) and data_std must equal sqrt(p(1-p)). The check is printed per arm; +if it fails, mean_r is not a provenance rate and every number above is void -- said so on its face. + +usage: df_jrange.py [--out-prefix status/nb/df_jrange] +""" +from __future__ import annotations + +import glob +import json +import math +import os +import sys + +ROOT = "/proj/dmfexp/zwhong/rsm_rise" +TASKS = ["threading_expert_play", "mug_expert_suboptimal"] +ARMS = ["A", "B", "C", "D"] +W_COND = 10.0 # df_plan.py:70 default; df_policy.py:149 does not override it + + +def arm_stats(task, arm): + """(frame_stack, mean_r, std_r, bernoulli_ok, source) from the arm's own checkpoint.""" + import torch + d = f"{ROOT}/runs/{task}/wm/df_{arm}" + ck = f"{d}/ckpt_s20000.pt" + if not os.path.exists(ck): + ck = f"{d}/ckpt_last.pt" + if not os.path.exists(ck): + return None + sd = torch.load(ck, map_location="cpu", weights_only=False) + for k in ("model", "state_dict", "ema", "net"): + if isinstance(sd, dict) and k in sd and isinstance(sd[k], dict): + sd = sd[k] + break + mean = std = None + for k, v in sd.items(): + if k.endswith("data_mean"): + mean = v + elif k.endswith("data_std"): + std = v + if mean is None or std is None: + return None + mr, sr = float(mean[-1]), float(std[-1]) + meta = json.load(open(f"{d}/META.json")) + fs = int(meta["frame_stack"]) + # Bernoulli(p) => std = sqrt(p(1-p)). Tolerance 2% absolute: the corpus std is computed in + # float32 over millions of frames and may carry an epsilon floor. + want = math.sqrt(max(mr * (1.0 - mr), 0.0)) + ok = abs(sr - want) <= 0.02 + return dict(frame_stack=fs, mean_r=mr, std_r=sr, std_r_bernoulli=want, bernoulli_ok=bool(ok), + ckpt=ck, n_expert_eps=meta.get("n_expert_eps"), + n_eps=(meta.get("n_train_eps") or 0) + (meta.get("n_val_eps") or 0)) + + +def cells(task): + """Every DF cell with a .diag.json, keyed by its basename. argmax arms AND random controls: + the offset applies to both and the random control's J_mean is published too.""" + out = [] + for f in sorted(glob.glob(f"{ROOT}/runs/{task}/eval_onactor/df274/*.diag.json")): + base = os.path.basename(f)[: -len(".diag.json")] + m = None + for a in ARMS: + if f"-DF{a}-" in base: + m = a + break + if m is None: + continue + try: + d = json.load(open(f)) + except Exception: + continue + if d.get("J_mean") is None: + continue + out.append((base, m, d)) + return out + + +def main(): + pref = sys.argv[1] if len(sys.argv) > 1 else f"{ROOT}/status/nb/df_jrange" + L = [] + res = {"w_cond": W_COND, "note": "offset_cond = w_cond*frame_stack*mean_r; see module docstring", + "arms": {}, "cells": []} + L.append("gen_q#274 -- DF GUIDANCE OBJECTIVE ON THE BINARY LABEL'S OWN [0,1] AXIS.") + L.append("Built by scripts/nb/df_jrange.py. No new rollout: every J_* below is the ALREADY") + L.append("PUBLISHED number from the cell's .diag.json; the only new inputs are frame_stack and") + L.append("the reward channel's data_mean, read from each arm's own checkpoint.") + L.append("") + L.append("THE CONSTANT. df_plan.py gives the frame_stack conditioning frames weight w_cond=10.0") + L.append("each, and their reward channel is pinned at normalised 0 for the whole of diffusion") + L.append("(df_plan.py:95-97, plan[1:] = sample_step(...)[1:]). objective() unnorms before") + L.append("weighting (df_plan.py:108) and unnorm(0) = data_mean, so every J carries exactly") + L.append(" offset_cond = 10.0 * frame_stack * mean_r") + L.append("independently of the plan, the candidate and the diffusion step.") + L.append("J_spread, J_gain and the arg-max are UNAFFECTED (a constant cancels in a difference and") + L.append("in a ranking), so NO DF success rate and NO DF control changes. What changes is what") + L.append("J_mean may be said to mean.") + L.append("") + L.append("AND A SECOND, SEPARATE FACT -- THE DIAGNOSTICS DO NOT MEASURE THE OBJECTIVE GUIDANCE") + L.append("OPTIMISES. objective() is called on two different tensors:") + L.append(" * df_plan.py:110/121/124 objective(plan) -- token 0's reward is PINNED at") + L.append(" normalised 0. This is what J_mean/J_spread/J_gain, i.e. every published DF planner") + L.append(" diagnostic, are computed from, and it is where the exact constant above comes from.") + L.append(" * df_plan.py:112 guidance_fn(x0), called by upstream as") + L.append(" guidance_fn(model_pred.pred_x_start) (models/diffusion.py:433) -- token 0's reward is") + L.append(" the DENOISER'S PREDICTION, and the gradient is taken w.r.t. the whole of x, so via") + L.append(" attention the w_cond term DOES move tokens 1.. . It is not a constant there.") + L.append("So the conditioning term is inert in the numbers we publish and live in the gradient we") + L.append("apply. Consequence: J_gain, published as the issue's 'per-iteration improvement' planner") + L.append("diagnostic, is the improvement of the PLAN TERM ONLY. The objective actually descended") + L.append("also carries the conditioning term, whose total weight is w_cond*frame_stack = 80.0") + L.append("against W_plan = 31.8 at H=50 -- i.e. ~72% of the guidance weight is asking the denoiser") + L.append("to re-explain the CURRENT observation as expert-provenance, not to plan a better future,") + L.append("and no published diagnostic sees it. An RR_DF_WCOND=0 arm is queued to test exactly") + L.append("this; until it lands the 72% is a weight ratio, not a demonstrated cause.") + L.append("") + L.append("WHERE w_cond=10.0 AND THIS WEIGHT SHAPE COME FROM, AND WHY THAT MATTERS. They are") + L.append("transcribed from upstream's own reward-guidance block, which is dead code behind a") + L.append("`raise NotImplementedError` (df_planning.py:180-186):") + L.append(" rewards = pred[:, :, -1]") + L.append(" weight = np.array([10]*self.frame_stack + [0.997**j for j in range(h)] + [0]*h_padded)") + L.append(" episode_return = rewards * weight[:, None]") + L.append("THAT BLOCK CANNOT RUN AS WRITTEN, for two independent reasons we checked in the file:") + L.append(" (1) `h` is never bound anywhere in df_planning.py (grep: no `h =`, no `self.h`), so the") + L.append(" line raises NameError;") + L.append(" (2) `episode_return` stays a TENSOR -- the goal branch reduces with `.mean()*1000`, this") + L.append(" branch does not -- and torch.autograd.grad needs a scalar.") + L.append("So there is no executable reward-guided Diffusion Forcing planner upstream, and ours is a") + L.append("reconstruction of an unrunnable sketch. That is a fact about the METHOD's availability,") + L.append("reported as such; it is also why w_cond is a free hyper-parameter here rather than a") + L.append("published setting, and why the 10.0 carries no authority from a run anyone has made.") + L.append("(Upstream's LIVE goal branch uses [20]*frame_stack, and there the weight multiplies a") + L.append(" DISTANCE TO THE START OBSERVATION -- genuinely 'reconstruction guidance', as its own") + L.append(" comment says. The dead reward branch reuses the position for the REWARD channel, where") + L.append(" it is not a reconstruction of anything.)") + L.append("") + L.append("PER-ARM CONSTANTS (from runs//wm/df_/ckpt_s20000.pt + META.json)") + L.append(" task arm fs mean_r std_r sqrt(p(1-p)) Bernoulli offset_cond expert_eps") + stats = {} + for task in TASKS: + for arm in ARMS: + s = arm_stats(task, arm) + if s is None: + continue + s["offset_cond"] = W_COND * s["frame_stack"] * s["mean_r"] + stats[(task, arm)] = s + res["arms"][f"{task}/{arm}"] = s + L.append(" %-22s %-4s %-3d %.4f %.4f %.4f %-9s %8.3f %s/%s" + % (task, arm, s["frame_stack"], s["mean_r"], s["std_r"], + s["std_r_bernoulli"], "OK" if s["bernoulli_ok"] else "**FAILED**", + s["offset_cond"], s["n_expert_eps"], s["n_eps"])) + bad = [k for k, v in stats.items() if not v["bernoulli_ok"]] + if bad: + L.append(" !! Bernoulli self-check FAILED for %s -- mean_r is then not a provenance rate and" % (bad,)) + L.append(" !! every rbar below is VOID. No number from this file may be quoted.") + L.append("") + for task in TASKS: + L.append("== %s" % task) + L.append(" arm guid H Ncand rule J_mean offset share W_plan rbar spread_r gain_r cell") + rows = [] + for base, arm, d in cells(task): + s = stats.get((task, arm)) + if s is None: + continue + g = d.get("gamma") + H = d.get("horizon_frames") + if g is None or H is None: + continue + # df_plan.py: h = min(H, total_frames - fs) with total_frames = fs*(1+ceil(H/fs)), + # which is >= H for every H, so h == H. Asserted rather than assumed. + fs = s["frame_stack"] + tot = fs * (1 + math.ceil(H / fs)) + h = min(H, tot - fs) + assert h == H, (task, base, H, tot, fs) + W = (1.0 - g ** H) / (1.0 - g) if g > 0 else float(H) + off = s["offset_cond"] + J = d["J_mean"] + rbar = (J - off) / W + row = dict(cell=base, task=task, arm=arm, guidance=d.get("guidance_scale"), + H=H, gamma=g, n_plans=d.get("n_plans"), + rule=("random" if "-random-" in base else "argmax"), + J_mean=J, J_spread=d.get("J_spread"), J_gain=d.get("J_gain"), + offset_cond=off, offset_share=(off / J if J else None), + W_plan=W, rbar=rbar, + spread_r=(d["J_spread"] / W if d.get("J_spread") is not None else None), + gain_r=(d["J_gain"] / W if d.get("J_gain") is not None else None)) + rows.append(row) + rows.sort(key=lambda r: (r["rule"], r["guidance"] or 0, r["H"], r["arm"])) + for r in rows: + res["cells"].append(r) + L.append(" %-3s %-5.1f %-4d %-5s %-7s %8.2f %7.2f %6.1f%% %7.2f %7.3f %8.3f %7.3f %s" + % (r["arm"], r["guidance"], r["H"], r["n_plans"], r["rule"], r["J_mean"], + r["offset_cond"], 100.0 * r["offset_share"], r["W_plan"], r["rbar"], + r["spread_r"], r["gain_r"], r["cell"])) + ab = [r for r in rows if r["rule"] == "argmax"] + if ab: + over = [r for r in ab if r["rbar"] > 1.0] + L.append(" -- %d of %d arg-max cells have rbar > 1.0, i.e. a gamma-weighted mean predicted" + % (len(over), len(ab))) + L.append(" provenance reward ABOVE the maximum the binary label can take.") + if over: + w = max(ab, key=lambda r: r["rbar"]) + L.append(" worst: rbar %.3f at guidance %.1f, H %d, arm %s (%s)" + % (w["rbar"], w["guidance"], w["H"], w["arm"], w["cell"])) + byg = {} + for r in ab: + byg.setdefault(r["guidance"], []).append(r["rbar"]) + L.append(" rbar by guidance scale (mean over that scale's cells): " + + " ".join("g=%.1f %.3f" % (k, sum(v) / len(v)) for k, v in sorted(byg.items()))) + L.append("") + L.append("READING.") + L.append(" 1. `share` is the fraction of the PUBLISHED J_mean that is the constant above. It is") + L.append(" large and it grows as H shrinks, because W_plan shrinks while offset_cond does not.") + L.append(" A reader comparing J_mean ACROSS H -- which df_table.txt invites, printing H and") + L.append(" J_mean in adjacent columns -- is comparing numbers with different constants in them.") + L.append(" 2. `rbar` is the number J_mean was meant to be: the mean provenance reward DF predicts") + L.append(" for its own planned frames, on the label's [0,1] axis. Where rbar > 1 the reward") + L.append(" head is being read OUTSIDE the range of every training label, and the arg-max that") + L.append(" selects the executed plan is an arg-max over such extrapolations. That is a") + L.append(" mechanism for guidance raising its own objective while the success rate does not") + L.append(" move -- the effect df_table.txt already names qualitatively -- now on a bounded axis.") + L.append(" 3. `spread_r` says how far apart the candidates are in reward units. Compare it with") + L.append(" 1.0, the entire range of the label: that is the DF counterpart of the normalised") + L.append(" spread status/nb/td_dynrange.txt computes for TD-MPC2 cfg(a).") + L.append(" 4. WHAT THIS DOES NOT DO. It does not explain the 0.000 success rates by itself, it") + L.append(" does not rescue any cell, and it is NOT the reproduction gate. The DF column stays") + L.append(" unreportable until the paper-scale maze2d gate lands, exactly as before.") + L.append(" 5. rbar is an average over the plan under the gamma weights, so a single frame at") + L.append(" r_hat = 3 and 49 frames at 0 can produce a modest rbar; rbar > 1 is therefore a") + L.append(" SUFFICIENT but not necessary sign of out-of-range prediction, and the per-frame") + L.append(" distribution of r_hat is not measured here (it is not in the .diag.json).") + L.append(" 6. THE GUIDANCE SCALE THAT ALREADY FAILS IS IN RANGE, so out-of-range extrapolation is") + L.append(" NOT a sufficient explanation of the 0.000 column. rbar crosses 1.0 between g=1 and") + L.append(" g=2 on both tasks, yet the g=1.0 cells -- mean rbar 0.900 threading, 0.886 mug, both") + L.append(" inside the label's range -- score 0.000 as well. What the monotone rise DOES") + L.append(" establish is that the guidance scale buys objective and not task: on the label's own") + L.append(" axis the knob moves the predicted provenance of DF's own frames from below the base") + L.append(" rate to ~2-3x the maximum the label can take, with the success rate fixed at 0.") + L.append(" 7. DO NOT READ THE argmax/random rbar PAIRS AS A CONTROL. J_mean averages all n_plans") + L.append(" CANDIDATES, not the executed one, so it describes the candidate POOL. The two arms") + L.append(" share a pool only at the first decision of each episode -- they then execute") + L.append(" different actions and visit different states -- so a random row's rbar exceeding its") + L.append(" arm's (it does, e.g. mug B g1.0 H200: 2.353 vs 2.155) says nothing about selection.") + L.append(" The selection control is the SUCCESS-RATE control in df_table.txt, not this column.") + L.append(" 8. mean_r is the expert-frame rate of the corpus (threading 0.568, mug 0.148) and the") + L.append(" Bernoulli check above confirms it: at g=0 mug's rbar 0.142 sits essentially ON its") + L.append(" base rate 0.148, while threading's 0.280 is about HALF its 0.568. Unguided, DF does") + L.append(" not predict its own samples as expert; guidance is what makes it do so.") + txt = "\n".join(L) + "\n" + open(pref + ".txt", "w").write(txt) + open(pref + ".json", "w").write(json.dumps(res, indent=2)) + print(txt) + print("[df_jrange] wrote %s.txt/.json" % pref) + + +if __name__ == "__main__": + main() diff --git a/rsm_rise/scripts/nb/df_knobresp_tab.py b/rsm_rise/scripts/nb/df_knobresp_tab.py new file mode 100644 index 0000000000000000000000000000000000000000..6053fc9bf9c234826cfc7ce4931429ca413006d7 --- /dev/null +++ b/rsm_rise/scripts/nb/df_knobresp_tab.py @@ -0,0 +1,174 @@ +#!/usr/bin/env python3 +""" +DF REPRODUCTION-GATE KNOB-RESPONSE TABLE (gen_q #274, run 39-main, 2026-09-24) + +Reads ONLY landed JSON from status/nb/df_mainablate/ (written by the +scripts/nb/df_repro_main_eval.sh cells under LSF 1897387). It measures nothing. + +WHAT IT IS FOR. The RISE DF column reads 0.000 everywhere. The orchestrator's +21:20Z note asked whether an out-of-range hyper-parameter is the cheap +explanation. This table answers that on the METHOD'S OWN task (maze2d-medium), +by asking whether Diffusion Forcing's published planner responds to the two +knobs our RISE integration pins: guidance scale and open-loop horizon. + +TWO ARMS, DIFFERENT CHECKPOINTS -- they are NOT seeds of each other: + med_x runs/df_repro/main_maze2d_medium_x_1g1024 dataset observation + mean/std passed as overrides + med_xva runs/df_repro/main_maze2d_medium_xva_1g1024 bare default config +both main branch @475e0bcab87545e48b24b39fb46a81fe59d80594, epoch=51-step=100000, +8 batches x 128 episodes = 1024 episodes per cell. + +READS REGISTERED BEFORE THE NUMBERS WERE TABULATED (see status/NEW_BASELINES_DONE +run 39-main section 1; the cells already existed on disk, so this is a stated +read of landed data, not a pre-registration of an experiment): + R-A MONOTONE IN GUIDANCE? a planner that ignores its guidance scale cannot + be steered by any reward, ours included. + R-B MONOTONE IN OPEN-LOOP HORIZON? our RISE DF column plans 3 tokens and + executes 8 frames, so it lives at the short end of this axis. If the + method is incompetent at short horizon ON ITS OWN TASK, that is an + explanation for 0.000 that does not require our integration to be broken. + R-C DOES EITHER ARM REPRODUCE? paper_norm 149.4 +/- 7.5 is the gate. + +NON-VACUITY: fails loudly if a swept axis has < 3 landed cells, so a table that +silently lost cells cannot be read as "flat". +""" +import json, glob, os, sys +from collections import defaultdict + +SRC = 'status/nb/df_mainablate' +OUT = 'status/nb/df_knobresp.txt' + +rows = [] +for p in sorted(glob.glob(os.path.join(SRC, '*.json'))): + d = json.load(open(p)) + d['_file'] = p + rows.append(d) + +landed = [d for d in rows if d.get('n_batches', 0) > 0] +nolanded = [d for d in rows if d.get('n_batches', 0) == 0] + +L = [] +def P(s=''): + L.append(s) + +P('=' * 100) +P('DF REPRODUCTION-GATE KNOB RESPONSE -- maze2d-medium-v1, Diffusion Forcing main branch') +P('built by scripts/nb/df_knobresp_tab.py from status/nb/df_mainablate/*.json (reads only)') +P('=' * 100) +P('') +P('!! THE DF REPRODUCTION GATE HAS NOT LANDED. No RISE DF column number is reportable.') +P('!! This table is the gate DIAGNOSIS, not the gate. The gate is the paper-branch') +P('!! exp_planning run (runs/df_repro/maze2d_medium_p4a2, LSF 1897385), still training.') +P('') +P(f'{"cell":24} {"arm":8} {"guid":>5} {"olh":>4} {"eps":>5} {"raw_mean":>9} {"+-sem":>7} {"norm":>7} ' + f'{"paper":>7} {"frac":>6} readout') +P('-' * 100) +for d in sorted(landed, key=lambda x: (x.get('tag', ''), x.get('guidance', 0), x.get('open_loop_horizon', 0))): + nm = d.get('norm_mean', float('nan')) + pn = d.get('paper_norm', float('nan')) + P(f'{d.get("cell",""):24} {d.get("tag",""):8} {d.get("guidance",0):5.1f} {d.get("open_loop_horizon",0):4} ' + f'{d.get("n_episodes",0):5} {d.get("raw_mean",0):9.2f} {d.get("raw_sem",0):7.3f} {nm:7.2f} ' + f'{pn:7.1f} {nm/pn:6.3f} {d.get("readout","-")}') +for d in sorted(nolanded, key=lambda x: x.get('cell', '')): + P(f'{d.get("cell",""):24} {d.get("tag",""):8} {d.get("guidance",0):5.1f} {d.get("open_loop_horizon",0):4} ' + f'{"-":>5} {"NO NUMBER (n_batches=0, trainer_rc=%s) -- infrastructure, not a result" % d.get("trainer_rc")}') +P('') + +fail = 0 + +_bl = max(landed, key=lambda d: d.get('norm_mean', -1)) if landed else None +best_ratio_note = f"{_bl['paper_norm']/_bl['norm_mean']:.1f}x short" if _bl else 'short' + +# ---- R-A guidance sweep (olh held at 50) ------------------------------------- +P('R-A GUIDANCE SWEEP, open_loop_horizon held at 50') +g = sorted([d for d in landed if d.get('open_loop_horizon') == 50 and d.get('tag') == 'med_x'], + key=lambda x: x['guidance']) +if len(g) < 3: + P(f' !! NON-VACUITY FAIL: only {len(g)} landed cells on this axis; cannot call it flat or monotone.') + fail += 1 +else: + for d in g: + P(f' guidance {d["guidance"]:5.1f} -> norm {d["norm_mean"]:7.2f}') + vals = [d['norm_mean'] for d in g] + mono = all(b >= a for a, b in zip(vals, vals[1:])) + P(f' monotone increasing: {mono}; span {vals[0]:.2f} -> {vals[-1]:.2f} ' + f'({vals[-1]-vals[0]:+.2f} norm over guidance {g[0]["guidance"]:.1f}->{g[-1]["guidance"]:.1f})') + # SATURATION, COMPUTED -- do not hard-code a read that the next landing cell falsifies. + # (Run 39-main wrote 'has not topped out' at g<=8 and the g=12 cell falsified it 20 min later.) + tail_gain = vals[-1] - vals[-2] + full_span = vals[-1] - vals[0] + sat = full_span > 0 and (tail_gain / full_span) < 0.05 + P(f' last step {g[-2]["guidance"]:.0f}->{g[-1]["guidance"]:.0f} adds {tail_gain:+.2f} norm ' + f'= {100*tail_gain/full_span:.1f}% of the full span; SATURATED: {sat}') + P(' READ: the planner DOES respond to its guidance scale -- strongly, monotonically, and by') + P(f' a factor of {vals[-1]/max(vals[0],1e-9):.0f}x from g=0. So a DF planner whose score does not move with') + P(' guidance is not behaving like this one.') + if sat: + P(' BUT THE AXIS HAS NOW TOPPED OUT, and that cuts AGAINST the hypothesis this table was') + P(f' built to test. It plateaus near {vals[-1]:.0f} norm, still {best_ratio_note} of the published') + P(' 149.4. Our RISE column already sweeps to g=5, which is within ~10% of the plateau, so') + P(' extending guidance can buy at most a few percent HERE and cannot by itself explain a') + P(' 0.000. Guidance range is therefore DEMOTED as an explanation -- not eliminated, because') + P(' the plateau location on robomimic need not be maze2d-medium\'s. LSF 1898130 extends our') + P(' own sweep to g=8/12/20 to close it off on OUR task rather than by analogy.') +P('') + +# ---- R-B horizon sweep, both arms -------------------------------------------- +P('R-B OPEN-LOOP-HORIZON SWEEP, one line per arm (guidance held fixed within an arm)') +for tag, gv in (('med_x', 3.0), ('med_xva', 2.0)): + h = sorted([d for d in landed if d.get('tag') == tag and d.get('guidance') == gv], + key=lambda x: x['open_loop_horizon']) + P(f' arm {tag} (guidance {gv})') + if len(h) < 3: + P(f' !! NON-VACUITY FAIL: only {len(h)} landed cells on this axis.') + fail += 1 + continue + for d in h: + P(f' olh {d["open_loop_horizon"]:3} -> norm {d["norm_mean"]:7.2f} ({d["readout"]})') + vals = [d['norm_mean'] for d in h] + span = max(vals) - min(vals) + P(f' span {span:.2f} norm over olh {h[0]["open_loop_horizon"]}->{h[-1]["open_loop_horizon"]}; ' + f'monotone increasing: {all(b >= a for a, b in zip(vals, vals[1:]))}') +P('') +P(' READ, AND IT IS THE POINT OF THIS TABLE:') +P(' med_x responds to horizon -- 9.25 at olh 5 rising to 47.03 at olh 50, a 5.1x span.') +P(' med_xva does NOT -- 15.25 / 15.48 / 12.89 / 14.71 across the same four horizons,') +P(' i.e. flat to within its own batch-to-batch scatter. Same branch, same commit, same') +P(' step count, same episode budget; the arms differ only in whether the dataset') +P(' observation mean/std were supplied. So "does this planner respond to its knobs"') +P(' is a property of the CHECKPOINT here, not of the method.') +P('') +P(' AND THE SHORT-HORIZON END IS WHERE OUR RISE DF COLUMN LIVES. That column plans 3') +P(' tokens and executes 8 frames (RR_DF_EXECUTE=8). On the method OWN task, the') +P(' best-behaved arm reads 9.25 and 10.69 normalised at olh 5 and 10 against a published') +P(' 149.4 -- 6% and 7% of paper. A method that is incompetent at short horizon on the') +P(' task it was published on is an explanation for our 0.000 that does NOT require our') +P(' integration to be broken. It is not yet proof that ours is sound; it removes the') +P(' need to assume ours is uniquely broken.') +P('') + +# ---- R-C reproduction -------------------------------------------------------- +P('R-C DOES ANY CELL REPRODUCE? gate is paper_norm 149.4 +/- 7.5') +best = max(landed, key=lambda d: d.get('norm_mean', -1)) if landed else None +if best: + P(f' best landed cell: {best["cell"]} norm {best["norm_mean"]:.2f} ' + f'= {best["norm_mean"]/best["paper_norm"]:.3f} x paper') + P(f' pass=True cells: {sum(1 for d in landed if d.get("pass"))} of {len(landed)}') +if best: + P(f' READ: NO. The best cell is {best["paper_norm"]/best["norm_mean"]:.1f}x short of the published') + P(' number. Neither arm reproduces Diffusion Forcing on maze2d-medium at 100k') + P(' steps. Until the') +P(' paper-branch gate lands, the DF column stays unreportable and df_table.txt keeps') +P(' its banner. A DF baseline that we cannot reproduce on its own task cannot be set') +P(' beside our numbers, in either direction.') +P('') +P(f'landed cells: {len(landed)}; no-number cells: {len(nolanded)}; non-vacuity failures: {fail}') +P('=' * 100) + +txt = '\n'.join(L) + '\n' +tmp = OUT + '.tmp' +with open(tmp, 'w') as f: + f.write(txt) +os.replace(tmp, OUT) +sys.stdout.write(txt) +sys.exit(1 if fail else 0) diff --git a/rsm_rise/scripts/nb/df_main_shim.py b/rsm_rise/scripts/nb/df_main_shim.py new file mode 100644 index 0000000000000000000000000000000000000000..0a7bdb079c564f4f88b40281f5b9539c90dc01fe --- /dev/null +++ b/rsm_rise/scripts/nb/df_main_shim.py @@ -0,0 +1,103 @@ +#!/usr/bin/env python +"""Launch `code/diffusion_forcing` (MAIN branch, 475e0bc) WITHOUT EDITING IT. + +WHY A SHIM AND NOT A PATCH. `code/diffusion_forcing` must stay byte-clean +(`git -C code/diffusion_forcing status` empty) because `code/df_rise/df_core.py` pins it by commit +(DF_COMMIT=475e0bcab87545e48b24b39fb46a81fe59d80594) and that hash is the whole provenance of every +RISE DF number. Two things in the pristine main branch make it unrunnable under +`wandb.mode=disabled`, and both are LOGGING ONLY -- no tensor, objective, schedule or rollout is +touched by anything in this file: + + (1) CRASH. `algorithms/common/base_pytorch_algo.py:201` ends `log_image` with an unconditional + `self.logger.log_image(key=key, images=image, **kwargs)`. + * training: `experiments/exp_base.py:181` passes `logger=self.logger if self.logger else False` + -> with wandb disabled `main.py:71` sets logger=None -> Lightning logger=False -> `self.logger` + is None -> `training_step`'s `if self.global_step % 10000 == 0` visualization block + (`df_planning.py:277-285`) raises AttributeError AT STEP 0. + * validation: `exp_base.py:221` passes `logger=self.logger` (None) -> Lightning substitutes its + default CSVLogger, which has no `log_image` -> `interact()`'s visualization + (`df_planning.py:346-352`) raises AttributeError AFTER the episode reward is computed. + The vendored PAPER branch already carries exactly this fix as a local edit + (`code/diffusion_forcing_paper/algorithms/common/base_pytorch_algo.py:207-212`, "Images are + decoration for the reproduction gate ... skip them rather than crash validation"). We do the + same thing here from OUTSIDE the repo so the main checkout stays clean. + + (2) NO NUMBER TO READ. The paper branch PRINTS its gate line + (`code/diffusion_forcing_paper/algorithms/diffusion_forcing/df_planning.py:345`: + `print(f"Guidance: {guidance_scale:.2f}, Episode reward: {episode_reward:.1f}")`). + The main branch deleted that print: `df_planning.py:341-343` only calls + `self.log(f"{namespace}/episode_reward", ...)`. With wandb disabled that value reaches a + CSVLogger under the hydra run dir, epoch-AVERAGED, so the per-batch values needed for an error + bar are gone. So we tee `LightningModule.log` to stdout and, for `*/episode_reward`, re-emit + the paper branch's line VERBATIM in format. The value printed is upstream's own + `episode_reward.mean()` argument, unmodified -- we only make it visible. + +usage: python scripts/nb/df_main_shim.py (cwd is set to the repo by this file) +env: RR_DF_REPO (default /proj/dmfexp/zwhong/rsm_rise/code/diffusion_forcing) +""" +import os +import runpy +import sys + +REPO = os.environ.get("RR_DF_REPO", "/proj/dmfexp/zwhong/rsm_rise/code/diffusion_forcing") +if not os.path.isfile(os.path.join(REPO, "main.py")): + raise SystemExit(f"[df_main_shim] no main.py under RR_DF_REPO={REPO}") +sys.path.insert(0, REPO) +os.chdir(REPO) + +import lightning.pytorch as pl # noqa: E402 +from algorithms.common.base_pytorch_algo import BasePytorchAlgo # noqa: E402 + +# ---- (1) logging-only crash guards ------------------------------------------------------------- +_orig_log_image = BasePytorchAlgo.log_image +_orig_log_video = BasePytorchAlgo.log_video + + +def _log_image(self, key, image, *a, **k): + lg = getattr(self, "logger", None) + if lg is None or not hasattr(lg, "log_image"): + return None + return _orig_log_image(self, key, image, *a, **k) + + +def _log_video(self, key, video, *a, **k): + lg = getattr(self, "logger", None) + if lg is None or not hasattr(lg, "experiment"): + return None + return _orig_log_video(self, key, video, *a, **k) + + +BasePytorchAlgo.log_image = _log_image +BasePytorchAlgo.log_video = _log_video + +# ---- (2) tee self.log() to stdout, re-emitting upstream's own gate line ------------------------- +_orig_log = pl.LightningModule.log + + +def _log(self, name, value, *a, **k): + v = None + try: + v = float(value.item() if hasattr(value, "item") else value) + except Exception: # non-scalar (images, dicts) -- nothing to print + pass + if v is not None: + print("[rr_metric] %s = %.6f" % (name, v), flush=True) + if str(name).endswith("/episode_reward"): + g = getattr(self, "guidance_scale", float("nan")) + try: + g = float(g) + except Exception: + g = float("nan") + # byte-for-byte the paper branch's df_planning.py:345 format, so ONE parser gates both + # branches and the two verdicts are directly comparable. + print("Guidance: %.2f, Episode reward: %.1f" % (g, v), flush=True) + return _orig_log(self, name, value, *a, **k) + + +pl.LightningModule.log = _log + +print("[df_main_shim] repo=%s patched: log_image/log_video guard + LightningModule.log tee" % REPO, + flush=True) + +sys.argv = [os.path.join(REPO, "main.py")] + sys.argv[1:] +runpy.run_path(os.path.join(REPO, "main.py"), run_name="__main__") diff --git a/rsm_rise/scripts/nb/df_mainablate_cells.txt b/rsm_rise/scripts/nb/df_mainablate_cells.txt new file mode 100644 index 0000000000000000000000000000000000000000..04dbb0b080b4d6ae54220cb8396f71f4d1216154 --- /dev/null +++ b/rsm_rise/scripts/nb/df_mainablate_cells.txt @@ -0,0 +1,34 @@ +# gen_q#274 run 35 -- the single-variable open_loop_horizon / guidance ablation cell list. +# columns: +# Ordered LONGEST-JOB-FIRST (LPT): cost is ~ (episode_len / olh) replans per episode, so olh=1 is +# ~50x the olh=50 cell. Four workers claim cells off this list, so LPT order self-balances the node. +# +# A = the mandated open_loop_horizon sweep on the med_x checkpoint, everything else held at +# med_x's exact configuration (guidance 3.0, upstream medium obs stats, same ckpt). +# B = the mandated guidance sweep at med_x's own open_loop_horizon (= df_planning.yaml's +# default 50; med_x passes NO open_loop_horizon override). g=3.0 is A__olh50__g3.0. +# Cxva = the SAME open_loop_horizon sweep on the med_xva checkpoint at its own guidance 2.0. +# Why it is here: the third confounded axis (stats present/absent) is NOT separable +# eval-only -- dropping the med_x dataset overrides changes observation_dim 2->4 and +# action_dim 0->2, so the med_x weights cannot even load. The axis is a SHAPE axis +# (PD controller vs diffused action), and the only way to hold it while moving olh is to +# run the olh sweep on the xva checkpoint too. +# Dxva = med_xva under med_x's EXACT eval knobs (olh 50, guidance 3.0). With Cxva__olh10__g2.0 +# (= the already-measured 15.1) this closes the decomposition of the med_x/med_xva gap. +A med_x 1 3.0 +Cxva med_xva 1 2.0 +A med_x 5 3.0 +Cxva med_xva 5 2.0 +A med_x 10 3.0 +Cxva med_xva 10 2.0 +A med_x 25 3.0 +Cxva med_xva 25 2.0 +A med_x 50 3.0 +Cxva med_xva 50 2.0 +Dxva med_xva 50 3.0 +B med_x 50 0.0 +B med_x 50 1.0 +B med_x 50 2.0 +B med_x 50 5.0 +B med_x 50 8.0 +B med_x 50 12.0