{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "waynechou-bot-waretwin--compare-fleet-changes-with-what-if",
 "repo": "WayneChou-bot/WareTwin",
 "repo_url": "https://github.com/WayneChou-bot/WareTwin",
 "repo_slug": "waynechou-bot-waretwin",
 "title": "Compare a fleet change against a baseline with what-if runs",
 "page_title": "How to compare a fleet change against a baseline with what-if runs with Ware Twin",
 "summary": "Clone the live twin, inject a change, and compare 12 metrics with the same random seed.",
 "who": "A logistics analyst who must justify a change in robot count, charger use or task mix and needs evidence before proposing it.",
 "problem": "Judging a proposed change from intuition is risky, and testing it on the live system is not an option.",
 "outcome": "A 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.",
 "steps": [
  "Start the backend with `uvicorn app.main:app --reload --port 8000` from the backend folder after `pip install -r requirements-dev.txt`",
  "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",
  "Read the 12-metric comparison against the baseline that uses the same seed",
  "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"
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "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.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/waynechou-bot-waretwin/compare-fleet-changes-with-what-if/",
 "md": "https://dedupedai.com/use-cases/waynechou-bot-waretwin/compare-fleet-changes-with-what-if/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/waynechou-bot-waretwin--compare-fleet-changes-with-what-if.json",
 "api_version": "v1"
}
