rli14's picture
rsm_rise code snapshot (HF_PUSH_ALL) (part 14)
7ebff26 verified
|
Raw History Blame Contribute Delete
2.11 kB

TASK (one-shot, owner 2026-11-08): build ONE PDF of beta-sweep results for every rsm_rise SIMULATION task.

Deliverable: status/beta_sweep_best.pdf (+ the script scripts/plot_beta_sweep_best.py and a JSON of the plotted numbers status/beta_sweep_best.json). One subplot (or one page) per simulation task. x-axis = beta (sorted, every beta value we swept for that task). y-axis = the BEST success rate attained at that beta, i.e. the max over every other swept knob (particles, flow steps, hops/depth, readout, checkpoint, etc.) of the cell-group success rate. Define a "configuration" as an arm/recipe with its seeds pooled (mean success over policy seeds x eval seeds x episodes), take the max over configurations at each beta, and annotate n (episodes) for the winning config. Draw a dashed line for the mean-over-configs too, so the reader can see spread. Put the winning config label in the JSON (not the plot).

Data: use the canonical loader scripts/verdict_table.py::cells(task) (never glob+regex eval JSONs yourself), and parse beta from the arm/recipe string (e.g. R0.98 in E1-Mb-R0.98-11-ch-...); check how scripts/beta_patterns_analyze.py (if present) and status/beta_patterns.json extract beta and reuse that. Task list: the sim tasks in status/q275_beta_range.json / status/q275_beta_range.txt (square_sub_20100, square_expert_play, two_piece_expert_suboptimal, two_piece_expert_play, mug_expert_suboptimal, threading_expert_play, two_piece_expert_play_tipping, mug_mgen, threading_mgen) plus any other runs/ with beta-tagged cells. Skip real-robot tasks. Skip a task with < 2 beta values but list it in the JSON. Also respect the exclusions beta_patterns.json applies (capped_frac, hop accounting, gamma_scope) if they're cheap to reuse; say in the report which you applied.

Run the script through scripts/bsub_cpu.sh (no compute on the login node). When done, write status/BETA_PLOT_DONE with: the PDF path, a per-task table (beta -> best succ, n, winning config), and any caveats (e.g. a beta value whose best config has few episodes). Do not post on GitHub.