Create node version of estimate_optimal_probabilities for UI#4016
Merged
virajmehta merged 169 commits intomainfrom Oct 20, 2025
Merged
Create node version of estimate_optimal_probabilities for UI#4016virajmehta merged 169 commits intomainfrom
virajmehta merged 169 commits intomainfrom
Conversation
…viraj/experimentation-config
Two constraint bugs: - For the simplex constraint, had 1s everywhere instead of just at indices corresponding to the weights - Signs were backwards in the SOCP constraints
…nfidence-sequences
…nfidence-sequences
…om:tensorzero/tensorzero into alan/bandits-expose-sampling-probs-to-node
…pose-sampling-probs-to-node
…pose-sampling-probs-to-node
virajmehta
reviewed
Oct 20, 2025
virajmehta
reviewed
Oct 20, 2025
Member
Author
|
Completed renaming |
virajmehta
approved these changes
Oct 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Adds
estimateTrackAndStopOptimalProbabilitiesfunction to compute optimal sampling probabilities for bandit experiments, with TypeScript types and integration tests.estimateTrackAndStopOptimalProbabilitiesfunction inlib/index.tsto compute optimal sampling probabilities for bandit experiments using SOCP.estimate_track_and_stop_optimal_probabilitiesinsrc/lib.rs.EstimateTrackAndStopOptimalProbabilitiesParamsinbindings/EstimateTrackAndStopOptimalProbabilitiesParams.ts.FeedbackByVariantinbindings/FeedbackByVariant.ts.GetFeedbackByVariantParamsinbindings/GetFeedbackByVariantParams.ts.getFeedbackByVariantmethod insrc/database.rsandlib/index.ts.tests/integration.test.tsforestimateTrackAndStopOptimalProbabilitiesandgetFeedbackByVariant.This description was created by
for 9aa8161. You can customize this summary. It will automatically update as commits are pushed.