Vending machine 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, one card reader, a dispenser that can jam, a refund timer and a restock route.
the customers away charged got it stuck refunded disputed the card reader free busy with a sale the dispenser drops it jams the refund timer off jam seen timer running refunded the restock route none on the way done the takings 0 + a sale - a refund the day open over tapping a card vend the jam sensor a new sale resets the machine money back new stock the customers away charged got it stuck refunded disputed the card reader free busy with a sale the dispenser drops it jams the refund timer off jam seen timer running refunded the restock route none on the way done the takings 0 + a sale - a refund the day open over tapping a card vend the jam sensor a new sale resets the machine money back new stock As the business opens. Next walks the shortest path to the break.
3. Rules and fixes 206 states reached Rule Fixes to try
every card charged for a jam gets its money back Breaks: shortest path 4 steps, in 52 states. the takings match the cards still charged Holds in all 206 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.