Skip to content

Rename human_interaction approach and fix Wait crash#33

Merged
yichao-liang merged 1 commit into
masterfrom
worktree-fix-human-wait
May 9, 2026
Merged

Rename human_interaction approach and fix Wait crash#33
yichao-liang merged 1 commit into
masterfrom
worktree-fix-human-wait

Conversation

@yichao-liang
Copy link
Copy Markdown
Collaborator

@yichao-liang yichao-liang commented May 9, 2026

Summary

  • Pass abstract_function to option_policy_to_policy from the human-in-the-loop approach so selecting Wait doesn't trip the assertion at utils.py:1763 and the option can run until the abstract atoms change.
  • Rename the approach to mirror human_low_level_control_approach:
    • file human_interaction_approach.pyhuman_option_control_approach.py
    • class HumanInteractionApproachHumanOptionControlApproach
    • CLI flag --approach human_interaction--approach human_option_control
    • CFG human_interaction_approach_*human_option_control_approach_*
  • Update cross-references: human_low_level_control_approach.py docstring, tests/test_skill_factories_integration.py, and the predicatorv3 YAML configs.

Pass abstract_function to option_policy_to_policy so Wait can use the
atom-change termination in utils.py without tripping the assertion.
Without it, selecting Wait crashes on the second step of the option.

Also rename the approach to mirror human_low_level_control:

- File:  human_interaction_approach.py -> human_option_control_approach.py
- Class: HumanInteractionApproach     -> HumanOptionControlApproach
- Flag:  --approach human_interaction -> --approach human_option_control
- CFG:   human_interaction_approach_* -> human_option_control_approach_*

Cross-references updated in human_low_level_control's docstring, the
skill-factories integration test, and the predicatorv3 YAML configs.
@yichao-liang yichao-liang merged commit 3aa2770 into master May 9, 2026
14 checks passed
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.

1 participant