Skip to content

Add support partial edge grounding#135

Merged
ColtonPayne merged 2 commits intomainfrom
test-partial-edge-grounding
Mar 18, 2026
Merged

Add support partial edge grounding#135
ColtonPayne merged 2 commits intomainfrom
test-partial-edge-grounding

Conversation

@ColtonPayne
Copy link
Copy Markdown
Collaborator

Summary

  • Pre-populate groundings for variables that match existing nodes when processing edge clauses in ground rules
  • Applied consistently across all three interpretation modules (interpretation.py, interpretation_fp.py, interpretation_parallel.py)

Test plan

  • Run existing functional tests to verify no regressions
  • Test with rules that use partial edge grounding (one variable is a known node)

@ColtonPayne ColtonPayne changed the title Test partial edge grounding Add support partial edge grounding Mar 16, 2026
Two new test cases validate that ground node names in edge clauses are
correctly pre-populated as groundings, enabling neighbor-based edge
discovery when the exact edge pair isn't directly enumerable.

- test_partial_edge_grounding: ground node in first position
- test_partial_edge_grounding_reverse: ground node in second position

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ColtonPayne ColtonPayne merged commit 117714f into main Mar 18, 2026
3 checks passed
@ColtonPayne ColtonPayne deleted the test-partial-edge-grounding branch March 18, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for Review Awaiting PR Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants