[
  {"id": "late_billing_load",
   "description": "The job that lands the billing system's payment and refund webhooks stalls for ten hours; invoices keep landing on time, and the eleventh run lands the backlog.",
   "expectation": "Invoices look unpaid while their payments wait, so paid accounts turn past_due and get collections emails until the backlog lands.",
   "operations": [
     {"op": "delay_load", "source": "billing", "table": "payment_events", "from_hour": 30, "to_hour": 39},
     {"op": "delay_load", "source": "billing", "table": "refund_events", "from_hour": 30, "to_hour": 39}]},
  {"id": "duplicated_webhook",
   "description": "The billing system re-sends every payment webhook a second time with a new event id, from hour 30 on.",
   "expectation": "Each failed payment counts twice, so accounts with one real failure lose health points and some cross under 50.",
   "operations": [
     {"op": "duplicate_rows", "source": "billing", "table": "payment_events", "share": 1.0, "new_ids": true, "from_hour": 30}]},
  {"id": "crm_field_renamed",
   "description": "A CRM administrator renames the account field that holds the billing customer id; accounts edited afterwards arrive with the id under the new name.",
   "expectation": "Edited accounts lose their billing link, read as having no billing record, and get win-back emails.",
   "operations": [
     {"op": "rename_column", "source": "crm", "table": "accounts", "column": "billing_customer_id", "to": "billing_account_ref", "from_hour": 30}]},
  {"id": "timezone_shift",
   "description": "The product database's booking times start arriving 7 hours late (a local-time conversion applied twice).",
   "expectation": "The last 7 hours of completed bookings look like future bookings, usage drops while businesses are open, and accounts near 50 cross under it.",
   "operations": [
     {"op": "shift_time", "source": "product", "table": "bookings", "columns": ["starts_at", "updated_at"], "hours": 7, "from_hour": 30}]},
  {"id": "partial_sync",
   "description": "From hour 30 to hour 53 the CRM applies only the first half of the rows of each write request and reports success for all of them.",
   "expectation": "Half of each hour's changes never reach the CRM while the sync believes they did; values go stale and actions are missed.",
   "operations": [
     {"op": "partial_apply", "row_share": 0.5, "report": "success", "from_hour": 30, "to_hour": 53}]},
  {"id": "backfill_resend",
   "description": "At hour 34 someone backfills the sync for hours 24 to 29, re-sending what the warehouse computed then.",
   "expectation": "Accounts whose values changed since then get old values back, fire automations on them, and are corrected by the next hourly run.",
   "operations": [
     {"op": "backfill_sync", "at_hour": 34, "from_hour": 24, "to_hour": 29}]}
]
