Coffee shop business plan: will it work? A business is a set of processes running at once. The checker tries every order they can happen in and finds where they break. A reward on each step shows what it earns. More
1. Pick a business Restaurant 184 states · 2 broken Two tables, one fish on the board, a kitchen, a supplier and a till. Food truck 143 states · 1 broken Two customers in line, one tray of brisket tacos left, a menu board, a cook, a restock run and a cash box. Vending machine 206 states · 1 broken Two customers, one card reader, a dispenser that can jam, a refund timer and a restock route. Cleaning business 386 states · 1 broken Two clients, one cleaner with a morning and an afternoon slot, an online booking form, a booking desk and invoices. Coffee shop 98 states · 1 broken Two customers, an ordering app and a counter, one barista, the last of the milk and a milk run. Battery factory 392 states · 1 broken Two batches of cells, a formation and test station, a quality hold, packing and shipping, and a customer order. Your own needs an account Describe it in your own words Two customers, an ordering app and a counter, one barista, the last of the milk and a milk run.
the customers away app order waiting served refunded the app shows 1 milk shows 0 milk shows 2 milk the counter takes an order makes it at once the barista makes the app order out of milk the milk 1 latte left 0 left 2 left the milk run none out back the till open + a latte - a refund the shop open closed app orders counter orders the app's milk count the jug the jug more milk payment the customers away app order waiting served refunded the app shows 1 milk shows 0 milk shows 2 milk the counter takes an order makes it at once the barista makes the app order out of milk the milk 1 latte left 0 left 2 left the milk run none out back the till open + a latte - a refund the shop open closed app orders counter orders the app's milk count the jug the jug more milk payment As the business opens. Next walks the shortest path to the break.
3. Rules and fixes 98 states reached Rule Fixes to try
never sell a latte there is no milk for Breaks: shortest path 3 steps, in 28 states. the till matches the lattes paid for Holds in all 98 states. Nothing to fix.
Base As written · 100,000 episodes
Pick fixes, set the rewards, and press the button.
TLA+ Compiled and ImprovedWith the fixes on · 100,000 episodes
Pick fixes, set the rewards, and press the button.