Stocha emblemStocha dark theme emblemStocha
How we check

Better decisions start with questions you can check

Audit the explicit assumptions, compare alternatives on identical random streams, and verify what the numbers mean for your operation, whether evaluating a $120.00M supplier split or weighing a $44,600 to $2.02M/yr staffing and capacity commitment against a $0 operating-rule change.

Review the assumptions

Every simulation begins with inspectable inputs: arrival distributions, service-time ranges, staffing and equipment capacities, shift schedules, and breakdown rates. Separate measured operational records from working estimates, define the minimum business improvement worth acting on before reading the output, and benchmark baseline model runs against a historical period your team already tracks. An illustrative example is a starting point; your team always verifies whether its assumptions reflect your operation.

Check the calculations

Agentic AI drafts the model structure, and a separate stochastic engine executes all mathematics. On every run, the engine verifies flow conservation so that every entity entering a model is accounted for in queue, in service, or completed. Before any release, the engine must pass 928 automated tests, including 13 analytical benchmark tests against queueing systems with closed-form mathematical solutions. These checks verify calculation integrity; they do not prove that a model captures every nuance of your business.

Compare options fairly

Each worked example runs competing options across 30 replications using common random numbers so both alternatives face the exact same simulated days, arrival surges, and breakdown timing. Results report the estimated mean alongside its 95% confidence interval, showing whether a difference clears zero and exceeds the minimum business threshold your team set. “Clear, and big enough to act on” requires passing two gates: the 95% confidence interval on the paired difference must exclude zero, and the gain must clear a practical business bar chosen by the decision owner, such as one minute or five minutes, rather than relying on statistical significance alone.

Read the two ranges differently

A 95% confidence interval measures the precision of the model mean across replications. It is deliberately narrower than the spread of individual simulated days or years, such as the middle 90% of single-year outcomes, which reveals how severe a single bad period can get. Use the confidence interval on the mean to judge which option performs better on average, and use the single-period outcome spread to judge downside exposure. In the sourcing example, expected first-year net savings are $3.87M; the 95% confidence interval on that mean is $3.85M to $3.88M across 10,000 simulated years, whereas the middle 90% of individual years save between $2.68M and $4.84M. Lock the replication count before inspecting results; stopping at the first narrow interval overstates certainty.

What the automated checks cover

The flow-balance check confirms that entities arriving equal those waiting in line, in service, or completed. The Little’s law check, requiring a steady-state gap under 5% (1.66% in the clinic example), verifies internal queueing consistency. The engine’s analytical benchmark suite uses 99.9% intervals as an automated software gate; that is a mathematical verification of the solver, not empirical validation of your site’s live operations.

For more on our modeling standards, read our field note on what is real today and what is planned, see how simulation compares with alternative workflows, or review the verification standards built by our team.

Inspectable run receipts for all 10 worked examples

Every figure on Stocha traces back to a deterministic simulation run on engine v0.1.0. Inspect or download the seed, replications, verification gates, confidence intervals, and BLS wage data for all 10 operational models below.

Manufacturing: Add one more Machining centerVerified seed 81Flow conservedLittle’s law gap 1.997%

Simulation engine: v0.1.0 | Replications: 30 common random number runs (seed 81)

Staffing wage basis: machinists | Median wage: $58,750/yr (Total employer cost: $83,900/yr, BLS OEWS May 2025, BLS ECEC, June 2026)

Decision 1 (Add one more Machining center): Baseline wait 25.53 min (± 4.68 min) to With change 2.60 min (± 0.37 min). Modeled reduction: 22.92 min (95% CI: 18.43 to 27.41 min). Verdict: Clear, and big enough to act on in this model.

Decision 2 (halve the repair time, $0 added wages): Baseline cycle 88.57 min (± 4.64 min) to With change 78.92 min (± 1.96 min). Modeled reduction: 9.65 min (95% CI: 6.57 to 12.74 min). Verdict: Clear, and big enough to act on in this model.

