review: restore sparkline peak fallback, make api_change test self-seeding - #473
Merged
Conversation
…eding - Components: peakIdx falls back to 0 when no bucket matches peakVal (all-negative series, where the foldr seed 1 wins) instead of length buckets, which pushed the marker off-chart - AnomaliesSpec: defaultRecommendedAction test seeds via the real pipeline when run in isolation instead of relying on earlier tests
ReviewSmall, well-scoped follow-up to #472 addressing the last two review findings. Both changes look correct.
|
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.
Post-merge follow-up to #472, addressing the final review round:
sparkline_peak index falls back to 0 when no bucket matchespeakVal(all-negative series, where thefoldr max 1seed wins) instead oflength buckets, which pushed the marker off-chart.defaultRecommendedActionregression test now seeds an api_change issue through the real pipeline when run in isolation, instead of depending on earlier tests in the file.The other two findings from that round were analyzed and answered on #472: the dropped Stripe
rows > 0guard is provably equivalent to thewhenJustM projectBySubIdit merged into (the UPDATE has no plan predicate), and thedefaultRecommendedActionwording change is intentional now that the string is shared across issue types.🤖 Generated with Claude Code
https://claude.ai/code/session_01ExECCj9BwAnXC7GkVSKtwx