Skip to content

dedup evaluables to avoid adding them multiple times to aggr engines#51

Open
KiKoS0 wants to merge 1 commit into
mainfrom
riadh/dedup-pauses
Open

dedup evaluables to avoid adding them multiple times to aggr engines#51
KiKoS0 wants to merge 1 commit into
mainfrom
riadh/dedup-pauses

Conversation

@KiKoS0
Copy link
Copy Markdown
Contributor

@KiKoS0 KiKoS0 commented May 16, 2026

When the same evalID is passed to Add twice, each engine appends a second StoredExpressionPart without deduplicating. For a 2-predicate AND expression, the BTree alone accumulates count=2 >= groupID.Size()=2, bypassing the AND-filter and invoking CEL unnecessarily and inflating eval_count without a corresponding
match.

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