🧮 Shapley Value Calculator

Calculate fair payouts using Shapley values for quiz events and team contributions.

⚙️ Configuration
Enter player names separated by commas
Use exact method if players ≤ this
Samples for approximate method
JSON object mapping player names to arrays of roles
JSON object mapping role names to monetary values
Array of [[roles_array], bonus_value] pairs
📊 Results
Ready
❓ Help

What is Shapley Value?

The Shapley value is a solution concept in cooperative game theory. It assigns a unique distribution of total gains generated by the coalition of all players, based on each player's marginal contribution.

How to use:

  • Enter player names (comma-separated)
  • Set the total money to distribute
  • Define roles for each player (JSON)
  • Set monetary values for each role (JSON)
  • Optionally define synergies between roles (JSON)
  • Click "Calculate Shapley Values"

Synergies format:

[[["role1", "role2"], bonus_value], ...]

Example: [[["host", "design"], 1500]] means if both "host" and "design" roles are present in a coalition, add 1500 to the value.