Skip to content

Remove RSL-RL policy scoring and restore ANYmal PPO defaults - #9218

Open
AntoineRichard wants to merge 1 commit into
mainfrom
codex/remove-rsl-rl-policy-evaluation
Open

AntoineRichard wants to merge 1 commit into
mainfrom
codex/remove-rsl-rl-policy-evaluation

Conversation

@AntoineRichard

Copy link
Copy Markdown
Collaborator

Description

Remove the RSL-RL play --evaluate mode introduced in #9200 so general policy scoring can be designed and reviewed independently of neural dynamics integration. This removes score_policy, its CLI option and execution branch, the dedicated evaluator test, and the dependent guide/README content.

Restore the ANYmal C flat PPO agent configuration to its exact contents before #9200: the concrete anymal_c_flat experiment name and inherited action clipping. The retained neural workflow test continues to check recording/deployment target bounds without coupling them to PPO settings.

Pending changelog entries remain immutable under the repository's changelog gate; new fragments record these removals and restored defaults.

Type of change

  • Removal of unreleased functionality
  • Documentation update

Validation

  • RSL-RL/shared entrypoints: 59 passed.
  • Shared playback/entrypoint helpers: 28 passed.
  • Neural workflow configuration: 8 passed.
  • RSL-RL train/play preset forwarding: 2 passed.
  • Full repository formatting/lint: passed (uv run --active --no-sync isaaclab --format).
  • Clean Sphinx HTML build with warnings as errors: passed (numeric 15-second external-inventory timeout).
  • Changelog gate against origin/main and git diff --check: passed.
  • Confirmed the ANYmal agent file exactly matches its version before Add isaaclab_neural integration for Newton neural robot dynamics #9200.

Tests used current-worktree source imports with the pinned RSL-RL 6.0.0.1 package and the optional skrl dependency. Existing Torch and legacy-material deprecation warnings remain. No simulation/GPU tests were run.

Checklist

  • Read the contribution guidelines.
  • Run repository formatting and lint checks.
  • Update the corresponding documentation.
  • Validate the changed behavior with focused coverage and apply the test-audit criteria.
  • Add changelog fragments for each touched source package.
  • Contributor name already exists in CONTRIBUTORS.md.

@AntoineRichard
AntoineRichard requested a review from a team November 25, 2026 14:44
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Nov 25, 2026

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

Needs attention: Compatibility and deprecation (3). Other reviewed categories look good.

  • PR description: The title and body match the scoring removal and default restoration; reported focused tests, formatting, Sphinx, and changelog checks cover that scope, explicitly exclude simulation/GPU validation, and make no performance claim.
  • Design and architecture: Architecture looks good.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: Breaking changes: --evaluate, score_policy, neural action clipping, and the neural experiment default lose their prior contracts; preserve them through deprecation with targeted warnings, migration and removal guidance, and transition tests.
  • Implementation: Implementation looks good.
  • Style consistency: Style consistency looks good.
  • Test quality: Test quality looks good.

Significant concerns. Posted 3 inline findings.

Automated review; human maintainers own approval decisions.

parser.add_argument(
"--external_callback", default=None, help="Fully qualified path to an externally defined callback."
)
parser.add_argument(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Compatibility — Deprecate scoring before removal

Documented --evaluate commands now fail parsing, and score_policy callers lose the function. Keep both functional through deprecation with targeted warnings, migration and removal guidance, and old/new path tests.

self.experiment_name = preset(default="anymal_c_flat", newton_nerd="anymal_c_flat_nerd")
# Under physics=newton_nerd the task clips its joint targets to the range the model was recorded on. Clipping
# the actions to the same range lets the policy observe the action that was applied.
self.clip_actions = preset(default=self.clip_actions, newton_nerd=ANYMAL_C_NERD_TARGET_REACH / 0.5)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Compatibility — Transition neural action clipping

Removing the newton_nerd override changes the agent's action bound while deployment still clips joint targets. Preserve the prior default through deprecation with a targeted warning, explicit override guidance, and transition tests.

# Under physics=newton_nerd the task clips its joint targets to the range the model was recorded on. Clipping
# the actions to the same range lets the policy observe the action that was applied.
self.clip_actions = preset(default=self.clip_actions, newton_nerd=ANYMAL_C_NERD_TARGET_REACH / 0.5)
self.experiment_name = "anymal_c_flat"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Compatibility — Transition the neural experiment default

physics=newton_nerd now selects anymal_c_flat instead of anymal_c_flat_nerd, changing run and checkpoint lookup. Preserve the prior selection through deprecation with a targeted warning, explicit override guidance, and transition tests.

@greptile-apps

greptile-apps Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Removes unreleased RSL-RL policy scoring and restores ANYmal C flat PPO defaults.

  • RSL-RL playback no longer has a separate policy-scoring mode.
  • ANYmal C flat PPO keeps its standard experiment name and action clipping.

Acknowledged intent: AntoineRichard explicitly requests removal of policy scoring, restoration of the concrete experiment name and inherited clipping, and preservation of existing changelog fragments.

Reviews (1) · Last reviewed commit: "Remove RSL-RL policy scoring and restore..." · Reviewed by Greptile

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant