Audit joint outcome network integrity

Audit whether a company-specific Bayesian joint-outcome network is fit for reliance by validating point-in-time lineage, DAG and CPT completeness, effective support, protected-attribute exclusions, and strictly out-of-time outcome calibration against a baseline.

What it's for

Turns the site's implemented engineering-outcomes Bayesian network into a governable company-calibrated capability rather than an unexplained fixed prior.

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
as_of_ms number ≥ 0 Your calibration Yes
conditional_probability_rows array of objects (10 fields) Evidence Yes
edges array of objects (8 fields) ≥ 0 items Evidence Yes
evidence_artifacts array of objects (5 fields) Evidence Yes
max_detail_rows integer ≥ 1, ≤ 500 Numerical control Optional
maximum_expected_calibration_error number ≥ 0, ≤ 1 Your calibration Optional
minimum_effective_support number ≥ 1 Your calibration Optional
minimum_log_loss_improvement number Your calibration Optional
minimum_outcome_maturity number ≥ 0, ≤ 1 Your calibration Optional
minimum_validation_rows integer ≥ 1 Your calibration Optional
network_versions array of objects (13 fields) Evidence Yes
nodes array of objects (9 fields) Evidence Yes
validation_slices array of objects (13 fields) Evidence Yes

Each network_versions record

