AI Delivery Last Mile: Validate the Requirement Before Writing Code
This article explains why validating a requirement matters more than executing a ticket correctly in enterprise AI delivery. Using a drilling services case where a fully accepted email and Q&A assistant changed no core metric, it shows how an excluded attribution script froze monthly settlements. It provides a four-part requirement diagnosis checklist, a data loop and evaluation design, a phased delivery plan, and a pre-delivery validation checklist for Forward Deployed Engineers (FDEs).
1. A Delivery Where Everything Worked but No Metric Moved
Picture a scenario at a drilling services company. The business owner submits two requests: automatically generate a daily production summary email, and launch a conversational assistant that can answer questions about oil wells. The requirements are clearly described, the boundaries are explicit, and the owner specifically notes that the downtime coding workflow is already live but still relies on keyword rules with a high misclassification rate, so it is out of scope for this project.
The delivery team builds to the ticket. The email arrives on schedule, the Q&A assistant responds smoothly, and every acceptance check passes. Yet the core metric the business actually cares about—the accuracy of downtime responsibility attribution and the settlement cycle—does not improve at all.
Symptom: The Requirement Is Fully Implemented, but the Business Does Not Change
The ticket is closed, the demo goes well, and the acceptance form is signed. Everything looks successful. The only thing that has not changed is the settlement sheet the business owner worries about every day.
Mechanism: The Excluded Attribution Script Is Where the Bleeding Happens
The cause sits in the coding logic that was excluded. It relies on keyword rules to attribute a downtime event to one party: equipment, contractor, weather, or operations. The rules frequently misclassify events, charging downtime that should be assigned to the equipment side to the contractor.
Consequence: One Disputed Record Freezes a Full Month of Settlement
A single disputed record in a month can freeze the entire month’s downtime compensation settlement. The definition here is: disputed downtime records flagged in the financial system for the current month, assuming the contract uses monthly batch settlement; with per-event settlement, the impact is smaller. What actually blocks cash flow is not a missing summary email, but this attribution script that nobody wants to touch.
This pattern recurs in real deliveries. To understand it, you need to shift the perspective from “implementing a feature” to “validating the problem.”
2. Why Getting the Problem Right Is Harder Than Getting the Answer Right
Most coding capability evaluations rest on an implicit assumption: the ticket is correct. Given a requirements document, interface contracts, and acceptance criteria, they test whether a model can reproduce the expected result. These evaluations measure execution, not judgment.
The real starting point in enterprise delivery is entirely different. The role a vendor embeds at a customer site, writing code while also mapping the business, is commonly called a Forward Deployed Engineer (FDE). The first hurdle they face is often not “how do I implement this,” but “does this requirement point to the real bottleneck.” The customer usually sees a symptom, not the root cause. In the case above, the owner wanted a visible AI result, while the actual bleeding point was an attribution rule that had been deliberately scoped out.
It is like a patient saying, “I have a headache, prescribe me painkillers.” A responsible doctor asks questions before prescribing. If AI only plays the role of filling the prescription as written, it keeps delivering answers that are correct but useless. Validating the requirement before implementing is the only way to hit the real bottleneck.
3. Requirement Diagnosis Checklist: How to Validate Whether a Requirement Targets the Real Bottleneck
Before writing the first line of code, an FDE can calibrate the problem with four checklists.
3.1 Problem Definition
Write one sentence that states “who loses what, in what scenario, and because of what.” If no amount of money, duration, or count appears in that sentence, the problem is not yet clearly defined.
3.2 Metric Definition
Confirm the calculation formula, the source system, and the statistical period for the core metric. Downtime accuracy must specify whether the denominator is all downtime events or disputed events; the settlement cycle must specify the number of calendar days from when a dispute occurs to when it is unfrozen.
3.3 Excluded-Item Risk Assessment
Go through each item marked “out of scope” one by one: what it currently runs on, what its misclassification rate is, and who bears the loss when it fails. Any excluded item that is “held together by a script and freezes settlement when it breaks” should be elevated to the top priority candidate for the current phase.
Common Mistakes in Requirement Validation
Common mistakes include: treating “the owner explained it clearly” as “the problem is clearly defined”; looking only at the demo and not the metric baseline; accepting “leave that script alone for now” without asking about its failure cost; and promising accuracy improvements without a sample set.
4. Data Loop and Evaluation Design
After requirement validation, you need data to turn the improvement into a measurable process.
The data loop has four steps. First, export the past three months of downtime records and settlement results to form a baseline. Second, manually label a sample set of no fewer than 200 events into four categories: equipment, contractor, weather, and operations. Third, run the keyword rules as the baseline model to obtain the current accuracy and dispute rate. Fourth, after each rule or model update, rerun the same sample set and record the differences.
Evaluation design must fix three things: the baseline (the existing rules), the sample set (labeling definition and version), and the attribution accuracy definition (counted per event or per duration—you must choose one and write it into the acceptance form). Only when these three things are fixed can AI changes be compared.
5. Phased Delivery: Fix the Attribution Rules First, Then Add Email and Q&A
Phase 1 (weeks 1–2): Change only the attribution rules, with the goal of reducing disputed records from several per month to zero and getting the settlement unfreeze process working.
Phase 2 (weeks 3–4): Add the production summary email, with the attribution result as a fixed field in the email, so the business side sees the same definition every day.
Phase 3 (weeks 5–8): Launch the conversational assistant, but allow it to answer only questions covered by the sample set; route anything beyond that to a human.
Risk and rollback: keep a switch for the old rules before changing the attribution rules, so you can roll back with one click if the dispute rate rises; pilot settlement-side changes first in contracts with per-event settlement to avoid freezing a full month of batch settlement.
6. Pre-Delivery Requirement Validation Checklist
- Does the one-sentence problem definition include an amount or a duration?
- Are the core metric definition and data source confirmed in writing?
- Have you obtained the baseline metric value?
- Has each excluded item been assessed for failure cost?
- Did the person who bears the loss join the review?
- Is the sample set labeled and versioned?
- Have you agreed on a rollback switch and a pilot scope?
- Does the acceptance form specify how accuracy is calculated?
Put this checklist in front of the ticket, and the last mile of AI delivery is truly connected.
