DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to verify the twin engine's determinism with the test suites with Ware Twin

Run backend and frontend tests to confirm the simulation engines match and behave consistently.

Short answer: Run git clone https://github.com/WayneChou-bot/WareTwin.git && cd WareTwin; then run cd backend then pip install -r requirements-dev.txt; run python -m pytest -q from the backend folder. All steps.

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

  1. Run git clone https://github.com/WayneChou-bot/WareTwin.git && cd WareTwin
  2. Run cd backend then pip install -r requirements-dev.txt
  3. Run python -m pytest -q from the backend folder
  4. Run cd frontend then npm install
  5. Run npm test from 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer