Measure a Price Lock Option on the Quote Page

Last updated: November 29, 2026

Quick Overview

Flexport is testing a quote page that lets shippers pay a small fee to lock an ocean freight price for 14 days. Design the experiment and the analysis: what is randomized, which metrics decide it, and how you handle a B2B customer base with few, very unequal accounts.

Flexport
Analytics & Experimentation
Data Scientist
Flexport
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Medium

0

0

0 solved


Flexport is testing a quote page that lets shippers pay a small fee to lock an ocean freight price for 14 days. Design the experiment and the analysis: what is randomized, which metrics decide it, and how you handle a B2B customer base with few, very unequal accounts.

Experimentation at a B2B logistics company looks different from consumer apps: far fewer units, huge variance in shipment volume, and long lags between quote and booking and revenue. The interviewer checks unit choice, metric design that captures margin risk, and variance reduction.

What the Interviewer Expects
  • Randomize at the account level and explain why not per quote
  • Pick a primary metric tied to booked revenue or margin, with conversion as secondary
  • Include guardrails for margin loss when locked prices fall below market
  • Address skew with stratification, CUPED or trimmed metrics
  • Size the test realistically and discuss duration given booking lag
Key Topics to Cover
A/B Testing
Cluster Randomization
CUPED
Metric Design
Power Analysis
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • The market rate drops 20 percent mid-test. How does that affect your read?
  • Large accounts want the feature now. How do you keep the test valid?
  • How would you estimate the long-term effect on retention?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Analytics Questions
Sample Answer
Clarify

What does the lock cost and what does it promise? Assume a fee per container that guarantees the quoted rate for 14 days. Goal: more bookings and revenue without giving away margin when spot rates spi...

Approach

Unit: the account. Randomizing per quote would show the same buyer both pages and contaminate behavior.

Metrics: primary is gross profit from bookings per account over 6 weeks after first exp...


Submit Your Answer
Markdown supported

Related Questions