Inspect raw verification receipt (JSON)
{
  "id": "productionLine",
  "operation": "Manufacturing",
  "engineVersion": "0.1.0",
  "seed": 81,
  "replications": 30,
  "commonRandomNumbers": true,
  "verificationGates": {
    "flowConservation": true,
    "littlesLawGapPct": 1.997,
    "littlesLawThresholdPct": 5.0,
    "passed": true
  },
  "blsWageBasis": {
    "occupation": "machinists",
    "annualMedianWage": 58750,
    "totalEmployerCost": 83900.0,
    "source": "BLS OEWS May 2025, BLS ECEC, June 2026"
  },
  "decision1": {
    "tested": "Add one more Machining center",
    "waitBaseline": {
      "mean": 25.527339915076503,
      "halfWidth95": 4.677416622544234
    },
    "waitWithChange": {
      "mean": 2.603843944105874,
      "halfWidth95": 0.3726154715279167
    },
    "pairedReduction": {
      "mean": 22.923495970970638,
      "ci95Low": 18.433797800652187,
      "ci95High": 27.41319414128909
    },
    "verdict": "Clear, and big enough to act on in this model."
  },
  "decision2": {
    "tested": "halve the repair time",
    "addedWages": 0,
    "cycleBaseline": {
      "mean": 88.56638858694318,
      "halfWidth95": 4.6423829247587
    },
    "cycleWithChange": {
      "mean": 78.91510502423981,
      "halfWidth95": 1.9649510167182571
    },
    "pairedReduction": {
      "mean": 9.651283562703343,
      "ci95Low": 6.566703794243463,
      "ci95High": 12.735863331163223
    },
    "verdict": "Clear, and big enough to act on in this model."
  }
}
Emergency: Add one more DoctorVerified seed 2024Flow conservedLittle’s law gap 0.086%

Simulation engine: v0.1.0 | Replications: 30 common random number runs (seed 2024)

Staffing wage basis: emergency medicine physicians | Median wage: $335,550/yr (Total employer cost: $479,400/yr, BLS OEWS May 2025, BLS ECEC, June 2026)

Decision 1 (Add one more Doctor): Baseline wait 12.90 min (± 2.54 min) to With change 1.92 min (± 0.55 min). Modeled reduction: 10.98 min (95% CI: 8.87 to 13.09 min). Verdict: Clear, and big enough to act on in this model.

Decision 2 (move doctor hours to the busy hours, $0 added wages): Baseline cycle 43.18 min (± 3.47 min) to With change 35.71 min (± 1.57 min). Modeled reduction: 7.46 min (95% CI: 5.20 to 9.72 min). Verdict: Clear, and big enough to act on in this model.

Inspect raw verification receipt (JSON)
{
  "id": "emergencyDept",
  "operation": "Emergency",
  "engineVersion": "0.1.0",
  "seed": 2024,
  "replications": 30,
  "commonRandomNumbers": true,
  "verificationGates": {
    "flowConservation": true,
    "littlesLawGapPct": 0.086,
    "littlesLawThresholdPct": 5.0,
    "passed": true
  },
  "blsWageBasis": {
    "occupation": "emergency medicine physicians",
    "annualMedianWage": 335550,
    "totalEmployerCost": 479400.0,
    "source": "BLS OEWS May 2025, BLS ECEC, June 2026"
  },
  "decision1": {
    "tested": "Add one more Doctor",
    "waitBaseline": {
      "mean": 12.899300063414147,
      "halfWidth95": 2.5367411048137387
    },
    "waitWithChange": {
      "mean": 1.9200711395781667,
      "halfWidth95": 0.5469407645226274
    },
    "pairedReduction": {
      "mean": 10.97922892383598,
      "ci95Low": 8.870285706191341,
      "ci95High": 13.088172141480618
    },
    "verdict": "Clear, and big enough to act on in this model."
  },
  "decision2": {
    "tested": "move doctor hours to the busy hours",
    "addedWages": 0,
    "cycleBaseline": {
      "mean": 43.17534989778322,
      "halfWidth95": 3.4668743732059464
    },
    "cycleWithChange": {
      "mean": 35.712358230262005,
      "halfWidth95": 1.5683644056817079
    },
    "pairedReduction": {
      "mean": 7.462991667521229,
      "ci95Low": 5.202381483726674,
      "ci95High": 9.723601851315784
    },
    "verdict": "Clear, and big enough to act on in this model."
  }
}
Warehouse: Add one more PackerVerified seed 777Flow conservedLittle’s law gap 1.747%

