Flash-Sale Order Burst: Triage, Decision Policy and Safer Promos
Statistics & ExperimentsModel answerLast updated
Triage a suspicious burst of flash-sale orders, set priced approve/hold/reject rules under chargeback and review-capacity limits, then redesign the promo and plan a safe rollout.
You work on risk analytics for an e-commerce marketplace. During a 2-hour flash sale (11:00-13:00), one account, A123, shows this pattern:
- 80 orders in 10 minutes
- 12 different payment cards across 5 device IDs
- 9 of the orders ship to an address also used by 4 other accounts
- Comparable users place about 2 orders per day
The real-time order-approval system must hold the chargeback rate to 0.3% and send no more than 2% of orders to manual review.
Part A: Diagnose and decide
- Apart from fraud, what else could explain this pattern?
- You have 15 minutes. Which features would you pull, and which tables would you join, to tell coordinated abuse from organic virality?
- Propose a real-time approve / hold / reject policy with concrete rules or score thresholds. Estimate its business impact with this cost matrix: a false positive (good order blocked) costs $30 of lost GMV, a false negative (fraud approved) costs $120, and a manual review costs $1 per order.
- Compare holding 50% of A123-like traffic for 30 minutes with rejecting all of it. Quantify GMV and loss impact and state your assumptions.
Part B: Make future promos safer
- Redesign the promotion to reduce abuse. Cover coupon structure, per-user caps, velocity limits, payment-risk tiers, address trust, and bot mitigation. Define guardrail metrics with alert thresholds.
- Outline an experiment and monitoring plan (holdout or geo-split) with success criteria, stop criteria, and explicit rollback conditions.
Give a structured answer a risk or analytics lead would find actionable, including numbers.
Hints
Hint 1
Derive thresholds from the cost matrix rather than guessing: compare the expected cost of approving (120p) with the expected cost of rejecting (30(1-p)), then ask where a $1 review adds the most value.
Hint 2
For the hold-versus-reject comparison, write down an explicit population (fraud share, how the score splits it, abandonment during the hold, reviewer accuracy) and compute both policies. Then solve for the abandonment rate at which holding stops being better.
Hint 3
In the experiment plan, remember that fraud rings create interference between accounts, so randomize at the identity-cluster or geo level. Chargebacks lag by weeks, so choose leading indicators for stop and rollback rules.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Framing
The task is to turn one alarming account into a dollar-priced decision policy that fits two operational limits (0.3% chargebacks, 2% review), and then to stop the pattern from recurring. Avoid assuming fraud before ruling out benign causes, and derive thresholds from the cost matrix instead of picking them by feel.
Part A
1. Non-fraud explanations
- Logging artifact: retries, double submits, or split shipments recorded as separate orders. Compare
order_idwithcheckout_session_idfirst. - Reseller or buying agent: a real buyer exploiting the discount. This is policy abuse, not chargeback risk.
- Group buying: an office, dorm, or family pooling orders, which explains shared cards and addresses.
- Parcel locker or freight forwarder: the shared address is a logistics hub.
- Viral spike: a creator or live stream sending many real users to the deal.
- Internal test or QA account left active in production.
2. Data to pull in 15 minutes
Build one table: orders joined to payments, sessions/devices, accounts, normalized addresses, and coupon redemptions, covering the sale window plus 7 days of history.
| Dimension | Features | Points to abuse | Points to organic |
|---|---|---|---|
| Payment | BIN, prepaid/virtual flag, card first-seen, AVS/CVV/3DS result, declines before success | New or prepaid cards, many declines | Aged cards, clean 3DS |
| Device/network | Device age, emulator flags, accounts per device, datacenter ASN, IP vs ship geo | Shared devices, proxies | One device per account, residential IP |
| Account | Age, prior orders, verification, signup source | Created just before the sale | Tenure and history |
| Behavior | Landing-to-checkout time, inter-order gaps | Machine-regular, sub-10s | Human variance |
| Basket | SKU mix, resale value | Repeated high-resale SKU | Varied baskets |
| Graph | Connected components over card, device, address, IP | Dense cluster of 5+ accounts | Isolated nodes |
| Traffic | Referrer, creator or stream ID | Direct, none | Shared referrer across unrelated users |
Organic virality looks like many unconnected, tenured accounts with a common referrer. Coordinated abuse looks like a small, dense cluster with new cards and inhuman speed. A123 already leans toward abuse unless the address turns out to be a forwarder.
3. Decision policy
Let p be the model's fraud probability.
- Approve costs 120p in expectation. Reject costs 30(1-p).
- Reject beats approve when 30(1-p) < 120p, so p > 0.20.
- Reviewing is worth about min(120p, 30(1-p)) - 1 if review were perfect. This peaks at p = 0.2 (about $23), so scarce reviewer time belongs in the ambiguous middle, not on obvious fraud or obvious good orders.
Policy:
- Approve if p < 0.02.
- Review if 0.02 <= p < 0.60. Raise the lower bound until review volume is at most 2% of orders.
- Reject (or force a 3DS step-up as a softer option) if p >= 0.60.
Hard rules layered on top of the model:
- More than 5 orders per account in 10 minutes: hold.
- More than 3 distinct cards per account in 24 hours: hold.
- A device tied to more than 3 accounts, or a graph cluster of 5+ accounts sharing card or address: score floor of 0.5.
- New card + new device + coupon: require 3DS.
Validate on the sale's scored traffic and check projected chargebacks (at most 0.3%) and review rate (at most 2%). If review overflows, raise the lower bound first, since the lowest-p orders are cheapest to auto-approve.
4. Hold 50% for 30 minutes vs. reject
Assumptions: 1,000 A123-like orders, 60% fraud (600 fraud, 400 legit). The score splits them: top half has 450 fraud and 50 legit, bottom half has 150 fraud and 350 legit. The top half is rejected under both policies. Under the hold policy the bottom half is held. During a 30-minute hold, 25% of legit buyers abandon. Review catches 90% of fraud and wrongly rejects 5% of the legit orders it sees. Average order value is $60.
Reject all: 400 legit x $30 = $12,000.
Reject top half, hold bottom half:
| Item | Calculation | Cost |
|---|---|---|
| Top half rejected | 50 x $30 | $1,500 |
| Review | 500 x $1 | $500 |
| Missed fraud | 15 x $120 | $1,800 |
| Abandonment | 87.5 x $30 | $2,625 |
| Reviewer false positives | 5% of 262.5 = 13.1 x $30 | $394 |
| Total | about $6,800 |
Holding saves roughly $5,200 and keeps about 249 legit orders (about $15k GMV). The 500 reviews are 0.25% of a 200k-order sale, well within the 2% budget. Approving everything would cost 600 x $120 = $72,000.
Break-even: total hold cost is about 4,325 + 9,975a for abandonment rate a. Setting this equal to $12,000 gives a of about 77%, so the conclusion holds unless the hold is far more painful than assumed. The 15 missed frauds are a negligible chargeback rate at sale scale, but confirm that against the 0.3% target.
Part B
5. Safer promo design
- Coupon structure: a modest instant discount plus deferred cashback paid after the return window. Exclude gift cards and high-resale SKUs, and set a minimum spend.
- Caps: one coupon per verified identity (phone + payment + device cluster), not per account. Per-SKU quantity caps, for example 2.
- Velocity limits: at most 3 orders per identity per 10 minutes and 2 new cards per identity per day.
- Payment-risk tiers: low-risk (aged card, clean 3DS) gets instant approval. Mid-risk gets step-up. High-risk (prepaid, virtual, new BIN) is limited to lower caps or pre-authorization only.
- Address trust: score addresses by history, fan-in of accounts, and forwarder or locker lists. Low-trust addresses lose coupon eligibility.
- Bot mitigation: challenge on abnormal checkout speed, queue or waiting-room access for hot SKUs, and rate limits per IP/ASN.
Guardrails (example alert thresholds):
- Projected chargeback proxy above 0.25% of orders: alert. Above 0.3%: tighten.
- Review rate above 2% for 15 minutes: raise the review threshold.
- Orders per identity at p99 above the cap: alert.
- Share of coupon redemptions from the top 1% of identities above 10%: alert.
- Approval rate for tenured users falling more than 2 points, or conversion falling more than 5% versus holdout: alert.
6. Experiment and monitoring
- Unit of randomization: identity cluster or geo region, not individual account. Rings span many accounts, so account-level randomization leaks (interference).
- Design: treat new rules on a share of clusters or regions, with a holdout on the old rules. Pre-register metrics: GMV, conversion, chargeback proxies, review rate, false-positive rate on tenured users.
- Lagging outcomes: chargebacks arrive weeks later, so use leading indicators (3DS failure rate, refund rate, device-sharing rate, review-overturn rate) for in-flight decisions.
- Success: abuse indicators fall meaningfully with GMV loss within a pre-set tolerance (for example under 2%).
- Stop and rollback: auto-disable a rule if tenured-user approval drops more than 3 points, conversion drops more than 7%, review queue exceeds capacity for 30 minutes, or a rule's overturn rate exceeds 50%. Keep a kill switch per rule and keep the previous ruleset deployable in minutes.
Common mistakes: assuming fraud without checking logging bugs, sending reviewers the obvious frauds instead of the ambiguous band, ignoring abandonment during holds, randomizing by account despite ring interference, and judging success on chargebacks that have not matured yet.