Measure decision policy realized value
Measure candidate-versus-baseline realized net value from logged decisions with cross-fitted doubly robust policy scores, full action propensities, cluster bootstrap, importance-weight clipping, positivity mass, effective sample size, logging-policy calibration and cumulative value—so Gitrevio can substantiate decision ROI without relabeling correlation as impact.
What it's for
Closes the ROI loop by estimating how much value Gitrevio-guided decisions actually created versus the organization's prior policy, with causal assumptions and overlap visible.
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 |
|---|---|---|---|
| bootstrap_draws | integer ≥ 200, ≤ 20000 | Numerical control | Optional |
| confidence_level | number ≥ 0.5, < 1 | Your calibration | Optional |
| decisions | array of objects (11 fields) ≥ 10 items | Evidence | Yes |
| max_detail_rows | integer ≥ 1, ≤ 500 | Numerical control | Optional |
| maximum_clipped_observation_fraction | number ≥ 0, ≤ 1 | Your calibration | Optional |
| maximum_importance_weight | number ≥ 1 | Your calibration | Optional |
| maximum_logging_probability_calibration_error | number ≥ 0, ≤ 1 | Your calibration | Optional |
| maximum_unsupported_policy_mass | number ≥ 0, ≤ 1 | Your calibration | Optional |
| minimum_action_propensity | number > 0, ≤ 1 | Your calibration | Optional |
| minimum_effective_sample_size | number ≥ 1 | Your calibration | Optional |
| minimum_incremental_value_per_decision | number | Your calibration | Optional |
| minimum_probability_positive_incremental_value | number ≥ 0, ≤ 1 | Your calibration | Optional |
| seed | integer ≥ 0, ≤ 2147483647 | Numerical control | Optional |
Each decisions
record
| Field | Type | Required |
|---|---|---|
| baseline_probability_by_action | object | Yes |
| candidate_probability_by_action | object | Yes |
| cluster_id | string (non-empty) | Yes |
| decision_period | integer (≥ 0, ≤ 10000000) | Yes |
| id | string (non-empty) | Yes |
| logging_probability_by_action | object | Yes |
| observed_action | string (non-empty) | Yes |
| predicted_net_value_by_action | object | Yes |
| realized_cost | number (≥ 0) | Yes |
| realized_value | number | Yes |
| weight | number (> 0) | Yes |
{
"bootstrap_draws": 200,
"decisions": [
{
"baseline_probability_by_action": {
"baseline": 1,
"candidate": 0
},
"candidate_probability_by_action": {
"baseline": 0,
"candidate": 1
},
"cluster_id": "portfolio-0",
"decision_period": 0,
"id": "policy-decision-000",
"logging_probability_by_action": {
"baseline": 0.5,
"candidate": 0.5
},
"observed_action": "baseline",
"predicted_net_value_by_action": {
"baseline": 0,
"candidate": 10
},
"realized_cost": 0,
"realized_value": 0,
"weight": 1
},
{
"baseline_probability_by_action": {
"baseline": 1,
"candidate": 0
},
"candidate_probability_by_action": {
"baseline": 0,
"candidate": 1
},
"cluster_id": "portfolio-1",
"decision_period": 0,
"id": "policy-decision-001",
"logging_probability_by_action": {
"baseline": 0.5,
"candidate": 0.5
}, Truncated for display — the full payload is 2508 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.
{
"action_diagnostics": [
{
"action_id": "baseline",
"average_baseline_probability": 1,
"average_candidate_probability": 0,
"average_logging_probability": 0.5,
"logging_probability_calibration_error": 0,
"observed_action_fraction": 0.5
},
{
"action_id": "candidate",
"average_baseline_probability": 0,
"average_candidate_probability": 1,
"average_logging_probability": 0.5,
"logging_probability_calibration_error": 0,
"observed_action_fraction": 0.5
}
],
"configuration": {
"bootstrap_draws": 200,
"confidence_level": 0.9,
"maximum_allowed_logging_probability_calibration_error": 0.1,
"maximum_importance_weight": 20,
"minimum_action_propensity": 0.05,
"seed": 11
},
"cumulative_value_by_period": [
{
"cumulative_doubly_robust_incremental_value": 100,
"decision_period": 0,
"doubly_robust_incremental_value": 100,
"represented_decision_weight": 10
},
{
"cumulative_doubly_robust_incremental_value": 200,
"decision_period": 1,
"doubly_robust_incremental_value": 100,
"represented_decision_weight": 10
},
{
"cumulative_doubly_robust_incremental_value": 300,
"decision_period": 2,
"doubly_robust_incremental_value": 100, Truncated for display — the full payload is 122 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 Persist each eligible action, logging probability, candidate and baseline action probability, observed action, cross-fitted predicted net value and later realized value/cost before evaluation.
- 2 Calculate candidate and baseline augmented inverse-propensity scores, disclose clipping, unsupported target-policy mass, importance effective sample size and observed-versus-expected logging calibration, then cluster-bootstrap their paired difference.
- 3 Apply overlap, clipping, calibration, lower-confidence-value and probability gates and reconcile incremental value cumulatively by immutable decision period.
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.
- Logged propensities are prospective and calibrated; outcome models are cross-fitted; consistency, conditional exchangeability, positivity, no interference and outcome completeness are defensible; clusters capture dependence.
- The recommendation is optimal only for its stated objective, feasible set, evidence, and solver guarantee; it is not a universal management optimum.
- Doubly robust is not immune to hidden confounding or positivity failure; clipping is biased and disclosed; aggregate policy value never supports individual blame, surveillance or automatic policy deployment.
Minimum evidence
- decisions: at least 10 rows/items
How to validate it
Use chronological train/calibration/test windows, compare proper scores and decision value with a simple baseline, and recalibrate only from outcomes resolved after prediction time.
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
- immutable policy-evaluation ledger preserving eligible action set, randomized or defensible logging propensities before action, candidate/baseline policy versions, cross-fitted outcome predictions, later finance-reconciled net outcome, censoring and cluster dependence
- policy/action/eligibility and value/cost definitions, logging design, exchangeability/interference/positivity assumptions, cross-fitting, missing outcomes, clusters, minimum propensity/effective sample, clipping/unsupported/calibration limits, confidence/value gates and deployment authority
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": "measure candidateversusbaseline realized net value from" }
→ finds "measure_decision_policy_realized_value"
gitrevio_capability_describe
{ "capability_id": "measure_decision_policy_realized_value" }
→ returns the input schema and agent guidance shown on this page
gitrevio_capability_run
{ "capability_id": "measure_decision_policy_realized_value", "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
Audit analytics function calibration readiness
Gate analytical functions on paired out-of-time decision loss against a frozen baseline using temporal moving-block bootstrap, autocorrelation- and weight-adjusted effective sample size, evidence coverage, lower confidence bounds, improvement probability and recent degradation rather than declaring a model calibrated from training fit.
Optimize calibration experiment portfolio
Choose which analytical functions to calibrate next with exact Beta-binomial posterior-predictive value of sample information, result-contingent activation thresholds, false-activation loss, experiment budget/capacity, dependencies, exclusions and exact-or-disclosed portfolio search.
Audit analytical specification multiverse
Audit whether an analytical conclusion survives a prespecified multiverse of admissible windows, cohorts, metrics, and models using aligned bootstrap draws, a weighted specification curve, practical-effect support gates, and descriptive choice-influence diagnostics.
Audit analytics challenger independence
Audit whether an analytical challenger supplies genuinely independent error information: use paired temporal moving-block bootstrap bounds on error correlation, incumbent-failure catch rate and common-mode joint failure, with simultaneous Bonferroni control across every screened challenger and explicit evidence gates.
Audit analytics transportability
Audit whether locally calibrated analytical functions retain decision-loss improvement across target-similar operating environments using similarity-weighted random-effects meta-analysis, between-environment variance, I-squared, sign consistency and a conservative target prediction interval.
Audit forecast ensemble lineage integrity
Audit whether a claimed forecast ensemble is a complete, independently sealed and point-in-time evidence set rather than duplicated consensus, then score only mature uncontaminated outcomes.