Field Type Required
decision_owner_id string (non-empty) Yes
effective_from_ms number (≥ 0) Yes
effective_until_ms number,null (≥ 0) Yes
evidence_verified boolean Yes
frozen_at_ms number (≥ 0) Yes
id string (non-empty) Yes
independently_reviewed boolean Yes
intended_use_id string (non-empty) Yes
model_owner_id string (non-empty) Yes
outcome_node_ids array of string Yes
prohibited_attribute_ids array of string Yes
scope_id string (non-empty) Yes
trained_through_ms number (≥ 0) Yes
Example input
{
  "as_of_ms": 150,
  "conditional_probability_rows": [
    {
      "effective_sample_size": 70,
      "estimated_through_ms": 90,
      "evidence_verified": true,
      "id": "cpt-load",
      "network_version_id": "joint-network-v1",
      "node_id": "load",
      "parent_states": {},
      "probabilities": {
        "bad": 0.4,
        "good": 0.6
      },
      "source_artifact_id": "joint-training",
      "support_count": 100
    },
    {
      "effective_sample_size": 35,
      "estimated_through_ms": 90,
      "evidence_verified": true,
      "id": "cpt-delivery-good",
      "network_version_id": "joint-network-v1",
      "node_id": "delivery",
      "parent_states": {
        "load": "good"
      },
      "probabilities": {
        "bad": 0.19999999999999996,
        "good": 0.8
      },
      "source_artifact_id": "joint-training",
      "support_count": 50
    },
    {
      "effective_sample_size": 35,
      "estimated_through_ms": 90,
      "evidence_verified": true,
      "id": "cpt-delivery-bad",
      "network_version_id": "joint-network-v1",
      "node_id": "delivery",
      "parent_states": {
        "load": "bad"

Truncated for display — the full payload is 222 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
{
  "configuration": {
    "as_of_ms": 150,
    "maximum_expected_calibration_error": 0.1,
    "minimum_effective_support": 20,
    "minimum_log_loss_improvement": 0,
    "minimum_outcome_maturity": 0.95,
    "minimum_validation_rows": 50
  },
  "decision": "pass",
  "failed_gates": {
    "network_failure_counts": {},
    "orphan_cpt_ids": [],
    "orphan_edge_ids": [],
    "orphan_node_ids": [],
    "orphan_validation_ids": []
  },
  "guardrails": [
    "Passing verifies the submitted DAG, CPT, temporal lineage, support and out-of-time validation; it does not prove that predictive edges are causal or that the model is complete.",
    "Protected traits, inferred intent and named-person employment scoring are outside this aggregate outcome-network contract.",
    "Passing does not authorize an employment, investment, procurement, rollout, access or production decision."
  ],
  "method": "point_in_time_joint_outcome_network_integrity_audit_v1",
  "network_diagnostics": [
    {
      "cpt_row_count": 5,
      "edge_count": 2,
      "failed_gates": [],
      "network_version_id": "joint-network-v1",
      "node_count": 3,
      "outcome_count": 2,
      "passed": true,
      "passing_validation_outcome_count": 2,
      "scope_id": "company"
    }
  ],
  "summary": {
    "conditional_probability_row_count": 5,
    "edge_count": 2,
    "network_version_count": 1,
    "node_count": 3,
    "passing_network_version_count": 1,
    "validation_slice_count": 2
  }

Truncated for display — the full payload is 45 lines.

How it works

Sequential Bayesian & bandits — Learn while deciding — update beliefs as evidence arrives and choose where the next unit of effort is worth spending.

  1. 1 Freeze the effective network version, intended use, owners, outcome nodes, training cutoff, artifacts and prohibited attributes at the requested as-of time.
  2. 2 Validate the acyclic graph and every parent-state CPT row, including exact state coverage, normalization, temporal lineage, independent evidence and effective sample support.
  3. 3 Require every declared outcome to pass a strictly later mature validation slice on sample size, log-loss improvement and expected calibration error.

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

  • The likelihood or reward model, prior support, action logging, delayed outcomes, and any stationarity assumptions match the deployment process.
  • The validation ledger includes all eligible mature cases, model and baseline scores use the same cases, effective sample size discounts dependence, and predictive or assumed edges are not presented as causal.
  • Posterior probability and adaptive selection are model-conditional; they are not substitutes for randomized propensities or guaranteed safety.
  • Passing proves submitted model integrity, not causal truth, completeness, named-person suitability or authority to act.

Minimum evidence

  • network_versions: required and organization-defined
  • nodes: required and organization-defined
  • edges: at least 0 rows/items
  • conditional_probability_rows: required and organization-defined
  • validation_slices: required and organization-defined
  • evidence_artifacts: required and organization-defined
  • as_of_ms: 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

  • one point-in-time network bundle joining the exact effective model, training cutoff, intended use, aggregate scope, outcome declarations, complete parent-state CPT lattice, provenance and out-of-time validation ledger
  • aggregate grain, intended use, predictor/outcome states, edge basis, prohibited attributes, training/freeze/effective cutoffs, support estimator, validation horizon and maturity, baseline forecast, log-loss/calibration gates, ownership and human decision authority

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": "audit whether a companyspecific bayesian jointoutcome" }
  → finds "audit_joint_outcome_network_integrity"

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

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

Forecast joint engineering outcome distribution

Learn a company-local partially pooled discrete Bayesian network from complete mature observations, validate it strictly out of time against an independent baseline, and answer coherent conditional joint engineering-outcome queries with exact inference and Dirichlet posterior intervals.

Sequential Bayesian & bandits

Optimize model averaged joint outcome decision

Choose a governed aggregate engineering action across competing plausible Bayesian-network structures using pseudo-Bayesian out-of-time model weights, coherent joint outcome worlds, causal-identification mass, weighted CVaR, worst-model regret, decision stability and the expected value of resolving model uncertainty.

Causal inference & experiment design

Audit causal claim negative controls

Gate a causal effect claim using prespecified negative outcome/exposure controls, Benjamini-Hochberg multiplicity control, and an omnibus chi-square falsification test.

Causal inference & experiment design

Audit cluster randomization integrity

Audit cluster-randomized experiments for practical baseline imbalance and differential outcome observation, with cluster-size-weighted standardized differences and assignment permutation diagnostics.

Causal inference & experiment design

Audit growth incrementality experiment integrity

Audit aggregate randomized growth experiments before anyone trusts channel incrementality: enforce unique experimental units, nondegenerate logged propensities, both arms, control-spend discipline, baseline balance, spillover and evidence gates; then estimate propensity-weighted baseline-adjusted contribution, cluster-unit bootstrap uncertainty and incremental return on spend.

Causal inference & experiment design

Audit staggered rollout identification

Audit staggered team-by-team adoption with not-yet-treated controls and require every simultaneous pre-period interval to fit inside a governed equivalence margin.

Causal inference & experiment design

See every tool in Causal evidence & experiments →

Ready to See Your Engineering work clearly?

Request a free demo