Real-time self-checkout operations companion for proactive lane monitoring, incident response, and explainable guidance.
The app simulates a live fleet of checkout lanes and helps store operations teams:
- Detect rising lane risk from continuously updating telemetry
- Auto-create and manage incident tickets when lanes cross the high-risk threshold
- Review lane-level warning signals, named failures, and root-cause history
- Preview interventions before acting with a predictive simulator
- Ask an assistant what is happening, what to do now, and why
- Fleet overview with lane cards and live risk bands
- Selected lane panel with score ring, trend chart, drivers, and lane details
- Root-cause timeline toggle for deeper investigation
- Predictive intervention simulator with projected risk, latency, queue, and confidence
- Bottom-page operational impact panel with measured outcomes and calibration stats
- Auto-generated ticket queue for active incidents
- Lane-specific disable and re-enable workflow
- Human approval gate before disruptive action
- Mark investigating and false-positive handling
- Ticket deduplication by lane so one lane only has one active incident record
- Floating chat assistant that stays available without blocking the dashboard
- Prompt shortcuts for common ops questions
- Responses include evidence, next steps, and safety notes
- Telemetry-driven scoring: risk is recalculated from simulated lane conditions, not hardcoded states
- Data-driven warnings and failures: lane alerts come from the telemetry model and machine profile behavior
- SLA breach forecasting: near-term breach probability is shown with a Low/Medium/High band
- Trust and calibration: false-positive feedback updates precision metrics and temp suppression behavior
- Measured outcomes: the dashboard surfaces proactive intercepts, mitigated incidents, and modeled value protected
- React
- TypeScript
- Vite
- Custom simulation and scoring engines with no backend dependency for the core demo
- src/App.tsx: Main dashboard UI, workflow state, simulator, incident queue, and assistant integration
- src/mockData.ts: Synthetic telemetry and warning/failure generation
- src/riskEngine.ts: Lane risk scoring, trend data, and driver extraction
- src/assistantEngine.ts: Assistant reasoning and ticket generation helpers
- src/chatClient.ts: Chat API client
- src/App.css: Dashboard styling and responsive layout
- Install dependencies:
npm install- Start the dev server:
npm run dev- Build for production:
npm run build- Open the Operations page and select a lane.
- Walk through the live score, trend, drivers, and warning/failure states.
- Expand the simulator and compare intervention options.
- Switch to Response and show the ticket queue, approval gate, and lane action flow.
- Open the assistant and ask for the recommended action plus rationale.
- The app is optimized for demo and judging workflows.
- Telemetry, incidents, and recommendations are simulated, but the workflow wiring mirrors a realistic store operations tool.