ShiftAccordSuper Scheduling™

Blog / Optimization / Fairness / Process

How to compare schedules side by side before you publish one

Two valid schedules for one quarter can treat the same physician very differently. A worked comparison of two candidates, who gains and who loses, and a decision rule to write down first.

Two printed grids side by side on a table with a person’s hands resting on them

Two schedules for the same quarter can both cover every shift, both respect every contract, and still be very different to live in. One denies fewer requests. The other spreads the damage more evenly. Choosing between them by looking at two full-quarter grids on a screen is close to impossible, because the eye goes to whatever’s familiar.

To compare schedules properly you need three things: a fair setup, a view of who’s affected by the difference, and a decision rule you wrote down before you looked.

Compare schedules on equal terms first

A comparison only means something when the two candidates differ in their assignments and in nothing else. Check four things:

  • both cover the same quarter with the same roster
  • both were scored against the same rulebook and the same weights
  • both include the same set of requests
  • both have zero hard-rule violations

The second is the one that slips. Someone adjusts a weight between builds, the new schedule scores lower, and it gets presented as an improvement. It may be one. But the two scores came from different price lists, and the first schedule has to be re-scored at the new weights before you can say. If the mechanics of a score are new to you, how to read a schedule score covers them.

The fourth matters just as much. A candidate with one hard violation hasn’t earned a place in the comparison with a high penalty attached. It’s out until the violation is fixed and it’s been scored again.

Find the difference before reading the totals

Start by asking how different the candidates are. Count the assignments that aren’t the same in both.

Suppose a 12-physician group with four shifts a day has 364 shifts in the quarter, and candidates A and B differ in 58 of them. That tells you two things before any scoring. The schedules are mostly the same, so the choice between them affects a limited set of days. And the 58 differences belong to particular people. If they involve only five physicians, the other seven have nothing at stake, and the conversation is about five people’s quarters.

It’s a quick step, and it stops a lot of wasted argument about parts of the schedule that are identical.

A worked comparison

Here are two candidates for that group, scored with the same six-rule rulebook.

Schedule A Schedule B
Day-off preferences denied (40 each) 9 11
Backward rotations (25 each) 14 15
Rest intervals under 12 hours (60 each) 3 2
Nights off contract (100 each) 4 4
Weekends over target (80 each) 5 5
Isolated single nights (30 each) 5 5
Total penalty 1,840 1,885
Highest individual penalty 410 240
Lowest individual penalty 25 80

On the total, A wins by 45 points. On a group where one preference costs 40, that’s roughly one denied request’s worth of difference across a whole quarter.

The bottom two rows tell a different story. In A, one physician carries 410 and another carries 25. In B the range is 80 to 240. B asks slightly more of the group overall and a great deal less of its unluckiest member.

Neither candidate is the better one in general. A serves the group that has decided the total is what counts. B serves the group that has decided no individual should carry more than about twice the average. The comparison has shown you which decision you’re making, and that’s its job.

Two people seated at a small office table with their backs to the camera, papers between them

Who gains and who loses

Next, put each physician’s penalty under A beside their penalty under B, and sort by the change.

Physician Under A Under B Change
Dr. A.R. 410 240 −170
Dr. M.O. 290 215 −75
Dr. L.P. 65 170 +105
Dr. H.N. 25 105 +80
Dr. C.V. 220 230 +10
The other seven 830 925 +95 combined

Two people do much better under B, two do clearly worse, and eight move a little. Before choosing B, look at what Dr. L.P.’s extra 105 points are made of. If it’s two denied preferences and a backward rotation, that’s a normal quarter. If one of those preferences was the week of a family event, L.P. will see it differently from the table.

That’s the limit of any score. It prices a denied request at 40 whatever the request was for. The per-person view tells you whose row to read in detail before you publish, and it gives you the answer for the physician who asks why their quarter got worse between drafts: Dr. A.R. was carrying 410, and this was what it took to bring that down.

Pay particular attention to rules where the group count is the same in both columns. Both candidates have four nights off contract, but they may not be the same four nights or the same people. Equal counts can hide a complete reshuffle of who’s over and who’s under, which matters a good deal if you track night distribution across quarters.

Write the decision rule before you look

Once you’ve seen two candidates you’ll have a favorite, and you’ll find reasons for it. So decide the order of tests in advance and keep it from quarter to quarter. One workable version:

  1. Any candidate with a hard violation is out.
  2. If the totals differ by more than a set margin, take the lower. Pick the margin once. The weight of your most expensive soft rule is a reasonable choice, which here would be 100 points.
  3. Within the margin, take the candidate with the lower highest-individual penalty.
  4. If that’s close too, take the one that’s kinder to whoever was denied most last quarter.
  5. If it’s still a tie, take the one that changes fewer assignments from the draft people have already seen.

Run A and B through it. Neither has a hard violation. The totals differ by 45, inside the 100-point margin, so the total doesn’t decide. Step 3 does: 240 beats 410, and B is the choice.

A different group could put step 3 ahead of step 2, or set the margin at zero. What matters is that the rule exists before the candidates do, and that the chair has agreed to it.

Hand moving a colored magnet on a blank magnetic grid board in a staff room

Traps

Comparing a hand-edited schedule on its old score. After six manual changes to candidate A, its score isn’t 1,840 any more. Re-score after every edit. Hand edits made to fix one person’s problem are the usual source of new quick turnarounds.

Too many candidates. It’s hard to compare schedules eight at a time. Two or three is enough. With eight, people stop reading per-person tables and pick by total, which defeats the exercise. Where candidates come from, and why a solver can produce several good ones that differ, is explained in schedule optimization explained.

Choosing by one rule. “B has fewer short turnarounds” is true and incomplete. If one rule should dominate, raise its weight and rebuild. Don’t let it decide by the back door.

Preferring the familiar. The candidate that resembles last quarter looks right. If last quarter’s pattern was unfair to someone, a schedule that resembles it is unfair to the same person again.

Publishing without keeping the loser. Keep the candidate you rejected and its score. When someone asks in week four whether a different schedule was possible, you can show the alternative and what it would have cost.

ShiftAccord’s compare view puts two schedules next to each other in this way, by rule and by person.

Keep reading

Related posts