L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

on-policy-discrete

on-policy-discrete

Guides minimalRL single-process discrete CartPole policy-gradient, actor-critic, PPO, PPO-LSTM, and V-trace policy/value workflows.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: on-policy-discrete description: "Guides minimalRL single-process discrete CartPole policy-gradient, actor-critic, PPO, PPO-LSTM, and V-trace policy/value workflows." disable-model-invocation: true metadata: disco-role: operating license: MIT

On-Policy Discrete Workflows

Use this sub-skill when a task asks about minimalRL's single-process discrete-action CartPole algorithms: REINFORCE, vanilla actor-critic, discrete PPO, PPO-LSTM, or the policy/value side of V-trace.

Route by task

Do not use this sub-skill for

Quick operating workflow

  1. Identify the algorithm and action space. All workflows here assume CartPole-style observations of length 4 and 2 discrete actions unless you are intentionally porting.

  2. Read the relevant API contract in references/api-reference.md before changing shapes, tuple fields, or update loops.

  3. When porting to another discrete environment, update input dimension, output action count, softmax_dim, reward scaling, and termination handling together; see references/workflows.md.

  4. Run the bundled shape smoke helper before attempting long training:

    python sub-skills/on-policy-discrete/scripts/smoke_on_policy_discrete.py --algorithm all
    
  5. If the failure involves Gym reset/step arity, PyTorch graph reuse, probability zeros, or hidden-state shapes, read references/troubleshooting.md before editing the algorithm.

Bundled runtime files

Skills enregistrées