TypeScript · easy
Pricing currently treats every day as a weekday. Weekdays use 1x and weekends use 1.5x, or Saturday customers are charged the wrong rate.
Keep the base price on weekdays and apply a 1.5x multiplier on weekends. priceCents(100, "weekday") → 100; priceCents(100, "weekend") → 150.
workspace/
└── src/
└── pricing.ts (weekend surcharge never clocks in)With sharpen installed, this command opens exactly this challenge in your local arena:
sharpen 23
First time? The full install is right below.
npm install -g @juanwmedia/sharpen sharpen 23 npx @juanwmedia/sharpen 23 sharpen update