hedwigaihedwigaihedwigai

Battery factory 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.

1. Pick a business

2. The business

Two batches of cells, a formation and test station, a quality hold, packing and shipping, and a customer order.

cell productionnot mademadeformation and testingwaitingtested goodtested badthe quality holdclearon holdreleasedscrappedpacking and shippingtestedpackedshippedthe customer order0 batchesinvoiced1 batchinvoiced2 batchesinvoiceda batchrecalledthe linerunningstoppednew cellstest resultsthe batch statustested batchesshipments

Shortest Broken Path

As the business opens. Next walks the shortest path to the break.

3. Rules and fixes

392 states reached
Nothing to fix.

4. Reward

Each episode plays random steps until none can happen. Change what a step earns and the episodes run again.

Base

As written · 100,000 episodes

Pick fixes, set the rewards, and press the button.

TLA+ Compiled and Improved

With the fixes on · 100,000 episodes

Pick fixes, set the rewards, and press the button.