计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
speed_ratio_replay_diagnostics【效率与协作】Compute speed-ratio and replay-overwrite diagnostics for massively parallel off-policy Q-learning configurations.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when configuring or reviewing PQL under high actor throughput. It estimates whether replay is overwritten too quickly and whether actor, policy, or value learners are imbalanced. It is not a replacement for benchmark training curves, but it provides mechanism evidence for recovery and ablation runs.
num_envs: positive integer parallel environment count.rollout_steps: positive integer actor steps per collection tick.replay_capacity: positive integer transition capacity.actor_rate, policy_rate, value_rate: positive relative rates.transitions_per_tick.replay_refresh_ticks.actor_to_value_ratio and policy_to_value_ratio.Run:
python scripts/diagnostics.py --num-envs 10000 --rollout-steps 1 --replay-capacity 1000000 --actor-rate 10000 --policy-rate 1 --value-rate 100
python tests/test_diagnostics.py
The thresholds are diagnostic heuristics. Real tuning still requires task-level evaluation returns and wall-clock measurements.