The interview problem
A customer reports 5,000 AI-assisted resolutions, but operators say many tasks failed after clicking Submit. Redesign measurement so the pilot's value claim is reproducible.
Original practice, not a reported company interview. All scenarios and worked numbers are illustrative. Interview date: not applicable. Sources retrieved September 30, 2026.
1. Scope and assumptions
Distinguish intent, attempted submission, accepted command and completed business outcome. Instrumentation should follow the workflow's durable states rather than the easiest front-end event.
2. Worked approach
task attempt → durable business transition → identified event → deduplication → outcome report
Trace sample task IDs across UI events, backend commands and authoritative outcomes. Define one versioned event contract for each state transition with task ID, attempt ID and event ID. Emit completion from the durable business transition or an outbox coupled to it, not from the button handler.
Deduplicate by event identity and derive task-level outcomes under an explicit terminal-state policy. Preserve failures, reversals and delayed completions. Agree with the customer whether reopened work still counts and which observation window is used. Keep sensitive content out of telemetry when identifiers and status fields suffice.
3. Calculate the example
Suppose 5,000 Submit clicks include 500 retry clicks, leaving 4,500 distinct tasks. Of those, 4,000 complete and 500 fail. Completion among attempted tasks is 4,000/4,500≈88.89%, while counting clicks as completed work overstates completions by 1,000, or 25% relative to 4,000. If 200 completed tasks are later reversed, net retained completions under that policy are 3,800, a separately defined measure.
4. Failure cases and trade-offs
Client offline buffering can deliver events out of order. A retry with a new task ID defeats deduplication. Backend success may mean queued rather than finished. Dashboard filters can silently exclude failures with missing fields.
Durable outcome measurement takes more integration work than click analytics but supports a credible business claim. Early pilots can show attempt counts immediately while clearly labeling outcome data as pending. Do not delay all visibility or call provisional counts final.
5. Validate the result
Replay known workflows with retries, failures and reversals, and reconcile dashboard task IDs to the source ledger. Have operations and analytics owners sign off on definitions and denominator rules before comparing pilot versions.
6. Interview follow-ups and self-review
How are completions arriving after the reporting window handled? Can one task have several valid outcomes?
Reward state distinctions, stable identities, arithmetic reconciliation and shared metric ownership.
Sources and related practice
Technical reference: opentelemetry.io — Event semantic-convention background; business-state contract and counts are original.
Exact publication/update date not established in this review. Retrieved September 30, 2026. This reference supports the named technical concept; the proposed workflow and examples are original, not a documented vendor implementation or interview report.
Continue with Detect a misleading pilot success metric; Estimate and validate the ROI of an AI workflow.
Continue your preparation
Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.