Skip to content

Comments

feat(nimbus) Use conditionals to determine TOU experience points#13684

Merged
jaredlockhart merged 3 commits intomainfrom
remove-regex-tou
Oct 15, 2025
Merged

feat(nimbus) Use conditionals to determine TOU experience points#13684
jaredlockhart merged 3 commits intomainfrom
remove-regex-tou

Conversation

@lmegviar
Copy link
Contributor

Because

  • We ran into issues with the previously use regExpMatch filter being evaluated differently for experiment enrollment than by ASRouter's targeting evaluation, leading to enrollment errors.

This commit

  • Removes the previous method of calculating TOU experience points and instead calculates points using conditionals.

Fixes #github_issue_number

@lmegviar lmegviar force-pushed the remove-regex-tou branch 2 times, most recently from f7bb099 to 5dabe14 Compare October 14, 2025 19:41
Copy link
Collaborator

@jaredlockhart jaredlockhart left a comment

Choose a reason for hiding this comment

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

I think you should be able to do this like this:

((false && 1 || 0) + (false && 1 || 0)) > 1

Copy link
Collaborator

@jaredlockhart jaredlockhart left a comment

Choose a reason for hiding this comment

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

Eyyyyyyy much nicer 🙏

@jaredlockhart jaredlockhart added this pull request to the merge queue Oct 15, 2025
Merged via the queue into main with commit c8a445e Oct 15, 2025
17 checks passed
@jaredlockhart jaredlockhart deleted the remove-regex-tou branch October 15, 2025 15:09
moibra05 pushed a commit to moibra05/experimenter that referenced this pull request Oct 22, 2025
…illa#13684)

Because

- We ran into issues with the previously use regExpMatch filter being
evaluated differently for experiment enrollment than by ASRouter's
targeting evaluation, leading to enrollment errors.

This commit

- Removes the previous method of calculating TOU experience points and
instead calculates points using conditionals.

Fixes #github_issue_number
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