{
 "collection": {
  "note": "Collection checks. Every file's parsed rows matched its published row count (rows_reconciled). Counts are rounded to two significant figures and file and product totals are left out, so the drugs cannot be looked up in the public files.",
  "outside_states_dc": 980,
  "population": 80000,
  "pre_design": {
   "design_committed_min": 0.0,
   "design_written_min": -19.4,
   "first_bulk_download_min": 1.7,
   "note": "What was fetched or read before the design commit (1a88ad316), from the run's tool-call log. Times are minutes relative to that commit (negative = before). No prescribing data for the study years, no payment record for either study drug, no join and no outcome were read before it.",
   "reads": [
    {
     "min": -35.7,
     "what": "terms, catalog metadata, data dictionaries and methodology documents for both sources"
    },
    {
     "min": -30.2,
     "sample_records": 2,
     "what": "payments 2023 API: the file's total row count and 2 sample payment records, both for products outside the study class"
    },
    {
     "min": -30.0,
     "product_counts": 5,
     "what": "payments 2023 API: whole-file counts of payment records for 5 product names (the study drugs' lead products, one other product in the class, two products of another class); used to pick the class, to assign Drug A and Drug B and to confirm both drugs had enough paid prescribers"
    },
    {
     "min": -27.4,
     "what": "payments 2023 CSV: the first 2,000,000 bytes saved to test byte ranges; not opened until after the design commit"
    },
    {
     "min": -27.2,
     "what": "payments 2023 CSV: a 100,000,000-byte range to time the transfer, deleted unread"
    },
    {
     "min": -26.1,
     "what": "prescribing 2024 API (not a study year): one row requested, only the column names read"
    },
    {
     "min": -26.0,
     "what": "two prescribing aggregate queries; both timed out with nothing received"
    }
   ]
  },
  "prescribers_all_three_years": 81000,
  "rows_reconciled": {
   "payments_2022": true,
   "payments_2023": true,
   "prescribing_2021": true,
   "prescribing_2022": true,
   "prescribing_2023": true
  }
 },
 "design": {
  "bootstrap_draws": 1000,
  "divisions": 9,
  "holdout_max_wrong_pct": 20.0,
  "holdout_threshold_points": 1,
  "holdout_trials": 2000,
  "holdout_works_points": 2,
  "interval_pct": 95,
  "min50_claims": 50,
  "min_cell": 11,
  "p1_bar_points": 10,
  "p3_bar_points": 4,
  "product_floor_claims": 11,
  "specialty_min_prescribers": 500
 },
 "estimates": {
  "drugs": {
   "A": {
    "dose_1": {
     "estimate": -2.455770298277564,
     "interval": [
      -3.188168090014432,
      -1.7420492352948378
     ],
     "n_at_least_11": true
    },
    "dose_2-4": {
     "estimate": -2.252431757716383,
     "interval": [
      -3.2538950450166055,
      -1.348529630651186
     ],
     "n_at_least_11": true
    },
    "dose_5+": {
     "estimate": -0.45039255636561354,
     "interval": [
      -2.520286857496514,
      1.5370116043012163
     ],
     "n_at_least_11": true
    },
    "groups": {
     "dropped": {
      "n_at_least_11": true,
      "value": {
       "change_2022": -1.238622443827694,
       "change_2023": -2.0563976384672884
      }
     },
     "engaged_2023": {
      "n_at_least_11": true,
      "value": {
       "change_2022": -1.511743804645107,
       "change_2023": -2.9561064216592854
      }
     },
     "kept_engaged": {
      "n_at_least_11": true,
      "value": {
       "change_2022": -1.66378234485353,
       "change_2023": -3.0895817906676797
      }
     },
     "never_engaged": {
      "n_at_least_11": true,
      "value": {
       "change_2022": 0.292739491082898,
       "change_2023": -0.23736038841163065
      }
     },
     "newly_engaged": {
      "n_at_least_11": true,
      "value": {
       "change_2022": -0.9339259077532631,
       "change_2023": -2.448837298306927
      }
     },
     "not_engaged_2023": {
      "n_at_least_11": true,
      "value": {
       "change_2022": 0.09766606897650831,
       "change_2023": -0.4690794962318705
      }
     }
    },
    "matched": {
     "estimate": -2.383623084692413,
     "interval": [
      -2.694241079816521,
      -2.1121660867314995
     ]
    },
    "matched_gap_by_year": {
     "2021": -0.28474643046254144,
     "2022": -0.0672727999094004,
     "2023": -2.31380525771464
    },
    "matched_min50": {
     "estimate": -1.299722962658385,
     "interval": [
      -1.6820775916965616,
      -0.9462631406388923
     ]
    },
    "new_engagement": {
     "estimate": -2.2465324578052406,
     "interval": [
      -2.8602354423470935,
      -1.7123081098082789
     ],
     "interval_state_clusters": [
      -2.8376805784226837,
      -1.5731726886680368
     ]
    },
    "other_drug": {
     "estimate": 1.8536938966302956,
     "interval": [
      1.3567133263379516,
      2.444410887209891
     ]
    },
    "payments_2023": {
     "median_payments_per_engaged": 3.0
    },
    "payments_2023_new": {
     "median_payments": 1.0
    },
    "placebo": {
     "estimate": 0.21747363055314042,
     "interval": [
      -0.680501107633707,
      0.9714186774064079
     ]
    },
    "placebo_2021_match": {
     "estimate": -2.7021029234282157,
     "interval": [
      -3.3700271125980175,
      -2.0561715437051733
     ]
    },
    "raw": {
     "estimate": -10.633005518402612,
     "interval": [
      -11.021055517261704,
      -10.222952352195595
     ]
    },
    "regression": {
     "estimate": -3.1313554521534144,
     "interval": [
      -3.418019732223589,
      -2.8446911720832397
     ],
     "prior_share_coef": 0.709447516052593
    },
    "regression_min50": {
     "estimate": -1.5169818059531082,
     "interval": [
      -1.8158850161142188,
      -1.2180785957919975
     ]
    },
    "trend_adjusted": {
     "estimate": -2.464006088358381,
     "interval": [
      -3.402051958484339,
      -1.4820133805920301
     ]
    },
    "trend_adjusted_2021_match": {
     "estimate": 0.4555704656229751,
     "interval": [
      -0.4960713448816875,
      1.3091613903184998
     ]
    }
   },
   "B": {
    "dose_1": {
     "estimate": 3.66015224214066,
     "interval": [
      2.998951138577767,
      4.375753598010322
     ],
     "n_at_least_11": true
    },
    "dose_2-4": {
     "estimate": 4.408210055940692,
     "interval": [
      3.48531643771087,
      5.439017493264162
     ],
     "n_at_least_11": true
    },
    "dose_5+": {
     "estimate": 6.232973871878731,
     "interval": [
      4.878077623546854,
      7.669568659704436
     ],
     "n_at_least_11": true
    },
    "groups": {
     "dropped": {
      "n_at_least_11": true,
      "value": {
       "change_2022": 3.7378262024962616,
       "change_2023": 5.136462927142592
      }
     },
     "engaged_2023": {
      "n_at_least_11": true,
      "value": {
       "change_2022": 4.000756219730505,
       "change_2023": 7.46484274258011
      }
     },
     "kept_engaged": {
      "n_at_least_11": true,
      "value": {
       "change_2022": 4.571418665251869,
       "change_2023": 7.74339131834985
      }
     },
     "never_engaged": {
      "n_at_least_11": true,
      "value": {
       "change_2022": 1.5124136914805888,
       "change_2023": 3.263840246348142
      }
     },
     "newly_engaged": {
      "n_at_least_11": true,
      "value": {
       "change_2022": 2.4664699857239363,
       "change_2023": 6.715935488108112
      }
     },
     "not_engaged_2023": {
      "n_at_least_11": true,
      "value": {
       "change_2022": 1.7733050826947547,
       "change_2023": 3.483373089806765
      }
     }
    },
    "matched": {
     "estimate": 4.57494517876046,
     "interval": [
      4.277480333354155,
      4.937596128166875
     ]
    },
    "matched_gap_by_year": {
     "2021": 0.7168849066910392,
     "2022": 0.03693884304380712,
     "2023": 4.260943501094049
    },
    "matched_min50": {
     "estimate": 2.7234590808975683,
     "interval": [
      2.338317644215116,
      3.113431294604773
     ]
    },
    "new_engagement": {
     "estimate": 4.224004658050241,
     "interval": [
      3.724303719505078,
      4.823722747187645
     ],
     "interval_state_clusters": [
      3.495325700910564,
      5.017086223609932
     ]
    },
    "other_drug": {
     "estimate": -4.304795236798703,
     "interval": [
      -4.943933722160276,
      -3.792503508264774
     ]
    },
    "payments_2023": {
     "median_payments_per_engaged": 3.0
    },
    "payments_2023_new": {
     "median_payments": 1.0
    },
    "placebo": {
     "estimate": -0.6799460636472318,
     "interval": [
      -1.4323160419199923,
      -0.052730679795328105
     ]
    },
    "placebo_2021_match": {
     "estimate": 2.6908118159006698,
     "interval": [
      2.1316849635392265,
      3.3049008408203284
     ]
    },
    "raw": {
     "estimate": 18.477393439657305,
     "interval": [
      18.044836347721787,
      18.89546034918823
     ]
    },
    "regression": {
     "estimate": 5.877468748191006,
     "interval": [
      5.565514061802593,
      6.18942343457942
     ],
     "prior_share_coef": 0.7131638945234976
    },
    "regression_min50": {
     "estimate": 3.001272133242942,
     "interval": [
      2.68441534088119,
      3.3181289256046944
     ]
    },
    "trend_adjusted": {
     "estimate": 4.9039507216974725,
     "interval": [
      4.07380966309658,
      5.936387754865655
     ]
    },
    "trend_adjusted_2021_match": {
     "estimate": 1.533192842149571,
     "interval": [
      0.6912820670587618,
      2.376378481845474
     ]
    }
   }
  },
  "population": {
   "n": 80000,
   "value": 80000
  },
  "population_min50": {
   "n_at_least_11": true
  },
  "specialty_groups": 9
 },
 "holdout": {
  "decision_threshold_points": 1.0,
  "effects_points": [
   0,
   2
  ],
  "summary": {
   "per_arm_max": 1500,
   "per_arm_min": 750,
   "wrong_pct_max": 20.0,
   "wrong_pct_min": 15.0
  }
 },
 "holdout_summary": {
  "per_arm_max": 1500,
  "per_arm_min": 750,
  "wrong_pct_max": 20.0,
  "wrong_pct_min": 15.0
 },
 "placebo_reading": {
  "A": {
   "agree": false,
   "declared": "includes_zero",
   "matched_2021": "below_zero"
  },
  "B": {
   "agree": false,
   "declared": "below_zero",
   "matched_2021": "above_zero"
  }
 },
 "posthoc": {
  "drugs": {
   "A": {
    "clean_groups": {
     "never_engaged": {
      "n_at_least_11": true
     },
     "newly_engaged": {
      "n_at_least_11": true
     }
    },
    "new_engagement": {
     "estimate": -1.1912484591825083,
     "interval": [
      -2.02349940794618,
      -0.43164373997118294
     ]
    },
    "overlap": {
     "never_engaged": {
      "n_at_least_11": true,
      "value": {
       "2022": 8.0,
       "2023": 8.0
      }
     },
     "newly_engaged": {
      "n_at_least_11": true,
      "value": {
       "2022": 34.0,
       "2023": 44.0
      }
     }
    },
    "placebo_2021_match": {
     "estimate": -1.1628239365539763,
     "interval": [
      -2.0774855079540946,
      -0.31295246040089497
     ]
    },
    "trend_adjusted_2021_match": {
     "estimate": -0.028424522628532012,
     "interval": [
      -1.2853811605793457,
      1.2822622204598702
     ]
    }
   },
   "B": {
    "clean_groups": {
     "never_engaged": {
      "n_at_least_11": true
     },
     "newly_engaged": {
      "n_at_least_11": true
     }
    },
    "new_engagement": {
     "estimate": 5.335159542191162,
     "interval": [
      4.3504510656154745,
      6.499654166541887
     ]
    },
    "overlap": {
     "never_engaged": {
      "n_at_least_11": true,
      "value": {
       "2022": 13.0,
       "2023": 12.0
      }
     },
     "newly_engaged": {
      "n_at_least_11": true,
      "value": {
       "2022": 51.0,
       "2023": 56.0
      }
     }
    },
    "placebo_2021_match": {
     "estimate": 2.8519800413438854,
     "interval": [
      1.8310101753442074,
      4.028778601959754
     ]
    },
    "trend_adjusted_2021_match": {
     "estimate": 2.483179500847277,
     "interval": [
      0.973094123312002,
      4.085085262760051
     ]
    }
   }
  }
 },
 "predictions": {
  "P1": {
   "held": false,
   "held_count": 1,
   "per_drug": {
    "A": false,
    "B": true
   }
  },
  "P2": {
   "held": true,
   "held_count": 2,
   "per_drug": {
    "A": true,
    "B": true
   }
  },
  "P3": {
   "held": false,
   "held_count": 0,
   "per_drug": {
    "A": false,
    "B": false
   }
  },
  "P4": {
   "held": false,
   "held_count": 0,
   "per_drug": {
    "A": false,
    "B": false
   }
  },
  "P5": {
   "held": true,
   "held_count": 2,
   "per_drug": {
    "A": true,
    "B": true
   }
  },
  "P6": {
   "held": false,
   "held_count": 0,
   "per_drug": {
    "A": false,
    "B": false
   }
  }
 }
}
