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.

What it's for

Prevents executives and agents from calling a phased rollout causal merely because a conventional pretrend test failed to reject zero.

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.8, ≤ 0.999 Your calibration Optional
equivalence_margin number > 0 Your calibration Optional
minimum_cohort_units integer ≥ 2, ≤ 10000 Your calibration Optional
minimum_control_units integer ≥ 2, ≤ 100000 Your calibration Optional
observations array of objects (5 fields) ≥ 240 items Evidence Yes
pre_periods integer ≥ 2, ≤ 20 Your calibration Optional
seed integer Numerical control Optional

Each observations record

Field Type Required
adoption_period integer,null Yes
id string (non-empty) Yes
outcome number Yes
period integer Yes
unit_id string (non-empty) Yes
Example input
{
  "bootstrap_draws": 200,
  "equivalence_margin": 0.2,
  "observations": [
    {
      "adoption_period": 5,
      "id": "rollout-example-0-0",
      "outcome": 0,
      "period": 0,
      "unit_id": "team-0"
    },
    {
      "adoption_period": 5,
      "id": "rollout-example-0-1",
      "outcome": 0.2,
      "period": 1,
      "unit_id": "team-0"
    },
    {
      "adoption_period": 5,
      "id": "rollout-example-0-2",
      "outcome": 0.4,
      "period": 2,
      "unit_id": "team-0"
    },
    {
      "adoption_period": 5,
      "id": "rollout-example-0-3",
      "outcome": 0.6000000000000001,
      "period": 3,
      "unit_id": "team-0"
    },
    {
      "adoption_period": 5,
      "id": "rollout-example-0-4",
      "outcome": 0.8,
      "period": 4,
      "unit_id": "team-0"
    },
    {
      "adoption_period": 5,
      "id": "rollout-example-0-5",
      "outcome": 2.5,
      "period": 5,

Truncated for display — the full payload is 3367 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
{
  "assumptions": [
    "Treatment adoption is absorbing, cohort timing is measured without error, and no unit is treated before its declared adoption period.",
    "For each cohort and event time, units not yet treated at that time are valid controls under conditional parallel trends and no anticipation.",
    "The equivalence margin is a governed outcome-scale tolerance; identification is supported only when every simultaneous pre-period interval lies inside it.",
    "Unit-stratified bootstrap uncertainty preserves adoption-cohort sizes but does not repair spillovers, endogenous timing, or time-varying confounding."
  ],
  "decision": "staggered_rollout_identification_supported",
  "method": "not_yet_treated_pretrend_equivalence_bootstrap_v1",
  "pretrend": {
    "equivalence_margin": 0.2,
    "equivalence_supported": true,
    "event_times": [
      {
        "effect": 0,
        "eligible_cohorts": 2,
        "equivalent_to_zero": true,
        "event_time": -4,
        "minimum_control_units": 20,
        "simultaneous_interval": {
          "high": 0,
          "low": 0
        },
        "treated_units": 20
      },
      {
        "effect": 0,
        "eligible_cohorts": 2,
        "equivalent_to_zero": true,
        "event_time": -3,
        "minimum_control_units": 20,
        "simultaneous_interval": {
          "high": 0,
          "low": 0
        },
        "treated_units": 20
      },
      {
        "effect": 0,
        "eligible_cohorts": 2,
        "equivalent_to_zero": true,
        "event_time": -2,
        "minimum_control_units": 20,
        "simultaneous_interval": {

Truncated for display — the full payload is 62 lines.

How it works

Causal inference & experiment design — Separate what a change caused from what merely moved alongside it.

  1. 1 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.
  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

  • Assignment or adoption timing, interference policy, overlap, attrition, and outcome availability match the estimand encoded by the method.
  • A causal label is warranted only when design and diagnostic requirements pass; otherwise treat the result as descriptive or abstain.

Minimum evidence

  • observations: at least 240 rows/items

How to validate it

Preserve the assignment/adoption design and validate overlap, pre-period or placebo diagnostics, attrition, interference policy, and cluster-level uncertainty; never tune on the estimated effect.

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

  • balanced consecutive team-week panel including zero-event weeks
  • first deployment week per team for one prespecified policy
  • privacy-eligible aggregate outcome with a stable direction
  • policy arm and analysis epoch
  • outcome definition
  • equivalence margin and minimum cohort/control support

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 staggered teambyteam adoption with notyettreated" }
  → finds "audit_staggered_rollout_identification"

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

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

Estimate staggered policy rollout effects

Estimate cohort-aware dynamic effects of a team-by-team policy rollout against not-yet-treated controls, with a simultaneous pretrend identification gate.

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 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.

Sequential Bayesian & bandits

Design balanced stepped wedge rollout

Assign teams or other aggregate clusters to capacity-constrained rollout waves with pair-exchange optimization of cumulative causal balance, represented population, and rollout risk.

Causal inference & experiment design

See every tool in Causal evidence & experiments →

Ready to See Your Engineering work clearly?

Request a free demo