Conversation
translation of a julia notebook from the discussion around hiding information on the auction endpoint
- surplus draw can be negative; split unsets into a base (forced p_fail) rate and a volatility-driven strategic rate - make the competing solvers' bids explicit as uniform[0, 200] - success-rate / unset terminology; fixed 0-1 success axis, auto c_l range, higher default volatility Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Dashed lines on the optimal-bid panel for the expected routing surplus (1-p_fail)*mu and its value conditional on the routing not failing (mu). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Combine the bid and success-rate plots into a third panel showing the expected value per won auction, V = success*s* - L*(1-success), where the bid s is the surplus delivered to the user and L is the cost of one unset. The optimal cap c_l* is marked on all three panels. - model competing solvers' bid via a configurable density (uniform / triangle / gaussian / rising); keep the reference grid finer than the bid grid so argmax(s*) does not jitter on a flat payoff ridge - normalize the mean surplus to mu = 1 (the model is scale-invariant); the controls are now dimensionless ratios sigma/mu, c_u/mu, L/mu Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- surplus dropdown switches the routing surplus between the default gaussian and the hardcoded CUSTOM_SURPLUS (value, probability) atoms; mu and sigma are computed from the atoms so the reference lines, the L coupling and the f*sigma cap read the same in both modes - couple the unset cost to volatility, L = (L/sigma) * sigma, and draw a candidate cap c_l = f*sigma (slider f) next to c_l* on every panel Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
This PR adds a notebook with a simple model for solver behavior given caps. The effect of the cap on optimal bids and success rates is visualized.
Example figure:

Next step