M5: Alternate stats views (stored runs, lifetime, pooled) #9
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#9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Goal
Expand Card Utility Stats beyond the default live per-instance view.
This issue now covers three related view modes:
This issue supersedes #2 and #11 so alternate stats views live in one place.
Shared foundation
These features all depend on the same general capability: rendering stats from something other than the default live per-instance aggregate.
Common needs:
Scope A: Run History integration
When browsing a past run in the game's Run History screen, show Card Utility Stats for that specific run.
Implementation sketch
NRunHistoryScreenor similar).Risk: run ID correlation
The game's internal run ID may not match our generated UUIDs. Possible fixes:
RunDataat run start if accessibleScope B: Lifetime / cross-run aggregation
Add a lifetime mode that aggregates per-card attribution across all stored runs, for example: "Strike averages 3.1 effective damage / 8% overkill across 47 runs."
Requirements
Scope C: Pooled by card type
v0.x tracks stats per instance, so each physical card in the deck has its own aggregates. Add a pooled mode that sums across copies of the same card definition, so hovering any Strike can show stats for all Strikes together.
Possible shapes
View Stats, such asPooledThis cardvs.All copiesData layer
Pooled lookup should be cheap to compute on the fly by summing matching card-definition aggregates. This mode should not require a schema change.
Suggested rollout
Dependencies
View Statscheckbox or equivalent entry point)Definition of done
Closing during repository issue cleanup. If this becomes active work again, we can reopen or recreate it as a fresh, specific task.