Explore volunteer rosters and backtrack when coverage breaks
Use a bounded option tree to cover every shift without double-booking.
Inputs & setup What you need before copying
Bring: Shift times, minimum coverage, each volunteer’s availability and maximum assignments.
Start here: Paste your task facts and replace the bracketed details in ChatGPT, Claude or Gemini. This is an option-tree exercise; a full automated search controller is not required.
Best for: Chat & reasoning · Business & productivity
Use this prompt with: ChatGPT · Claude · Gemini
Choose a tool that supports the files or features listed above.
Example result
Sample input
Two shifts: 9–11 and 11–13, each needs two people. Ana can do either shift but only one; Ben only 9–11; Chen only 11–13; Dev either shift but only one.
Illustrative example The early shift must include Ben and either Ana or Dev. Branch A: Ben + Ana early leaves Chen + Dev late, complete. Branch B: Ben + Dev early leaves Chen + Ana late, also complete. A branch putting Ana and Dev together early fails because Ben cannot cover late; prune it. Choose A as a workable roster, with B as the equally feasible fallback. All four volunteers have one assignment and each shift has two people. There is no evidence to rank A above B on preference; ask Ana and Dev if a preference matters.
Make it yours Fill in your details
Optional. Your details stay in this browser tab.
Read full prompt
Use a bounded option tree inspired by Tree of Thoughts. Show only a concise decision table: option, supporting fact, constraint check, next action and keep/drop decision. Start with up to three branches, prune infeasible ones, and expand at most two surviving branches by one level. If fewer survive, say so. State the selected route, a fallback trigger and unresolved information. Do not invent facts or present option scores as measured results. For [volunteer coverage table], create up to three initial assignments for the hardest-to-fill shift. Reject unavailable or double-booked assignments. Expand the remaining assignments to cover the other shifts, backtracking if a required slot is left empty. Return one complete roster or the exact uncovered slot. Do not add imaginary volunteers.
Try a variation 2 ideas
After your first result, try one of these follow-ups.
- Keep the same inputs; tighten one constraint and show which branch becomes infeasible.
- Compare only two options and define one clear trigger for switching between them.
Check your result
- Check every kept option against your actual constraints and available evidence.
- Treat the example as an illustrative draft, not a recorded model test.