Die Oberfläche ist lokalisiert; Skill-Beschreibungen und -Dokumente werden per KI automatisch in Ihre Sprache übersetzt. Code, Befehle, Pfade und Fachbegriffe bleiben im Original, maßgeblich ist das Dokument des Autors.
Skills entdecken
Produktivität · 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

Skill-Dokumentation

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

Gespeicherte Skills