๐งช Test Level Loader
Instructions
Click the buttons below to load test levels into localStorage. Once loaded, you can access them in the editor using the "Load Level" button.
Note: Loading will add to existing levels (won't delete your work).
1. Comprehensive Test Level
Best to start with this one!
Purpose: Integration test of all revised components working together.
- Duplicator: 6 copies split 3:2:1 to three paths
- Shuffler: Dual output + retention (2 balls retained per cycle)
- Filter: Custom color routing (red match โ left, non-match โ right)
- Observation: 5ร5 grid layout
- Merger: Combines multiple sources
- 23 components, 30 balls, 4 hypotheses
2. Edge Cases Test Level
Purpose: Tests parameter limits and edge cases.
- Max parameters: 10 copies, capacity=10, minBufferSize=10
- Min parameters: 1 input, minBufferSize=1
- Overflow: 30+ balls to 25-capacity observation grid
- 4-way duplicator output
- All-match filter scenario (empty non-match output)
- 27 components, 50 balls for stress testing
3. Inference Chain Test Level
Purpose: Tests complex Bayesian inference with retention.
- 4 sacks with 2 alternatives each = 16 hypotheses
- Duplicator with plex glass (no observation inside)
- Shuffler with retention (tests cross-cycle dependencies)
- Filter with plex glass
- Merger combines 2 sources
- Arm sampling (50% rate)
- 30 components, 20 balls
โ ๏ธ Management
Use these buttons carefully:
Next Steps:
- Click a "Load" button above to add test level to localStorage
- Open
editor.html in your browser
- Click "Load Level" button in editor
- Select the test level from the list
- Click "Test Level" to run the simulation
Or use "Load & Open Editor" buttons for one-click loading!
See QUICK_START_TESTING.md for detailed testing instructions.