# datamodellib

> Original summaries of 30+ mental models after Scott E. Page's The Model Thinker — distributions, networks, diffusion, game theory, and dynamics, with interactive labs and free CC/MIT sources. No book text reproduced.

## Docs
- [Home](https://datamodellib.vercel.app/): overview, families, REDCAPE framework
- [Model Library](https://datamodellib.vercel.app/library): all 33 models across 9 families
- [Playbooks](https://datamodellib.vercel.app/playbooks): REDCAPE framework applied to real cases
- [Agent Skills](https://datamodellib.vercel.app/skills): drop-in agent skill specs (many-model-selector, redcape-reasoner, distribution-checker)
- [API Docs](https://datamodellib.vercel.app/api-docs): public read-only JSON endpoint over the model catalog (GET /api/models)
- [Sitemap](https://datamodellib.vercel.app/sitemap.xml)

## Models
- [Normal Distribution](https://datamodellib.vercel.app/model/normal): Bell-curve averaging: many small independent effects sum to a predictable center with thin tails.
- [Power Law / Long Tail](https://datamodellib.vercel.app/model/power-law): Rich-get-richer: a few huge winners, many tiny players. Straight line on log-log.
- [Poisson Arrivals](https://datamodellib.vercel.app/model/poisson): Counts of rare independent events per window: calls, mutations, clicks.
- [Linear Regression](https://datamodellib.vercel.app/model/linear-regression): Best-fit line plus a causation audit. A big coefficient is not a big cause.
- [Concavity & Diminishing Returns](https://datamodellib.vercel.app/model/concavity): Curved payoffs change optimal bets: diversify when concave, concentrate when convex.
- [Categorical & Threshold Models](https://datamodellib.vercel.app/model/categorical): Buckets and cutoffs turn messy attributes into testable if-then rules.
- [Schelling Segregation](https://datamodellib.vercel.app/model/schelling): Mild individual preference for similar neighbors aggregates to stark city-wide segregation.
- [Granovetter Threshold](https://datamodellib.vercel.app/model/granovetter): Each person has a riot threshold; cascades depend on the distribution, not the average.
- [Standing Ovation (Page–Miller)](https://datamodellib.vercel.app/model/standing-ovation): Quality plus sightlines plus personal thresholds explain why crowds stand — or don't.
- [Network Structure & Formation](https://datamodellib.vercel.app/model/networks-basic): Degree, clustering, bridges and formation logic predict what flows — and what breaks.
- [Preferential Attachment](https://datamodellib.vercel.app/model/preferential): New links favor already-linked nodes, manufacturing power laws from pure growth.
- [SIR Contagion](https://datamodellib.vercel.app/model/sir): Susceptible–Infected–Recovered with an R0 tipping point. Same math for flu and pop-star fever.
- [Bass Diffusion (S-Curve)](https://datamodellib.vercel.app/model/bass): Innovators plus imitators make the S-curve. Spend early on seeds, later on social proof.
- [Percolation / Tipping Points](https://datamodellib.vercel.app/model/percolation): Sparse links suddenly gel into a giant component — bank networks and blackouts tip fast.
- [Cellular Automata & Game of Life](https://datamodellib.vercel.app/model/cellular): Tiny local rules aggregate into gliders, blinkers and chaos. Emergence needs no boss.
- [Random Walk & Markets](https://datamodellib.vercel.app/model/random-walk): Unpredictable steps accumulate; efficient markets leave mostly randomness behind.
- [Markov Chain](https://datamodellib.vercel.app/model/markov): Next state depends only on now. Run it forward to get the long-run mix.
- [Polya Urn / Path Dependence](https://datamodellib.vercel.app/model/polya): Early draws rewrite the odds — history locks in QWERTYs, VHSs and dominant cities.
- [Lyapunov / Equilibrium](https://datamodellib.vercel.app/model/lyapunov): An energy-like function proves a system settles down — and bounds how fast.
- [Exponential & Solow Growth](https://datamodellib.vercel.app/model/growth-solow): Compounding plus capital, labor and ideas explain why some economies stall.
- [Capital Share (Piketty-style)](https://datamodellib.vercel.app/model/piketty): When returns on capital outrun growth, wealth concentrates without any villain.
- [Prisoner's Dilemma + Cooperation](https://datamodellib.vercel.app/model/prisoners-dilemma): Solo incentives wreck the group; seven routes — repeat, punish, signal, sort — rebuild it.
- [Colonel Blotto](https://datamodellib.vercel.app/model/blotto): Split forces across fronts with no pure best move — win by being unpredictable.
- [Coordination & Culture](https://datamodellib.vercel.app/model/coordination): Pure coordination games plus memory harden into culture as equilibrium.
- [Mechanism Design / Auctions](https://datamodellib.vercel.app/model/mechanism-design): Write rules so truth-telling wins despite hidden actions and hidden information.
- [Collective Action & Commons (Ostrom)](https://datamodellib.vercel.app/model/commons): Shared pools survive with boundaries, monitors and graduated sanctions — no panacea.
- [Replicator Dynamics (Fisher)](https://datamodellib.vercel.app/model/replicator): Winning strategies reproduce faster; adaptation speed rises with variation.
- [Diversity Prediction Theorem](https://datamodellib.vercel.app/model/diversity-prediction): Crowd error equals average error minus diversity. Diverse models beat the lone genius.
- [Multi-Armed Bandit](https://datamodellib.vercel.app/model/bandit): Balance pulling the best-known lever against testing new ones. Regret is the score.
- [System Dynamics / Feedback Loops](https://datamodellib.vercel.app/model/sysdyn): Stocks, flows and reinforcing loops turn small pushes into addiction spirals or virtuous cycles.
- [Central Limit & Six Sigma](https://datamodellib.vercel.app/model/central-limit): Sample averages settle to normal; variation reduction pays until Fisher bites back.
- [Decision Trees + Value of Information](https://datamodellib.vercel.app/model/decision-tree): Fold back probabilities; pay for information only if it changes the action.
- [Spatial Choice & Aggregation](https://datamodellib.vercel.app/model/spatial-choice): Rational individuals aggregate into irrational crowds — location and order matter.

## Content negotiation
Every page above returns Markdown when requested with `Accept: text/markdown` (see acceptmarkdown.com). Unknown paths return HTTP 404 with a Markdown error body under the same header.

## License
Site + code MIT. Original syntheses only — no book text or figures reproduced.
