Repository navigation
Conversation
[Medium impact] The reviewed changes appear safe to merge. SummaryAdds a Franka cube-stacking reset catalog and a curriculum that adjusts starting states using episode outcomes.
No new actionable issues found. The earlier held-cube overlap finding is addressed. Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Episode ends] --> B[Credit the previous reset row]
B --> C[Update reset probabilities]
C --> D[Sample a reset row]
D --> E[Apply bounded arm noise]
E --> F{Held cube overlaps a support or table?}
F -->|Yes| G[Restore the authored arm and cube together]
F -->|No| H[Keep the proposed state]
G --> I[Write robot targets and physical state]
H --> I
I --> J[Save the new reset row]
Reviews (4) · Last reviewed commit: "Honor the configured Franka reset worksp..." · Reviewed by Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Compatibility and deprecation (1), Style consistency (2), Test quality (1). Other reviewed categories look good.
- PR description: The title and body match the spacing fix, two-cube regression, and changelog; reported validation is relevant, and the diff introduces neither a measurable performance claim nor material runtime costs requiring benchmarks.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: Breaking changes: height_threshold changes from upper-only to symmetric tolerance, rejecting previously accepted gaps; retain legacy behavior through deprecation with targeted warnings, migration and removal guidance, and transition coverage.
- Implementation: Implementation looks good.
- Style consistency: The internal pair predicate has a public name and precedes cubes_stacked; prefix it with an underscore and move it below the public function.
- Test quality: The distinct adjacent-pair and two-cube regression lacks the required kitless marker, excluding it from text-selected kitless CI runs; add a file-level pytestmark.
Significant concerns. Posted 4 inline findings.
Automated review; human maintainers own approval decisions.
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: API (1), Compatibility and deprecation (1), Style consistency (2). Other reviewed categories look good.
- PR description: The title and body match the termination fix, regression, and changelog; reported baseline failure and candidate validation are relevant, with no measurable performance claim or material cost change requiring benchmarks.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: The pair predicate has only an internal caller; its public name unnecessarily expands the API surface, so prefix it with
_and place it aftercubes_stacked. - Compatibility and deprecation: Breaking changes:
height_thresholdchanges from documented upper-only tolerance to symmetric tolerance without a functional legacy path; provide a warned transition, migration and removal guidance, and coverage for both paths. - Implementation: Implementation looks good.
- Style consistency: The new predicate docstring omits the displacement frame and tensor shape; document world-frame displacement in meters with shape
[N, 3]and use double backticks for parameter names. - Test quality: Test quality looks good.
Significant concerns. Posted 4 inline findings.
Automated review; human maintainers own approval decisions.
|
The shared |
…ank/stack-success-height
|
Fixed the held-cube overlap before any simulator or target write. When a proposed perturbation intersects either other cube or the table, the reset restores the validated arm and held-cube pose together. The new test reproduces the short vertical gap on the old code. Default catalog parity and all nine zero-intermediate-noise partial-reset replays still pass. The event now uses the configured arm workspace, builds rows on the CPU before transferring the assembled tensors, and reports a single attempt count per recipe. |
Integrate IsaacLab main at ed56359 while preserving the existing PR changes.
Integrate upstream IsaacLab main at ed56359 through the existing parent branch.
Integrate IsaacLab main at 6b20eac while preserving the existing PR changes.
Integrate upstream IsaacLab main at 6b20eac through the existing parent branch.
Description
Add the Franka cube-stack reset catalog and curriculum. The event owns state restoration, including actuator targets. The curriculum credits the previous row before updating the distribution for the next reset. The catalog covers nine recipes from table starts through final release.
The event gathers snapshots with
ResetStateBufferfrom #8872. TheResetStateSamplertracks outcomes and normalizes the task’s table and layout weighting. The final draw uses Torch to preserve seeded manager resets.This is part 1 of the combined draft #7735. #9073 connects the catalog to the Franka PPO task.
Validation
A CPU check through the event and curriculum managers matched all 6,786 authored rows and fixed-recipe partial-reset writes against the archived implementation. It also checked prior-row attribution, 35% table sampling probability, partial reset isolation, and exclusion of manual and zero-step resets. Thirteen focused tests passed, including a kitless manager regression for prior-row credit, live table weighting, and selected base poses. Formatting, changelog, and whitespace checks passed.
Review follow-up adds a regression for a noisy held cube overlapping its support and one for the configured arm workspace.