Skip to content

Clarify “normalize” and “plumbing” wording and add AGENTS.md guidance - #1485

Merged
cvolkcvolk merged 2 commits into
mainfrom
cvolkcvolk/refactor/describe-conversions-and-helpers
Oct 21, 2026
Merged

cvolkcvolk merged 2 commits into
mainfrom
cvolkcvolk/refactor/describe-conversions-and-helpers

Conversation

@cvolkcvolk

@cvolkcvolk cvolkcvolk commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Rename five helpers to describe their conversions or purpose, replace vague “plumbing” docstrings, and add naming guidance to AGENTS.md. Follow up on #1474, which clarified config-builder names.

_normalize_relation_params() becomes _convert_relation_pose_params_to_float_tuples(): it converts pose fields to float tuples, without normalizing quaternion length. “Normalized” is valid in set_normalized_object_pose()—its input uses [0, 1] and its helper normalizes vectors and quaternions—but set_object_uprightness() describes its purpose more precisely.

API changes

Two public renames have no compatibility aliases. Update imports and calls:

# Before
normalize_run_status(status)
set_normalized_object_pose(env, asset_cfg, upright_percentage=0.5)

# After
run_status_to_lowercase_string(status)
set_object_uprightness(env, asset_cfg, upright_percentage=0.5)

Private helpers now name their output: float tuples, an ID list, or an ID tensor on the environment’s device. The shared guidance preserves established technical terminology and links to the coordinate-frame naming convention.

Validation

Pre-commit and whitespace checks passed. All 11 changed Python files match their original syntax trees after accounting for renames and docstrings. No old helper names or “plumbing” references remain outside submodules.

Runtime tests were not run: this worktree has no running Arena container.

@greptile-apps

greptile-apps Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge with the explicitly accepted public API breaks.

Summary

Renames five helpers to describe their outputs or the orientation they set.

  • Graph validation converts relation pose values into float tuples.
  • Recorder helpers name whether environment IDs become a list or tensor.
  • Report data turns run statuses into lowercase strings.
  • Placeable objects call a helper named for setting uprightness.
  • Helper descriptions name the work they support.

No actionable issues found. cvolkcvolk explicitly states that the two public renames intentionally omit compatibility aliases; external callers must update. Runtime tests were not run during this review.

Reviews (1) · Last reviewed commit: "Name conversions and helper responsibili..." · Reviewed by Greptile

@cvolkcvolk cvolkcvolk changed the title Name conversions and helper responsibilities explicitly Clarify helper names and add shared naming guidance Oct 20, 2026
@arena-review-bot

Copy link
Copy Markdown
Contributor

🤖 Isaac Lab-Arena Review Bot

Summary

Renames five helpers so their names say what they convert or set (run_status_to_lowercase_string, set_object_uprightness, _env_ids_to_list, _env_ids_to_device_tensor, _convert_relation_pose_params_to_float_tuples) and rewrites docstrings that used "plumbing". The new names match what the functions do. Two of the rewritten cuRobo docstrings now say less than before; both have one-line suggestions inline.

Findings

🔵 Improvement: isaaclab_arena_curobo/utils/ik_solver_utils.py:121 — The solver docstring for solve_ik_feasibility dropped the cuRobo IK solver and hand-link names, which are what the function mainly uses solver for.
🔵 Improvement: isaaclab_arena_curobo/tests/test_ik_solver_utils.py:116 — The _FakeHost docstring no longer names CuroboIKSolver, the class the fake has to match.

Verdict

Ship it

@cvolkcvolk cvolkcvolk changed the title Clarify helper names and add shared naming guidance Clarify helper names and add AGENTS.md guidance Oct 20, 2026
@cvolkcvolk cvolkcvolk changed the title Clarify helper names and add AGENTS.md guidance Clarify “normalize” and “plumbing” wording and add AGENTS.md guidance Oct 20, 2026

@david-tingdahl-nvidia david-tingdahl-nvidia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

much better!

@cvolkcvolk
cvolkcvolk enabled auto-merge (squash) October 20, 2026 20:44
@cvolkcvolk
cvolkcvolk force-pushed the cvolkcvolk/refactor/describe-conversions-and-helpers branch from 2198abd to a32d143 Compare October 21, 2026 12:34
@cvolkcvolk
cvolkcvolk merged commit de4b6d8 into main Oct 21, 2026
13 checks passed
cvolkcvolk added a commit that referenced this pull request Oct 22, 2026
Merges these main pull requests:
- #1486 Call build_env_cfg in the seeding tests
- #1409 Add Newton gear insertion env with DROID teleoperation
- #1428 Add a skill for drafting pending PR reviews
- #1488 Disable CI GR00T E2E on Blackwell wo CUDA12.8
- #1457 Add observational predicate event tracking
- #1485 Clarify "normalize" and "plumbing" wording and add AGENTS.md guidance
- #1494 Remove RandomAroundSolution

The merge had no conflicts.

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