attempt 1
  plan  approve(approver='carol', employee='bob', system='payroll')
  plan  grant(employee='bob', system='payroll')
  pyrel check: exit 1
    states 1-2  approver_outside_the_chain  violated  [["bob", "carol"]]
      the rule in PyRel: m.where(approved_by(step, approver, employee, String.ref())).require(not_(management_chain_reverse(step, approver, employee)))
attempt 2
  plan  approve(approver='erin', employee='bob', system='payroll')
  plan  approve(approver='carol', employee='bob', system='payroll')
  plan  grant(employee='bob', system='payroll')
  pyrel check: exit 1
    step 2  $.steps[2].effects[1].assert  warning  {"employee": "bob", "system": "payroll"}
    states 2-3  approver_outside_the_chain  violated  [["bob", "carol"]]
attempt 3
  plan  approve(approver='erin', employee='bob', system='payroll')
  plan  approve(approver='carol', employee='bob', system='payroll')
  plan  grant(employee='bob', system='payroll')
  pyrel check: exit 1
    step 2  $.steps[2].effects[1].assert  warning  {"employee": "bob", "system": "payroll"}
    states 2-3  approver_outside_the_chain  violated  [["bob", "carol"]]
no plan was accepted in 3 attempts