Simulation engine: v0.1.0 | Replications: 30 common random number runs (seed 777)

Staffing wage basis: packers and packagers, hand | Median wage: $36,280/yr (Total employer cost: $51,800/yr, BLS OEWS May 2025, BLS ECEC, June 2026)

Decision 1 (Add one more Packer): Baseline wait 4.46 min (± 0.83 min) to With change 0.44 min (± 0.07 min). Modeled reduction: 4.02 min (95% CI: 3.24 to 4.80 min). Verdict: Clear, and big enough to act on in this model.

Decision 2 (move a picker to packing, $0 added wages): Baseline cycle 43.58 min (± 1.05 min) to With change 40.67 min (± 0.62 min). Modeled reduction: 2.91 min (95% CI: 2.14 to 3.68 min). Verdict: Clear, and big enough to act on in this model.

Inspect raw verification receipt (JSON)
{
  "id": "warehousePickPack",
  "operation": "Warehouse",
  "engineVersion": "0.1.0",
  "seed": 777,
  "replications": 30,
  "commonRandomNumbers": true,
  "verificationGates": {
    "flowConservation": true,
    "littlesLawGapPct": 1.747,
    "littlesLawThresholdPct": 5.0,
    "passed": true
  },
  "blsWageBasis": {
    "occupation": "packers and packagers, hand",
    "annualMedianWage": 36280,
    "totalEmployerCost": 51800.0,
    "source": "BLS OEWS May 2025, BLS ECEC, June 2026"
  },
  "decision1": {
    "tested": "Add one more Packer",
    "waitBaseline": {
      "mean": 4.45827473676116,
      "halfWidth95": 0.8256278615891369
    },
    "waitWithChange": {
      "mean": 0.4389639363115154,
      "halfWidth95": 0.06551999327739051
    },
    "pairedReduction": {
      "mean": 4.019310800449645,
      "ci95Low": 3.2385076959688956,
      "ci95High": 4.800113904930395
    },
    "verdict": "Clear, and big enough to act on in this model."
  },
  "decision2": {
    "tested": "move a picker to packing",
    "addedWages": 0,
    "cycleBaseline": {
      "mean": 43.584932806141246,
      "halfWidth95": 1.0474378419158246
    },
    "cycleWithChange": {
      "mean": 40.673431259961056,
      "halfWidth95": 0.6229271616833836
    },
    "pairedReduction": {
      "mean": 2.911501546180182,
      "ci95Low": 2.1431601518934964,
      "ci95High": 3.6798429404668673
    },
    "verdict": "Clear, and big enough to act on in this model."
  }
}
Contact center: Add one more AgentVerified seed 31Flow conservedLittle’s law gap 0.745%

Simulation engine: v0.1.0 | Replications: 30 common random number runs (seed 31)

Staffing wage basis: customer service representatives | Median wage: $44,770/yr (Total employer cost: $64,000/yr, BLS OEWS May 2025, BLS ECEC, June 2026)

Decision 1 (Add one more Agent): Baseline wait 0.30 min (± 0.03 min) to With change 0.18 min (± 0.02 min). Modeled reduction: 0.12 min (95% CI: 0.10 to 0.13 min). Verdict: Clear, but too small to act on.

Decision 2 (match agents to the hourly calls, $0 added wages): Baseline cycle 7.93 min (± 0.05 min) to With change 7.87 min (± 0.05 min). Modeled reduction: 0.05 min (95% CI: 0.04 to 0.07 min). Verdict: Clear, but too small to act on.

