What counts as a short gap
Two turns by the same participant with fewer items between them than the gap. The planner compares each participant's consecutive turns only: someone in items 2, 5 and 9 is checked 2 to 5 and 5 to 9. Back to back turns, with nothing between, are a short gap whenever the gap is 1 or more, unless a break sits between them.
The gap, and a participant's own gap
The gap is the number of items someone needs between turns: time to rest, to get ready, to change kit or to walk to another area. It starts at 3, a rule of thumb rather than a rule anyone publishes; on the sample sports day that is about 18 minutes. Someone who needs longer can have a larger gap of their own, and a presenter who stays at the lectern a gap of 0. The sports day guide turns items into minutes.
Breaks and section breaks
A break sits between two items. It has minutes on the clock and, unless you turn it off, counts as a full gap: someone can finish just before it and start again just after. A section break divides the running order into sections for pins and for the program, adds no time beyond the changeover and resets nothing. When a running order has no breaks, the planner adds one break in the middle on the first build; breaks you add or move are kept.
Pins
A pin is a promise about where an item goes: the opener, the closer, a locked number, just before or just after a break, or anywhere inside one section. The solver never breaks a pin. A pin that cannot be kept (two openers, a locked number past the end, a break that does not exist) is named in a warning and that item is ordered freely. Lock an item where it stands from its Move menu on the running order.
Grouping preferences
Two optional preferences: spread levels, so two items of one level do not follow each other, and keep each group's items apart or together, where the group is whatever you typed in an item's Group field: a teacher, a coach, a team, a class or a school. They are preferences only: the planner never keeps a short gap to satisfy one.
More than one session
With two or more sessions, each item goes to one session, except items marked as in every session. The split keeps the sessions about the same length first, then keeps families (participants sharing a family label) in one session, then keeps each participant in one session. Items can be kept in a named session. The splitting guide works an example.
How the order is built
The pinned places are filled first. A first order fills the remaining places left to right, taking at each step the item that adds the least short gap for the participants already placed. Then a search swaps and shifts items thousands of times. Anything that improves the order is kept, and in the early rounds a handful of changes that make it worse are kept too, which is what frees the search from an order it cannot otherwise better. What it reports back is the best order it found. Fewer short gaps always beat narrower ones, and any short gap outweighs every grouping preference. The search is seeded, so the same roster gives the same order every time. It runs in a background worker on the page; an 80 item running order takes a fraction of a second on a laptop.
Why a short gap is still there
Every short gap the planner reports carries one of these reasons, on screen and on the short gap report:
- Too many turns
- The participant is in so many items of that stretch of the running order that no order can give every pair the gap. The reason shows the arithmetic.
- Pinned
- Both items are held in place by pins, so neither can move.
- A swap would fix it
- Swapping one of the two items with another removes this short gap without a worse one. Orders made by hand often have these.
- Blocked
- Every swap that fixes it gives someone else a shorter gap, and the reason names who.
- Stuck
- No single swap of either item fixes it: the participant's other turns or the pins are in the way.
Pasting a roster
Copy from any spreadsheet. Three shapes are read: one item per row with its participants after the title (an item and participant pair per row is the same shape), a table with a header row naming the columns, or a grid with participants down the side and an x under each item they are in. Headers such as Event, Round, Speech or Presentation are read as the title, and Athletes, Contestants, Speakers or Presenters as the participants. Participants are matched by name, ignoring capitals and spacing; "Chen, Mia" in one cell is read as Mia Chen. Names that look like one person typed two ways are offered for merging, never merged on their own.
Where the roster is kept
On the one machine you built it on. There is no Showorder server: the ordering happens in the page itself, and the event lives in that browser's local storage until you clear it. Taking an event to another laptop means saving a backup file and opening it there. The privacy page spells it out.