Audit informative metric missingness
Audit whether aggregate metric availability is associated with a governed outcome using permutation inference, bootstrap intervals, practical effect gates, and false-discovery control.
What it's for
Prevents AI conclusions from treating selectively absent CI, issue, incident, or review data as an ignorable random gap.
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 |
|---|---|---|---|
| confidence_level | number ≥ 0.8, ≤ 0.999 | Your calibration | Optional |
| false_discovery_rate | number ≥ 0.001, ≤ 0.2 | Your calibration | Optional |
| max_detail_rows | integer ≥ 1, ≤ 500 | Numerical control | Optional |
| metric_names | array of string ≥ 1 item | Evidence | Yes |
| minimum_missing | integer ≥ 20, ≤ 50000 | Your calibration | Optional |
| minimum_observed | integer ≥ 20, ≤ 50000 | Your calibration | Optional |
| observations | array of objects (3 fields) ≥ 100 items | Evidence | Yes |
| permutation_draws | integer ≥ 200, ≤ 20000 | Numerical control | Optional |
| practical_standardized_difference | number ≥ 0, ≤ 5 | Your calibration | Optional |
| seed | integer | Numerical control | Optional |
Each observations
record
| Field | Type | Required |
|---|---|---|
| id | string (non-empty) | Yes |
| metrics | object | Yes |
| outcome | number | Yes |
{
"metric_names": [
"ci_health",
"review_coverage"
],
"observations": [
{
"id": "missingness-0",
"metrics": {
"ci_health": 0,
"review_coverage": null
},
"outcome": 0
},
{
"id": "missingness-1",
"metrics": {
"ci_health": 0.22580645161290322,
"review_coverage": 0.2972972972972973
},
"outcome": 0.1
},
{
"id": "missingness-2",
"metrics": {
"ci_health": 0.45161290322580644,
"review_coverage": 0.5945945945945946
},
"outcome": 0.2
},
{
"id": "missingness-3",
"metrics": {
"ci_health": 0.6774193548387096,
"review_coverage": null
},
"outcome": 0.3
},
{
"id": "missingness-4",
"metrics": {
"ci_health": 0.9032258064516129,
"review_coverage": 0.1891891891891892
}, Truncated for display — the full payload is 810 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.
{
"assumptions": [
"Rows represent a fixed privacy-eligible entity-period cohort, the governed outcome is observed for every row, and metric absence is recorded rather than silently dropping the row upstream.",
"The permutation test asks whether availability is associated with the outcome; it does not identify why data are missing or prove a missing-not-at-random mechanism for the unobserved metric value itself.",
"Bootstrap intervals condition on the observed cohort, while false-discovery control applies only to the declared metric family and analysis epoch.",
"A signal is a data-quality and selection-bias warning for aggregate analysis, not evidence of employee concealment, intent, or performance."
],
"decision": "informative_missingness_detected",
"method": "outcome_associated_missingness_permutation_fdr_v1",
"metrics": [
{
"difference_interval": [
4.438479,
5.540646
],
"informative_missingness_signal": true,
"metric": "ci_health",
"missing_rate": 0.4,
"missing_rows": 40,
"observed_rows": 60,
"outcome_difference_missing_minus_observed": 5,
"outcome_mean_when_missing": 7.95,
"outcome_mean_when_observed": 2.95,
"p_value": 0.004975,
"q_value": 0.00995,
"standardized_difference": 1.723455,
"status": "audited"
},
{
"difference_interval": [
-1.14484,
1.105998
],
"informative_missingness_signal": false,
"metric": "review_coverage",
"missing_rate": 0.34,
"missing_rows": 34,
"observed_rows": 66,
"outcome_difference_missing_minus_observed": 0,
"outcome_mean_when_missing": 4.95,
"outcome_mean_when_observed": 4.95,
"p_value": 1,
"q_value": 1,
"standardized_difference": 0, Truncated for display — the full payload is 65 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 Audit whether aggregate metric availability is associated with a governed outcome using permutation inference, bootstrap intervals, practical effect gates, and false-discovery control.
- 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
- observations: at least 100 rows/items
- metric_names: at least 1 rows/items
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
- fixed repository-period cohort spine
- nullable metric values retained by LEFT JOIN
- fully observed governed outcome for every cohort row
- cohort and analysis epoch
- outcome definition
- metric family and practical standardized difference
Calibration workflow
- 1 Define the management decision, target outcome, aggregate unit, privacy boundary, cadence, and prediction/intervention horizon for this organization.
- 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 Estimate statistical parameters on training history, but obtain costs, utilities, risk tolerance, practical-effect thresholds, capacity, and policy constraints from accountable decision owners.
- 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 Deploy only if the returned decision clears evidence, overlap, calibration, robustness, and guardrail checks; warning, unsupported, schema-gap, and fallback decisions are abstentions.
- 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": "audit whether aggregate metric availability is" }
→ finds "audit_informative_metric_missingness"
gitrevio_capability_describe
{ "capability_id": "audit_informative_metric_missingness" }
→ returns the input schema and agent guidance shown on this page
gitrevio_capability_run
{ "capability_id": "audit_informative_metric_missingness", "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 deep uncertainty minimax regret
Apply Savage minimax regret when scenario probabilities are not defensible, compare maximin and equal-weight choices, and use PRIM-style iterative peeling to discover compact context boxes where the robust choice remains vulnerable.
Audit aggregate metric reversal
Detect Simpson's-paradox-style sign reversals between an executive aggregate relationship and its weighted within-stratum fixed-effect relationship, with whole-stratum bootstrap uncertainty and practical-magnitude gates.
Audit joint metric dependency drift
Detect changes in cross-metric dependence with empirical-copula ranks, random-feature permutation inference, sliced Wasserstein magnitude, and FDR-controlled pair diagnostics.
Audit multivariate metric drift
Detect material distribution shifts with reference-fixed quantile bins, PSI, Jensen-Shannon divergence, standardized Wasserstein distance, permutation tests, and FDR control.
Audit point in time model integrity
Gate an analytical or AI model on point-in-time correctness by auditing actual feature availability, snapshot creation, target-window ordering, outcome resolution, source-record reuse, and embargoed train/calibration/test boundaries, with row and feature diagnostics rather than a generic leakage warning.
Audit policy feedback performativity
Audit whether deploying a probability-driven policy is associated with a changed score-to-outcome relationship: compute cluster-level exposed-versus-comparison pre/post differences in predictions, outcomes, calibration residuals, and Brier loss; bootstrap the assignment unit; and abstain when baseline balance or score overlap cannot support the comparison.