计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
ess_policy_distance【效率与协作】Compute P3O effective sample size and derive adaptive clipping and KL coefficients from replay policy probabilities.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when implementing or auditing P3O replay updates that need the paper's automatic hyperparameter schedule. Do not use it for unrelated off-policy methods that tune clipping or regularization manually.
target_probs: probabilities assigned by the current target policy to sampled actions.behavior_probs: probabilities stored with replay data by the behavior policy.importance_ratios: target divided by behavior probabilities.ess: normalized effective sample size in [0, 1].clip_threshold: equal to ess.kl_coefficient: equal to 1 - ess.rho = pi_theta(a|s) / beta(a|s).(sum(rho)^2) / (N * sum(rho^2)).c = ESS and lambda = 1 - ESS for the P3O update.Use this skill with the paper, module documents, generated artifacts, and ordinary package documentation. Do not read or depend on the original P3O repository.
Run python scripts/<script>.py --self-test or python -m pytest tests from the skill directory. The bundled tests use only the Python standard library.