Audit decision rank robustness smaa

Measure rank acceptability, regret, pairwise dominance, and central winning weights under uncertain criterion scores and bounded stakeholder weights.

What it's for

Prevents an agent from presenting a weight-sensitive multicriteria recommendation as uniquely correct.

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
alternatives array of objects (2 fields) ≥ 2 items Evidence Yes
criteria array of objects (4 fields) ≥ 2 items Evidence Yes
max_detail_rows integer ≥ 1, ≤ 500 Numerical control Optional
minimum_winner_acceptability number ≥ 0.5, ≤ 0.99 Your calibration Optional
seed integer Numerical control Optional
simulation_draws integer ≥ 200, ≤ 20000 Numerical control Optional

Each criteria record

Field Type Required
direction one of "maximize", "minimize" Yes
id string (non-empty) Yes
weight_max number (≥ 0, ≤ 1) Yes
weight_min number (≥ 0, ≤ 1) Yes
Example input
{
  "alternatives": [
    {
      "criteria": {
        "risk": {
          "mean": 0.15,
          "standard_error": 0.03
        },
        "value": {
          "mean": 0.85,
          "standard_error": 0.04
        }
      },
      "id": "stabilize"
    },
    {
      "criteria": {
        "risk": {
          "mean": 0.55,
          "standard_error": 0.05
        },
        "value": {
          "mean": 0.95,
          "standard_error": 0.04
        }
      },
      "id": "accelerate"
    }
  ],
  "criteria": [
    {
      "direction": "maximize",
      "id": "value",
      "weight_max": 0.8,
      "weight_min": 0.3
    },
    {
      "direction": "minimize",
      "id": "risk",
      "weight_max": 0.7,
      "weight_min": 0.2
    }
  ],
  "seed": 10,

Truncated for display — the full payload is 46 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
{
  "alternatives": [
    {
      "alternative_id": "stabilize",
      "expected_rank": 1.058,
      "expected_regret": 0.001499,
      "first_rank_acceptability": 0.942,
      "probability_losing_to_selected_winner": 0,
      "rank_acceptability": [
        0.942,
        0.058
      ]
    },
    {
      "alternative_id": "accelerate",
      "expected_rank": 1.942,
      "expected_regret": 0.128057,
      "first_rank_acceptability": 0.058,
      "probability_losing_to_selected_winner": 0.942,
      "rank_acceptability": [
        0.058,
        0.942
      ]
    }
  ],
  "assumptions": [
    "Criterion scores share a meaningful zero-to-one utility scale and normal score uncertainty is an adequate approximation after clipping.",
    "Weight bounds encode the admissible stakeholder preference set; randomized sequential simplex draws explore that set but are not a claim about a population distribution of preferences.",
    "Criteria are additively compensatory and the alternative set is fixed before simulation; omitted vetoes or interactions can change the ranking.",
    "Rank robustness supports transparent group decisions and must not be used as an automatic individual employment ranking."
  ],
  "decision": "ranking_robust",
  "method": "bounded_weight_stochastic_multicriteria_acceptability_v1",
  "sample": {
    "alternatives": 2,
    "criteria": 2,
    "details_returned": 2,
    "details_truncated": false,
    "minimum_winner_acceptability": 0.7,
    "simulation_draws": 500
  },
  "selected_alternative": {
    "central_winning_weights": {
      "risk": 0.467,

Truncated for display — the full payload is 51 lines.

How it works

Statistical audit & measurement — Check whether a number is fit to decide on: coverage, timing, reconciliation, and the gaps a dashboard hides.

  1. 1 Measure rank acceptability, regret, pairwise dominance, and central winning weights under uncertain criterion scores and bounded stakeholder weights.
  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

  • Metric definitions, weights, aggregate grain, sampling, missingness, dependence, and comparison windows correspond to the management claim being audited.
  • Association, instability, or measurement quality is not a causal effect and must not be converted directly into an individual employment decision.

Minimum evidence

  • alternatives: at least 2 rows/items
  • criteria: at least 2 rows/items

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

  • privacy-eligible alternative grain
  • zero-to-one criterion utility normalization
  • criterion direction
  • stakeholder weight bounds
  • minimum winner acceptability

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": "measure rank acceptability regret pairwise dominance" }
  → finds "audit_decision_rank_robustness_smaa"

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

gitrevio_capability_run
  { "capability_id": "audit_decision_rank_robustness_smaa", "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

Aggregate risk register copula

Aggregate risk-register occurrence and lognormal severity marginals through a validated Gaussian copula into expected loss, VaR, CVaR, dependence amplification, and tail shares.

Statistical audit & measurement

Allocate restless bandit interventions

Allocate scarce recurring interventions across evolving Markov units with Whittle indices, explicit indexability checks, and paired policy simulation.

Sequential Bayesian & bandits

Attribute commercial dependency tail loss

Calculate expected loss, VaR and CVaR for commercial value concentrated in shared technical components, then allocate every modeled tail-loss dollar exactly once across components with normalized negative-log survival hazard rather than overlapping leave-one-out sensitivities.

Forecasting & survival

Audit commercial resilience claim integrity

Audit resilience ROI claims against a unique commercial-source to technical-component graph: recompute each action's avoided loss under joint failure scenarios, cap support at graph-derived value, detect duplicate effects, probability drift and weak evidence, and prevent overlapping component benefits from being sold twice.

Network & dependency analysis

Audit extreme metric tail dependence

Detect extreme metric co-exceedances beyond independence with empirical tail coefficients, permutation inference, practical magnitude gates, and FDR control.

Statistical audit & measurement

Audit metric regime stability

Detect practical structural breaks across aggregate metric histories with recursive max-CUSUM search, moving-block null resampling, and familywise false-alarm control, then identify the defensible baseline regime.

Statistical audit & measurement

See every tool in Risk, tails & resilience →

Ready to See Your Engineering work clearly?

Request a free demo