Stress test knowledge resilience

Simulate partial-mastery knowledge coverage under individual and correlated team shocks, attribute continuity criticality, and optimize cross-training under money and capacity constraints.

What it's for

Asks what breaks if specific people are unavailable, including the correlated case, then chooses the cross-training that closes the most exposure per unit of capacity.

Advances bus factor from commit concentration to scenario-weighted continuity loss, tail exposure, and economically optimized mitigation.

What you give it

Inputs split into evidence read from your connected systems, calibration your team owns, and numerical controls that affect precision but never the result's meaning.

Field Type Role Required
assets array of objects (3 fields) Evidence Yes
capacity_budget number ≥ 0 Your calibration Yes
critical_loss_threshold number ≥ 0 Your calibration Optional
holders array of objects (3 fields) Evidence Yes
interventions array of objects (8 fields) Evidence Yes
knowledge_edges array of objects (3 fields) Evidence Yes
money_budget number ≥ 0 Your calibration Yes
risk_aversion number ≥ 0 Your calibration Optional
scenarios array of objects (5 fields) Evidence Yes
seed integer Numerical control Optional
simulations_per_scenario integer ≥ 200, ≤ 10000 Your calibration Optional
tail_probability number > 0.5, < 1 Your calibration Optional

Each interventions record

Field Type Required
asset_id string (non-empty) Yes
capacity_units number (≥ 0) Yes
cost number (≥ 0) Yes
excludes array of string Optional
holder_id string (non-empty) Yes
id string (non-empty) Yes
mastery_gain number (≥ 0, ≤ 1) Yes
requires array of string Optional
Example input
{
  "assets": [
    {
      "id": "checkout",
      "loss_if_uncovered": 1000,
      "minimum_coverage": 0.8
    }
  ],
  "capacity_budget": 2,
  "critical_loss_threshold": 500,
  "holders": [
    {
      "id": "expert",
      "team": "core",
      "unavailability_probability": 0
    },
    {
      "id": "learner",
      "team": "core",
      "unavailability_probability": 0
    }
  ],
  "interventions": [
    {
      "asset_id": "checkout",
      "capacity_units": 1,
      "cost": 100,
      "holder_id": "learner",
      "id": "cross_train_learner",
      "mastery_gain": 0.8
    }
  ],
  "knowledge_edges": [
    {
      "asset_id": "checkout",
      "holder_id": "expert",
      "mastery": 1
    },
    {
      "asset_id": "checkout",
      "holder_id": "learner",
      "mastery": 0.1
    }
  ],

Truncated for display — the full payload is 61 lines.

What you get back

This is the actual output of running the example above — computed by the same function the platform calls, not an illustration.

Example output
{
  "baseline": {
    "assets": [
      {
        "asset_id": "checkout",
        "effective_holder_count": 1.198,
        "expected_service_fraction": 0.5625,
        "probability_below_required_coverage": 0.5
      }
    ],
    "expected_loss": 437.5,
    "loss_cvar": 875,
    "loss_var": 875,
    "probability_critical_loss": 0.5,
    "scenarios": [
      {
        "expected_loss": 0,
        "forced_unavailable_holder_ids": [],
        "individual_risk_multiplier": 1,
        "loss_cvar": 0,
        "loss_var": 0,
        "probability_critical_loss": 0,
        "scenario_id": "normal",
        "simulated_team_shocks": {
          "core": 0
        },
        "team_shock_probability": 0
      },
      {
        "expected_loss": 875,
        "forced_unavailable_holder_ids": [
          "expert"
        ],
        "individual_risk_multiplier": 1,
        "loss_cvar": 875,
        "loss_var": 875,
        "probability_critical_loss": 1,
        "scenario_id": "expert_absent",
        "simulated_team_shocks": {
          "core": 0
        },
        "team_shock_probability": 0
      }
    ]

Truncated for display — the full payload is 126 lines.

How it works

Constrained optimization — Pick the best feasible option under real limits — budget, headcount, dependencies, capacity — rather than ranking a list and hoping it fits.

  1. 1 Simulate partial-mastery knowledge coverage under individual and correlated team shocks, attribute continuity criticality, and optimize cross-training under money and capacity constraints.
  2. 2 Evaluate the method-specific diagnostics and gates returned by the function, then abstain unless the declared decision clears them under locally governed thresholds.

Before you trust it

Every tool in the catalog ships with the conditions under which its answer is meaningful — and the conditions under which it should abstain instead of guessing.

Assumptions & guardrails

  • Objectives use commensurable locally governed value units, constraints reflect real feasibility, and uncertainty covers plausible adverse inputs.
  • The recommendation is optimal only for its stated objective, feasible set, evidence, and solver guarantee; it is not a universal management optimum.

Minimum evidence

  • holders: required and organization-defined
  • assets: required and organization-defined
  • knowledge_edges: required and organization-defined
  • scenarios: required and organization-defined
  • interventions: required and organization-defined
  • money_budget: required and organization-defined
  • capacity_budget: required and organization-defined

How to validate it

Backtest the chosen action against simple feasible baselines on held-out scenarios, sweep costs/constraints/risk tolerance, and require constraint feasibility under adverse inputs.

Calibrating it to your org

Same for everyone

The mathematical kernel, validation rules, method version, and JSON output semantics are organization-independent; no tenant-trained coefficients or company benchmark is embedded in the function.

Specific to you

  • metric/outcome definitions, entity grain, observation window, costs, thresholds, priors, and constraints represented by the function inputs

Calibration workflow

  1. 1 Define the management decision, target outcome, aggregate unit, privacy boundary, cadence, and prediction/intervention horizon for this organization.
  2. 2 Build a tenant-scoped historical cohort using only information available before each prediction or decision; preserve zero periods, censoring, assignment probabilities, and unresolved outcomes when the method requires them.
  3. 3 Estimate statistical parameters on training history, but obtain costs, utilities, risk tolerance, practical-effect thresholds, capacity, and policy constraints from accountable decision owners.
  4. 4 Validate on later time windows or held-out aggregate units at the deployment grain, against a simple baseline and the function-specific validation strategy.
  5. 5 Deploy only if the returned decision clears evidence, overlap, calibration, robustness, and guardrail checks; warning, unsupported, schema-gap, and fallback decisions are abstentions.
  6. 6 Monitor realized outcomes, data drift, coverage, and decision regret; recalibrate at a governed cadence or after a detected regime/definition change, never merely because a stakeholder dislikes the result.

Call it from your AI

You don't wire up 388 tools in your MCP client. The GitRevio MCP server exposes 18 tools, three of which let an agent search the catalog, read a tool's schema, and run it — so the assistant finds this one on its own.

gitrevio_capabilities_search
  { "q": "simulate partialmastery knowledge coverage under individual" }
  → finds "stress_test_knowledge_resilience"

gitrevio_capability_describe
  { "capability_id": "stress_test_knowledge_resilience" }
  → returns the input schema and agent guidance shown on this page

gitrevio_capability_run
  { "capability_id": "stress_test_knowledge_resilience", "arguments": { ... } }
  → returns the result shown above

Works in Claude Desktop, Claude Code, Cursor, Cline, Continue.dev, Goose and Aider. See the MCP server.

Related tools

Analyze info gap robust satisficing

Select a robust-satisficing action under severe uncertainty with Info-Gap Decision Theory: evaluate worst and best payoff across a governed nested uncertainty envelope, maximize the radius before a critical requirement fails, report windfall opportuneness, and use no scenario probabilities.

Decision analysis

Audit attention fragmentation evidence integrity

Audit consented point-in-time contributor identity, availability, privacy-safe calendar metadata and work-session lineage before reporting aggregate meeting load, protected focus blocks or cross-project switching.

Statistical audit & measurement

Audit attrition risk prediction integrity

Audit an attrition model's complete eligible cohort, point-in-time features, supportive-use governance, intervention-contaminated labels, competing outcomes, calibration, false positives and authorized subgroup error before any person-level use.

Forecasting & survival

Audit code knowledge concentration integrity

Audit file, module, service, or repository knowledge concentration from point-in-time substantive changes, reviews, incident response and documentation using identity-confidence filtering, recency decay, Bayesian ownership uncertainty, entropy-effective owners, HHI and leave-top-owner-out resilience—without turning contribution evidence into a person-performance score.

Sequential Bayesian & bandits

Audit onboarding mentorship evidence integrity

Audit point-in-time onboarding cohorts, ordered autonomy milestones, source completeness and corroborated mentorship windows before publishing privacy-safe ramp evidence.

Statistical audit & measurement

Audit org health score integrity

Reconstruct the organization-health composite from frozen component evidence and block publication when source completeness, consent, versioning, construct balance, cross-group measurement invariance, redundancy, privacy or leave-one-component stability fails.

Statistical audit & measurement

See every tool in People, retention & knowledge →

Ready to See Your Engineering work clearly?

Request a free demo