Inspect raw verification receipt (JSON)
{
  "id": "callCenter",
  "operation": "Contact center",
  "engineVersion": "0.1.0",
  "seed": 31,
  "replications": 30,
  "commonRandomNumbers": true,
  "verificationGates": {
    "flowConservation": true,
    "littlesLawGapPct": 0.745,
    "littlesLawThresholdPct": 5.0,
    "passed": true
  },
  "blsWageBasis": {
    "occupation": "customer service representatives",
    "annualMedianWage": 44770,
    "totalEmployerCost": 64000.0,
    "source": "BLS OEWS May 2025, BLS ECEC, June 2026"
  },
  "decision1": {
    "tested": "Add one more Agent",
    "waitBaseline": {
      "mean": 0.30129593759682044,
      "halfWidth95": 0.02853879288621451
    },
    "waitWithChange": {
      "mean": 0.18411589299933784,
      "halfWidth95": 0.018725192892034316
    },
    "pairedReduction": {
      "mean": 0.1171800445974826,
      "ci95Low": 0.10364823982829496,
      "ci95High": 0.13071184936667024
    },
    "verdict": "Clear, but too small to act on."
  },
  "decision2": {
    "tested": "match agents to the hourly calls",
    "addedWages": 0,
    "cycleBaseline": {
      "mean": 7.925189893106069,
      "halfWidth95": 0.04860708976801879
    },
    "cycleWithChange": {
      "mean": 7.871282904215765,
      "halfWidth95": 0.04581818622234914
    },
    "pairedReduction": {
      "mean": 0.05390698889029958,
      "ci95Low": 0.040999732507550936,
      "ci95High": 0.06681424527304822
    },
    "verdict": "Clear, but too small to act on."
  }
}
Operating rooms: Add one more Operating roomVerified seed 111Flow conservedLittle’s law gap 0.000%

Simulation engine: v0.1.0 | Replications: 30 common random number runs (seed 111)

Staffing wage basis: registered nurses | Median wage: $97,550/yr (Total employer cost: $139,400/yr, BLS OEWS May 2025, BLS ECEC, June 2026)

Decision 1 (Add one more Operating room): Baseline wait 31.82 min (± 8.94 min) to With change 6.65 min (± 2.68 min). Modeled reduction: 25.17 min (95% CI: 18.28 to 32.05 min). Verdict: Clear, and big enough to act on in this model.

Decision 2 (shortest case first, $0 added wages): Baseline cycle 196.61 min (± 10.49 min) to With change 187.23 min (± 10.28 min). Modeled reduction: 9.38 min (95% CI: 1.09 to 17.67 min). Verdict: Clear change, but too close to call against the bar.

Inspect raw verification receipt (JSON)
{
  "id": "surgicalSuite",
  "operation": "Operating rooms",
  "engineVersion": "0.1.0",
  "seed": 111,
  "replications": 30,
  "commonRandomNumbers": true,
  "verificationGates": {
    "flowConservation": true,
    "littlesLawGapPct": 0.0,
    "littlesLawThresholdPct": 5.0,
    "passed": true
  },
  "blsWageBasis": {
    "occupation": "registered nurses",
    "annualMedianWage": 97550,
    "totalEmployerCost": 139400.0,
    "source": "BLS OEWS May 2025, BLS ECEC, June 2026"
  },
  "decision1": {
    "tested": "Add one more Operating room",
    "waitBaseline": {
      "mean": 31.817932125597455,
      "halfWidth95": 8.942974964373203
    },
    "waitWithChange": {
      "mean": 6.652678845889315,
      "halfWidth95": 2.683083507692021
    },
    "pairedReduction": {
      "mean": 25.165253279708153,
      "ci95Low": 18.27856383952941,
      "ci95High": 32.051942719886895
    },
    "verdict": "Clear, and big enough to act on in this model."
  },
  "decision2": {
    "tested": "shortest case first",
    "addedWages": 0,
    "cycleBaseline": {
      "mean": 196.61136449668965,
      "halfWidth95": 10.485233081426653
    },
    "cycleWithChange": {
      "mean": 187.22786333093876,
      "halfWidth95": 10.281010868158008
    },
    "pairedReduction": {
      "mean": 9.383501165750936,
      "ci95Low": 1.0920850196641023,
      "ci95High": 17.674917311837767
    },
    "verdict": "Clear change, but too close to call against the bar."
  }
}
Clinic: Add one more DoctorVerified seed 12345Flow conservedLittle’s law gap 1.659%

