Design incentive compatible metric contract

Design metric weights and audit rates as a robust Stackelberg contract, anticipating effort, gaming, detection, guardrail harm, and adversarial equilibrium tie-breaking.

What it's for

Completes the Goodhart loop by designing incentives that make genuine improvement preferable to gaming before a KPI becomes a target.

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
audit_cost number ≥ 0 Your calibration Optional
audit_grid_points integer ≥ 2, ≤ 51 Your calibration Optional
concentration_penalty number ≥ 0 Your calibration Optional
environments array of objects (3 fields) Evidence Yes
metrics array of objects (1 field) Evidence Yes
robustness_weight number ≥ 0, ≤ 1 Your calibration Optional
score_incentive_strength number ≥ 0 Your calibration Optional
weight_resolution integer ≥ 2, ≤ 30 Your calibration Optional

Each environments record

Field Type Required
behaviors array of objects (8 fields) Yes
id string (non-empty) Yes
probability number (≥ 0, ≤ 1) Yes
Example input
{
  "audit_cost": 5,
  "audit_grid_points": 11,
  "environments": [
    {
      "behaviors": [
        {
          "id": "do_nothing",
          "metric_changes": {
            "quality": 0,
            "velocity": 0
          },
          "true_value": 0
        },
        {
          "effort_cost": 1,
          "id": "balanced_improvement",
          "metric_changes": {
            "quality": 0.6,
            "velocity": 0.6
          },
          "true_value": 10
        },
        {
          "audit_detection_probability": 0.8,
          "gaming": true,
          "guardrail_harm": 8,
          "id": "game_dominant_metric",
          "metric_changes": {
            "quality": -0.2,
            "velocity": 1
          },
          "penalty_if_detected": 10,
          "true_value": 1
        }
      ],
      "id": "velocity_pressure",
      "probability": 0.5
    },
    {
      "behaviors": [
        {
          "id": "do_nothing",
          "metric_changes": {

Truncated for display — the full payload is 87 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": [
    {
      "audit_rate": 0.1,
      "expected_incentive_regret": 0.5,
      "expected_welfare": 8.5,
      "gaming_probability": 0,
      "induced_behaviors": [
        {
          "agent_utility": 5,
          "behavior_id": "balanced_improvement",
          "environment_id": "velocity_pressure",
          "first_best_welfare": 9,
          "gaming": false,
          "incentive_regret": 0.5,
          "organizational_welfare": 8.5
        },
        {
          "agent_utility": 5,
          "behavior_id": "balanced_improvement",
          "environment_id": "quality_pressure",
          "first_best_welfare": 9,
          "gaming": false,
          "incentive_regret": 0.5,
          "organizational_welfare": 8.5
        }
      ],
      "metric_weights": {
        "quality": 0.6,
        "velocity": 0.4
      },
      "robust_objective": 8.5,
      "weight_concentration": 0.52,
      "worst_environment_welfare": 8.5
    },
    {
      "audit_rate": 0.1,
      "expected_incentive_regret": 0.5,
      "expected_welfare": 8.5,
      "gaming_probability": 0,
      "induced_behaviors": [
        {
          "agent_utility": 5,
          "behavior_id": "balanced_improvement",

Truncated for display — the full payload is 249 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 Design metric weights and audit rates as a robust Stackelberg contract, anticipating effort, gaming, detection, guardrail harm, and adversarial equilibrium tie-breaking.
  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

  • metrics: required and organization-defined
  • environments: required and organization-defined

How to validate it

Validate on future periods or held-out aggregate units, compare with a simple baseline, and require stability across plausible metric definitions and decision thresholds.

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": "design metric weights and audit rates" }
  → finds "design_incentive_compatible_metric_contract"

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

gitrevio_capability_run
  { "capability_id": "design_incentive_compatible_metric_contract", "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 coordination entropy

Quantify privacy-safe cross-team seam complexity, concentration, latency, and failure load.

Decision analysis

Analyze delayed management feedback stability

Stress the dynamic stability of a delayed signed organizational feedback model: build a VAR companion matrix from interval-valued lagged influences, evaluate midpoint, interval corners, and sampled simultaneous coefficients, calculate spectral and transient amplification margins, and rank one-edge damping leverage without claiming an exhaustive robust-control certificate.

Decision analysis

Audit decision flow integrity

Audit management decision histories for unresolved work, state cycles, unowned dwell and excessive lead-time tails using immutable event sequences, whole-decision bootstrap uncertainty, simultaneous flow-level gates and state bottleneck diagnostics.

Statistical audit & measurement

Audit executive technology reporting integrity

Audit a frozen executive technology pack for complete metric/risk scope, point-in-time source and definition lineage, numerical reconciliation, supported narrative direction, independent review and evidence coverage.

Statistical audit & measurement

Audit multigroup metric measurement invariance

Audit whether a multi-indicator aggregate management metric measures a comparable one-factor construct across teams, products, repositories, periods, or companies: fit training-only pooled and group PCA loadings, test configural dominance, metric loading cosine, scalar intercept range, residual variance, and untouched-test reconstruction invariance before any group ranking is trusted.

Statistical audit & measurement

Audit organizational change simulation integrity

Audit whether an organizational or technology what-if simulation is fit for reliance by checking point-in-time model lineage, local history, factor support, second-order dependency structure, calibration, scenario reconciliation and individual-level safeguards.

Statistical audit & measurement

See every tool in Org design, incentives & decisions →

Ready to See Your Engineering work clearly?

Request a free demo