You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resolve_matching_names function in source/isaaclab/isaaclab/utils/string.py has the preserve_order parameter descriptions inverted in the docstring relative to actual code behavior.
Docstring claims (lines 186–191):
preserve_order=True → target list order
preserve_order=False → query keys order
Actual code behavior (line 242):
preserve_order=True → query keys order (reordering occurs inside if preserve_order:)
preserve_order=False → target list order (no reordering; outer loop iterates over target)
The example results (lines 193–196) are correct, but the prose descriptions explaining them are inverted.
The same issue exists in resolve_matching_names_values.
Activity
RandomOakForest commentedon Apr 2, 2026
Thank you for catching this. The team will update the docstring.
docs: fix swapped preserve_order descriptions in resolve_matching_nam…
docs: fix swapped preserve_order descriptions in resolve_matching_nam…