Studio economy and journey simulations

Intent

Fix the weight-loss idle-game audit: spread meaningful purchases through the journey, reward continued logging during plateaus, make the first session useful, remove incentives to undereat or omit food, fix goal editing and offline income, and support affordable recurring purchases. Validate real journeys for 100 lb, 50 lb and less than 15 lb goals, including imperfect attendance.

Rules

Validation

Run the Swift tests against the actual app store and pricing functions:

./scripts/test-studio-economy.sh 'platform=iOS Simulator,name=iPhone 17,OS=latest'

The tests use an in-memory store and controlled clock, so no real user defaults, widgets, music services, health data or network services are touched. The app and widget are compiled by Xcode. Journey simulations print JOURNEY table rows.

Each journey has daily ±0.6 lb deterministic weight noise around a specified weight trajectory, calendar-day visits, actual food logs, actual sync and jar collection, purchases, gifts, weekly records, tour and streak awards. The store is encoded and decoded every 30 days to exercise relaunches. Shopping allocates 50% of available notes to the best affordable generator return, then buys unlocked gear; the irregular-logging scenario uses 25%. Daily deals are not assumed. Two-visit players log at their final visit. Non-logging days still include a visit; separate ledger tests verify the offline cap and rate transitions.

Assertions cover an immediate decoration, first bandmate by day 9 for daily logging, completion of purchasable gear by day 90 (120 with imperfect logging), continued rewards through plateaus, no weight trophy without weight loss, affordable repeat records, finite nonnegative balances, goal edits, migrations, reward idempotency, nutrition conditions, midnight and rate-change accounting.

These are deterministic balance checks, not clinical predictions or evidence of retention. This design deliberately allows the purchasable room to finish before a long weight journey; tour exclusives, the trophy, albums and recurring weekly rewards continue afterward. A nine-week shop does not provide years of new room art. Additional cosmetic seasons would need separate content and validation.

Results

Initial production-store simulation results (zero-based days, so day 0 is the first session). All nine scenario runs passed their balance assertions:

Scenario First decoration First bandmate Shop complete Trend goal reached Longest reward gap
100 lb, 1 lb/week 0 7 63 704 7 days
50 lb, 1 lb/week 0 7 63 355 7 days
12 lb, 0.5 lb/week 0 7 63 173 7 days
5 lb, 0.5 lb/week 0 7 63 75 7 days
50 lb, eight-week plateau 0 7 63 411 7 days
100 lb goal, no weight loss 0 7 63 Never 7 days
50 lb, logging five days/week, 25% promo spend 0 9 86 361 7 days
12 lb, once-daily visit 0 7 63 173 7 days
12 lb, twice-daily visits 0 7 63 173 7 days

A reward event means a generator purchase, gear purchase, or record entitlement; it does not count merely accruing currency. Goal dates reflect the actual smoothed trend with deterministic weight noise. They are simulated dates, not promised weight-loss timelines.

Review and verification

The full Xcode suite passed: 157 unit tests and 13 UI tests. Standards review found no documented-standard violations; its ledger encapsulation suggestion and collection-assertion finding were addressed. Spec review found one misleading “any three” label, now explicitly limited to today’s seven actions. The widget also labels studio progress separately from tour weight progress.

The final focused rerun passed 38 unit tests and the weight-loss dashboard UI test, including a widget-ledger parity test and real pre-collection balance assertions in every journey.

Steady is a personal project by Hunter Baisden · hunter.baisden@gmail.com
Everything you log stays on your iPhone. Read the privacy policy.