/thinking-frameworks-skills:wc-fitness-evalfrom thinking-frameworks-skills
Scores FIFA World Cup Fantasy squads as risk-adjusted, rank-relative fitness under a stated rank objective (protect/gain/neutral). Combines fixture-scaled xEV, captaincy uplift, clean-sheet correlation, progression-carry, ownership leverage, and a variance term whose sign flips with the objective.
Ships in thinking-frameworks-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Implements footballfantasy/context/frameworks/fitness-function.md. The whole evolution engine selects on this number, so it must encode the two things that make fantasy fitness not raw points: rank is relative (ownership matters) and the rank objective sets the variance target (the selection-pressure dial).
fitness(c | θ) = raw_xEV(c) # Σ player xEV (fixture-scaled) + captaincy uplift
+ cs_corr_bonus(c) # within-team clean-sheet correlation (BB2 stacks)
+ progression_carry(c, horizon) # discounted future-round value of deep-team players
+ ownership_leverage(c | θ) # rank term — sign/shape set by θ
− variance_term(c | θ) # selection pressure — sign flips with θ
− feasibility_penalty(c) # 0 after clean repair; disqualifying if infeasible
- [ ] 1. Read inputs: candidate (with block tags), round signals (player-ev, clean-sheet, fixture, ownership), θ and k
- [ ] 2. raw_xEV: sum per-player xEV (from wc-player-ev signals); add captaincy uplift (from wc-captain-ladder)
- [ ] 3. cs_corr_bonus: from wc-clean-sheet-model for each defensive stack
- [ ] 4. progression_carry: Σ player_xEV_future × P(team advances)^rounds, discounted; weight up in KO phases
- [ ] 5. ownership_leverage: apply θ (cover high-EO when protect; overweight low-EO ceilings when gain)
- [ ] 6. variance_term: estimate candidate variance; multiply by ±k per θ
- [ ] 7. feasibility_penalty: 0 if repair-clean; large if not
- [ ] 8. Sum → fitness; emit fitness + the full decomposition
raw_xEV — sum the xEV field from each player's player-ev signal (already fixture-scaled, minutes-weighted, with the 60' tier and card/concede downside). Captaincy uplift = the expected extra from the captain ladder (from wc-captain-ladder), i.e. E[best ladder-reachable captain outcome], not a naive 2× of the top player. For a squad-build (no fixed matchday yet), use the round-1 captaincy estimate.
cs_corr_bonus — for each Clean-Sheet Spine stack (BB2), wc-clean-sheet-model returns the joint-distribution bonus capturing that a 3-defender + GK stack hauls together. Sign by θ: amplify the correlated-haul upside when gain; lightly discount when protect (they also blank together).
progression_carry — Σ_player xEV_typical(player) × Σ_{r=next..horizon} P(team alive at r) × discount^r. A steady player on a likely semi-finalist accrues several future rounds; a coin-flip nation's player accrues little. Weight ≈0 in the final, high in early knockouts (this is what makes A3 Progression Theorist competitive on fitness). Advance probabilities from wc-fixture-progression.
ownership_leverage(c | θ) — consume wc-ownership-meta's per-player contributions and declared units. Its serialized EO is percent; any point arithmetic uses EO_fraction = EO / 100 exactly once. Missing or conflicting units block this term; do not reinterpret 65 as a fraction:
θ=protect: − w · Σ_{high-EO players NOT owned} EO_haul_risk → rewards covering chalk (penalise gaps in the template).θ=gain: + w · Σ_{owned, low-EO, live-ceiling} (ceiling × (1−EO_fraction)) → rewards differentiation.θ=neutral: small symmetric term; mostly defer to raw_xEV.variance_term(c | θ) — candidate variance from the spread of its players' point distributions + captaincy variance + stack correlation:
| θ | term |
|---|---|
| protect | + k · variance (penalty) — damp swings, bank the lead |
| gain | − k · variance written as a reward (subtract a negative) — you need the swing |
| neutral | small penalty |
k scales with how extreme the standing is (big lead + few rounds → high k_protect; big deficit + few rounds → high k_gain). |
feasibility_penalty — 0 if the candidate passed repair (budget, nation cap, formation, 15-man shape). Large/disqualifying otherwise (keeps infeasible candidates out of the elite set; their blocks can still be harvested in crossover before they drop).
Revealed-preference soft terms — add the small bonuses/penalties accrued in manager-profile.md (e.g. "+ minutes-secure mids", "− benching the favourite nation"). Soft: they tilt, never dominate.
fitness: <number>
decomposition:
raw_xEV: <n>
captaincy_uplift: <n>
cs_corr_bonus: <n>
progression_carry: <n>
ownership_leverage: <+/- n> # under θ
variance: <n> variance_term: <+/- n> # under θ, with k
feasibility_penalty: <n>
objective: { theta: protect|gain|neutral, k: <n> }
variance_band: low|medium|high
The decomposition is mandatory — the board explains options through it, and the engine needs variance_band to mandate spectrum coverage in selection.
system-dynamics.md §4, invariants.md §6)Fitness is multi-term by design, and that is non-negotiable — the systems-thinking digest's cautionary tale (held "close before writing any agent-fitness metric"): every "maximise X" rule produces a substitution effect at a node the rule did not name. Collapsing fitness to one dominant term is forbidden; if you ever find one term swamping the rest (one weight set so high the others are noise), that is the Goodhart failure in progress — re-balance.
Emit, alongside the decomposition, a one-line substitution-watch per candidate when one term is doing most of the work: name what the candidate gave up to score there. Examples:
The thing that quietly degraded is usually the node the objective didn't name. Surfacing it on the artifact lets round-review run the substitution-watch across rounds before it compounds.
scoring-rules.md are confirmed: true before trusting absolute magnitudes; otherwise flag every fitness as provisional.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lyndonkl/claude --plugin thinking-frameworks-skills270 skills in this plugin
/abstraction-concrete-examplesBuilds structured abstraction ladders that translate high-level principles into concrete, actionable examples across 3-5 levels. Bridges communication gaps, reveals hidden assumptions, and tests whether abstract ideas work in practice. Use when explaining concepts at different expertise levels, moving between abstract principles and concrete implementation, identifying edge cases by testing ideas against scenarios, designing layered documentation, decomposing complex problems into actionable steps, or bridging strategy-execution gaps./academic-letter-architectGuides the creation of evidence-based academic recommendation letters, reference letters, and award nominations that combine concrete examples, meaningful comparisons, and genuine enthusiasm. Use when writing recommendation letters for students, postdocs, or colleagues, or when user mentions recommendation letter, reference, nomination, letter of support, endorsement, or needs help with strong advocacy and comparative statements./adr-architectureDocuments significant architectural and technical decisions with full context, alternatives considered, trade-offs analyzed, and consequences understood. Creates a decision trail that helps teams understand why decisions were made. Use when choosing between technology options, making infrastructure decisions, establishing standards, migrating systems, or when user mentions ADR, architecture decision, technical decision record, or decision documentation.Other plugins' skills for the same job