Two registration lists can contain the same number of rows and still disagree about who belongs in the list and which workshop they should attend. Before correcting the records, a team needs to distinguish a missing entity from a present entity with an incorrect value. The diagnostic test for each condition is different. This guide develops an original reconciliation example and a practical test-selection workflow.
Quick Answer
A missing record means that an expected entity or event cannot be found within a defined data population. A wrong record exists but contains an inaccurate value, refers to the wrong entity, or represents an incorrect state. First establish which records should exist, then reconcile stable identifiers, and finally compare matched records with trustworthy evidence of their correct values. Counting rows is insufficient for either diagnosis. A missing value within a present record is a third condition that requires its own completeness test.
Define The Expected Record Before Investigating
A community learning center uses a registration form and a separate workshop roster. Its coordinator discovers that some participants cannot be found on the roster, while others appear with the wrong session. The coordinator initially proposes rebuilding the entire roster. However, the two symptoms may have different origins and may need different remedies.
For this hypothetical example, a valid registration is a request that meets the published intake rules, has been accepted for a particular workshop session, and has a stable registration identifier. Each accepted registration must appear once in the current roster for the correct session. Pending requests, rejected applications and canceled registrations are outside this particular expected population. Their records may still need to be retained elsewhere, but they are not missing from the active roster merely because they do not appear there.
Choose a cutoff time and use the state that applied at that time. If an accepted registration is canceled after the cutoff, the later cancellation should not be used to explain its absence from a snapshot that predates the cancellation. Equally, a registration accepted after the cutoff should not be treated as missing from an earlier export. Record both the event time and extraction time when those distinctions affect the result.
The UK Government Data Quality Framework distinguishes completeness from accuracy. The distinction is particularly useful here because a roster can contain all expected registrations and still assign people to the wrong sessions. The site’s operational definition examples explain how to make classifications repeatable before measuring them. All counts and cases in this guide are fictional.
Separate Record Presence From Correctness
A presence test asks whether the correct expected identifier has a corresponding record. It does not ask whether the record’s descriptive values are correct. A correctness test asks whether particular fields in a matched record represent the appropriate entity or event according to reliable evidence.
Consider registration R014. The intake system confirms that R014 was accepted for Wednesday’s workshop. If R014 does not appear anywhere in the roster, it is a candidate missing record. If R014 appears but is assigned to Thursday, it is a present record with a potentially incorrect session. If R014 appears twice, one row for Wednesday and one for Thursday, it also presents a uniqueness problem. Do not choose one label simply because the dashboard has room for only one exception count. Keep separate flags and define a priority classification for summary reporting.
A record with a blank session field is present at the row level but incomplete at the field level. A record with an impossible session code fails a validity test. A record containing a valid Thursday code when the accepted session was Wednesday can pass validity and still fail accuracy. These distinctions prevent an organization from declaring a data set reliable merely because its fields conform to a permitted format.
The earlier transaction error investigation guide covers missing and duplicate transaction outcomes in a larger lifecycle. This supporting guide addresses the narrower question of choosing a diagnostic test when a row exists but its values or identity may be wrong. The reader should be able to use both methods together without repeating the same investigation.
| Condition | Test | Example |
|---|---|---|
| Missing row | Identifier reconciliation | R014 absent |
| Wrong value | Authoritative value comparison | Wednesday recorded as Thursday |
| Blank field | Required-field check | Session empty |
| Invalid value | Permitted code check | Unknown session code |
| Duplicate | Current-state uniqueness | Two active R014 rows |
Reconcile A Complete Worked Example
Suppose the center has forty accepted registrations at the agreed cutoff. A roster export contains forty rows, which initially appears to match the expected total. Identifier-level reconciliation reveals that thirty-eight distinct expected registrations are represented, two expected identifiers are absent, one of the thirty-eight represented identifiers has an additional row, and one roster row has an identifier that cannot be matched to any expected registration.
The arithmetic reconciles: thirty-eight expected identifiers are present, one excess duplicate row raises the count to thirty-nine, and one unmatched row raises it to forty. Two missing expected registrations are concealed by the duplicate and unmatched rows. The completeness rate at identifier level is thirty-eight divided by forty, or ninety-five percent. The total row count is one hundred percent of expected, but that is not a valid measure of completeness because it ignores identity.
For the next stage, examine the thirty-seven expected identifiers that have exactly one matching roster row. Suppose thirty-four of them have the correct session and other required fields, two have the wrong session and one has a blank session. The thirty-eighth represented identifier has two conflicting rows and is excluded from this single-row comparison until its authoritative state is resolved.
Among the thirty-seven unambiguous matched records, thirty-four pass all specified field checks, or approximately 91.9 percent. Two fail session accuracy and one fails field completeness. Among all forty expected registrations, only thirty-four can be established as correctly represented by one complete matching record, or eighty-five percent. The denominators answer different questions: quality of uniquely matched records versus overall verified fulfillment of the data requirement.
Do not infer that the unmatched row is fraudulent or invalid simply because its identifier is unfamiliar. It might be a legitimate registration recorded using an old identifier, a data-entry mistake, or an item outside the cutoff population. Investigate its origin before making an authorized correction. Likewise, the duplicate may be a retained historical version that the export incorrectly treats as current. The summary categories identify what must be checked, not who caused it.
| Category | Expected IDs | Roster rows |
|---|---|---|
| Correct and unique | 34 | 34 |
| Wrong session | 2 | 2 |
| Blank session | 1 | 1 |
| Duplicate conflict | 1 | 2 |
| Missing | 2 | 0 |
| Unmatched | 0 | 1 |
| Total | 40 | 40 |
Choose Tests In A Defensible Order
Begin with population verification. Compare the intake definition, cutoff and inclusion rules used by both sources. A workshop roster might intentionally omit registrations for a different location. If the expected population includes that location by mistake, the resulting missing-record count is an analysis error. Resolve the scope before proceeding.
Next run a presence and uniqueness check based on stable identifiers. Produce three groups: expected identifiers with zero matches, exactly one match, and multiple matches. Separately list roster identifiers outside the expected set. This provides a coherent basis for further investigation without collapsing several types of discrepancy into one number.
Then check essential fields for completeness. A matched record containing a blank session must not pass simply because its identifier is present. Establish which fields are genuinely mandatory for the specified purpose. A blank optional comment is not necessarily a defect, while a missing assigned session may make the roster unusable.
After completeness, check validity and accuracy separately. A validity rule can identify session codes outside the approved list or dates outside the workshop schedule. However, a valid code may still be the wrong one. To test accuracy, compare the recorded value against evidence of the accepted assignment, such as the authorized intake decision or confirmed change record.
Finally, check timeliness and consistency. A roster might contain the previously correct session because an authorized reassignment has not propagated. That is a different mechanism from initially recording the wrong value. A delay within an explicitly agreed update interval may be permissible for some reports, but the roster used for admission may need the current accepted assignment at the time of use.
The associated government guidance emphasizes defining quality rules around the intended use of data. A test suite should protect the actual purpose, not simply perform checks that are convenient to automate.
| Stage | Test | Evidence |
|---|---|---|
| Scope | Population and cutoff | Intake rules |
| Presence | Expected ID match | Current roster |
| Uniqueness | Count matches | Current state |
| Completeness | Required fields | Field definitions |
| Accuracy | Compare values | Authorized assignment |
| Timeliness | Effective change time | Change history |
Trace A Missing Record Across Handoffs
Return to one absent registration, R019. The authoritative intake decision confirms that it was accepted before the cutoff. The transfer log shows that R019 was included in the batch sent to the roster process, but the receiving-stage log contains no successful import for that identifier. This narrows the investigation to the transfer or receiving boundary, subject to the reliability and coverage of the logs.
Three competing explanations deserve examination. The receiving process may have rejected R019 because a required field was malformed. A temporary transfer interruption may have prevented the row from arriving. Alternatively, the row may have arrived under a transformed identifier, making the reporting join fail. The absence of a match alone cannot distinguish these possibilities.
Test the first explanation by checking recorded rejection reasons and reproducing the relevant input condition in an authorized test environment. Test the second by comparing batch identifiers, acknowledgments and retry records. Test the third by examining the documented identifier mapping and checking whether a legitimately transformed row corresponds to the original registration. Avoid inventing missing logs or silently filling them from later recollections.
If the intake record exists but there is no evidence that it entered the transfer batch, the earliest confirmed gap moves upstream. If the receiving source contains a correct record but the displayed roster excludes it through a filter, the problem lies in reporting rather than the original transaction. The process mapping guide helps identify the responsibilities and required evidence at each boundary.
The immediate recovery is to establish the legitimate registration state and provide the appropriate authorized service response. That may require restoring a lost roster entry or correcting a report. The structural corrective action is separate: identify why the expected record failed to appear and verify that similar cases are handled correctly in the future.
| Hypothesis | Check |
|---|---|
| Rejected input | Rejection reason and controlled test |
| Transfer interruption | Batch acknowledgment and retry history |
| Identifier transformation | Documented identifier mapping |
Trace A Wrong Record Without Destroying Its History
Now examine R024, which appears once in the roster with a Thursday session code although the intake decision records Wednesday. Because the identifier matches, the initial presence test passes. The accuracy check fails only if the Wednesday assignment is still the authoritative value at the relevant cutoff.
Look for an authorized reassignment. If the participant requested a change and the appropriate decision maker accepted Thursday before the cutoff, the roster might be correct and the intake snapshot stale. If the request was only proposed and had not been accepted, Thursday is not yet the authorized assignment. The investigator needs the effective status of the change, not merely evidence that somebody discussed it.
If no authorized change exists, trace the recorded values at the handoffs. Suppose the transfer file contains Wednesday but the receiving record contains Thursday. This suggests a transformation, mapping or receiving-stage entry problem. If the transfer already contains Thursday, investigate the source that generated that value. A copy of the receiving record does not prove that the source was correct.
A field correction may restore the immediate accuracy of R024. Preserve the appropriate history of the original value, the evidence supporting the change and the authorized correction. Deleting an entire record and recreating it can disrupt references, duplicate notifications or conceal how the incorrect value arose. Follow the applicable records policies and use qualified support for changes that require specialist knowledge.
The root cause analysis guide provides a method for evaluating competing explanations. In this case, the investigation should distinguish an incorrect original entry, incorrect transfer, stale update and reporting mistake because each implies a different corrective action.
Verify That The Chosen Tests Can Detect The Defects
A correction is not verified merely because today’s roster contains forty rows. Construct a representative controlled test set using fictional or appropriately authorized records. Include a normal accepted registration, an intentionally omitted test record, a duplicate current record, a valid but wrong session code, a blank required field, an out-of-scope record and an authorized session change.
Define the expected detector behavior before running the tests. The missing-record test should flag the absent expected identifier without falsely labeling the out-of-scope registration. The accuracy test should identify the valid but wrong session even though it passes the code-list validation. The current-state test should recognize the authorized session change rather than treating every historical difference as an error.
Suppose a detector identifies eight of ten known test defects and flags two additional correct records as defective among twenty correct test records. Its defect detection proportion on that illustrative set is eight divided by ten, or eighty percent. Its false-positive proportion among the correct records is two divided by twenty, or ten percent. Of the ten total alerts, eight are true defects and two are false alarms, giving an alert precision of eighty percent. These figures describe the constructed test set and do not establish production performance.
Review which two defects were missed and why. If both involve a valid but incorrect value, the detector may be testing format rather than accuracy. If the two false alarms concern authorized changes, its cutoff or version logic may be wrong. Improve the specific rule and rerun representative tests without inserting defective records into a live operational service.
Monitor outcomes after deployment. Count defects by type and report unresolved uncertainty. If the missing-record count falls but wrong-session complaints increase, investigate the accuracy controls instead of reporting an unqualified overall improvement. A reliable diagnostic procedure remains capable of finding the problems it was designed to detect.
| Test outcome | Count |
|---|---|
| True defects detected | 8 |
| Defects missed | 2 |
| Correct records flagged | 2 |
| Correct records not flagged | 18 |
Reusable Diagnostic Decision Worksheet
A practical worksheet begins with the intended population, reference time, required record identity and essential fields. For each expected identifier, record the number of current matches, source and observed values, the applicable accuracy reference, relevant change history, classification and confidence in the evidence. Keep unmatched actual identifiers in a separate reconciliation table.
Assign the owner of each evidence source and identify the next action for unresolved cases. A missing record may require tracing a handoff; a wrong value may require a comparison with an authoritative decision; a blank required field may require recovery of information or a review of the collection process. Where evidence cannot establish the correct value, record it as unknown instead of substituting the most common value.
At the review, reconcile every expected identifier into a mutually exclusive summary category while retaining detailed flags for overlapping defects. Verify that the total expected count equals the sum of correctly represented, absent and other unresolved categories. Then reconcile the actual row count separately, including excess and unmatched rows. This makes the results reproducible and avoids arithmetic double counting.
The goal is to choose a test that can resolve the question the team actually faces. Presence, completeness, uniqueness, validity, accuracy and timeliness are related but distinct. A useful diagnostic process connects each measure to an operational requirement, investigates the earliest supported failure and verifies that the corrected process protects both the expected records and their correct values.
| Field | Example |
|---|---|
| Expected identifier | R024 |
| Current matches | 1 |
| Expected session | Wednesday |
| Observed session | Thursday |
| Evidence needed | Authorized change history |
| Next step | Trace value across handoffs |
Frequently Asked Questions
Is A Missing Record The Same As A Blank Field?
A missing record is absent at the entity or event level; a blank field occurs within a present record.
Can A Complete Roster Be Inaccurate?
All expected identifiers may be present while some values are incorrect.
Why Are Row Counts Insufficient?
Missing and excess rows can offset each other.
What Is A Valid But Wrong Value?
A permitted value that does not represent the correct state for the specific record.
How Do I Test Accuracy?
Compare the recorded value with appropriate authoritative evidence at the relevant time.
Does A Duplicate Always Need Deletion?
Establish whether it is an unintended extra current record or a legitimate historical version before correction.
How Do I Handle Unmatched Identifiers?
Check scope, mappings and source evidence before classification.
What Is A False Positive In A Diagnostic Test?
A correct record incorrectly flagged as defective.
When Should I Use A Process Map?
When tracing the required handoffs and identifying where a discrepancy first appears.
What If The Correct Value Cannot Be Verified?
Keep the case unresolved and record the evidence needed.
