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

How to compare a fleet change against a baseline with what-if runs with Ware Twin

Clone the live twin, inject a change, and compare 12 metrics with the same random seed.

Short answer: Start the backend with uvicorn app.main:app --reload --port 8000 from the backend folder after pip install -r requirements-dev.txt; then start the frontend with npm install then npm run dev from the frontend folder; open the What-if panel, choose the injections to test and run a 1 to 10 minute simulation. All steps.

Who it is forA logistics analyst who must justify a change in robot count, charger use or task mix and needs evidence before proposing it.

The problemJudging a proposed change from intuition is risky, and testing it on the live system is not an option.

The outcomeA side-by-side comparison of 12 metrics against a baseline, plus a tick-by-tick diff that shows where the two runs first diverge, with the live system left untouched.

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. Start the backend with uvicorn app.main:app --reload --port 8000 from the backend folder after pip install -r requirements-dev.txt
  2. Start the frontend with npm install then npm run dev from the frontend folder
  3. Open the What-if panel, choose the injections to test and run a 1 to 10 minute simulation
  4. Read the 12-metric comparison against the baseline that uses the same seed
  5. Optionally replay across up to 5 seeds and check the min, median and max per KPI, then use the event diff to find the first divergence

Prompt for your agent

Using the WareTwin repo at https://github.com/WayneChou-bot/WareTwin, run a what-if simulation that injects <scenario> into the live twin and compare the 12 metrics with the baseline. Output a table of each metric with baseline value, scenario value and difference. Verify the live simulation state was not changed after the run.

Caveat. The multi-seed range shows the model's internal variability, not a statistical prediction interval, so it should not be read as a forecast.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for WayneChou-bot/WareTwin and "Compare a fleet change against a baseline with what-if runs"

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