Pair every card-reward offer counter with what was taken #320
No reviewers
Labels
No labels
4-29
bug
documentation
duplicate
enhancement
flow improvement
good first issue
help wanted
invalid
investigating
issue-agent
issue-agent-blocked
issue-agent-complete
issue-agent-pr-open
issue-agent-runner-nelsonlaptop
issue-agent-runner-nelsonpc
issue-agent-runner-nelsonpc-user
issue-agent-running
needs-verification
next to do
question
queue
recon
relics-stats-onboarding
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/spirelens!320
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/prismatic-gem-offered-taken-8ff208"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #316. Eight relic tooltips spent two rows on numbers that only mean something together, and White Star spent none at all. Every offer bucket is now a single
offered/takenrow, via a sharedOfferedTakenRowhelper that the card-pool rows from #316 also route through.Presentation only — relics that already tracked both sides
Lasting Candy's
rejectedrows are gone:RecordLastingCandyPowerOutcomeForTestincrements rejected in the same call as offered and taken, so it is always exactlyoffered - taken. Wing Charm previously said taken and not-taken, which is the same pair with the total left implicit; it now states the total.No schema change for any of these.
New attribution — White Star
Its resolver already diffed the remaining Rare count across selection, then collapsed that to a boolean "declined" and threw the number away. Replaced the scalar snapshot with
PendingWhiteStarReward, bucketed by card type among Rares — mirroringPendingPrayerWheelReward, since White Star owns a whole extraCardRewardand so needs no per-result identity.All four of its rows now pair, and the declined counter stays derived from that same diff rather than a second, independently timed check that could disagree with the per-card counts.
rare_attack/skill/power_cards_takenare additive (rare_cards_takenalready existed). Fixturewhite-star-rare-cards-taken-run.jsonplus a zero-taken assertion added to the pre-existing White Star fixture. Primer note covers White Star and Prayer Wheel's shared snapshot shape.Still asymmetric, deliberately
Tiny Mailbox and Wing Charm pair their totals but keep offered-only per-rarity splits — the taken side is not tracked per rarity, and inventing it was out of scope. Fresnel Lens likewise still shows taken with no offered card count.
Tests were not run and no live behavioral verification was done, per the repo's user-owned verification rule. Assertions across nine test files were rewritten to match the new row text and
x/yvalues; they compile. Built, deployed, and hot-reloaded cleanly (Patch install: 428 classes patched, 0 failed/skipped); no Harmony surface changed, so no restart is needed.