{
  "capability_id": "engineering.tolerance.monte_carlo",
  "calculation_version": "1.12.0",
  "protocol_version": "1.0.0-proposed",
  "protocol_document_status": "proposed",
  "verification_revision": "2026-09-16.o3-analytic",
  "oracle": {
    "class": "O3",
    "library": "mpmath 1.4.1",
    "mpmath_dps": 80,
    "backend": null,
    "rounding": null,
    "generator_id": "monte-carlo-tolerance-mpmath-o3",
    "generator_version": "1.0.0",
    "generator_sha256": "6deea0c22b418a9f2a6d91717a56e6c78d4e5a6f5080bb0466c70ee17d2a2472",
    "table_sha256": "7f83070e2f17e5b7451361c3bdae659c6d2a3e9a753b0775bc082d5d1debd8ef",
    "seed": "20260916.mc-o3",
    "independent_of_iut": true
  },
  "claim_scope": "O2-A: analytic σ / moments / Cp* Cpk* vs separate-module identities (≤2 ULP). O2-B: seeded mulberry32+Box-Muller replay of mean/std/percentiles/yield (≤2 ULP). Not measured SPC. NORTA Pearson ≠ latent ρ; NORTA sampling remains Evidence regression. ≤2 ULP vs O3 applies only to the published tabulated analytic σ / moments / stack_center vectors (independent normal, correlated normal, gap, uniform, asymmetric uniform, triangular, k=1 3-4-5, single). Seeded MC statistics, NORTA, Sobol, and Shapley are not O3-compared.",
  "commands": {
    "regenerate_table": "python3 generate-monte-carlo-tolerance-o3.py",
    "regenerate_table_repo": "python3 scripts/lib/cvp/oracles/generate-monte-carlo-tolerance-o3.py",
    "independent_rest": "Compare POST /api/v1/calc/monte-carlo-tolerance against /developers/cvp/reproduce/monte-carlo-tolerance-o3-tables.json",
    "run_cvp": "npm run cvp:run -- --capability engineering.tolerance.monte_carlo",
    "rest_example": "POST https://www.calculatorx.com/api/v1/calc/monte-carlo-tolerance"
  },
  "public_files": {
    "table": "/developers/cvp/reproduce/monte-carlo-tolerance-o3-tables.json",
    "table_url": "https://www.calculatorx.com/developers/cvp/reproduce/monte-carlo-tolerance-o3-tables.json",
    "generator": "/developers/cvp/reproduce/generate-monte-carlo-tolerance-o3.py",
    "generator_url": "https://www.calculatorx.com/developers/cvp/reproduce/generate-monte-carlo-tolerance-o3.py",
    "checker": "/developers/cvp/reproduce/check-math-o3-rest.py",
    "checker_url": "https://www.calculatorx.com/developers/cvp/reproduce/check-math-o3-rest.py",
    "manifest": "/evidence/engineering.tolerance.monte_carlo/1.12.0.cvp.json",
    "this_file": "/evidence/engineering.tolerance.monte_carlo/reproduce.json"
  },
  "result_summary": {
    "passed": 8,
    "total": 8,
    "failed": 0,
    "max_error_ulp": 1,
    "threshold_ulp": 2,
    "max_threshold_ulp": 2
  },
  "vectors": [
    {
      "id": "o3-mc",
      "kind": "normal-independent",
      "inputs": {
        "tol1": 0.1,
        "tol2": 0.2,
        "N": 2000,
        "seed": 42
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "std_analytic": 0.07453559924999299,
        "stack_nom": 0,
        "stack_dist_mean": 0,
        "stack_center": 0
      },
      "actual": {
        "mode": "monte_carlo",
        "profile": "basic",
        "n": 2,
        "N": 2000,
        "seed": 42,
        "k_sigma": 3,
        "unit": null,
        "correlated": false,
        "correlation_model": null,
        "correlations": [],
        "sensitivity_method": "spearman",
        "sensitivity_metric": "ranking",
        "sobol_N": null,
        "shapley_N": null,
        "sobol": null,
        "shapley": null,
        "tol": [
          0.1,
          0.2
        ],
        "half_tolerances": [
          0.1,
          0.2
        ],
        "tolerances": [
          {
            "name": "T1",
            "nominal": 0,
            "half_tolerance": 0.1,
            "tol_plus": 0.1,
            "tol_minus": 0.1,
            "asymmetric": false,
            "coefficient": 1,
            "distribution": "normal",
            "mean_shift": 0,
            "error_mean": 0,
            "error_std": 0.03333333333333333
          },
          {
            "name": "T2",
            "nominal": 0,
            "half_tolerance": 0.2,
            "tol_plus": 0.2,
            "tol_minus": 0.2,
            "asymmetric": false,
            "coefficient": 1,
            "distribution": "normal",
            "mean_shift": 0,
            "error_mean": 0,
            "error_std": 0.06666666666666667
          }
        ],
        "stack_nom": 0,
        "stack_shift": 0,
        "stack_dist_mean": 0,
        "stack_center": 0,
        "mean": 0.00027942046066928717,
        "std": 0.07431402402418098,
        "std_analytic": 0.07453559924999299,
        "std_rel_err": -0.002972743602273117,
        "contributors": [
          {
            "name": "T1",
            "sigma": 0.03333333333333333,
            "variance_share": 0.19999999999999998,
            "percent": 19.999999999999996,
            "sensitivity": 0.43122055780513946,
            "sensitivity_share": 19.211112318025574,
            "sensitivity_method": "spearman"
          },
          {
            "name": "T2",
            "sigma": 0.06666666666666667,
            "variance_share": 0.7999999999999999,
            "percent": 79.99999999999999,
            "sensitivity": 0.8842987595746898,
            "sensitivity_share": 80.78888768197442,
            "sensitivity_method": "spearman"
          }
        ],
        "convergence": [
          {
            "N": 100,
            "std": 0.07860623255600938,
            "mean": -0.0011420215968446965,
            "rel_err_vs_analytic": 0.054613276702364016
          },
          {
            "N": 1000,
            "std": 0.07384703336215144,
            "mean": 0.0002922136303471721,
            "rel_err_vs_analytic": -0.009238080793207242
          },
          {
            "N": 2000,
            "std": 0.07431402402418101,
            "mean": 0.0002794204606692373,
            "rel_err_vs_analytic": -0.0029727436022727446
          }
        ],
        "p025": -0.14853515498327396,
        "p05": -0.1243487198389368,
        "p50": 0.0006320186234671336,
        "p95": 0.12167142849463117,
        "p975": 0.14710352950576439,
        "p99": 0.16606672810109607,
        "stack_worst": 0.30000000000000004,
        "stack_rss": 0.223606797749979,
        "LSL": null,
        "USL": null,
        "yield": null,
        "reject_rate": null,
        "ppm_below": null,
        "ppm_above": null,
        "ppm_total": null,
        "below_count": null,
        "above_count": null,
        "in_spec_count": null,
        "Cp": null,
        "Cpl": null,
        "Cpu": null,
        "Cpk": null,
        "Ppk": null,
        "capability_basis": null,
        "capability_normal_equivalent": true,
        "simulated_Cp": null,
        "simulated_Cpk": null,
        "yield_sampling": null,
        "warnings": [],
        "calculation_fingerprint": "sha256:137b9bac0d4c6f3e655eb04ce9450c62296e02e564dec2d43bddb74ef8105658",
        "calculation_short_id": "fnv1a32:becf725e",
        "rng": {
          "algorithm": "mulberry32",
          "normal_sampler": "box-muller",
          "version": "1.0",
          "seed": 42
        },
        "histogram": {
          "bins": 24,
          "min": -0.2408051138309298,
          "max": 0.23024265385623355,
          "counts": [
            1,
            3,
            8,
            15,
            33,
            45,
            64,
            97,
            134,
            148,
            176,
            200,
            233,
            173,
            192,
            141,
            121,
            88,
            52,
            32,
            27,
            10,
            5,
            2
          ]
        }
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-corr",
      "kind": "normal-correlated",
      "inputs": {
        "tolerances": [
          {
            "name": "A",
            "half_tolerance": 0.3
          },
          {
            "name": "B",
            "half_tolerance": 0.3
          }
        ],
        "correlations": [
          {
            "a": "A",
            "b": "B",
            "rho": 0.5
          }
        ],
        "N": 2000,
        "seed": 3,
        "k_sigma": 3
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "std_analytic": 0.17320508075688773,
        "stack_nom": 0,
        "stack_dist_mean": 0,
        "stack_center": 0
      },
      "actual": {
        "mode": "monte_carlo",
        "profile": "dimensional",
        "n": 2,
        "N": 2000,
        "seed": 3,
        "k_sigma": 3,
        "unit": null,
        "correlated": true,
        "correlation_model": "two_piece_normal",
        "correlations": [
          {
            "a": "A",
            "b": "B",
            "i": 0,
            "j": 1,
            "rho": 0.5
          }
        ],
        "sensitivity_method": "spearman",
        "sensitivity_metric": "ranking",
        "sobol_N": null,
        "shapley_N": null,
        "sobol": null,
        "shapley": null,
        "tol": [
          0.3,
          0.3
        ],
        "half_tolerances": [
          0.3,
          0.3
        ],
        "tolerances": [
          {
            "name": "A",
            "nominal": 0,
            "half_tolerance": 0.3,
            "tol_plus": 0.3,
            "tol_minus": 0.3,
            "asymmetric": false,
            "coefficient": 1,
            "distribution": "normal",
            "mean_shift": 0,
            "error_mean": 0,
            "error_std": 0.09999999999999999
          },
          {
            "name": "B",
            "nominal": 0,
            "half_tolerance": 0.3,
            "tol_plus": 0.3,
            "tol_minus": 0.3,
            "asymmetric": false,
            "coefficient": 1,
            "distribution": "normal",
            "mean_shift": 0,
            "error_mean": 0,
            "error_std": 0.09999999999999999
          }
        ],
        "stack_nom": 0,
        "stack_shift": 0,
        "stack_dist_mean": 0,
        "stack_center": 0,
        "mean": -0.002382278670343534,
        "std": 0.1714048735062999,
        "std_analytic": 0.1732050807568877,
        "std_rel_err": -0.010393501407239818,
        "contributors": [
          {
            "name": "A",
            "sigma": 0.09999999999999999,
            "variance_share": 0.33333333333333337,
            "percent": 33.333333333333336,
            "sensitivity": 0.8507372816843204,
            "sensitivity_share": 49.80111607784782,
            "sensitivity_method": "spearman"
          },
          {
            "name": "B",
            "sigma": 0.09999999999999999,
            "variance_share": 0.33333333333333337,
            "percent": 33.333333333333336,
            "sensitivity": 0.8541279980319995,
            "sensitivity_share": 50.19888392215218,
            "sensitivity_method": "spearman"
          }
        ],
        "convergence": [
          {
            "N": 100,
            "std": 0.15246552526844098,
            "mean": -0.026431712282364253,
            "rel_err_vs_analytic": -0.11973987944127897
          },
          {
            "N": 1000,
            "std": 0.1688405344939381,
            "mean": -0.0038318729434149404,
            "rel_err_vs_analytic": -0.025198719598045292
          },
          {
            "N": 2000,
            "std": 0.17140487350629996,
            "mean": -0.0023822786703435283,
            "rel_err_vs_analytic": -0.010393501407239497
          }
        ],
        "p025": -0.3330031609661134,
        "p05": -0.28399280044198844,
        "p50": 0.001697352306280514,
        "p95": 0.2817131709326456,
        "p975": 0.33812195772720577,
        "p99": 0.4071256124135718,
        "stack_worst": 0.6,
        "stack_rss": 0.4242640687119285,
        "LSL": null,
        "USL": null,
        "yield": null,
        "reject_rate": null,
        "ppm_below": null,
        "ppm_above": null,
        "ppm_total": null,
        "below_count": null,
        "above_count": null,
        "in_spec_count": null,
        "Cp": null,
        "Cpl": null,
        "Cpu": null,
        "Cpk": null,
        "Ppk": null,
        "capability_basis": null,
        "capability_normal_equivalent": true,
        "simulated_Cp": null,
        "simulated_Cpk": null,
        "yield_sampling": null,
        "warnings": [],
        "calculation_fingerprint": "sha256:fd68a76322cdf0b0708ba5034b6851d8e07378bfd331fe21bb020597e6d4d07f",
        "calculation_short_id": "fnv1a32:d1d77423",
        "rng": {
          "algorithm": "mulberry32",
          "normal_sampler": "box-muller",
          "version": "1.0",
          "seed": 3
        },
        "histogram": {
          "bins": 24,
          "min": -0.5910900297564395,
          "max": 0.6340595063946799,
          "counts": [
            1,
            1,
            6,
            11,
            29,
            50,
            79,
            127,
            163,
            208,
            193,
            231,
            230,
            197,
            175,
            132,
            63,
            45,
            24,
            21,
            8,
            5,
            0,
            1
          ]
        }
      },
      "error_ulp": 1,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-gap",
      "kind": "gap-analytic",
      "inputs": {
        "tolerances": [
          {
            "name": "A",
            "nominal": 10,
            "half_tolerance": 0.1,
            "coefficient": 1
          },
          {
            "name": "B",
            "nominal": 5,
            "half_tolerance": 0.2,
            "coefficient": -1
          }
        ],
        "N": 2000,
        "seed": 42,
        "LSL": 4.8,
        "USL": 5.2
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "std_analytic": 0.07453559924999299,
        "stack_nom": 5,
        "stack_dist_mean": 0,
        "stack_center": 5
      },
      "actual": {
        "mode": "monte_carlo",
        "profile": "dimensional",
        "n": 2,
        "N": 2000,
        "seed": 42,
        "k_sigma": 3,
        "unit": null,
        "correlated": false,
        "correlation_model": null,
        "correlations": [],
        "sensitivity_method": "spearman",
        "sensitivity_metric": "ranking",
        "sobol_N": null,
        "shapley_N": null,
        "sobol": null,
        "shapley": null,
        "tol": [
          0.1,
          0.2
        ],
        "half_tolerances": [
          0.1,
          0.2
        ],
        "tolerances": [
          {
            "name": "A",
            "nominal": 10,
            "half_tolerance": 0.1,
            "tol_plus": 0.1,
            "tol_minus": 0.1,
            "asymmetric": false,
            "coefficient": 1,
            "distribution": "normal",
            "mean_shift": 0,
            "error_mean": 0,
            "error_std": 0.03333333333333333
          },
          {
            "name": "B",
            "nominal": 5,
            "half_tolerance": 0.2,
            "tol_plus": 0.2,
            "tol_minus": 0.2,
            "asymmetric": false,
            "coefficient": -1,
            "distribution": "normal",
            "mean_shift": 0,
            "error_mean": 0,
            "error_std": 0.06666666666666667
          }
        ],
        "stack_nom": 5,
        "stack_shift": 0,
        "stack_dist_mean": 0,
        "stack_center": 5,
        "mean": 5.0014233358185205,
        "std": 0.07503341986799607,
        "std_analytic": 0.07453559924999299,
        "std_rel_err": 0.006678964454734992,
        "contributors": [
          {
            "name": "A",
            "sigma": 0.03333333333333333,
            "variance_share": 0.19999999999999998,
            "percent": 19.999999999999996,
            "sensitivity": 0.43283467070866766,
            "sensitivity_share": 19.20465619225732,
            "sensitivity_method": "spearman"
          },
          {
            "name": "B",
            "sigma": 0.06666666666666667,
            "variance_share": 0.7999999999999999,
            "percent": 79.99999999999999,
            "sensitivity": -0.887793455948364,
            "sensitivity_share": 80.79534380774268,
            "sensitivity_method": "spearman"
          }
        ],
        "convergence": [
          {
            "N": 100,
            "std": 0.07451284813704952,
            "mean": 5.0100498215807034,
            "rel_err_vs_analytic": -0.0003052382106323183
          },
          {
            "N": 1000,
            "std": 0.07381717203788368,
            "mean": 5.002123817055456,
            "rel_err_vs_analytic": -0.009638712498972463
          },
          {
            "N": 2000,
            "std": 0.07503341986799597,
            "mean": 5.001423335818512,
            "rel_err_vs_analytic": 0.006678964454733688
          }
        ],
        "p025": 4.856769802213659,
        "p05": 4.879828957366541,
        "p50": 5.0019815925676,
        "p95": 5.1231290251465325,
        "p975": 5.148983196984692,
        "p99": 5.182120753245986,
        "stack_worst": 0.30000000000000004,
        "stack_rss": 0.223606797749979,
        "LSL": 4.8,
        "USL": 5.2,
        "yield": 0.9935,
        "reject_rate": 0.00649999999999995,
        "ppm_below": 3000,
        "ppm_above": 3500,
        "ppm_total": 6500,
        "below_count": 6,
        "above_count": 7,
        "in_spec_count": 1987,
        "Cp": 0.8884929779816952,
        "Cpl": 0.8948160973820216,
        "Cpu": 0.8821698585813688,
        "Cpk": 0.8821698585813688,
        "Ppk": 0.8821698585813688,
        "capability_basis": "simulated_monte_carlo",
        "capability_normal_equivalent": true,
        "simulated_Cp": 0.8884929779816952,
        "simulated_Cpk": 0.8821698585813688,
        "yield_sampling": {
          "N": 2000,
          "observed_pass": 1987,
          "observed_fail": 13,
          "observed_yield": 0.9935,
          "rule_of_three": 0.0015,
          "ppm_per_sample": 500,
          "ci_method": "wilson",
          "ci_level": 0.95,
          "ci_low": 0.9889104708274775,
          "ci_high": 0.9961974035059259
        },
        "warnings": [],
        "calculation_fingerprint": "sha256:dc088ad8eef4b8b91947a2ac4c3e174dd92a07e46bc98c4fa7b734ac84df3431",
        "calculation_short_id": "fnv1a32:e4a49ae8",
        "rng": {
          "algorithm": "mulberry32",
          "normal_sampler": "box-muller",
          "version": "1.0",
          "seed": 42
        },
        "histogram": {
          "bins": 24,
          "min": 4.751587706455361,
          "max": 5.258549402681989,
          "counts": [
            3,
            1,
            7,
            10,
            30,
            42,
            93,
            106,
            148,
            175,
            188,
            231,
            216,
            199,
            184,
            126,
            100,
            58,
            41,
            21,
            11,
            6,
            1,
            3
          ]
        }
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-uniform",
      "kind": "uniform",
      "inputs": {
        "tolerances": [
          {
            "half_tolerance": 0.3,
            "distribution": "uniform"
          }
        ],
        "N": 2000,
        "seed": 1
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "std_analytic": 0.17320508075688773,
        "stack_nom": 0,
        "stack_dist_mean": 0,
        "stack_center": 0
      },
      "actual": {
        "mode": "monte_carlo",
        "profile": "basic",
        "n": 1,
        "N": 2000,
        "seed": 1,
        "k_sigma": 3,
        "unit": null,
        "correlated": false,
        "correlation_model": null,
        "correlations": [],
        "sensitivity_method": "spearman",
        "sensitivity_metric": "ranking",
        "sobol_N": null,
        "shapley_N": null,
        "sobol": null,
        "shapley": null,
        "tol": [
          0.3
        ],
        "half_tolerances": [
          0.3
        ],
        "tolerances": [
          {
            "name": "T1",
            "nominal": 0,
            "half_tolerance": 0.3,
            "tol_plus": 0.3,
            "tol_minus": 0.3,
            "asymmetric": false,
            "coefficient": 1,
            "distribution": "uniform",
            "mean_shift": 0,
            "error_mean": 0,
            "error_std": 0.17320508075688773
          }
        ],
        "stack_nom": 0,
        "stack_shift": 0,
        "stack_dist_mean": 0,
        "stack_center": 0,
        "mean": -0.004139741799258547,
        "std": 0.17226545871996782,
        "std_analytic": 0.17320508075688773,
        "std_rel_err": -0.00542491035952216,
        "contributors": [
          {
            "name": "T1",
            "sigma": 0.17320508075688773,
            "variance_share": 1,
            "percent": 100,
            "sensitivity": 1,
            "sensitivity_share": 100,
            "sensitivity_method": "spearman"
          }
        ],
        "convergence": [
          {
            "N": 100,
            "std": 0.17771715172505456,
            "mean": -0.00740113593405113,
            "rel_err_vs_analytic": 0.026050453880738154
          },
          {
            "N": 1000,
            "std": 0.17362656284117153,
            "mean": -0.004931939244037503,
            "rel_err_vs_analytic": 0.002433427948198582
          },
          {
            "N": 2000,
            "std": 0.1722654587199678,
            "mean": -0.004139741799258631,
            "rel_err_vs_analytic": -0.005424910359522321
          }
        ],
        "p025": -0.28559853569604454,
        "p05": -0.2736876399256289,
        "p50": -0.002751583233475685,
        "p95": 0.26932872910983857,
        "p975": 0.2835912707727402,
        "p99": 0.2938777999486774,
        "stack_worst": 0.3,
        "stack_rss": 0.3,
        "LSL": null,
        "USL": null,
        "yield": null,
        "reject_rate": null,
        "ppm_below": null,
        "ppm_above": null,
        "ppm_total": null,
        "below_count": null,
        "above_count": null,
        "in_spec_count": null,
        "Cp": null,
        "Cpl": null,
        "Cpu": null,
        "Cpk": null,
        "Ppk": null,
        "capability_basis": null,
        "capability_normal_equivalent": false,
        "simulated_Cp": null,
        "simulated_Cpk": null,
        "yield_sampling": null,
        "warnings": [],
        "calculation_fingerprint": "sha256:ecf1d0003b85ea6cb204e64474bad4fa5d5219e2ea5299a3be4285c26bc13306",
        "calculation_short_id": "fnv1a32:92877e6a",
        "rng": {
          "algorithm": "mulberry32",
          "normal_sampler": "box-muller",
          "version": "1.0",
          "seed": 1
        },
        "histogram": {
          "bins": 24,
          "min": -0.29959239657036957,
          "max": 0.29991264576092364,
          "counts": [
            96,
            93,
            75,
            86,
            80,
            78,
            73,
            104,
            77,
            98,
            77,
            74,
            77,
            75,
            89,
            111,
            83,
            82,
            81,
            84,
            82,
            74,
            77,
            74
          ]
        }
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-asym",
      "kind": "asymmetric-uniform",
      "inputs": {
        "tolerances": [
          {
            "name": "A",
            "tol_plus": 0.2,
            "tol_minus": 0.05,
            "distribution": "uniform"
          }
        ],
        "N": 2000,
        "seed": 2
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "std_analytic": 0.07216878364870323,
        "stack_nom": 0,
        "stack_dist_mean": 0.07500000000000001,
        "stack_center": 0.07500000000000001
      },
      "actual": {
        "mode": "monte_carlo",
        "profile": "dimensional",
        "n": 1,
        "N": 2000,
        "seed": 2,
        "k_sigma": 3,
        "unit": null,
        "correlated": false,
        "correlation_model": null,
        "correlations": [],
        "sensitivity_method": "spearman",
        "sensitivity_metric": "ranking",
        "sobol_N": null,
        "shapley_N": null,
        "sobol": null,
        "shapley": null,
        "tol": [
          0.125
        ],
        "half_tolerances": [
          0.125
        ],
        "tolerances": [
          {
            "name": "A",
            "nominal": 0,
            "half_tolerance": 0.125,
            "tol_plus": 0.2,
            "tol_minus": 0.05,
            "asymmetric": true,
            "coefficient": 1,
            "distribution": "uniform",
            "mean_shift": 0,
            "error_mean": 0.07500000000000001,
            "error_std": 0.07216878364870323
          }
        ],
        "stack_nom": 0,
        "stack_shift": 0,
        "stack_dist_mean": 0.07500000000000001,
        "stack_center": 0.07500000000000001,
        "mean": 0.07602517494233328,
        "std": 0.07325487842647432,
        "std_analytic": 0.07216878364870323,
        "std_rel_err": 0.015049370695478098,
        "contributors": [
          {
            "name": "A",
            "sigma": 0.07216878364870323,
            "variance_share": 1,
            "percent": 100,
            "sensitivity": 1,
            "sensitivity_share": 100,
            "sensitivity_method": "spearman"
          }
        ],
        "convergence": [
          {
            "N": 100,
            "std": 0.07900779197774346,
            "mean": 0.0795574329205556,
            "rel_err_vs_analytic": 0.0947640791942753
          },
          {
            "N": 1000,
            "std": 0.07406583650098149,
            "mean": 0.07496986470551918,
            "rel_err_vs_analytic": 0.02628633539831519
          },
          {
            "N": 2000,
            "std": 0.07325487842647431,
            "mean": 0.07602517494233314,
            "rel_err_vs_analytic": 0.015049370695477906
          }
        ],
        "p025": -0.04336294987006113,
        "p05": -0.037417014199309054,
        "p50": 0.0779186438769102,
        "p95": 0.18740688158432023,
        "p975": 0.193495907925535,
        "p99": 0.19737677624216304,
        "stack_worst": 0.2,
        "stack_rss": 0.125,
        "LSL": null,
        "USL": null,
        "yield": null,
        "reject_rate": null,
        "ppm_below": null,
        "ppm_above": null,
        "ppm_total": null,
        "below_count": null,
        "above_count": null,
        "in_spec_count": null,
        "Cp": null,
        "Cpl": null,
        "Cpu": null,
        "Cpk": null,
        "Ppk": null,
        "capability_basis": null,
        "capability_normal_equivalent": false,
        "simulated_Cp": null,
        "simulated_Cpk": null,
        "yield_sampling": null,
        "warnings": [],
        "calculation_fingerprint": "sha256:4d5694aa50680e08cc57508c683af4dba0b11f09b6a215b7f0cfb4cac0623257",
        "calculation_short_id": "fnv1a32:7cf0c4d8",
        "rng": {
          "algorithm": "mulberry32",
          "normal_sampler": "box-muller",
          "version": "1.0",
          "seed": 2
        },
        "histogram": {
          "bins": 24,
          "min": -0.04996221368201077,
          "max": 0.19959185346961023,
          "counts": [
            91,
            91,
            81,
            90,
            75,
            78,
            88,
            77,
            84,
            60,
            73,
            91,
            87,
            76,
            63,
            89,
            101,
            82,
            89,
            80,
            93,
            80,
            96,
            85
          ]
        }
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-tri",
      "kind": "triangular",
      "inputs": {
        "tolerances": [
          {
            "half_tolerance": 0.3,
            "distribution": "triangular"
          }
        ],
        "N": 200,
        "seed": 1
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "std_analytic": 0.1224744871391589,
        "stack_nom": 0,
        "stack_dist_mean": 0,
        "stack_center": 0
      },
      "actual": {
        "mode": "monte_carlo",
        "profile": "basic",
        "n": 1,
        "N": 200,
        "seed": 1,
        "k_sigma": 3,
        "unit": null,
        "correlated": false,
        "correlation_model": null,
        "correlations": [],
        "sensitivity_method": "spearman",
        "sensitivity_metric": "ranking",
        "sobol_N": null,
        "shapley_N": null,
        "sobol": null,
        "shapley": null,
        "tol": [
          0.3
        ],
        "half_tolerances": [
          0.3
        ],
        "tolerances": [
          {
            "name": "T1",
            "nominal": 0,
            "half_tolerance": 0.3,
            "tol_plus": 0.3,
            "tol_minus": 0.3,
            "asymmetric": false,
            "coefficient": 1,
            "distribution": "triangular",
            "mean_shift": 0,
            "error_mean": 0,
            "error_std": 0.12247448713915891
          }
        ],
        "stack_nom": 0,
        "stack_shift": 0,
        "stack_dist_mean": 0,
        "stack_center": 0,
        "mean": -0.0067126631474676976,
        "std": 0.12899772299387677,
        "std_analytic": 0.12247448713915891,
        "std_rel_err": 0.053261997719622804,
        "contributors": [
          {
            "name": "T1",
            "sigma": 0.12247448713915891,
            "variance_share": 1,
            "percent": 100,
            "sensitivity": 1,
            "sensitivity_share": 100,
            "sensitivity_method": "spearman"
          }
        ],
        "convergence": [
          {
            "N": 100,
            "std": 0.1262327596034849,
            "mean": -0.0018808467574696229,
            "rel_err_vs_analytic": 0.03068616617316988
          },
          {
            "N": 200,
            "std": 0.12899772299387682,
            "mean": -0.006712663147467694,
            "rel_err_vs_analytic": 0.053261997719623255
          }
        ],
        "p025": -0.22662270599894632,
        "p05": -0.20635052788297065,
        "p50": -0.022060353198862293,
        "p95": 0.22455479921551857,
        "p975": 0.2562729811783365,
        "p99": 0.2694734578137188,
        "stack_worst": 0.3,
        "stack_rss": 0.3,
        "LSL": null,
        "USL": null,
        "yield": null,
        "reject_rate": null,
        "ppm_below": null,
        "ppm_above": null,
        "ppm_total": null,
        "below_count": null,
        "above_count": null,
        "in_spec_count": null,
        "Cp": null,
        "Cpl": null,
        "Cpu": null,
        "Cpk": null,
        "Ppk": null,
        "capability_basis": null,
        "capability_normal_equivalent": false,
        "simulated_Cp": null,
        "simulated_Cpk": null,
        "yield_sampling": null,
        "warnings": [],
        "calculation_fingerprint": "sha256:d40c7faec535335db0c32bc992781374a1f0a5c7daa878ad1f67f50d2a6be5d8",
        "calculation_short_id": "fnv1a32:8062325d",
        "rng": {
          "algorithm": "mulberry32",
          "normal_sampler": "box-muller",
          "version": "1.0",
          "seed": 1
        },
        "histogram": {
          "bins": 24,
          "min": -0.27780924038166366,
          "max": 0.28349652192146396,
          "counts": [
            2,
            2,
            6,
            6,
            5,
            12,
            12,
            9,
            18,
            15,
            14,
            6,
            14,
            12,
            12,
            9,
            10,
            4,
            10,
            6,
            5,
            3,
            4,
            4
          ]
        }
      },
      "error_ulp": 1,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-pythag",
      "kind": "k1-pythagorean",
      "inputs": {
        "tol1": 0.3,
        "tol2": 0.4,
        "k_sigma": 1,
        "N": 200,
        "seed": 1
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "std_analytic": 0.5,
        "stack_nom": 0,
        "stack_dist_mean": 0,
        "stack_center": 0
      },
      "actual": {
        "mode": "monte_carlo",
        "profile": "basic",
        "n": 2,
        "N": 200,
        "seed": 1,
        "k_sigma": 1,
        "unit": null,
        "correlated": false,
        "correlation_model": null,
        "correlations": [],
        "sensitivity_method": "spearman",
        "sensitivity_metric": "ranking",
        "sobol_N": null,
        "shapley_N": null,
        "sobol": null,
        "shapley": null,
        "tol": [
          0.3,
          0.4
        ],
        "half_tolerances": [
          0.3,
          0.4
        ],
        "tolerances": [
          {
            "name": "T1",
            "nominal": 0,
            "half_tolerance": 0.3,
            "tol_plus": 0.3,
            "tol_minus": 0.3,
            "asymmetric": false,
            "coefficient": 1,
            "distribution": "normal",
            "mean_shift": 0,
            "error_mean": 0,
            "error_std": 0.3
          },
          {
            "name": "T2",
            "nominal": 0,
            "half_tolerance": 0.4,
            "tol_plus": 0.4,
            "tol_minus": 0.4,
            "asymmetric": false,
            "coefficient": 1,
            "distribution": "normal",
            "mean_shift": 0,
            "error_mean": 0,
            "error_std": 0.4
          }
        ],
        "stack_nom": 0,
        "stack_shift": 0,
        "stack_dist_mean": 0,
        "stack_center": 0,
        "mean": 0.023532249606278057,
        "std": 0.5013490355665359,
        "std_analytic": 0.5,
        "std_rel_err": 0.0026980711330717444,
        "contributors": [
          {
            "name": "T1",
            "sigma": 0.3,
            "variance_share": 0.36,
            "percent": 36,
            "sensitivity": 0.5699437485937149,
            "sensitivity_share": 34.45224009923498,
            "sensitivity_method": "spearman"
          },
          {
            "name": "T2",
            "sigma": 0.4,
            "variance_share": 0.6400000000000001,
            "percent": 64.00000000000001,
            "sensitivity": 0.78614415360384,
            "sensitivity_share": 65.54775990076502,
            "sensitivity_method": "spearman"
          }
        ],
        "convergence": [
          {
            "N": 100,
            "std": 0.4640898909401526,
            "mean": 0.0880523409979783,
            "rel_err_vs_analytic": -0.07182021811969475
          },
          {
            "N": 200,
            "std": 0.5013490355665361,
            "mean": 0.023532249606277957,
            "rel_err_vs_analytic": 0.0026980711330721885
          }
        ],
        "p025": -0.9809202386941234,
        "p05": -0.8213829019389616,
        "p50": -0.006499072250991389,
        "p95": 0.8414722878783005,
        "p975": 0.8806793812131991,
        "p99": 1.190273502711811,
        "stack_worst": 0.7,
        "stack_rss": 0.5,
        "LSL": null,
        "USL": null,
        "yield": null,
        "reject_rate": null,
        "ppm_below": null,
        "ppm_above": null,
        "ppm_total": null,
        "below_count": null,
        "above_count": null,
        "in_spec_count": null,
        "Cp": null,
        "Cpl": null,
        "Cpu": null,
        "Cpk": null,
        "Ppk": null,
        "capability_basis": null,
        "capability_normal_equivalent": true,
        "simulated_Cp": null,
        "simulated_Cpk": null,
        "yield_sampling": null,
        "warnings": [],
        "calculation_fingerprint": "sha256:955dc4f7db524fd3068e9d622b00b5835f98a3a1e4ccd6801a2c49f5254431df",
        "calculation_short_id": "fnv1a32:378e2ed3",
        "rng": {
          "algorithm": "mulberry32",
          "normal_sampler": "box-muller",
          "version": "1.0",
          "seed": 1
        },
        "histogram": {
          "bins": 24,
          "min": -1.1968348088343386,
          "max": 1.5239373158772258,
          "counts": [
            4,
            2,
            4,
            3,
            8,
            8,
            10,
            12,
            14,
            23,
            19,
            11,
            23,
            13,
            9,
            11,
            7,
            10,
            6,
            1,
            0,
            1,
            0,
            1
          ]
        }
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-one",
      "kind": "single-normal",
      "inputs": {
        "tol1": 0.3,
        "N": 200,
        "seed": 1
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "std_analytic": 0.09999999999999999,
        "stack_nom": 0,
        "stack_dist_mean": 0,
        "stack_center": 0
      },
      "actual": {
        "mode": "monte_carlo",
        "profile": "basic",
        "n": 1,
        "N": 200,
        "seed": 1,
        "k_sigma": 3,
        "unit": null,
        "correlated": false,
        "correlation_model": null,
        "correlations": [],
        "sensitivity_method": "spearman",
        "sensitivity_metric": "ranking",
        "sobol_N": null,
        "shapley_N": null,
        "sobol": null,
        "shapley": null,
        "tol": [
          0.3
        ],
        "half_tolerances": [
          0.3
        ],
        "tolerances": [
          {
            "name": "T1",
            "nominal": 0,
            "half_tolerance": 0.3,
            "tol_plus": 0.3,
            "tol_minus": 0.3,
            "asymmetric": false,
            "coefficient": 1,
            "distribution": "normal",
            "mean_shift": 0,
            "error_mean": 0,
            "error_std": 0.09999999999999999
          }
        ],
        "stack_nom": 0,
        "stack_shift": 0,
        "stack_dist_mean": 0,
        "stack_center": 0,
        "mean": 0.012677756672132272,
        "std": 0.10179341134116256,
        "std_analytic": 0.09999999999999999,
        "std_rel_err": 0.017934113411625652,
        "contributors": [
          {
            "name": "T1",
            "sigma": 0.09999999999999999,
            "variance_share": 1,
            "percent": 100,
            "sensitivity": 1,
            "sensitivity_share": 100,
            "sensitivity_method": "spearman"
          }
        ],
        "convergence": [
          {
            "N": 100,
            "std": 0.09908603254536211,
            "mean": 0.02082431107275392,
            "rel_err_vs_analytic": -0.009139674546378845
          },
          {
            "N": 200,
            "std": 0.1017934113411625,
            "mean": 0.012677756672132287,
            "rel_err_vs_analytic": 0.017934113411625097
          }
        ],
        "p025": -0.17940868186336836,
        "p05": -0.1501701829156665,
        "p50": 0.02188929526319359,
        "p95": 0.16755961116243268,
        "p975": 0.20419914542816128,
        "p99": 0.26011200691561687,
        "stack_worst": 0.3,
        "stack_rss": 0.3,
        "LSL": null,
        "USL": null,
        "yield": null,
        "reject_rate": null,
        "ppm_below": null,
        "ppm_above": null,
        "ppm_total": null,
        "below_count": null,
        "above_count": null,
        "in_spec_count": null,
        "Cp": null,
        "Cpl": null,
        "Cpu": null,
        "Cpk": null,
        "Ppk": null,
        "capability_basis": null,
        "capability_normal_equivalent": true,
        "simulated_Cp": null,
        "simulated_Cpk": null,
        "yield_sampling": null,
        "warnings": [],
        "calculation_fingerprint": "sha256:3516832d832351d18a958af4d0702a8a071f42c81f88ed7e06eb42f3b74c8345",
        "calculation_short_id": "fnv1a32:06ac77d3",
        "rng": {
          "algorithm": "mulberry32",
          "normal_sampler": "box-muller",
          "version": "1.0",
          "seed": 1
        },
        "histogram": {
          "bins": 24,
          "min": -0.2959158652825782,
          "max": 0.2656438731808044,
          "counts": [
            1,
            0,
            2,
            1,
            2,
            4,
            1,
            10,
            20,
            12,
            14,
            10,
            9,
            25,
            19,
            13,
            17,
            16,
            10,
            6,
            2,
            2,
            2,
            2
          ]
        }
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    }
  ]
}
