Who it is forA developer who forks or modifies Ware Twin and needs proof that changes to the scheduler or engine did not break collisions, determinism or recovery behavior.
The problemChanges to a simulation engine can silently alter results, and it is hard to tell whether the Python and TypeScript engines still agree.
The outcomeA pass or fail report from 52 backend tests and 32 frontend tests covering PRNG parity, A*, long stress runs, determinism, lifts and compound failures.
What you need first
- Node 18 or newer
- Python 3.11 (conda or venv)
- Git
- Optional: an OpenAI API key in backend/.env for LLM mode, otherwise the app runs in demo mode with no key
Steps
- Run
git clone https://github.com/WayneChou-bot/WareTwin.git && cd WareTwin - Run
cd backendthenpip install -r requirements-dev.txt - Run
python -m pytest -qfrom the backend folder - Run
cd frontendthennpm install - Run
npm testfrom the frontend folder
Prompt for your agent
Clone https://github.com/WayneChou-bot/WareTwin, install the backend requirements, and run python -m pytest -q in backend and npm test in frontend. Report the number of passed and failed tests for each suite, and list any failing test names. Verify the backend reports 52 tests and the frontend reports 32.
Caveat. The test suites cover the synthetic layout and the included scenarios, so passing tests do not prove behavior on a real facility.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for WayneChou-bot/WareTwin and "Verify the twin engine's determinism with the test suites"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer