Staff rota built from hard and soft constraints, with coverage and fairness checks

par fidji DeepSeek Anglais ~630 tokens
Extrait public Verrouillé
Feasibility first: shifts demanded versus shifts available, day by day and in total. Then the rota grid, and a verification table: coverage per shift, shifts per person, rest between shifts, weekend fairness, preferences met. Conflicts reported with the constraint to relax…

À propos de ce prompt

Builds a weekly shift rota for a small team from explicit constraints: coverage per shift, contracted shifts, availability, rest rules, no evening-then-morning turnarounds, fair weekend distribution. It first checks that a solution can exist at all, then builds the rota and verifies every constraint in a table. DeepSeek is used because rota building is a constraint problem: its step-by-step reasoning catches the conflicts a quick draft misses.

Exemple de résultat

Fourni par l'auteur
FEASIBILITY Demand: 7 days × (2 + 2) = 28 shifts. Contracted: 6 + 6 + 6 + 5 + 5 = 28. Slack: 0 → any absence leaves a gap (see step 5). 4 people per day out of 5 → exactly one person off each day: days off = 1 + 1 + 1 + 2 + 2 = 7 ✓ ROTA (M = 7:00–14:00, A = 14:00–21:00) | | Mon | Tue | Wed | Thu | Fri | Sat | Sun | | Ana | M | M | OFF | M | M | M | M | | Ben | A | A | A | A | A | OFF | A | | Dan | M | M | M | A | A | A | OFF | | Eva | OFF | A | A | OFF | M | M | M | | Finn | A | OFF | M | M | OFF | A | A | VERIFICATION | Rule | Result | | Coverage | every day 2 M + 2 A ✓ | | Contract | Ana 6, Ben 6, Dan 6, Eva 5, Finn 5 ✓ | | No A → next-day M | Finn Mon A → Tue OFF; Eva Wed A → Thu OFF; Sun → Mon: Ben A → A, Finn A → A ✓ | | Weekend shifts | Ana 2, Eva 2, Finn 2, Ben 1, Dan 1 (8 slots / 5 people: best possible spread) ✓ | | Preferences | Ana 6/6 mornings, Ben 6/6 afternoons ✓ | …

Fiche technique

Modèle
DeepSeek
Langue du prompt
Anglais
Pour qui
Managers of shops, cafés, clinics, support teams and volunteer groups who plan shifts by hand
Longueur
~630 tokens (estimation)
Format livré
Texte du prompt, affiché en ligne après achat

Avis

Réservés aux acheteurs

Aucun avis pour l'instant. Seuls les acheteurs de ce prompt peuvent en laisser un.

Signaler ce prompt