fix(dashboard): temper the energy/net-profit XvB figure by measured delivery (#902) - #983
Merged
Merged
Conversation
…elivery (#902) est.xvbDay was the last money surface pricing XvB at face value: the energy tab's net and the XvB tab's expected-reward table folded the published figure untempered, reading ~3x high on a donating box. build_state now ships earnings.xvb_day through xvb_tempered_day with the decision table's precedence — this wallet's measured realization when enough wins exist, else the delivery prior's midpoint, never the raw published figure. The expected-vs-actual summary is built before the tempering and keeps its own face-value contract (it tempers its measured leg itself), so nothing double-counts. Client headings and the Net tooltip now say the figure is tempered; docs updated to match. 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.
Parked-branch submission from the 2026-08-14 repo audit: finished 2026-08-13, no PR was ever opened.
Closes the last untempered money surface: the energy/net-profit calculator's
est.xvbDayshipped XvB's face-value published reward, reading ~3x high on a donating box. Nowbuild_statetempers it by measured delivery before the payload ships — this wallet's measured win payouts when enough wins exist, else the delivery-study band's midpoint (28–39% of face value). The expected-vs-actual summary deliberately keeps face value (it applies the measured factor itself; feeding it the tempered figure would double-count) — a test pins that boundary. Headings and tooltips in the XvB tab and Energy panel now say the figure is tempered, and docs/dashboard.md links the delivery study.Ponytail-review: lean, nothing to cut.
Closes #902
🤖 Generated with Claude Code