anhtld commited on
Commit
8bca145
·
verified ·
1 Parent(s): 284a549

Auto-sync: 2026-06-30 20:06:30 (part 2)

Browse files
scripts/build_paper_analysis.py CHANGED
@@ -465,6 +465,22 @@ METHODS = [
465
  "k4_composemasked_dropnmnoop_grid035040045_safe_margin0p20_noopbonus0p03_nmwgchallenger0p01_summary.json"
466
  ),
467
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
468
  MethodSpec(
469
  key="residual_k4_composemasked_dropnmnoop_grid035040045_noopbonus003_nmwgchallenger001_pickpull",
470
  label="K4 compatible tangents, no-op bonus 0.03, near-miss/wrong-gripper challenger gate 0.01 on Pick/Pull only",
 
465
  "k4_composemasked_dropnmnoop_grid035040045_safe_margin0p20_noopbonus0p03_nmwgchallenger0p01_summary.json"
466
  ),
467
  ),
468
+ MethodSpec(
469
+ key="residual_k4_composemasked_dropnmnoop_grid035040045_noopbonus003_nmwgmargin003_challenger001",
470
+ label="K4 compatible tangents, no-op bonus 0.03, near-miss challenger 0.01, wrong-gripper margin 0.03",
471
+ summary_path=(
472
+ "h16_policy_ckpt_near_miss_policy_bc5_bestpt_retrieval_residual_"
473
+ "k4_composemasked_dropnmnoop_grid035040045_safe_margin0p20_noopbonus0p03_nmwgmargin0p03_challenger0p01_summary.json"
474
+ ),
475
+ ),
476
+ MethodSpec(
477
+ key="residual_k4_composemasked_dropnmnoop_grid035040045_noopbonus003_nmwgmargin005_challenger001",
478
+ label="K4 compatible tangents, no-op bonus 0.03, near-miss challenger 0.01, wrong-gripper margin 0.05",
479
+ summary_path=(
480
+ "h16_policy_ckpt_near_miss_policy_bc5_bestpt_retrieval_residual_"
481
+ "k4_composemasked_dropnmnoop_grid035040045_safe_margin0p20_noopbonus0p03_nmwgmargin0p05_challenger0p01_summary.json"
482
+ ),
483
+ ),
484
  MethodSpec(
485
  key="residual_k4_composemasked_dropnmnoop_grid035040045_noopbonus003_nmwgchallenger001_pickpull",
486
  label="K4 compatible tangents, no-op bonus 0.03, near-miss/wrong-gripper challenger gate 0.01 on Pick/Pull only",
scripts/build_paper_table_status.py CHANGED
@@ -835,6 +835,26 @@ SPECS = [
835
  story_role="trace-motivated challenger calibration test for whether wrong-gripper residuals carry conditional selector headroom",
836
  pending_job="14954530/14954531",
837
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
838
  ResultSpec(
839
  key="retrieval_residual_k4_composemasked_dropnmnoop_grid035040045_noopbonus003_nmwgchallenger001_pickpull",
840
  label="K4 compatible residual retrieval, near-miss/wrong-gripper challenger gate 0.01 on Pick/Pull only",
 
835
  story_role="trace-motivated challenger calibration test for whether wrong-gripper residuals carry conditional selector headroom",
836
  pending_job="14954530/14954531",
837
  ),
838
+ ResultSpec(
839
+ key="retrieval_residual_k4_composemasked_dropnmnoop_grid035040045_noopbonus003_nmwgmargin003_challenger001",
840
+ label="K4 compatible residual retrieval, near-miss challenger 0.01, wrong-gripper margin 0.03",
841
+ path="h16_policy_ckpt_near_miss_policy_bc5_bestpt_retrieval_residual_k4_composemasked_dropnmnoop_grid035040045_safe_margin0p20_noopbonus0p03_nmwgmargin0p03_challenger0p01_summary.json",
842
+ clean_deployment="yes",
843
+ same_state_proposals="no",
844
+ expert_proposal="no",
845
+ story_role="family-specific reliability margin: keep near-miss sensitive while requiring stronger wrong-gripper evidence",
846
+ pending_job="pending",
847
+ ),
848
+ ResultSpec(
849
+ key="retrieval_residual_k4_composemasked_dropnmnoop_grid035040045_noopbonus003_nmwgmargin005_challenger001",
850
+ label="K4 compatible residual retrieval, near-miss challenger 0.01, wrong-gripper margin 0.05",
851
+ path="h16_policy_ckpt_near_miss_policy_bc5_bestpt_retrieval_residual_k4_composemasked_dropnmnoop_grid035040045_safe_margin0p20_noopbonus0p03_nmwgmargin0p05_challenger0p01_summary.json",
852
+ clean_deployment="yes",
853
+ same_state_proposals="no",
854
+ expert_proposal="no",
855
+ story_role="family-specific reliability margin upper setting for wrong-gripper challenger evidence",
856
+ pending_job="pending",
857
+ ),
858
  ResultSpec(
859
  key="retrieval_residual_k4_composemasked_dropnmnoop_grid035040045_noopbonus003_nmwgchallenger001_pickpull",
860
  label="K4 compatible residual retrieval, near-miss/wrong-gripper challenger gate 0.01 on Pick/Pull only",
scripts/eval_maniskill_policy_rollout.py CHANGED
@@ -261,6 +261,12 @@ def main(argv: list[str] | None = None) -> int:
261
  help="Required field-potential margin for a challenger candidate to override the "
262
  "primary retrieval-residual selection.",
263
  )
 
 
 
 
 
 
264
  parser.add_argument(
265
  "--retrieval-residual-challenger-tasks",
266
  default="",
@@ -342,6 +348,21 @@ def main(argv: list[str] | None = None) -> int:
342
  for item in args.retrieval_residual_challenger_tasks.split(",")
343
  if item.strip()
344
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
345
  retrieval_residual_challenger_type_tasks: dict[str, tuple[str, ...]] = {}
346
  try:
347
  for item in args.retrieval_residual_challenger_type_tasks.split(";"):
@@ -443,6 +464,9 @@ def main(argv: list[str] | None = None) -> int:
443
  retrieval_residual_challenger_types=retrieval_residual_challenger_types,
444
  retrieval_residual_challenger_scales=retrieval_residual_challenger_scales,
445
  retrieval_residual_challenger_margin=args.retrieval_residual_challenger_margin,
 
 
 
446
  retrieval_residual_challenger_tasks=retrieval_residual_challenger_tasks,
447
  retrieval_residual_challenger_type_tasks=(
448
  retrieval_residual_challenger_type_tasks
 
261
  help="Required field-potential margin for a challenger candidate to override the "
262
  "primary retrieval-residual selection.",
263
  )
264
+ parser.add_argument(
265
+ "--retrieval-residual-challenger-type-margins",
266
+ default="",
267
+ help="Optional comma-separated candidate_type=margin overrides for challenger "
268
+ "families. Types without an entry use --retrieval-residual-challenger-margin.",
269
+ )
270
  parser.add_argument(
271
  "--retrieval-residual-challenger-tasks",
272
  default="",
 
348
  for item in args.retrieval_residual_challenger_tasks.split(",")
349
  if item.strip()
350
  )
351
+ retrieval_residual_challenger_type_margins: dict[str, float] = {}
352
+ try:
353
+ for item in args.retrieval_residual_challenger_type_margins.split(","):
354
+ item = item.strip()
355
+ if not item:
356
+ continue
357
+ key, value = item.split("=", 1)
358
+ retrieval_residual_challenger_type_margins[key.strip()] = float(
359
+ value.strip()
360
+ )
361
+ except ValueError as exc:
362
+ raise SystemExit(
363
+ "--retrieval-residual-challenger-type-margins must contain "
364
+ "comma-separated candidate_type=margin entries"
365
+ ) from exc
366
  retrieval_residual_challenger_type_tasks: dict[str, tuple[str, ...]] = {}
367
  try:
368
  for item in args.retrieval_residual_challenger_type_tasks.split(";"):
 
464
  retrieval_residual_challenger_types=retrieval_residual_challenger_types,
465
  retrieval_residual_challenger_scales=retrieval_residual_challenger_scales,
466
  retrieval_residual_challenger_margin=args.retrieval_residual_challenger_margin,
467
+ retrieval_residual_challenger_type_margins=(
468
+ retrieval_residual_challenger_type_margins
469
+ ),
470
  retrieval_residual_challenger_tasks=retrieval_residual_challenger_tasks,
471
  retrieval_residual_challenger_type_tasks=(
472
  retrieval_residual_challenger_type_tasks
scripts/slurm/eval_maniskill_policy_rollout.sbatch CHANGED
@@ -83,6 +83,7 @@ if [[ -n "${RETRIEVAL_RESIDUAL_CHALLENGER_SCALES_COLON:-}" ]]; then
83
  RETRIEVAL_RESIDUAL_CHALLENGER_SCALES="${RETRIEVAL_RESIDUAL_CHALLENGER_SCALES_COLON//:/,}"
84
  fi
85
  RETRIEVAL_RESIDUAL_CHALLENGER_MARGIN="${RETRIEVAL_RESIDUAL_CHALLENGER_MARGIN:-0.0}"
 
86
  RETRIEVAL_RESIDUAL_CHALLENGER_TASKS="${RETRIEVAL_RESIDUAL_CHALLENGER_TASKS:-}"
87
  if [[ -n "${RETRIEVAL_RESIDUAL_CHALLENGER_TASKS_COLON:-}" ]]; then
88
  RETRIEVAL_RESIDUAL_CHALLENGER_TASKS="${RETRIEVAL_RESIDUAL_CHALLENGER_TASKS_COLON//:/,}"
@@ -171,6 +172,7 @@ apptainer exec --nv \
171
  --retrieval-residual-challenger-types "$RETRIEVAL_RESIDUAL_CHALLENGER_TYPES" \
172
  --retrieval-residual-challenger-scales "$RETRIEVAL_RESIDUAL_CHALLENGER_SCALES" \
173
  --retrieval-residual-challenger-margin "$RETRIEVAL_RESIDUAL_CHALLENGER_MARGIN" \
 
174
  --retrieval-residual-challenger-tasks "$RETRIEVAL_RESIDUAL_CHALLENGER_TASKS" \
175
  --retrieval-residual-challenger-type-tasks "$RETRIEVAL_RESIDUAL_CHALLENGER_TYPE_TASKS" \
176
  --lattice-exclude-types "$LATTICE_EXCLUDE_TYPES" \
 
83
  RETRIEVAL_RESIDUAL_CHALLENGER_SCALES="${RETRIEVAL_RESIDUAL_CHALLENGER_SCALES_COLON//:/,}"
84
  fi
85
  RETRIEVAL_RESIDUAL_CHALLENGER_MARGIN="${RETRIEVAL_RESIDUAL_CHALLENGER_MARGIN:-0.0}"
86
+ RETRIEVAL_RESIDUAL_CHALLENGER_TYPE_MARGINS="${RETRIEVAL_RESIDUAL_CHALLENGER_TYPE_MARGINS:-}"
87
  RETRIEVAL_RESIDUAL_CHALLENGER_TASKS="${RETRIEVAL_RESIDUAL_CHALLENGER_TASKS:-}"
88
  if [[ -n "${RETRIEVAL_RESIDUAL_CHALLENGER_TASKS_COLON:-}" ]]; then
89
  RETRIEVAL_RESIDUAL_CHALLENGER_TASKS="${RETRIEVAL_RESIDUAL_CHALLENGER_TASKS_COLON//:/,}"
 
172
  --retrieval-residual-challenger-types "$RETRIEVAL_RESIDUAL_CHALLENGER_TYPES" \
173
  --retrieval-residual-challenger-scales "$RETRIEVAL_RESIDUAL_CHALLENGER_SCALES" \
174
  --retrieval-residual-challenger-margin "$RETRIEVAL_RESIDUAL_CHALLENGER_MARGIN" \
175
+ --retrieval-residual-challenger-type-margins "$RETRIEVAL_RESIDUAL_CHALLENGER_TYPE_MARGINS" \
176
  --retrieval-residual-challenger-tasks "$RETRIEVAL_RESIDUAL_CHALLENGER_TASKS" \
177
  --retrieval-residual-challenger-type-tasks "$RETRIEVAL_RESIDUAL_CHALLENGER_TYPE_TASKS" \
178
  --lattice-exclude-types "$LATTICE_EXCLUDE_TYPES" \