Simulation engine: v0.1.0 | Replications: 30 common random number runs (seed 12345)

Staffing wage basis: family medicine physicians | Median wage: $244,180/yr (Total employer cost: $348,800/yr, BLS OEWS May 2025, BLS ECEC, June 2026)

Decision 1 (Add one more Doctor): Baseline wait 9.70 min (± 2.21 min) to With change 1.59 min (± 0.35 min). Modeled reduction: 8.11 min (95% CI: 6.09 to 10.13 min). Verdict: Clear, and big enough to act on in this model.

Decision 2 (nurse advice for 40%, $0 added wages): Baseline cycle 31.35 min (± 1.83 min) to With change 31.82 min (± 2.07 min). Modeled reduction: -0.47 min (95% CI: -2.40 to 1.45 min). Verdict: The runs could not tell.

Inspect raw verification receipt (JSON)
{
  "id": "clinicTriage",
  "operation": "Clinic",
  "engineVersion": "0.1.0",
  "seed": 12345,
  "replications": 30,
  "commonRandomNumbers": true,
  "verificationGates": {
    "flowConservation": true,
    "littlesLawGapPct": 1.659,
    "littlesLawThresholdPct": 5.0,
    "passed": true
  },
  "blsWageBasis": {
    "occupation": "family medicine physicians",
    "annualMedianWage": 244180,
    "totalEmployerCost": 348800.0,
    "source": "BLS OEWS May 2025, BLS ECEC, June 2026"
  },
  "decision1": {
    "tested": "Add one more Doctor",
    "waitBaseline": {
      "mean": 9.697323181241396,
      "halfWidth95": 2.212587340354087
    },
    "waitWithChange": {
      "mean": 1.5869820732831597,
      "halfWidth95": 0.34892004539183574
    },
    "pairedReduction": {
      "mean": 8.110341107958236,
      "ci95Low": 6.0948464473442865,
      "ci95High": 10.125835768572186
    },
    "verdict": "Clear, and big enough to act on in this model."
  },
  "decision2": {
    "tested": "nurse advice for 40%",
    "addedWages": 0,
    "cycleBaseline": {
      "mean": 31.347767241118255,
      "halfWidth95": 1.8278490798536415
    },
    "cycleWithChange": {
      "mean": 31.82165131368877,
      "halfWidth95": 2.0714984848275857
    },
    "pairedReduction": {
      "mean": -0.4738840725705051,
      "ci95Low": -2.397993623213142,
      "ci95High": 1.4502254780721318
    },
    "verdict": "The runs could not tell."
  }
}
Airport: Add one more ID officerVerified seed 91Flow conservedLittle’s law gap 0.110%

Simulation engine: v0.1.0 | Replications: 30 common random number runs (seed 91)

Staffing wage basis: transportation security screeners | Median wage: $66,770/yr (Total employer cost: $95,400/yr, BLS OEWS May 2025, BLS ECEC, June 2026)

Decision 1 (Add one more ID officer): Baseline wait 1.50 min (± 0.23 min) to With change 0.12 min (± 0.01 min). Modeled reduction: 1.38 min (95% CI: 1.16 to 1.60 min). Verdict: Clear, and big enough to act on in this model.

