Cleaning 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 clients, one cleaner with a morning and an afternoon slot, an online booking form, a booking desk and invoices.
the clients new on the form sent booked cleaned paid went elsewhere let down the booking form shows free slots sent a slot the booking desk am 0 · pm 0 open writes it in the calendar closed the cleaner's calendar morning free morning booked afternoon free afternoon booked the cleaner no · no free morning done afternoon done the invoices invoices 0 none + an invoice paid booking the free slots shown requests bookings the day's jobs jobs done the clients new on the form sent booked cleaned paid went elsewhere let down the booking form shows free slots sent a slot the booking desk am 0 · pm 0 open writes it in the calendar closed the cleaner's calendar morning free morning booked afternoon free afternoon booked the cleaner no · no free morning done afternoon done the invoices invoices 0 none + an invoice paid booking the free slots shown requests bookings the day's jobs jobs done As the business opens. Next walks the shortest path to the break.
3. Rules and fixes 386 states reached Rule Fixes to try
the cleaner is never booked twice at the same time Breaks: shortest path 6 steps, in 36 states. every invoice is for a job that was done Holds in all 386 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.