Skip to content

Metrics for end of game#8679

Merged
NBKelly merged 4 commits intomtgred:masterfrom
NBKelly:metrics-end-of-game
Apr 27, 2026
Merged

Metrics for end of game#8679
NBKelly merged 4 commits intomtgred:masterfrom
NBKelly:metrics-end-of-game

Conversation

@NBKelly
Copy link
Copy Markdown
Collaborator

@NBKelly NBKelly commented Apr 6, 2026

This adds a couple of functions to gather some anonymous data (fully compliant with the GDPR).

Essentially what we're gathering is:

  1. Number of players who play, number of games played, number of new accounts made -> daily
  2. An index of cards, their playrate, the faction and id they're played in, and a tiny metric for scoring those cards -> just compound the data until we get restarted, but log it daily

These are stored in ~/jinteki/analytics/..., and will not be publicly accessible.

Why?

  1. Closes Feature Request: player engagement metrics #8582. This is both legal and ethical. No personally identifiable information is used whatsoever.
  2. A couple of users wanted this for a research project, and I think it's both legal and ethical to provide in this case. The data is all mixed in such a way that it's impossible to identify any information about any player from it.

My metric for scoring:

  • 3.5 points for a win
  • If you lose, your agenda point total - 3.5

@Cluedrew
Copy link
Copy Markdown
Contributor

Cluedrew commented Apr 6, 2026

Am I correct in that identifying information and details are not just inaccessible but completely erased? I have heard stories of people being able to reverse engineer "private concealed" data from data bases that were supposed to hide it, although I don't know enough to say anything definitive about it.

@NBKelly
Copy link
Copy Markdown
Collaborator Author

NBKelly commented Apr 27, 2026

Yeah, they are completely erased. No store is made in any database of any identifying information, or saved to disk. It's as anonymous as we can get (having a temporary state, like the lobby list).

@NBKelly NBKelly merged commit e256e58 into mtgred:master Apr 27, 2026
3 checks passed
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.

Feature Request: player engagement metrics

2 participants