Decision 2 (move a screener to ID checks, $0 added wages): Baseline cycle 4.73 min (± 0.23 min) to With change 3.52 min (± 0.05 min). Modeled reduction: 1.22 min (95% CI: 1.02 to 1.41 min). Verdict: Clear, and big enough to act on in this model.

Inspect raw verification receipt (JSON)
{
  "id": "airportSecurity",
  "operation": "Airport",
  "engineVersion": "0.1.0",
  "seed": 91,
  "replications": 30,
  "commonRandomNumbers": true,
  "verificationGates": {
    "flowConservation": true,
    "littlesLawGapPct": 0.11,
    "littlesLawThresholdPct": 5.0,
    "passed": true
  },
  "blsWageBasis": {
    "occupation": "transportation security screeners",
    "annualMedianWage": 66770,
    "totalEmployerCost": 95400.0,
    "source": "BLS OEWS May 2025, BLS ECEC, June 2026"
  },
  "decision1": {
    "tested": "Add one more ID officer",
    "waitBaseline": {
      "mean": 1.4974632766020703,
      "halfWidth95": 0.22767747235878805
    },
    "waitWithChange": {
      "mean": 0.11501732975393626,
      "halfWidth95": 0.009235292777522266
    },
    "pairedReduction": {
      "mean": 1.382445946848134,
      "ci95Low": 1.1614004717674364,
      "ci95High": 1.6034914219288317
    },
    "verdict": "Clear, and big enough to act on in this model."
  },
  "decision2": {
    "tested": "move a screener to ID checks",
    "addedWages": 0,
    "cycleBaseline": {
      "mean": 4.730990371760345,
      "halfWidth95": 0.2292066205045321
    },
    "cycleWithChange": {
      "mean": 3.515727416661677,
      "halfWidth95": 0.04996839498432426
    },
    "pairedReduction": {
      "mean": 1.2152629550986687,
      "ci95Low": 1.0211494613056664,
      "ci95High": 1.409376448891671
    },
    "verdict": "Clear, and big enough to act on in this model."
  }
}
Bank branch: Add one more TellerVerified seed 41Flow conservedLittle’s law gap 0.907%

Simulation engine: v0.1.0 | Replications: 30 common random number runs (seed 41)

Staffing wage basis: tellers | Median wage: $43,030/yr (Total employer cost: $61,500/yr, BLS OEWS May 2025, BLS ECEC, June 2026)

Decision 1 (Add one more Teller): Baseline wait 3.32 min (± 0.31 min) to With change 0.99 min (± 0.18 min). Modeled reduction: 2.32 min (95% CI: 2.11 to 2.54 min). Verdict: Clear, and big enough to act on in this model.

Decision 2 (match tellers to the hourly arrivals, $0 added wages): Baseline cycle 10.90 min (± 0.39 min) to With change 10.40 min (± 0.39 min). Modeled reduction: 0.51 min (95% CI: 0.20 to 0.82 min). Verdict: Clear, but too small to act on.

Inspect raw verification receipt (JSON)
{
  "id": "bankBranch",
  "operation": "Bank branch",
  "engineVersion": "0.1.0",
  "seed": 41,
  "replications": 30,
  "commonRandomNumbers": true,
  "verificationGates": {
    "flowConservation": true,
    "littlesLawGapPct": 0.907,
    "littlesLawThresholdPct": 5.0,
    "passed": true
  },
  "blsWageBasis": {
    "occupation": "tellers",
    "annualMedianWage": 43030,
    "totalEmployerCost": 61500.0,
    "source": "BLS OEWS May 2025, BLS ECEC, June 2026"
  },
  "decision1": {
    "tested": "Add one more Teller",
    "waitBaseline": {
      "mean": 3.318457451399692,
      "halfWidth95": 0.3146643120832457
    },
    "waitWithChange": {
      "mean": 0.9946071813194902,
      "halfWidth95": 0.1779058188512382
    },
    "pairedReduction": {
      "mean": 2.3238502700802015,
      "ci95Low": 2.1083345821556283,
      "ci95High": 2.5393659580047747
    },
    "verdict": "Clear, and big enough to act on in this model."
  },
  "decision2": {
    "tested": "match tellers to the hourly arrivals",
    "addedWages": 0,
    "cycleBaseline": {
      "mean": 10.902311973583382,
      "halfWidth95": 0.38847261965354496
    },
    "cycleWithChange": {
      "mean": 10.396046787479898,
      "halfWidth95": 0.389791430866226
    },
    "pairedReduction": {
      "mean": 0.5062651861034821,
      "ci95Low": 0.19688487028753315,
      "ci95High": 0.8156455019194311
    },
    "verdict": "Clear, but too small to act on."
  }
}
Grocery: Add one more CashierVerified seed 51Flow conservedLittle’s law gap 3.263%

