{
 "story": "pay-and-pressure",
 "csv": "pay-and-pressure.csv",
 "csv_sha256": "09ebc8c93d6a08a1ac11ae388301f3574db9bc3c32ef2997cc7badb64422ee46",
 "how_to_reproduce": "Load the CSV with the column types in package.json; evaluate each spec (ops documented in omni/stories.py: count, share_pct, spearman, boot_ci with seed 15 and 1,000 draws, range_placement, group_stat, pairs, closest_pair). Every value must equal the published one.",
 "findings": [
  {
   "id": "S2-F1",
   "text": "Across 609 U.S. occupations, higher median pay is only weakly associated with higher measured work pressure: the Spearman rank correlation is 0.11 (95% bootstrap interval 0.02 to 0.19), using TryHired's pressure level built from four O*NET 31.0 work-context ratings and BLS OEWS May 2025 wages.",
   "checks": [],
   "reproduce": {
    "n": {
     "spec": {
      "op": "count"
     },
     "format": "int",
     "value": 609
    },
    "rho": {
     "spec": {
      "op": "spearman",
      "x": "oews_median_annual_wage_usd_may2025",
      "y": "pressure_level"
     },
     "format": "r2",
     "value": 0.11
    },
    "ci": {
     "spec": {
      "op": "boot_ci",
      "x": "oews_median_annual_wage_usd_may2025",
      "y": "pressure_level"
     },
     "format": "ci",
     "value": [
      0.02,
      0.19
     ]
    }
   }
  },
  {
   "id": "S2-F2",
   "text": "The median pressure level of each fifth of occupations by pay falls between 3.03 and 3.23 on O*NET's 1-to-5 scale, a spread of 0.20 points (O*NET 31.0 work context; OEWS May 2025).",
   "checks": [],
   "reproduce": {
    "a": {
     "spec": {
      "op": "group_stat",
      "by": "pay_quintile",
      "col": "pressure_level",
      "stat": "median",
      "agg": "min"
     },
     "format": "r2",
     "value": 3.03
    },
    "b": {
     "spec": {
      "op": "group_stat",
      "by": "pay_quintile",
      "col": "pressure_level",
      "stat": "median",
      "agg": "max"
     },
     "format": "r2",
     "value": 3.23
    },
    "d": {
     "spec": {
      "op": "group_stat",
      "by": "pay_quintile",
      "col": "pressure_level",
      "stat": "median",
      "agg": "range"
     },
     "format": "r2",
     "value": 0.2
    }
   }
  },
  {
   "id": "S2-F3",
   "text": "Within every pay fifth, the middle half of occupations spans at least 0.38 points of pressure level, more than the 0.20-point spread between the medians of the five pay fifths (O*NET 31.0 work context; OEWS May 2025).",
   "checks": [
    [
     "iqr",
     ">",
     "d"
    ]
   ],
   "reproduce": {
    "iqr": {
     "spec": {
      "op": "group_stat",
      "by": "pay_quintile",
      "col": "pressure_level",
      "stat": "iqr",
      "agg": "min"
     },
     "format": "r2",
     "value": 0.38
    },
    "d": {
     "spec": {
      "op": "group_stat",
      "by": "pay_quintile",
      "col": "pressure_level",
      "stat": "median",
      "agg": "range"
     },
     "format": "r2",
     "value": 0.2
    }
   }
  },
  {
   "id": "S2-F4",
   "text": "45% of occupations in the lowest-paid fifth have a pressure level below 3.0, compared with 31% in the highest-paid fifth (O*NET 31.0 work context; OEWS May 2025).",
   "checks": [],
   "reproduce": {
    "a": {
     "spec": {
      "op": "share_pct",
      "where": [
       [
        "pay_quintile",
        "==",
        1
       ],
       [
        "pressure_level",
        "<",
        3.0
       ]
      ],
      "of": [
       [
        "pay_quintile",
        "==",
        1
       ]
      ]
     },
     "format": "pct0",
     "value": 45
    },
    "b": {
     "spec": {
      "op": "share_pct",
      "where": [
       [
        "pay_quintile",
        "==",
        5
       ],
       [
        "pressure_level",
        "<",
        3.0
       ]
      ],
      "of": [
       [
        "pay_quintile",
        "==",
        5
       ]
      ]
     },
     "format": "pct0",
     "value": 31
    }
   }
  },
  {
   "id": "S2-F5",
   "text": "The four ratings relate to pay differently: across the same 609 occupations, the rank correlation with median pay is 0.13 for consequence of error, 0.07 for time pressure, 0.15 for conflict situations and -0.09 for dealing with unpleasant or angry people (O*NET 31.0; OEWS May 2025).",
   "checks": [],
   "reproduce": {
    "n": {
     "spec": {
      "op": "count"
     },
     "format": "int",
     "value": 609
    },
    "e": {
     "spec": {
      "op": "spearman",
      "x": "oews_median_annual_wage_usd_may2025",
      "y": "onet_consequence_of_error"
     },
     "format": "r2",
     "value": 0.13
    },
    "t": {
     "spec": {
      "op": "spearman",
      "x": "oews_median_annual_wage_usd_may2025",
      "y": "onet_time_pressure"
     },
     "format": "r2",
     "value": 0.07
    },
    "c": {
     "spec": {
      "op": "spearman",
      "x": "oews_median_annual_wage_usd_may2025",
      "y": "onet_conflict_situations"
     },
     "format": "r2",
     "value": 0.15
    },
    "u": {
     "spec": {
      "op": "spearman",
      "x": "oews_median_annual_wage_usd_may2025",
      "y": "onet_unpleasant_or_angry_people"
     },
     "format": "r2",
     "value": -0.09
    }
   }
  },
  {
   "id": "S2-F6",
   "text": "Occupations with a pressure level of 3.5 or higher appear in every pay fifth: 18 in the lowest-paid fifth and 39 in the highest-paid fifth, out of 140 such occupations (O*NET 31.0; OEWS May 2025).",
   "checks": [
    [
     "g",
     "==",
     5
    ]
   ],
   "reproduce": {
    "a": {
     "spec": {
      "op": "count",
      "where": [
       [
        "pay_quintile",
        "==",
        1
       ],
       [
        "pressure_level",
        ">=",
        3.5
       ]
      ]
     },
     "format": "int",
     "value": 18
    },
    "b": {
     "spec": {
      "op": "count",
      "where": [
       [
        "pay_quintile",
        "==",
        5
       ],
       [
        "pressure_level",
        ">=",
        3.5
       ]
      ]
     },
     "format": "int",
     "value": 39
    },
    "n": {
     "spec": {
      "op": "count",
      "where": [
       [
        "pressure_level",
        ">=",
        3.5
       ]
      ]
     },
     "format": "int",
     "value": 140
    },
    "g": {
     "spec": {
      "op": "groups",
      "by": "pay_quintile",
      "where": [
       [
        "pressure_level",
        ">=",
        3.5
       ]
      ]
     },
     "format": "int",
     "value": 5
    }
   }
  }
 ]
}