Skip to content

add support for handling unknown expression ids in test result#1183

Merged
jnthntatum merged 1 commit into
cel-expr:masterfrom
aakash070:unknown_set_result_matcher
Jun 3, 2025
Merged

add support for handling unknown expression ids in test result#1183
jnthntatum merged 1 commit into
cel-expr:masterfrom
aakash070:unknown_set_result_matcher

Conversation

@aakash070

Copy link
Copy Markdown
Collaborator

This change adds support for Unknown Set test result. A new test runner option has been added which enables the OptPartialEval eval option.
Note: This change adds partial evaluation support for cases where top level variables are missing in the input activations.

@aakash070 aakash070 requested a review from jnthntatum June 2, 2025 04:41

@jnthntatum jnthntatum left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, some minor suggestions

Comment thread tools/celtest/test_runner.go Outdated
Comment thread tools/celtest/test_runner.go Outdated
Comment thread tools/celtest/testdata/raw_expr_tests.yaml
use cmp package for calculating expected and actual unkown diff

corrected error message for unknown result matcher diff
@aakash070 aakash070 force-pushed the unknown_set_result_matcher branch from 7b5f95c to 4e59ff4 Compare June 3, 2025 08:51
@aakash070 aakash070 requested a review from jnthntatum June 3, 2025 08:56
@jnthntatum jnthntatum merged commit c55aebf into cel-expr:master Jun 3, 2025
2 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.

2 participants