Simulation engine: v0.1.0 | Replications: 30 common random number runs (seed 51)

Staffing wage basis: cashiers | Median wage: $32,880/yr (Total employer cost: $47,000/yr, BLS OEWS May 2025, BLS ECEC, June 2026)

Decision 1 (Add one more Cashier): Baseline wait 3.59 min (± 0.96 min) to With change 0.75 min (± 0.19 min). Modeled reduction: 2.84 min (95% CI: 2.03 to 3.65 min). Verdict: Clear, and big enough to act on in this model.

Decision 2 (swap a staffed lane for two kiosks, $0 added wages): Withheld by the automated Little’s law steady-state verification gate (8.569% gap vs 5.0% threshold).

Inspect raw verification receipt (JSON)
{
  "id": "groceryCheckout",
  "operation": "Grocery",
  "engineVersion": "0.1.0",
  "seed": 51,
  "replications": 30,
  "commonRandomNumbers": true,
  "verificationGates": {
    "flowConservation": true,
    "littlesLawGapPct": 3.263,
    "littlesLawThresholdPct": 5.0,
    "passed": true
  },
  "blsWageBasis": {
    "occupation": "cashiers",
    "annualMedianWage": 32880,
    "totalEmployerCost": 47000.0,
    "source": "BLS OEWS May 2025, BLS ECEC, June 2026"
  },
  "decision1": {
    "tested": "Add one more Cashier",
    "waitBaseline": {
      "mean": 3.5938306293464612,
      "halfWidth95": 0.9561223739638118
    },
    "waitWithChange": {
      "mean": 0.7515266269578045,
      "halfWidth95": 0.18566007064189405
    },
    "pairedReduction": {
      "mean": 2.8423040023886563,
      "ci95Low": 2.034089339339216,
      "ci95High": 3.6505186654380966
    },
    "verdict": "Clear, and big enough to act on in this model."
  },
  "decision2Withheld": {
    "tested": "swap a staffed lane for two kiosks",
    "addedWages": 0,
    "littlesLawGapPct": 8.569,
    "littlesLawThresholdPct": 5.0,
    "reason": "Withheld by automated steady-state Little's law gate (gap exceeds 5.0% threshold)."
  }
}
Drive-thru: Add one more Pickup windowVerified seed 61Flow conservedLittle’s law gap 0.942%

Simulation engine: v0.1.0 | Replications: 30 common random number runs (seed 61)

Staffing wage basis: fast food and counter workers | Median wage: $31,200/yr (Total employer cost: $44,600/yr, BLS OEWS May 2025, BLS ECEC, June 2026)

Decision 1 (Add one more Pickup window): Baseline wait 2.10 min (± 0.58 min) to With change 0.09 min (± 0.02 min). Modeled reduction: 2.01 min (95% CI: 1.43 to 2.58 min). Verdict: Clear, and big enough to act on in this model.

Decision 2 (take payment at the speaker, $0 added wages): Baseline cycle 5.97 min (± 0.62 min) to With change 9.17 min (± 0.79 min). Modeled reduction: -3.20 min (95% CI: -3.77 to -2.64 min). Verdict: Clear, and it makes things worse.

