Error localization: finding the step where a lab correction picked up the wrong unit

Short answer

Error localization is finding the earliest step in a process where a record became wrong. In an ordinary business workflow, errors usually surface far from where they start: in this page's fictional laboratory case, a clinician notices an impossible glucose unit, but the unit was introduced one system earlier, by an interface template, after a technologist had corrected the number properly. Localizing the error means checking the value at each hop until the first bad one is found.

Visual briefFull-size diagram
Four hops of a corrected glucose result: analyzer 126 mg/dL and correction entry 126 mg/dL pass, the interface message reads 126 mmol/L and is marked as where the error enters, and the clinician's record shows 126 mmol/L where the error is noticed. Numbered probes show the order the hops were checked.
Illustrative correction at a fictional reference laboratory. The error surfaced at the last hop but entered one hop earlier.

What does error localization mean in an ordinary business workflow?

It is a narrower job than fixing an error or explaining it. Localization answers only where the record first went wrong. It sits between noticing an error and fixing it, and it is often the hardest part, because errors tend to surface far from where they started.

Laboratories make a clear example because the rules already demand much of the evidence. Under 42 CFR 493.1291, a U.S. laboratory that detects an error in a reported patient result must promptly notify the person who ordered the test, issue a corrected report, and keep copies of both the original and the corrected report. Health data standards add structure: FHIR, the HL7 exchange standard, separates a result that was "corrected" to fix an error from one that was "amended" with new information, and its Provenance resource records which person, software or device created or revised each version. UCUM, the code system FHIR uses for units, exists so that machines exchange units without ambiguity, which is exactly what fails in the case below.

AI researchers test the same skill directly. The ProcessBench benchmark asks models to identify the earliest step that contains an error in a worked solution, or to say that every step is correct, with error locations marked by human experts. Business records that already mark the first bad step in a real process are the workplace version of that annotation.

A unit error, traced hop by hop (Illustrative)

This case is fictional. A 340-person regional reference laboratory reports a serum glucose result. The analyzer reads 126 mg/dL, but the original report goes out as 162 mg/dL because two digits were transposed during a manual step. A technologist catches it the same afternoon and issues a correction. The correction fixes the number and breaks something else.

HopSystemValue as recordedCheckWhat the record shows
1Analyzer126 mg/dLPassInstrument file with run time
2Lab information system, correction screen126 mg/dL, status correctedPassCorrection with user, time and reason "transposition"
3Interface engine, outbound message126 mmol/LFail, firstMessage log: unit field filled from the correction template's default
4Clinician's record126 mmol/L, flagged criticalFailDisplay flag; a nurse calls the lab

The error was noticed at hop 4, because a glucose of 126 mmol/L is implausible for almost any patient. It entered at hop 3. The person who made the correction at hop 2 did their part right. That is the whole point of error localization: the place where an error is seen, the place where someone acted, and the place where the error entered can be three different steps, and only the version at each hop tells them apart.

Notice how the hops were checked. Rather than walking from the start, the reviewer checked hop 2 (correct), then hop 4 (wrong), then hop 3 (wrong), which pins the first bad hop in three looks. With a long chain, splitting the remaining range in half each time finds the first bad step quickly, but only if every intermediate version was kept.

The fields that let each hop be checked

The trace works only because each hop kept its own version of the value. These are the fields the example relies on.

FieldWhere it sits in the exampleWhy the trace depends on it
Raw instrument value and unitAnalyzer file, hop 1The ground truth every later hop is compared with
Original and corrected reportLab information system, hop 2U.S. rules require both copies to be kept, so the change is visible
Result status"Corrected" rather than "amended"Tells a reviewer the change fixed an error, not added information
Correction reason, user and timeCorrection screen, hop 2Shows who acted and why
Outbound message as sentInterface engine log, hop 3The only place the wrong unit can be caught entering
Template or mapping defaultInterface configurationExplains why hop 3 changed the unit
Received value and flagClinician's record, hop 4Where the error was noticed
Shared accession or result IDAll four hopsJoins the versions into one chain

If the interface engine had kept only delivery receipts, not message content, hop 3 would be a blank, and the error would appear to jump from a correct correction to a wrong clinical record.

