// Engineering & Infrastructure · built through Btechs
Roomsplit
Fair room allocation and cost sharing for group vacation rentals.
Status Tested MVPBuilt Nov 2026Org BtechsRole Founder & Technical Lead

Overview
Roomsplit turns a group chat argument into a decision. Each party states preferences and a budget; an optimizer searches feasible arrangements and proposes the best under three strategies; the group votes; prices are computed with deterministic integer-cent arithmetic. AI is used only to draft bedrooms from listing photos — never to decide money.
The problem
Groups sharing a vacation rental have to decide who gets which bedroom and how to split the bill — and today that means an argument.
My contribution
- Founder and product owner: defined the fairness model and the 'AI never decides money' rule.
- Directed the engine design — exact-cent apportionment, optimizer, and envy-free auction — built through AI-assisted development.
- Owned validation: unit, integration, and end-to-end coverage of the full group journey.
Architecture
How it fits together
- Next.js App Router with server actions; all writes and authorization go through a service layer, and each viewer gets a permission-filtered read model.
- A pure, I/O-free TypeScript engine handles money, scoring, optimization, and auctions.
- SQLite storage; listing import uses an SSRF-guarded fetch with robots.txt checks and vision models (Gemini or Claude) to draft rooms for human review.
Technology
TypeScriptNext.jsSQLiteZodVitestPlaywright

Capabilities & validation
Implemented capabilities
- Exact-cent cost split using largest-remainder apportionment
- Room assignment: exhaustive search for small groups, local search beyond, three strategies
- Sealed-bid auction with envy-free prices
- Group workflow: invites, questionnaires, proposals, voting, agreement
- Listing import that drafts bedrooms from photos for review
Validation & evidence
- 82 Vitest unit and integration cases across the engine and services
- Playwright end-to-end specs covering the group journey and listing import
Sources for this page
- Engine source (money, optimizer, auction)
renter-app/src/lib/engine/ - Unit and integration tests
renter-app/tests/ - End-to-end specs
renter-app/e2e/