Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new evaluateConditions method to EvaluationEngine #136

Merged
merged 3 commits into from
Oct 31, 2024

Conversation

pjhul
Copy link
Collaborator

@pjhul pjhul commented Oct 30, 2024

Summary

Exposes a new evaluateConditions on the EvaluationEngine class.

This need arose while working on the assistance integration project, specifically with Page targeting. This method allows us to use the same conditions model as segments, without needing to include all the extra information like bucketing.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: No

@pjhul pjhul changed the title SKY-6454: add new evaluateCondition method to EvaluationEngine feat: add new evaluateCondition method to EvaluationEngine Oct 30, 2024
@pjhul pjhul changed the title feat: add new evaluateCondition method to EvaluationEngine feat: add new evaluateConditions method to EvaluationEngine Oct 30, 2024
@pjhul pjhul requested a review from bgiori October 30, 2024 23:16
@pjhul pjhul marked this pull request as ready for review October 30, 2024 23:16
Copy link
Collaborator

@bgiori bgiori left a comment

Choose a reason for hiding this comment

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

Awesome. Thanks! One little thing.

packages/experiment-core/src/evaluation/evaluation.ts Outdated Show resolved Hide resolved
@pjhul pjhul requested a review from bgiori October 31, 2024 17:08
@pjhul pjhul merged commit 9566ac2 into main Oct 31, 2024
6 checks passed
@pjhul pjhul deleted the pjhul/evaluate-conditions branch October 31, 2024 17:13
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