Skip to content

Parameterize Wait option with target atoms for noise-robust termination#19

Merged
yichao-liang merged 3 commits intomasterfrom
pr/parameterized-wait
Apr 1, 2026
Merged

Parameterize Wait option with target atoms for noise-robust termination#19
yichao-liang merged 3 commits intomasterfrom
pr/parameterized-wait

Conversation

@yichao-liang
Copy link
Copy Markdown
Collaborator

@yichao-liang yichao-liang commented Apr 1, 2026

Summary

  • Wait previously terminated on any atom change, making it sensitive to incidental physics noise. Now Wait can be parameterized with specific target atoms (positive and negative) that must be satisfied before termination, falling back to any-atom-change when no targets are specified.
  • Adds check_wait_target_atoms, parse_wait_target_annotations, strip_wait_annotations, inject_wait_targets_for_option utilities
  • Updates LLM prompts to document -> {atoms, NOT atoms} annotation syntax for Wait steps
  • Parses and injects Wait targets in agent_planner, agent_bilevel, and process planning paths

Test plan

  • Added tests for target atom termination (positive, negative, mixed)
  • Added test that noisy atom changes are ignored when specific targets are set
  • Added tests for Wait target annotation parsing
  • Run full test suite with pytest tests/approaches/test_agent_bilevel_approach.py

Wait previously terminated on any atom change, making it sensitive to
incidental physics noise. Now Wait can be parameterized with specific
target atoms (positive or negative) that must be satisfied before
termination. Falls back to any-atom-change when no targets are specified.

- Add check_wait_target_atoms, parse_wait_target_annotations,
  strip_wait_annotations, inject_wait_targets_for_option to utils.py
- Update option_model.py termination + memory propagation through re-grounding
- Update LLM prompts in agent_planner, agent_bilevel, agent_option_learning
  approaches to document -> {atoms, NOT atoms} annotation syntax
- Parse and inject Wait targets in agent_planner and agent_bilevel approaches
- Inject Wait targets from atoms_sequence in process planning paths
- Add tests for target atom termination, including noisy-atom-ignored test
@yichao-liang yichao-liang enabled auto-merge (squash) April 1, 2026 13:59
@yichao-liang yichao-liang merged commit 70fd9aa into master Apr 1, 2026
14 checks passed
@yichao-liang yichao-liang deleted the pr/parameterized-wait branch April 1, 2026 14:15
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