brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
diayn_discriminator_intrinsic_rewardCompute DIAYN discriminator log-probabilities, cross-entropy diagnostics, and intrinsic rewards from skill-conditioned state predictions.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when implementing or validating the DIAYN reward term log q_phi(z|s) - log p(z). It is appropriate for tiny deterministic fixtures, reduced recovery experiments, and full implementations that need stable reward diagnostics. Do not use it to add downstream task rewards.
batch x num_skills.log_prior, usually -log(num_skills) for a uniform prior.log q_phi(z|s) values.log_prior.Run python scripts/diayn_reward.py --demo. Tests verify that confident correct logits produce higher rewards and valid discriminator metrics.
This skill computes the reward and discriminator diagnostics only. It does not update neural network weights; pair it with a policy or discriminator optimizer in a larger recovery harness.