Back to Home

The Logic of Fairness

Splitting finances isn't just math—it's context. RoomTab uses advanced AI to understand the *nuance* of who pays what.

1. Describe

"Alice is vegan and didn't eat the steak. Bob arrived 2 weeks late."

2. Analyze

Our Logic Engine (Gemini 2.0 Flash) calculates weights, exclusions, and subsidies.

3. Resolve

Get a mathematically fair split + a settlement plan for "Who Owes Whom".

Intelligent Fairness

We don't just guess. We follow strict fairness principles.

  • Resource UsageIf you don't use it, you shouldn't pay for it.
  • DurationProrated rent for partial months is calculated to the day.
  • Financial Capacity(Optional) Suggests subsidies for students or unemployed members.
Input
"Trip cost $1000. Sarah is a student."
Output
-20% Savings
Sarah pays $266 (Student Discount applied).
Input
"Rent $1500. Jack has the master bedroom."
Output
Premium Applied
Jack pays $850 (~60/40 Split).

System Architecture

Built with Next.js 15, Gemini 2.0 Flash, and Opik Observability. Logic V4 ensures zero-sum fairness through item-iterative exclusions.

Built for the Hackathon

🏆 Best Use of Opik

We use Opik for end-to-end observability. Every split generated is traced, tagged with model version, and verified against latency constraints. We also use Opik to run offline evaluation datasets ("The Vegan Test") to ensure the agent doesn't regress.

💰 Financial Health

RoomTab promotes financial fairness by preventing the "silent tax" of equal splits. By accounting for income disparity ("Student") and usage ("Late Arrival"), we ensure money doesn't ruin friendships.