Inspect raw verification receipt (JSON)
{
  "id": "driveThru",
  "operation": "Drive-thru",
  "engineVersion": "0.1.0",
  "seed": 61,
  "replications": 30,
  "commonRandomNumbers": true,
  "verificationGates": {
    "flowConservation": true,
    "littlesLawGapPct": 0.942,
    "littlesLawThresholdPct": 5.0,
    "passed": true
  },
  "blsWageBasis": {
    "occupation": "fast food and counter workers",
    "annualMedianWage": 31200,
    "totalEmployerCost": 44600.0,
    "source": "BLS OEWS May 2025, BLS ECEC, June 2026"
  },
  "decision1": {
    "tested": "Add one more Pickup window",
    "waitBaseline": {
      "mean": 2.099770839072302,
      "halfWidth95": 0.5823691728812505
    },
    "waitWithChange": {
      "mean": 0.09124534659548829,
      "halfWidth95": 0.016501048605347107
    },
    "pairedReduction": {
      "mean": 2.008525492476815,
      "ci95Low": 1.4333814893684753,
      "ci95High": 2.5836694955851547
    },
    "verdict": "Clear, and big enough to act on in this model."
  },
  "decision2": {
    "tested": "take payment at the speaker",
    "addedWages": 0,
    "cycleBaseline": {
      "mean": 5.966236538099099,
      "halfWidth95": 0.6224450978580945
    },
    "cycleWithChange": {
      "mean": 9.170136454484576,
      "halfWidth95": 0.793928876679112
    },
    "pairedReduction": {
      "mean": -3.2038999163854753,
      "ci95Low": -3.7714829802590764,
      "ci95High": -2.6363168525118743
    },
    "verdict": "Clear, and it makes things worse."
  }
}

Frequently asked questions about simulation checks

How many simulation runs do I need for a reliable answer about wait times?

Reliable decision models require at least 30 replications using independent random streams to satisfy the central limit theorem and produce valid confidence intervals. Stopping early after a few favorable runs introduces severe selection bias and overstates certainty. Pre-registering replication counts before inspecting results ensures that confidence intervals reliably measure mean performance across random variation.

How do I know if adding one more server actually reduces the wait, statistically?

Proving that adding capacity reduces wait times requires passing a two-gate decision standard. Gate 1 verifies statistical certainty: the 95% confidence interval on the paired difference between the baseline and the expanded option must exclude zero. Gate 2 verifies practical business impact: the estimated reduction must exceed a meaningful business hurdle, such as saving at least five minutes per transaction, rather than relying on statistical significance alone.

What is Little’s law and how is it used to validate a queueing simulation?

Little’s law is a fundamental theorem of queueing theory stating that the long-term average number of entities in a stable system equals the long-term average arrival rate multiplied by the average time spent in the system (L = lambda * W). Stocha uses Little’s law as an automated verification check on every model run: the steady-state gap between simulated values and theoretical flow conservation must remain below 5% to pass integrity gates.

How do I compare two staffing plans with paired simulation runs?

Comparing two staffing plans requires common random numbers (CRN) across paired simulation runs. By synchronizing random number streams across identical seeds, both staffing policies face the exact same simulated days, customer arrival spikes, and equipment disruptions. This synchronization cancels out environmental noise and isolates the true performance difference caused by the staffing policy change.

What is a 95% confidence interval on a simulated average wait time?

A 95% confidence interval on the mean measures the statistical precision of the estimated average across replications. It indicates that 95% of identically conducted 30-run simulation experiments would contain the true expected mean. This interval is intentionally narrower than the single-period outcome spread (such as the middle 90% or P5 to P95 of individual days), which measures real-world operating volatility and tail-risk exposure.

Keep the decision in your team’s hands

Review capital costs, operational constraints, and input assumptions before committing budget. All worked examples on this site are illustrative engine runs, not customer case studies or forecasts. Requested studies are scoped and reviewed before acceptance.

Request an invitation Explore the worked examples