What the trace shows, and what it cannot

  • Where is not why. The trace finds hop 3. Why the template defaulted to mmol/L, and why no validation rule caught it, is root cause analysis, a later step.
  • Half-splitting needs every version. Checking hop 2, then 4, then 3 is fast only because each intermediate value survived. A missing hop forces a guess.
  • Plausible errors hide. A wrong unit that produced a believable number would not have been flagged at hop 4 at all, and many such errors are never traced.
  • Real chains are hard to invent. The timing, system names and defaults in a real trace are what make it useful, one reason synthetic data rarely replaces real data. The same principle of tracing every number to its source runs through our page on MCP for CFO dashboards.

Who owns these records, and what stays unknown

In a laboratory, the quality manager and laboratory director own correction records and reports, IT or an integration team owns the interface engine and its logs, and the receiving clinical systems belong to the client. Authority to discuss licensing usually rests with the CEO or COO.

The company needs 50 or more full-time employees at peak (contractors excluded), documented operating history, rights to license its records, and an authorized contact. Companies in the U.S., Canada and the EU qualify, as do companies in the UK, Australia, New Zealand, India, Singapore, South Africa, Latin America, the UAE and Saudi Arabia when at least 70% of the data is in English.

Clinical records add a layer: patient information is involved at every hop, so whether and how it can be de-identified, and whether client or vendor contracts permit any use, is decided in SourceX's review with the company, not by the introducer. For framing the conversation with healthcare operators, see how advisors introduce healthcare administration clients. Also unknown until review: how many cases pass an acceptance check and whether any buyer wants this task type. Partners never request exports, screenshots or sample reports. Related concepts are in the data types hub.

Go deeper on error localization

Next step

Refer a company. No cap on rewards. Default reward on a company's first qualifying transaction: the greater of $50,000 plus 5% and 15% of Actual Supplier Payout, with no cap; further qualifying transactions first agreed within 12 months of the first Closing pay 15%. Eligibility and payment conditions apply, including the USD 100,000 Minimum Transaction, and a signed Schedule A or addendum can differ. A lead, meeting or signature alone does not trigger payment.

If the quality manager confirms that corrected reports keep their originals and reasons and that interface logs survive long enough to show each hop, register as a partner, check the company against who qualifies, and read the terms before you introduce the CEO or COO.

  1. Step 1Share your linkSend your personal link to a company you know.
  2. Step 2Company appliesThe company applies itself at /apply.
  3. Step 3Company signs and is paidThe company signs, delivers its data and is paid by SourceX under its agreement.
  4. Step 4You get your rewardthe greater of $50,000 plus 5% and 15% of the actual supplier payout, with no cap. A reward becomes payable after SourceX has paid the referred company under its signed agreement and the payout conditions in the program terms are met, including finance approval and your tax and payment details.

Common questions

How is error localization different from root cause analysis?

Localization answers where: the first step at which the record became wrong. Root cause analysis goes on to ask why that step behaved as it did, such as a mapping default or a training gap. Localization usually comes first, because you cannot explain a step you have not found.

Does a laboratory have to be a medical lab for this to apply?

No. Any business that passes a value through several systems can produce these records, including environmental testing, manufacturing quality control and finance. Clinical laboratories are a clear example because U.S. rules require corrected reports and retention of the original.

Can I see a corrected report to judge whether the records are good enough?

No. Partners never handle patient or customer records. Ask about systems, counts, retention and ownership, and leave record review to SourceX under an agreement with the company.

Sources

  1. hl7.org/fhir/R4B/valueset-observation-status.html
  2. ucum.org/about
  3. ecfr.gov/current/title-42/chapter-IV/subchapter-G/par…
  4. hl7.org/fhir/provenance.html
  5. arxiv.org/abs/2412.06559
  6. refer.sourcex.si/terms

Free resources

Know a company with valuable proprietary data?

Become a referral partner, get your link and introduce the company’s CEO (in an owner-run company, usually the owner). Referral partners can join from most countries. We can't work with partners in countries or regions under U.S. sanctions or on U.S. restricted-party lists. The companies you introduce should be based in the U.S., Canada and the EU, or in the UK, Australia, New Zealand, India, Singapore, South Africa, Latin America, the UAE and Saudi Arabia with at least 70% of their data in English.

Refer a company →

I own a business

Explore licensing your company's data directly to SourceX for AI training and evaluation. Start a short assessment; no uploads needed.

Start an assessment