add sweep scripts, do some runs - #18
Conversation
|
@claude review this PR |
|
Claude finished @rohan-bansal's task in 2m 33s —— View job PR Review: add sweep scripts, do some runs
OverviewThis PR adds three Modal-based sweep scripts for fairness/starvation experiments, two offline plotting scripts, refactors Bugs1. # scripts/exps/modal_starvation_sweep.py (bottom of main())
sys.path.insert(0, str(pathlib.Path(__file__).parent))
from plot_sweep import DEFAULT_METRICS, plot_results # noqa: PLC0415There is no 2. # src/armory/scheduling/mirror.py
# NOTE Rohan: hack from Claude. fix properly
if not any(
chunk.action_index_start
<= step.next_action_step
<= chunk.action_index_start + chunk.execution_horizon - 1
for chunk in self.chunks
):
return step.timeThe comment is honest, but a silent early return here can silently produce a wrong 3.
Issues / Concerns4. episode = Path("/coc/flash7/rbansal66/vvla/0_real_0_failure")This is a one-off debugging script with an absolute path to a personal cluster filesystem. It won't run for anyone else and carries no generalizability. Consider removing it from the repo or parametrizing it ( 5. -cmake==4.3.1
+cmake==3.30.0This is a significant version rollback. Was this intentional (e.g., incompatibility discovered)? If so, a comment in the requirements file or PR description would help future readers understand why the newer version was abandoned. 6. # src/sims/libero/metrics.py
generate_per_robot_starvation_rate_gif, # slow (~5-10s per run); run manually if neededThe comment says "run manually if needed" but it's unconditionally in 7. # MAX_BATCH_SIZE = 4
MAX_BATCH_SIZE = 20The 5× increase relative to the fairness sweep ( Minor / Style8. Inconsistent subprocess logging across sweep scripts
9. The original file lacked a trailing newline and the PR doesn't add one. Minor, but most editors/linters prefer a final newline. What Looks Good
|
No description provided.