Assignment Responses

Constraints

  1. Assigners may prevent officials from declining games

  2. Minimum decline hours may have an effect on declining games

  3. Assigners can require consecutive games to be accepted/declined as one

  4. Consecutive counts as:

    1. Same assigner

    2. Any surface (including other venues)

    3. Within 1 hour window (should this be configurable?)

Accepting Assignments

Validate against all assignments in that day

  1. If there are overlapping assignments

    1. If the assignment cannot be declined → prevent accept (until removed from overlap by assigner)

    2. If the assignment has required consecutive assignments that cannot be declined → prevent accept

  2. If there are consecutive assignments required

    1. If consecutive assignment cannot be accepted → prevent accept

    2. If the consecutive assignment was declined → prevent accept

  3. Decline any overlapping assignments and required consecutive assignments of the overlapping assignment

  4. Accept the assignment and any required consecutive assignments

Declining Assignments

Validate against all assignments in that day

  1. If the assigner has disabled declines → prevent decline

  2. If the assignment is within the minimum hours → prevent decline

  3. If there’s an overlapping assignment → doesn’t matter

  4. If there’s a consecutive assignment that cannot be declined → prevent decline

  5. Decline the assignment and any required consecutive assignments