{
 "author": "an independent author who never saw the interfaces, the reviewer instructions or the scripted reviewer",
 "brief_sha256": "1e51b136618e716bf677aa57972579d3d5894654ccb80cd123e653a9761e4d49",
 "reply_sha256": "54c0ba350daa82d4fc680258d1873c7b2fff3b97226abb8fe2d226d60fd61ebf",
 "run": "run1",
 "faults": [
  {
   "task": "T02",
   "plan": [
    {
     "op": "find",
     "table": "invoices",
     "ids": [
      "INV-5021"
     ]
    },
    {
     "op": "update",
     "target": 1,
     "set": {
      "status": "paid"
     }
    }
   ],
   "error_step": 1,
   "note": "The invoice ID is transposed, so INV-5021 is marked paid instead of INV-5012."
  },
  {
   "task": "T06",
   "plan": [
    {
     "op": "find",
     "table": "accounts",
     "where": [
      [
       "renewal",
       "=",
       "March"
      ]
     ]
    },
    {
     "op": "update",
     "target": 1,
     "set": {
      "renewal": "April"
     }
    }
   ],
   "error_step": 1,
   "note": "The filter omits the Business plan condition, so accounts on other plans also have their renewals moved."
  },
  {
   "task": "T07",
   "plan": [
    {
     "op": "find",
     "table": "accounts",
     "where": [
      [
       "name",
       "=",
       "Juniper Legal"
      ]
     ]
    },
    {
     "op": "update",
     "target": 1,
     "set": {
      "seats": 25
     }
    }
   ],
   "error_step": 1,
   "note": "The plan selects Juniper Legal instead of Juniper Labs."
  },
  {
   "task": "T10",
   "plan": [
    {
     "op": "find",
     "table": "accounts",
     "where": [
      [
       "name",
       "=",
       "Willow Care Homes"
      ]
     ]
    },
    {
     "op": "find",
     "table": "invoices",
     "where": [
      [
       "account",
       "=",
       "ACC-1030"
      ],
      [
       "status",
       "=",
       "overdue"
      ]
     ]
    },
    {
     "op": "update",
     "target": 2,
     "set": {
      "status": "paid"
     }
    }
   ],
   "error_step": 2,
   "note": "The invoice lookup uses Willow Care's account ID instead of Willow Care Homes' account ID."
  },
  {
   "task": "T14",
   "plan": [
    {
     "op": "find",
     "table": "accounts",
     "where": [
      [
       "plan",
       "=",
       "Starter"
      ],
      [
       "seats",
       ">=",
       5
      ]
     ]
    },
    {
     "op": "update",
     "target": 1,
     "set": {
      "plan": "Team"
     }
    }
   ],
   "error_step": 1,
   "note": "The seat comparison includes accounts with exactly 5 seats."
  },
  {
   "task": "T18",
   "plan": [
    {
     "op": "find",
     "table": "accounts",
     "where": [
      [
       "plan",
       "=",
       "Team"
      ],
      [
       "region",
       "=",
       "East"
      ]
     ]
    },
    {
     "op": "update",
     "target": 1,
     "set": {
      "renewal": "June"
     }
    },
    {
     "op": "email",
     "target": 1,
     "template": "renewal_notice"
    }
   ],
   "error_step": 3,
   "note": "The plan sends renewal notices that the user did not request."
  },
  {
   "task": "T19",
   "plan": [
    {
     "op": "find",
     "table": "invoices",
     "where": [
      [
       "status",
       "=",
       "open"
      ],
      [
       "due_day",
       "<",
       15
      ]
     ]
    },
    {
     "op": "update",
     "target": 1,
     "set": {
      "status": "overdue"
     }
    }
   ],
   "error_step": 1,
   "note": "The due-day comparison excludes invoices due on day 15."
  },
  {
   "task": "T22",
   "plan": [
    {
     "op": "find",
     "table": "accounts",
     "where": [
      [
       "owner",
       "=",
       "Dev Mehta"
      ]
     ]
    },
    {
     "op": "update",
     "target": 1,
     "set": {
      "plan": "Business"
     }
    },
    {
     "op": "email",
     "target": 1,
     "template": "plan_change"
    }
   ],
   "error_step": 3,
   "note": "The plan sends plan-change emails that the user did not request."
  },
  {
   "task": "T24",
   "plan": [
    {
     "op": "find",
     "table": "accounts",
     "where": [
      [
       "status",
       "=",
       "paused"
      ]
     ]
    },
    {
     "op": "update",
     "target": 1,
     "set": {
      "status": "trial"
     }
    },
    {
     "op": "email",
     "target": 1,
     "template": "trial_ending"
    }
   ],
   "error_step": 3,
   "note": "The plan sends trial-ending emails that the user did not request."
  }
 ]
}
