Shapley
Algorithmic revenue settlement for open source. Semantic evaluation scores code impact, Lloyd Shapley cooperative game theory calculates marginal shares, and PayPal executes exact-penny batch payouts.
Analyze a repository
Why Lines of Code Fail
Replacing typing-speed contests with game-theoretic marginal capability
Naive LOC Metric
Someone runs an automated linter (Prettier) to reformat 2,400 lines of whitespace. Naive platforms award them 50% of the entire grant pool. Meanwhile, the security researcher who patched a critical exploit in 5 lines gets 1%.
Shapley Marginal Attribution
Simulating every combination of team members collaborating: “How much does the project suffer if you're not on the team?” If a 5-line security patch turns a vulnerable repo into an enterprise release, the allocation is proportional to marginal value.
End-to-End Workflow Architecture
Connecting git commit history to mathematical attribution and instant PayPal settlements
Git Ingestion
Parallelized commit fetching. Filters out noise (lockfiles, minified bundles, auto-lints) to isolate genuine semantic changes.
Coalition Scoring
Forms all 2N contributor subsets. Google Gemini scores each coalition capability v(S) ∈ [0, 100] across 4 rubric dimensions.
Game Theory Proofs
Computes exact marginal contributions φᵢ. Enforces Monotonicity: v(S ∪ {i}) ≥ v(S) to eliminate temperature noise.
PayPal Settlement
Deterministic batch payout via PayPal REST API. Human maintains confirmation authority with SHA-256 idempotency protection.
Autonomous AI developer agents discover Shapley via Model Context Protocol (MCP) endpoints (/api/agent/tools), negotiate fair pull request splits programmatically, and disburse payouts directly into agent wallets.
Infrastructure & Protocol Stack