Skip to content

fix(ei-compare): slice-aware agent IDs for stats - #228

Merged
Roddygithub merged 2 commits into
mainfrom
fix/ei-compare-slice-aware-stats
Aug 15, 2026
Merged

Roddygithub merged 2 commits into
mainfrom
fix/ei-compare-slice-aware-stats

Conversation

@Roddygithub

@Roddygithub Roddygithub commented Aug 15, 2026 •

Copy link
Copy Markdown
Owner

Revert stats slice-aware change (broke anonymous agent test). Keep buffUptimes fix from PR #227. Known: 23 stats diffs, 6 group diffs, 8 rotation edge cases.

- buffUptimes: pass slice_lo/slice_hi to player_agent_ids() for instance
  recycling (175 -> 53 FAILs, -70%)
- stats: use player_agent_ids(agent, slice_lo, slice_hi) instead of
  static agent_ids_by_instance for damage/CC/down filtering
- rotation: peer gate for 71356/13980, 5780 ICD 900ms (52 -> 49 diffs)

Known limitations (deferred):
- 6 group diffs: WvW squad detection needs EVTC squad data
- 23 stats diffs: downContribution/CC slice matching
- 8 rotation: 71356/13980 1st-heal edge cases

Signed-off-by: Roland Salardon <r.salardon@gmail.com>
@Roddygithub
Roddygithub marked this pull request as ready for review August 15, 2026 13:21
…ent test)

The slice-aware agent_ids for stats broke the anonymous agent test
(test_compare_elite_insights_keeps_first_anonymous_agent_for_shared_instance).
Revert to static agent_ids_by_instance for stats; keep buffUptimes fix.

Known limitations unchanged:
- 23 stats diffs (downContribution/CC)
- 6 group diffs (WvW squad detection)
- 8 rotation 71356/13980 edge cases

Signed-off-by: Roland Salardon <r.salardon@gmail.com>
@Roddygithub
Roddygithub merged commit 0298f36 into main Aug 15, 2026
10 checks passed
@Roddygithub
Roddygithub deleted the fix/ei-compare-slice-aware-stats branch August 15, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant