The Gilded Ace — Decision Room
Luck, location, or a leak?
Inspiration
Imagine being given $100,000 to improve a casino floor, and the general manager's first instinct is to replace the ten machines making the least money.
Our question was simple: What if those machines aren't actually the problem?
A machine might be experiencing unusually bad payout luck, sitting in a low-traffic location, or spending too much time offline. Replacing it without identifying the underlying cause could waste the entire budget.
We wanted to build more than a dashboard. We wanted to build a decision room that challenges its own recommendations.
What It Does
The Gilded Ace analyzes six months of synthetic casino operations through an interactive dashboard featuring:
- Machine-level financial performance, statistical anomaly detection, and an interactive casino floor map.
- Demand, downtime, repair, guest, and loyalty-program investigations.
- Chronologically validated forecasting against a simple baseline.
- A $100,000 investment planner comparing 968 feasible portfolios.
- An evidence-grounded Gemini investigation assistant with an offline fallback.
Our findings included a statistically unusual payout pattern on machine M-1158, a roughly 31% relative decline in Back Forty wagering during an access disruption, and significant differences in manufacturer fault rates.
Our Biggest Finding
The best financial recommendation was to spend $0.
After evaluating intervention costs, opportunity losses, and scenario assumptions, our primary model recommended retaining the full $100,000 rather than funding interventions with insufficient demonstrated returns.
We also developed a separate $13,900 experimental strategy involving inspections, wayfinding, and a controlled loyalty pilot. Unlike the financial recommendation, this option prioritizes learning, and we explicitly disclose its negative modeled base-case return.
How We Built It
We combined React, TypeScript, Vite, Python-based statistical analysis, and a constraint-aware decision engine. Our methodology includes exposure-adjusted comparisons, multiple-testing correction, historical location attribution, and chronological forecasting.
A frozen weekday forecasting model achieved approximately $68,699 mean absolute error versus $218,258 for a constant baseline.
Challenges and What We Learned
The hardest challenge wasn't visualization. It was separating correlation from causation.
An unusual payout isn't proof of malfunction. A traffic decline isn't proof that signage will fix it. And a forecast isn't evidence that an intervention will generate profits.
We also tackled complex data reconciliation, time boundaries, model validation, and cloud deployment.
Our biggest lesson: Sometimes the most useful output of an analytics system isn't what to do next. It's knowing when the evidence isn't strong enough to justify acting.
What's Next
Expand the hourly operations explorer, validate interventions through controlled experiments, and use future results to update our recommendations.
All casino data is synthetic. Estimated intervention effects are scenarios, not proven causal returns. OpenAI Codex assisted with implementation, analysis, testing, and documentation; Gemini is used for optional evidence-grounded investigation.
Built With
- css3
- data-visualization
- gemini
- github
- html5
- javascript
- postgresql
- python
- react
- sql
- statistical-analysis
- tigerdata
- timescaledb
- typescript
- vercel
- vite