roster.sg

5. How the planner decides

This section explains the ideas behind the steps. You do not need it to follow them. Read it once, perhaps while a solve runs.

On this page

  1. The idea: ink and pencil
  2. Musts and Prefers
  3. The score
  4. How a wish earns points
  5. What a result card tells you
  6. What a draft remembers
  7. How year groups are worked out
  8. Today's block, fact and expected
  9. What filing changes
  10. Who sees residents' details

The idea: ink and pencil

Think of the year's table as the spreadsheet you know: residents down the side, Block 1 to Block 12 across. The boxes you place are in ink. The solver is a tireless colleague with a pencil. It pencils in the empty boxes, never breaking a Must, and judges each complete table on one scorecard. When it is done, it hands you up to five tables, the top one first.

The ink stays where you put it, even where it breaks a rule. Use this solution inks in the pencil of the result you chose, so the next solve keeps those boxes too. Clear rubs a box out and hands it back to the pencil.

That is why a box you place is kept even when it breaks a rule. It is also why a breach can only come from boxes already in the table. A box you place can also stop a solve. If it leaves a resident no way to fit what they owe this year, the solve refuses and names the box.

Musts and Prefers

The score

The solver gives every table that keeps every Must one score, and picks the highest. The score is:

Fairness counts each resident's points from earlier years as well. A resident who did well last year gets less priority this year.

Only the ratio of the three numbers matters: 5, 5, 5 and 1, 1, 1 give the same table.

The screen's own example, under How the scoring works, with Wishes at 5:

TableWish points paidUnevennessScore at Fairness 2Score at Fairness 5
Table A3,00040014,20013,000
Table B2,8002013,96013,900

At Fairness 2 the solver picks A, the greedier table. At Fairness 5 it picks B, the fairer one, giving up 200 wish points for it.

Preferences multiplies every Prefer rule's Penalty or Reward. With Preferences at 5, a Penalty 50 breach costs 250, the same as losing 50 wish points at Wishes 5.

The two built-in rewards

No posting is a must in R1 or R2. Instead, two built-in rewards lean the solver toward the postings best done in those years. Each has its own number under Scoring, and Preferences multiplies it.

The sums, with Wishes and Preferences at 5:

How a wish earns points

What a result card tells you

What a draft remembers

How year groups are worked out

Today's block, fact and expected

What filing changes

Who sees residents' details