计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
particle_entropy_reward【效率与协作】Estimate CIC intrinsic reward using k-nearest-neighbor particle entropy over learned transition embeddings.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a CIC-style recovery or implementation needs the entropy-based intrinsic reward over state-transition embeddings. Do not use this skill to compute the contrastive loss or downstream task reward.
embeddings: two-dimensional transition embedding matrix.k: number of nearest neighbors to average, clamped to batch_size - 1.epsilon: positive distance stabilizer before logarithms.rewards: per-transition intrinsic reward values based on average log nearest-neighbor distances.diagnostics: min, max, mean reward, effective k, and neighbor distances.k neighbors for each point.log(distance + epsilon) as the intrinsic reward.Run:
python scripts/entropy_reward.py --demo
python tests/test_entropy_reward.py
This skill implements the reward estimator only. It does not interact with an RL environment or train a policy.