Skip to content

feat: add context-aware negative matching - #35

Merged
luigi-agosti merged 1 commit into
mainfrom
feat/followup-negative-context
Apr 22, 2026
Merged

feat: add context-aware negative matching#35
luigi-agosti merged 1 commit into
mainfrom
feat/followup-negative-context

Conversation

@luigiagent

Copy link
Copy Markdown
Collaborator

Summary

  • add context-aware negative matching for region disambiguation
  • support queries like submit button not in header and login link, not the footer one
  • keep existing token-level negative matching behavior intact
  • add cross-matcher tests and update README docs

Why

PR #28 added token-level negative matching, but duplicate elements across page regions still need context-aware exclusion.

This follow-up brings over the good ideas from the earlier approach while integrating them cleanly with the current parser and matcher design.

Notes

Supersedes: #29

@luigi-agosti
luigi-agosti merged commit f8ebe1c into main Apr 22, 2026
7 checks passed
luigi-agosti added a commit that referenced this pull request Apr 24, 2026
feat: add context-aware negative matching
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