Three SQL queries feed the weekly growth review, and every number in it is slightly wrong. Find the join fan-out, the LEFT JOIN that became an inner join, the month window that loses a day and the integer division, then fix the queries without breaking the report API.
This is the practice version. Assessments always use a variant you have never seen.
The growth lead noticed March revenue in the deck is lower than the payment processor's total. The weekly review reads three queries in queries/, run on SQLite through warehouse/report.py.
The schema is in warehouse/schema.sql:
qty × unit price_cents) and (instalments);2026-03-31T18:00:00.revenue_by_month.sql: revenue of paid orders created in :month (e.g. 2026-03), every day of that month.customer_ltv.sql: one row per customer with paid_orders and spend_cents. Customers without paid
orders show 0 and 0.conversion_by_channel.sql: per signup channel, the share (0–1) of signups with a paid order within 30 days.
Customers without a channel are reported as unknown.Keep the column names. Run python3 -m unittest discover -s tests; hidden tests use their own data.
| Direct an Agent Through a Two-Day Job-Queue MigrationBackend & APIsTiers: Junior, Mid-levelEditorial | Medium | Agent task | 2 h | Calibrating |
| Write the Weekly Update in an Incident WeekWritten communicationTiers: Fresher, Junior, Mid-levelEditorial | Easy | Doc studio | 35 min | Calibrating |
| Audit Design Tokens for WCAG ContrastDesignTiers: JuniorEditorial | Medium | File deliverable | 45 min | Calibrating |