Repository navigation
Add Litmus-proposed isaac-autodata-generate-datasets skill tree - #55
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughAdded the Isaac AutoData dataset-generation skill with workflow guidance, YAML configuration, generation and replay scripts, validation instructions, evaluation cases, and benchmark documentation. ChangesIsaac AutoData dataset generation
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
Suggested reviewers: Sequence Diagram(s)sequenceDiagram
participant User
participant run_generation.sh
participant run_mimicgen_generation.py
participant generate_dataset.py
participant validate_dataset.py
User->>run_generation.sh: Provide generation options
run_generation.sh->>run_mimicgen_generation.py: Select MimicGen launcher
run_mimicgen_generation.py->>generate_dataset.py: Register environments on demand and run generation
generate_dataset.py-->>run_generation.sh: Produce HDF5 output
run_generation.sh->>validate_dataset.py: Validate output when requested
validate_dataset.py-->>User: Return validation status
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 4
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@skills/isaac-autodata-generate-datasets/scripts/run_generation.sh`:
- Around line 5-17: Update the usage references for run_generation.sh in
SKILL.md, TESTING.md, and evals/evals.json to use
skills/isaac-autodata-generate-datasets/scripts/run_generation.sh from the
repository root, matching the helper’s actual location.
- Line 1: Mark the run_generation.sh script as executable by changing its file
mode to 100755, stage the mode-only change, and run pre-commit run --all-files
inside the Docker container to verify the executable-shebang check passes.
- Around line 83-85: Update the validation flow in run_generation.sh so that
when VALIDATE is enabled, a missing OUTPUT is rejected instead of silently
skipping validation; alternatively resolve the generator’s default output path
and validate it. Preserve the existing behavior when --no-validate disables
validation, and keep the strict validate_dataset.py invocation for a resolved
output.
In `@skills/isaac-autodata-generate-datasets/SKILL.md`:
- Around line 34-36: Update the environment description for Isaac AutoData to
remove the optional conda environment reference. State that all Python and shell
commands run exclusively inside the Docker container started with
./docker/run_docker.sh, while preserving the existing Linux, NVIDIA GPU, and
mounted repository details.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: ea764ee6-cbae-481d-8896-c417156cdc46
📒 Files selected for processing (9)
skills/isaac-autodata-generate-datasets/BENCHMARK.mdskills/isaac-autodata-generate-datasets/SKILL.mdskills/isaac-autodata-generate-datasets/TESTING.mdskills/isaac-autodata-generate-datasets/assets/franka_cube_stack.example.yamlskills/isaac-autodata-generate-datasets/evals/evals.jsonskills/isaac-autodata-generate-datasets/references/algorithm-selection.mdskills/isaac-autodata-generate-datasets/references/cli-reference.mdskills/isaac-autodata-generate-datasets/references/yaml-config-guide.mdskills/isaac-autodata-generate-datasets/scripts/run_generation.sh
|
Skill review: Overall the skill is well-structured and accurately grounded in the real CLI/YAML/container layout — the example asset mirrors the shipped
Concrete ask: fix the Required column for |
There was a problem hiding this comment.
Actionable comments posted: 5
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@skills/isaac-autodata-generate-datasets/scripts/replay_franka_mimicgen.sh`:
- Around line 21-25: Update the replay command in replay_franka_mimicgen.sh to
preflight the /isaac-sim/python.sh interpreter before exec, and report the
required ./docker/run_docker.sh container command when it is unavailable. Only
execute the existing replay flow after this check succeeds, preserving its
current arguments and behavior.
In `@skills/isaac-autodata-generate-datasets/scripts/run_generation.sh`:
- Around line 12-20: Update the help-output extraction in the run_generation
script to stop at the final usage-comment line, so --help prints only the
documented usage block and does not include trailing blank lines. Preserve the
existing required-option and --no-validate documentation within that block.
- Around line 65-70: Update the submodule_status validation in run_generation.sh
to reject every state other than a clean, initialized submodule at the pinned
commit, including +, -, U, and empty or command-failure results. Keep the
existing error message and exit behavior, and ensure the check validates the
status returned for submodules/IsaacLab-Arena rather than suppressing invalid
states.
In `@skills/isaac-autodata-generate-datasets/TESTING.md`:
- Around line 3-4: Update the acceptance-status statements in TESTING.md to
explicitly mark GPU/Franka MimicGen live smoke testing and benchmark
measurements as pending, unless measured results and model versions are added.
Do not describe the skill as release-ready while those hardware acceptance
checks remain incomplete.
- Around line 40-42: Update the live-test instructions in TESTING.md to show a
complete run_generation.sh invocation for pos-mimicgen-franka, including
required --alg, --task, --embodiment, and --input arguments plus the output path
used by the subsequent validate_dataset.py command.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: a1f27567-7fee-4f7b-9111-1270f0eee460
📒 Files selected for processing (8)
scripts/generate_dataset.pyskills/isaac-autodata-generate-datasets/SKILL.mdskills/isaac-autodata-generate-datasets/TESTING.mdskills/isaac-autodata-generate-datasets/evals/evals.jsonskills/isaac-autodata-generate-datasets/references/algorithm-selection.mdskills/isaac-autodata-generate-datasets/references/cli-reference.mdskills/isaac-autodata-generate-datasets/scripts/replay_franka_mimicgen.shskills/isaac-autodata-generate-datasets/scripts/run_generation.sh
|
@steple Addressed the review items: the CLI reference now marks |
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
skills/isaac-autodata-generate-datasets/evals/evals.json (1)
47-56: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick winMake the YAML-edit case idempotent.
skills/isaac-autodata-generate-datasets/assets/franka_cube_stack.example.yamlalready contains the requested “Stack green cube on top of red cube” final subtask with nosubtask_term_signaland a[0, 0]offset. The current ground truth and expected behavior require appending another entry, which can duplicate the subtask and violate the final-subtask convention.Update the case to add the subtask only when it is absent. Otherwise, preserve the existing single final subtask.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@skills/isaac-autodata-generate-datasets/evals/evals.json` around lines 47 - 56, Update the pos-yaml-edit case in evals.json so the ground_truth and expected_behavior require an idempotent edit: inspect franka_cube_stack.example.yaml and append the green-on-red subtask only when absent. Preserve a single existing final subtask with no subtask_term_signal and a [0, 0] offset, avoiding duplicate entries.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@skills/isaac-autodata-generate-datasets/TESTING.md`:
- Around line 53-64: Add a blank line immediately before and after the fenced
command block in the pos-mimicgen-franka instructions under TESTING.md, without
changing the command content.
---
Outside diff comments:
In `@skills/isaac-autodata-generate-datasets/evals/evals.json`:
- Around line 47-56: Update the pos-yaml-edit case in evals.json so the
ground_truth and expected_behavior require an idempotent edit: inspect
franka_cube_stack.example.yaml and append the green-on-red subtask only when
absent. Preserve a single existing final subtask with no subtask_term_signal and
a [0, 0] offset, avoiding duplicate entries.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: 595cc0a4-f832-4438-9e6d-935064e24523
📒 Files selected for processing (5)
skills/isaac-autodata-generate-datasets/SKILL.mdskills/isaac-autodata-generate-datasets/TESTING.mdskills/isaac-autodata-generate-datasets/evals/evals.jsonskills/isaac-autodata-generate-datasets/scripts/replay_franka_mimicgen.shskills/isaac-autodata-generate-datasets/scripts/run_generation.sh
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@AGENTS.md`:
- Line 40: Update the submodule guidance in AGENTS.md to use the compound words
“git-related” and “read-only,” and replace “don't commit nor push” with “do not
commit or push” while preserving the existing restrictions.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: ca138d20-5ccc-40db-9a5d-474f8a3645f2
📒 Files selected for processing (5)
AGENTS.mdskills/isaac-autodata-generate-datasets/SKILL.mdskills/isaac-autodata-generate-datasets/TESTING.mdskills/isaac-autodata-generate-datasets/scripts/run_generation.shskills/isaac-autodata-generate-datasets/scripts/run_mimicgen_generation.py
|
Addressed the outside-diff eval finding: |
peterd-NV
left a comment
There was a problem hiding this comment.
Overall format looks good, thanks for adding.
The main thing that needs changing is the removal of the deps on isaaclab_mimic and envs. AutoData does not use any Mimic envs from lab and should be using the base, non-Mimic versions. See example here of the env used for data generation: https://vigilant-tribble-eevqwv3.pages.github.io/main/pages/workflows/franka_cube_stack_mimicgen/step_3_generate_dataset.html#full-scale-generation
|
All my comments were addressed, lgtm now |
peterd-NV
left a comment
There was a problem hiding this comment.
A few stale licence headers but other lgtm
775b7bc to
e6767ec
Compare
Summary
skills/isaac-autodata-generate-datasets/skill tree proposed by Litmus, including workflow guidance, references, evals, example YAML, and test/benchmark documentation.Isaac-Stack-Cube-Franka-IK-Rel-v0for Franka MimicGen generation and replay; the skill has noisaaclab_mimicenvironment-registration dependency.Details
The generation helper invokes
scripts/generate_dataset.pydirectly with the verified container interpreter, verifies the pinnedIsaacLab-Arenasubmodule, and strictly validates completed datasets. The replay helper delegates directly to Isaac Lab's replay tool for the base Franka environment.Validation
datasets/generated_dataset_franka_base_env_smoke.hdf5: five successful episodes from ten requested trials, environmentIsaac-Stack-Cube-Franka-IK-Rel-v0, and expected simulation arguments.FrankaCubeStackEnvCfg, and created the base Franka environment.bash -n, verifiedevals/evals.json, and ranpre-commit run --all-filesbefore each commit. Pre-commit could not start because the container's bundled Python lacksPyYAML(ModuleNotFoundError: yaml); no environment mutation was performed.Evaluation scope
The documented with-skill/without-skill benchmark remains intentionally pending; no comparative metrics are claimed until both runs are measured.