Back to Beril's profile
14views

Biteloop: The checkout total is wrong

Customers were charged the wrong amount on Monday. Fix the pricing against the rules and work out who's owed what.

Beril Godjerin

Overview

The problem

A Wooble FastTrack work simulation for the AI-enabled Full-Stack Developer role. Customers were charged the wrong amount on Monday. Fix the pricing against the rules and work out who's owed what.

Biteloop is a fictional meal-delivery app company. The data was built for me alone and my answers were checked by Wooble; I passed on hand-in 1.

The result

Hi Neha,

I investigated Monday's checkout discrepancies and identified three bugs in coupon expiry timezone handling, percentage discount limits and GST rounding.

I corrected the pricing logic and added regression tests. The recalculated total for 145 delivered orders is ₹70,674.20. Customers were undercharged by ₹5,702.10 across 39 orders, with no overcharged delivered orders.

I recommend adding automated tests for IST date boundaries, coupon discount caps and GST rounding to prevent similar issues in future releases.

Regards, AI-enabled Full-Stack Developer

Links & files

Artifacts

1