计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
ppo_actor_critic_update_loop【效率与协作】Execute a reduced PPO actor-critic update with clipped surrogate, value loss, and optimizer-step evidence.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill to build bounded PPO recovery experiments or audits that need executable evidence of a policy/value update. It is intended for mechanism-faithful reduced recovery and small deterministic tests, not for claiming full MuJoCo or Atari reproduction.
last_value, or a precomputed batch with advantages and returns.loss_before and loss_after.params_before and params_after for validator-compatible optimizer evidence.Run python tests/test_update.py from this skill directory. The tests assert parameter changes, finite losses, and execution of GAE and clipped-surrogate paths.
The included optimizer is intentionally tiny and deterministic. It validates PPO's update mechanics under soft-mode recovery but is not a replacement for large-scale neural-network training.