Skip to content

Keep evaluation recorder outputs run-scoped - #1449

Merged
qianl-nv merged 2 commits into
mainfrom
qianl/fix/run-scoped-recorder-output
Oct 20, 2026
Merged

qianl-nv merged 2 commits into
mainfrom
qianl/fix/run-scoped-recorder-output

Conversation

@qianl-nv

@qianl-nv qianl-nv commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Route evaluation recorder files into each Run output directory, including metrics-only runs. Keep stable per-rebuild dataset names within that isolated directory.

Why this change?

Metrics-only evaluations previously left the recorder export directory at Isaac Lab's shared default, /tmp/isaaclab/logs. Repeated or concurrent evaluations with the same Run name could therefore contend for the same HDF5 file.
This is requested in an IFR feedback.

What changes?

Pass the Run output directory into environment construction and always configure the recorder to write there. Trajectory recording behavior and dataset contents are unchanged.

Validation

  • isaaclab_arena/tests/test_run_execution.py: 19 passed.
  • pre-commit run --all-files: passed.

@arena-review-bot

Copy link
Copy Markdown
Contributor

🤖 Isaac Lab-Arena Review Bot

Summary

This PR makes _build_environment_from_cfg always point the recorder export directory at the run output directory, so metrics-only runs no longer write their HDF5 to Isaac Lab's shared /tmp/isaaclab/logs. It also makes output_dir a required argument. get_metric_recorder_dataset_path in metrics/metrics.py reads the path back from env.unwrapped.cfg.recorders, so metric computation follows the new location. Small, focused fix.

Findings

🔵 Improvement: isaaclab_arena/tests/test_run_execution.py:374: now that the code no longer branches on record_trajectories, this test and the trajectory-enabled test check the same behavior. They could be merged into one parametrized test.

Verdict

Ship it

@greptile-apps

greptile-apps Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

Evaluation recorder files now use the run's output directory even when trajectory recording is disabled.

  • Recorder datasets now stay inside each evaluation Run’s output folder.

No actionable issues were found.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Run output directory] --> B[Copied builder settings]
  B --> C[Recorder settings]
  C --> D[Per-rebuild HDF5 file]
  C --> E[Metrics reader]
  D --> E
Loading

Reviews (1) · Last reviewed commit: "Keep evaluation recorder outputs run-sco..." · Reviewed by Greptile

@qianl-nv
qianl-nv merged commit 0a37a53 into main Oct 20, 2026
12 checks passed
@qianl-nv
qianl-nv deleted the qianl/fix/run-scoped-recorder-output branch October 20, 2026 03:35
cvolkcvolk added a commit that referenced this pull request Oct 20, 2026
Brings in these PRs from main:

- #1474 Rename config helpers to describe what they build
- #1385 Abort Newton runs on physics buffer overflow
- #1478 Switch agent CI tests to nightly cadence
- #1449 Keep evaluation recorder outputs run-scoped

Signed-off-by: Clemens Volk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants