Calculate recommendation conflict exposure
Price the expected, reserve-quantile and tail-CVaR regret of a current action when locally calibrated analytical recommendations conflict, using coherent action-loss scenarios and provenance-adjusted support that cannot be inflated by duplicate source lineage.
What it's for
Turns contradictory dashboards or AI answers into an executive financial question: how much loss is exposed, whether the current decision is economically defensible, and what reserve or arbitration is required.
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 |
|---|---|---|---|
| actions | array of objects (2 fields) ≥ 2 items | Evidence | Yes |
| current_action_id | string non-empty | Your calibration | Yes |
| current_conflict_risk_reserve | number ≥ 0 | Your calibration | Yes |
| max_detail_rows | integer ≥ 1, ≤ 500 | Numerical control | Optional |
| maximum_acceptable_cvar_regret | number ≥ 0 | Your calibration | Optional |
| minimum_consensus_support | number > 0.5, ≤ 1 | Your calibration | Optional |
| recommendations | array of objects (6 fields) ≥ 2 items | Evidence | Yes |
| reserve_confidence_level | number ≥ 0.5, < 1 | Your calibration | Optional |
| scenarios | array of objects (2 fields) | Evidence | Yes |
| tail_probability | number > 0, ≤ 0.5 | Your calibration | Optional |
Each recommendations
record
| Field | Type | Required |
|---|---|---|
| action_id | string (non-empty) | Yes |
| calibrated_reliability | number (≥ 0, ≤ 1) | Yes |
| evidence_source_ids | array of string (≥ 1 item) | Yes |
| id | string (non-empty) | Yes |
| supported | boolean | Yes |
| weight | number (> 0) | Yes |
{
"actions": [
{
"id": "accelerate",
"loss_scenarios": [
0,
100
]
},
{
"id": "stage",
"loss_scenarios": [
60,
20
]
}
],
"current_action_id": "stage",
"current_conflict_risk_reserve": 100,
"recommendations": [
{
"action_id": "accelerate",
"calibrated_reliability": 0.8,
"evidence_source_ids": [
"delivery-history"
],
"id": "delivery",
"supported": true,
"weight": 1
},
{
"action_id": "stage",
"calibrated_reliability": 0.9,
"evidence_source_ids": [
"finance-case"
],
"id": "finance",
"supported": true,
"weight": 1
},
{
"action_id": "stage",
"calibrated_reliability": 0.8,
"evidence_source_ids": [ Truncated for display — the full payload is 63 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": "stage",
"expected_loss": 40,
"expected_regret_vs_scenario_oracle": 30,
"is_consensus_action": true,
"is_current_action": true,
"is_minimum_expected_loss_action": true,
"lineage_adjusted_recommendation_support": 0.6667,
"probability_not_scenario_optimal": 0.5,
"tail_cvar_regret_vs_scenario_oracle": 60
},
{
"action_id": "accelerate",
"expected_loss": 50,
"expected_regret_vs_scenario_oracle": 40,
"is_consensus_action": false,
"is_current_action": false,
"is_minimum_expected_loss_action": false,
"lineage_adjusted_recommendation_support": 0.3333,
"probability_not_scenario_optimal": 0.5,
"tail_cvar_regret_vs_scenario_oracle": 80
}
],
"configuration": {
"maximum_acceptable_cvar_regret": null,
"minimum_consensus_support": 0.6,
"reserve_confidence_level": 0.9,
"scenario_count": 2,
"tail_probability": 0.5
},
"decision": "recommendation_conflict_exposure_supported",
"failed_gates": [],
"guardrails": [
"Loss scenarios must share one currency, horizon, perimeter and coherent common-shock column order; independently sorted action losses destroy regret and tail dependence.",
"Scenario-oracle regret and perfect-information value are upper-bound diagnostics, not claims that perfect foresight or the ex-post best action was available.",
"Reliability and lineage weights require prospective local validation. Consensus, reserve and minimum expected loss do not authorize an action that fails safety, legal, fiduciary or causal-evidence review."
],
"lineage_adjusted_action_support": {
"accelerate": 0.3333,
"stage": 0.6667
},
"method": "provenance_adjusted_recommendation_conflict_exposure_v1", Truncated for display — the full payload is 65 lines.
How it works
Decision analysis — Turn uncertainty, cost and risk appetite into a defensible choice, with the reasoning left inspectable.
- 1 Freeze one decision's feasible actions, coherent scenario losses, current action and prospectively calibrated recommendations with explicit evidence lineage, reliability, support and weight.
- 2 Allocate one vote per unique evidence source, identify supported consensus without vote stuffing, and calculate each action's expected loss, scenario-oracle regret, suboptimal probability and regret CVaR.
- 3 Compare the current action with the minimum-expected-loss action, size the conflict-risk reserve, price supported-action loss dispersion and withhold support when consensus, reserve, tail or expected-loss gates fail.
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
- Actions, outcomes, utilities, evidence boundaries, uncertainty representation, and accountable ownership match the actual decision.
- Actions are mutually exclusive and feasible; loss columns preserve common shocks under one currency/horizon/perimeter; reliability is prospectively local; evidence IDs are real lineage; current action and reserve are current; scenario probabilities and loss definitions are governed.
- The result structures a governed choice; it does not replace accountable judgment or authorize action outside the declared decision boundary.
- Scenario-oracle regret and perfect-information value are diagnostic upper bounds. Consensus or minimum expected loss cannot override safety, legal, fiduciary, causal-evidence or implementation authority.
Minimum evidence
- actions: at least 2 rows/items
- recommendations: at least 2 rows/items
- scenarios: required and organization-defined
- current_action_id: required and organization-defined
- current_conflict_risk_reserve: required and organization-defined
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
- finance-reconciled decision-conflict case joining one canonical action set to coherent common-shock loss scenarios and the point-in-time recommendation registry without independently sorted losses or duplicated lineage votes
- action feasibility, loss/currency/horizon/perimeter, scenario dependence, recommendation eligibility/reliability/lineage, current commitment, reserve confidence, consensus threshold, tail probability, CVaR appetite and decision 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": "price the expected reservequantile and tailcvar" }
→ finds "calculate_recommendation_conflict_exposure"
gitrevio_capability_describe
{ "capability_id": "calculate_recommendation_conflict_exposure" }
→ returns the input schema and agent guidance shown on this page
gitrevio_capability_run
{ "capability_id": "calculate_recommendation_conflict_exposure", "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 recommendation coherence
Audit whether analytical recommendations for the same decision remain comparable, current, supported and coherent after every unique evidence lineage receives one vote split across its claimants, preventing duplicated source data from manufacturing consensus.
Optimize adaptive analytics plan
Choose an exact adaptive sequence of analyses and an outcome-contingent terminal action by Bayesian belief-state dynamic programming, allowing early stopping while enforcing cost, duration, dependency, exclusion and analysis-step constraints and measuring value over the best fixed analysis sequence.
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 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.
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.