{
 "assumptions": {
  "feeds": 15,
  "run_start_h": 5.0,
  "deadline_h": 7.0,
  "office": [
   9.0,
   17.0
  ],
  "analyst_cost_per_h": 45.0,
  "faults": {
   "late_file": {
    "p": 0.02,
    "label": "Late file"
   },
   "missing_file": {
    "p": 0.01,
    "label": "Missing export (manual step)"
   },
   "schema_drift": {
    "p": 0.004,
    "label": "Renamed / new column"
   },
   "duplicate": {
    "p": 0.005,
    "label": "File loaded twice"
   },
   "partial": {
    "p": 0.006,
    "label": "Partial or empty file"
   },
   "false_alarm": {
    "p": 0.008,
    "label": "False alarm (check rule)"
   }
  },
  "code_bug_p_per_day": 0.003,
  "detectors": {
   "classic": [
    0.75
   ],
   "crew": [
    0.6,
    0.5,
    0.5,
    0.5
   ]
  },
  "instance_down_p": 0.02,
  "role_copies": 2,
  "crew_fix_success_per_try": 0.6,
  "crew_max_tries": 3,
  "approval_wait_min": 20,
  "fix_review_min": 20,
  "crew_upkeep_h_per_year": 104,
  "token_cost": {
   "triage": 0.001,
   "fix_try": 0.036,
   "opus_try": 0.12
  },
  "years": 300,
  "seed": 7,
  "silent_share": {
   "classic": 0.25,
   "crew": 0.05
  }
 },
 "analytic": {
  "incidents_per_day_lambda": 0.7979999999999999,
  "p_clean_day_formula": 0.44049891533383506,
  "p_clean_by_feeds": [
   [
    1,
    0.947
   ],
   [
    2,
    0.8968089999999999
   ],
   [
    3,
    0.8492781229999998
   ],
   [
    4,
    0.8042663824809998
   ],
   [
    5,
    0.7616402642095068
   ],
   [
    6,
    0.7212733302064029
   ],
   [
    7,
    0.6830458437054635
   ],
   [
    8,
    0.6468444139890739
   ],
   [
    9,
    0.612561660047653
   ],
   [
    10,
    0.5800958920651273
   ],
   [
    11,
    0.5493508097856755
   ],
   [
    12,
    0.5202352168670348
   ],
   [
    13,
    0.4926627503730819
   ],
   [
    14,
    0.4665516246033085
   ],
   [
    15,
    0.44182438849933314
   ],
   [
    16,
    0.41840769590886845
   ],
   [
    17,
    0.3962320880256984
   ],
   [
    18,
    0.37523178736033636
   ],
   [
    19,
    0.35534450263023853
   ],
   [
    20,
    0.3365112439908359
   ],
   [
    21,
    0.31867614805932154
   ],
   [
    22,
    0.3017863122121775
   ],
   [
    23,
    0.2857916376649321
   ],
   [
    24,
    0.27064468086869065
   ],
   [
    25,
    0.25630051278265004
   ],
   [
    26,
    0.24271658560516957
   ],
   [
    27,
    0.22985260656809559
   ],
   [
    28,
    0.2176704184199865
   ],
   [
    29,
    0.20613388624372722
   ],
   [
    30,
    0.19520879027280966
   ],
   [
    31,
    0.18486272438835075
   ],
   [
    32,
    0.17506499999576813
   ],
   [
    33,
    0.16578655499599243
   ],
   [
    34,
    0.15699986758120482
   ],
   [
    35,
    0.14867887459940096
   ],
   [
    36,
    0.1407988942456327
   ],
   [
    37,
    0.13333655285061416
   ],
   [
    38,
    0.1262697155495316
   ],
   [
    39,
    0.11957742062540641
   ],
   [
    40,
    0.11323981733225987
   ]
  ],
  "p_silent_by_detectors": [
   [
    1,
    0.5
   ],
   [
    2,
    0.25
   ],
   [
    3,
    0.125
   ],
   [
    4,
    0.0625
   ],
   [
    5,
    0.03125
   ],
   [
    6,
    0.015625
   ]
  ],
  "silent_share": {
   "classic": 0.25,
   "crew": 0.05
  },
  "p_stall_central": 0.02,
  "p_stall_decentral_per_role": 0.0004,
  "p_stall_decentral_any_role": 0.0035942453727753065,
  "p_fixed_within_k_tries": [
   [
    1,
    0.6
   ],
   [
    2,
    0.84
   ],
   [
    3,
    0.9359999999999999
   ],
   [
    4,
    0.9744
   ],
   [
    5,
    0.98976
   ]
  ]
 },
 "simulated": {
  "p_clean_day": 0.44681278538812785,
  "incidents_per_year": 291.9266666666667,
  "stale_report_hours_per_year": {
   "classic": 5199.822629065044,
   "crew": 1956.8666869932074
  },
  "people_hours_per_year": {
   "classic": 533.9073013632066,
   "crew": 121.28183333333337
  },
  "people_cost_per_year": {
   "classic": 24025.828561344297,
   "crew": 5457.682500000002
  },
  "incident_mix_per_year": {
   "duplicate": 27.826666666666668,
   "late_file": 109.42,
   "false_alarm": 43.81666666666667,
   "partial": 33.44,
   "missing_file": 54.126666666666665,
   "schema_drift": 22.206666666666667,
   "code_bug": 1.09
  },
  "token_cost_per_year": 1.8666066666666532,
  "silent_errors_per_year": {
   "classic": 15.373333333333333,
   "crew": 2.9
  },
  "time_to_fix_hours": {
   "classic": {
    "p50": 9.153987745929303,
    "p90": 56.03114787820972,
    "p99": 120.6457751404278
   },
   "crew": {
    "p50": 1.1260707840629505,
    "p90": 31.011190171488877,
    "p99": 60.14775812319494
   }
  },
  "median_hours_by_fault": {
   "duplicate": {
    "classic": 9.138211637509634,
    "crew": 0.43333333333333335
   },
   "late_file": {
    "classic": 6.395586011821867,
    "crew": 0.7826247697965875
   },
   "partial": {
    "classic": 14.169513741717362,
    "crew": 8.23527809454733
   },
   "missing_file": {
    "classic": 10.937012583427475,
    "crew": 8.012773049856008
   },
   "schema_drift": {
    "classic": 9.709714255137094,
    "crew": 4.616150837518293
   },
   "code_bug": {
    "classic": 11.629119467902587,
    "crew": 4.632910588932055
   }
  },
  "cdf": {
   "classic": [
    [
     0.25,
     0.0
    ],
    [
     0.3,
     0.0
    ],
    [
     0.36,
     0.0
    ],
    [
     0.432,
     0.0
    ],
    [
     0.518,
     0.0
    ],
    [
     0.622,
     0.0
    ],
    [
     0.746,
     0.0
    ],
    [
     0.896,
     0.0
    ],
    [
     1.075,
     0.0
    ],
    [
     1.29,
     0.0
    ],
    [
     1.548,
     0.0
    ],
    [
     1.858,
     0.0
    ],
    [
     2.229,
     0.0
    ],
    [
     2.675,
     0.0
    ],
    [
     3.21,
     0.0
    ],
    [
     3.852,
     0.0
    ],
    [
     4.622,
     0.0
    ],
    [
     5.547,
     0.0491986081442371
    ],
    [
     6.656,
     0.27806214985288785
    ],
    [
     7.987,
     0.41292168796098505
    ],
    [
     9.584,
     0.5269436943291282
    ],
    [
     11.501,
     0.6103744306960622
    ],
    [
     13.802,
     0.65034326172531
    ],
    [
     16.562,
     0.6657396584848119
    ],
    [
     19.874,
     0.6694073865086723
    ],
    [
     23.849,
     0.6705224833071353
    ],
    [
     28.619,
     0.6707374417261162
    ],
    [
     34.343,
     0.7868687275805086
    ],
    [
     41.211,
     0.8103529348541642
    ],
    [
     49.453,
     0.8151357596764875
    ],
    [
     59.344,
     0.9396369889699461
    ],
    [
     71.213,
     0.9593594239114371
    ],
    [
     85.455,
     0.9679577606706703
    ],
    [
     102.547,
     0.9785713326078487
    ],
    [
     123.056,
     0.9915763169561888
    ],
    [
     147.667,
     0.9976085875888383
    ],
    [
     177.2,
     1.0
    ]
   ],
   "crew": [
    [
     0.25,
     0.0
    ],
    [
     0.3,
     0.0
    ],
    [
     0.36,
     0.0
    ],
    [
     0.432,
     0.0
    ],
    [
     0.518,
     0.11313530288984724
    ],
    [
     0.622,
     0.1731624413902436
    ],
    [
     0.746,
     0.2930017599720554
    ],
    [
     0.896,
     0.41206185428506176
    ],
    [
     1.075,
     0.4867733397820859
    ],
    [
     1.29,
     0.5247806752381337
    ],
    [
     1.548,
     0.540821947254578
    ],
    [
     1.858,
     0.5460078191124904
    ],
    [
     2.229,
     0.5472975696263754
    ],
    [
     2.675,
     0.5476603119584056
    ],
    [
     3.21,
     0.547767791167896
    ],
    [
     3.852,
     0.5504279016027838
    ],
    [
     4.622,
     0.5957303884029933
    ],
    [
     5.547,
     0.6329181948866766
    ],
    [
     6.656,
     0.7060712318460898
    ],
    [
     7.987,
     0.785861109991536
    ],
    [
     9.584,
     0.8331519621673182
    ],
    [
     11.501,
     0.8536133166740558
    ],
    [
     13.802,
     0.859941155132804
    ],
    [
     16.562,
     0.8620504346190534
    ],
    [
     19.874,
     0.8625206561605739
    ],
    [
     23.849,
     0.8626012655676918
    ],
    [
     28.619,
     0.8718847822874263
    ],
    [
     34.343,
     0.92182230999691
    ],
    [
     41.211,
     0.9260005642658499
    ],
    [
     49.453,
     0.926941007348891
    ],
    [
     59.344,
     0.9891714696438407
    ],
    [
     71.213,
     0.9925033251380436
    ],
    [
     85.455,
     0.9941289481815861
    ],
    [
     102.547,
     0.9962516625690218
    ],
    [
     123.056,
     0.9986027702766246
    ],
    [
     147.667,
     0.9995835180632247
    ],
    [
     177.2,
     1.0
    ]
   ]
  }
 }
}