Defining Usability Metrics for Consumer Apps and Dev Tools
Statistics & ExperimentsModel answerLast updated
Turn a vague "this improves usability" claim into concrete, measurable metrics for a streaming platform and a machine learning framework.
Setting the Scene
A product manager walks into your team's weekly sync and says: "The new onboarding flow improves usability." Your job is to figure out what that actually means — and whether it's true.
Usability is not a single number. The ISO 9241-11 standard breaks it into three dimensions: effectiveness (can users complete their goal?), efficiency (how much effort does it take?), and satisfaction (how do they feel about it?). Strong analytics work starts by picking the right dimension, then defining a metric precisely enough that two engineers would compute the same number from the same logs.
The Questions
Part 1 — Beyond latency and accuracy
Developers who use or build tools care about more than raw performance numbers. What other dimensions of a product matter to them? Give concrete examples.
Part 2 — Pressure-testing a usability claim
An engineer tells you a new feature improves usability. What questions do you ask before accepting that claim? Think about experimental design, evidence quality, and potential blind spots.
Part 3 — Concrete metrics for two very different products
Define specific, measurable usability metrics for each of the following:
- A consumer streaming service (think: a large video platform). Cover effectiveness, efficiency, and satisfaction.
- A machine learning framework used primarily by developers (think: a widely used deep learning library). Cover onboarding time, developer productivity, reliability, satisfaction, and adoption.
For each metric, state what it measures, how you would compute it (numerator, denominator, time window), and how you would collect the data.
What a Strong Answer Looks Like
- A clear organizing framework applied consistently to both products
- Metrics defined precisely enough to be implemented, not just named
- Awareness of how metrics interact and where they can mislead
- Skepticism about common shortcuts like raw download counts or a standalone NPS score
Hints
Hint 1
Start with a framework before listing metrics — effectiveness, efficiency, and satisfaction give you a structure that applies to both products and signals to the interviewer that you think systematically rather than enumerating at random.
Hint 2
For each metric, force yourself to write out the fraction: numerator ÷ denominator over some time window. 'Crash rate' is vague; 'sessions ending in an uncaught framework error ÷ total sessions per week' is a metric.
Hint 3
When pressure-testing a usability claim, think in layers: What is the primary metric? Who is the comparison group? What could confound a before/after reading? What guardrails were checked? This mirrors how a good experiment review actually works.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Part 1 — What developers care about beyond latency and accuracy
Group these into themes rather than listing them at random:
Learnability and onboarding — How long does it take to get a first working result? Are error messages actionable? Do the docs have runnable examples? A tool with great performance but cryptic errors has poor usability for new users.
Ergonomics and expressiveness — How many lines of code does a common task require? Is the API consistent across modules? Can a developer read a stack trace and understand what went wrong? Eager execution in PyTorch, for example, was partly a usability decision.
Reliability and stability — Beyond crashes, this includes silent correctness bugs, non-deterministic behavior, and breaking changes between releases. A framework that produces subtly wrong gradients under certain conditions is a usability failure even if it never segfaults.
Portability and integration — Does it work on the hardware, OS, and Python version the developer already has? Does it play nicely with adjacent tools (NumPy, ONNX, CUDA libraries)? A packaging experience that requires three hours of troubleshooting is a usability problem.
Resource efficiency — Memory footprint, compile time, and startup overhead all affect how fast a developer can iterate. A tool that takes 90 seconds to recompile on every change slows the edit–run–debug loop.
Ecosystem and operational concerns — Quality of third-party libraries, time to get a GitHub issue resolved, observability and profiling tooling, licensing, and security patch cadence.
Part 2 — Questions to ask before accepting a usability claim
- Which dimension? Effectiveness, efficiency, or satisfaction? "Improved usability" could mean task completion went up, time-on-task went down, or survey scores improved. These can move in opposite directions.
- For whom? New users, expert users, or both? A change that helps beginners by adding guardrails can frustrate experienced users.
- Compared to what? Is there a control group, or is this a before/after comparison? Before/after is vulnerable to seasonality, simultaneous releases, and regression to the mean.
- What is the sample size and effect size? An improvement of 0.5 percentage points with a wide confidence interval is not a result worth acting on.
- Were metrics pre-registered? If the team looked at twenty metrics and reported the one that moved, the finding is probably noise.
- What is the proposed mechanism? Why should this feature change user behavior? Is there qualitative evidence — session recordings, user studies, support tickets — that corroborates the number?
- Did anything regress? Guardrail metrics like latency, crash rate, and engagement should be checked even if they are not the primary metric.
- Is this a novelty effect? Check whether the lift holds two to four weeks after launch, not just in the first few days.
Part 3a — Consumer streaming service
| Dimension | Metric | Definition | Collection |
|---|---|---|---|
| Effectiveness | Play-start success rate | Sessions where a title was played for ≥ 2 min ÷ total sessions | Client event logs |
| Effectiveness | Search success rate | Searches followed by a play within 5 min ÷ total searches | Funnel logs |
| Effectiveness | Playback error rate | Fatal playback errors ÷ play attempts | Player telemetry |
| Efficiency | Time to first play (TFP) | Median and p90 seconds from app open to first video frame of a qualified play | Client timestamps |
| Efficiency | Browse effort | Rows scrolled and titles previewed before a play event | Interaction logs |
| Efficiency | Rebuffer ratio | Total stall time ÷ total watch time per session | QoE telemetry |
| Satisfaction | NPS | % Promoters (9–10) minus % Detractors (0–6) on a 0–10 recommend question | In-app surveys, stratified sample |
| Satisfaction (behavioral) | 28-day retention / churn rate | Users active 28 days after joining ÷ new users; cancellations ÷ active subscribers | Billing and activity logs |
A few things worth calling out:
- Abandonment rate (sessions with no qualifying play) is the complement of play-start success and is often more sensitive to friction changes.
- NPS moves slowly and is noisy on its own. Behavioral proxies like retention and completion rate react faster and are less subject to response bias.
- Always segment by device type (TV, mobile, web), by member tenure (new vs. long-standing), and by region. A change can help one segment while hurting another.
Part 3b — Machine learning framework
Onboarding time
- Time to first successful outcome (TTFS): median time from install to (a) a successful import with GPU detected and (b) a completed training loop on a tutorial task.
- Install success rate: successful installs ÷ install attempts, broken down by OS, CUDA version, and Python version.
- Collect via: opt-in telemetry, install test matrices in CI, and moderated studies where first-time users are given a fixed task (e.g., "train a small image classifier to a target accuracy") and timed.
Productivity / code reduction
- Lines of code (LOC) for benchmark tasks: measure LOC and API call count needed to implement a fixed task suite (custom layer, distributed training, mixed precision, model export) against the previous version or a competing framework. Do not use raw LOC from open-source repos — it reflects what people choose to build, not task complexity.
- Task completion time: median minutes to finish each benchmark task in a controlled study with counterbalanced task ordering.
Reliability
- Crash rate: sessions ending in an uncaught framework-originated exception, segfault, or CUDA error ÷ total sessions per week. Track separately from user errors — a clear error message for a user mistake is good usability, not a crash.
- Regression count per release: issues labeled as regressions in the two weeks after each release, tracked over time.
- Collect via: opt-in crash telemetry and GitHub issue severity labels.
Satisfaction
- Developer NPS: "How likely are you to recommend this framework to a colleague?" on a 0–10 scale, quarterly, stratified by persona (researcher, production ML engineer, student).
- Pair with free-text coding to understand why scores move. A 2-point NPS drop is not actionable on its own; knowing it came from docs complaints is.
Adoption / WAU
- Weekly active users: unique users or machines that ran the framework in a rolling 7-day window. Use opt-in telemetry or, as a proxy, unique authenticated pip install IPs.
- Critical caveat: raw download counts are inflated by CI pipelines downloading the package on every run. Deduplicate aggressively, or prefer retention-based metrics (4-week retention of new users) over acquisition counts.
- Ecosystem share: fraction of new ML papers or public GitHub repos using the framework, tracked via Papers with Code and GitHub dependency graphs.
Common mistakes
- Naming a metric without defining it. "Crash rate" is not a metric. "Uncaught framework exceptions ÷ weekly active sessions" is.
- Reporting NPS in isolation. It moves slowly, has high variance on small samples, and does not tell you why satisfaction changed.
- Using raw downloads as a WAU proxy. CI pipelines and mirrors make this number nearly meaningless without deduplication.
- Ignoring guardrail metrics. A usability improvement that causes a latency regression is not necessarily a win; the trade-off needs to be made explicitly.
- Forgetting segmentation. Aggregate metrics hide the cases where one user group gains at another's expense.