Data Engineering / Advanced: distributed correctness and reliability / Lesson 21
Reconciliation controls across pipeline boundaries
Design identity, count and value controls that expose missing and duplicated business records.
On this page
Lesson goals
- Explain why matching row counts are insufficient for reconciliation.
- Design bounded controls and evidence for recovery and publication.
- Design complementary key, multiplicity and value controls at a declared grain.
- Preserve versioned mismatch evidence and verify a bounded consumer-visible repair.
Define the population and grain
Reconciliation compares two populations under a declared business contract, source boundary and transformation version. Define whether one row represents an order, an order line or an aggregate, and decide how accepted rejects and legitimate updates are treated. A count is meaningful only when both sides measure the same population. Identify the data owner and what happens when a control fails before making the output available.
Expose a misleading count
The synthetic source and destination each contain three rows, yet the destination has duplicated A and lost B. A count-only check passes while the set of business identities differs. The fixture is a planning example rather than an executed database query. For an aggregate dataset, choose controls appropriate to its grain rather than expecting one destination row per original source row.
{"source_ids":["A","B","C"],"published_ids":["A","A","C"],"source_count":3,"published_count":3}
The duplicate A offsets the missing B numerically; equality of counts hides both defects.
Reconcile identities and values
The expected diagnosis identifies B as missing and A as duplicated. Compare values for matched identities too: equal keys can still carry a changed amount or an incorrect version. Keep rejected and intentionally filtered records in a separate accounted population. For large datasets, partition controls by a stable boundary and investigate mismatched slices; sampling can guide diagnosis but does not prove complete identity equality.
{"missing_ids":["B"],"duplicate_ids":["A"],"accepted_unique_ids":["A","C"]}
The listed findings follow from the preceding synthetic records and do not claim execution.
Preserve evidence for a bounded repair
Record the source snapshot, destination version, control definition, execution time and sanitized mismatches before changing either side. Decide with the owner whether to rebuild a slice, correct a source record or publish a documented exception. Do not overwrite evidence or repeatedly replay an uncertain interval. The chosen repair must account for consumers that may already have used the earlier publication.
Verify the repaired population
In an isolated fixture, introduce a missing identity, a duplicate and a changed value, then confirm each control detects its intended defect. Apply a bounded correction and compare unique keys, counts and agreed value totals with an independent expectation. Record rejected records and demonstrate that a legitimate second business event is retained. A successful job or a matching total alone cannot establish complete reconciliation.
Define comparable populations
Reconciliation compares two declared populations under a business contract, source boundary and transformation version. State whether one row represents an order, a line, a payment or an aggregate, and identify the key and expected multiplicity. A count is meaningful only when both sides cover the same interval and use the same grain. If legitimate filters, rejects or updates are allowed, account for them in separate categories. Assign an owner and a blocking, warning or exception policy before a control fails.
A source snapshot and an accepted destination version provide a reproducible comparison boundary. A mutable path or an unpinned table can change while controls run, making a mismatch hard to interpret. Record the source and target identities, control definition and execution time. Preserve the failed evidence before a repair changes either side. A task success flag is not a substitute for evidence that the intended consumer-visible population was reconciled.
Compare keys and multiplicities
Equal counts can conceal compensating defects. Source keys [A,B,C] and destination keys [A,A,C] both have three rows, yet B is missing and A is duplicated. A set comparison finds missing B, but a set alone can hide the second A because it discards multiplicity. Compare counts per key or multisets as well as membership. Do not assume equal amounts mean duplicate events: two payments of 10 with distinct payment ids can both be legitimate.
Identify unmatched, duplicate, rejected and intentionally excluded records separately. A left join can preserve source identities without target matches, but count a non-NULL target key rather than COUNT(*) if the question is actual matches. For large datasets, partition controls by a stable boundary and investigate mismatched slices. Sampling is useful for diagnosis but does not establish complete identity equality. The control should state the exact population and scope it covers.
Compare values at the correct grain
Matched keys can still carry wrong values or versions. If expected amounts A=10 and B=20 become A=8 and B=22, both totals are 30, but both facts are wrong. Compare contract-relevant values by key and then use aggregates as complementary controls. Specify NULL, zero, currency, unit, rounding and timestamp semantics before treating two values as comparable. A count or sum calculated at line grain cannot automatically be compared with an order-grain measure after a fan-out join.
Define acceptable transformations rather than assuming all differences are defects. A correction may intentionally change a value or add a legitimate event under a versioned rule. Preserve the old and corrected output identities and compare the intended changes separately from unexplained changes. SUM(DISTINCT amount) is not a general duplicate repair because distinct business events may share an amount. Reconcile identity and measure semantics rather than forcing a convenient aggregate to match.
Preserve actionable evidence
Before changing a mismatched dataset, record source snapshot, destination version, interval, transformation and control versions, execution time, sanitized mismatches, owner and intended action. Do not overwrite the failed candidate or delete rejected-record evidence before the authorized repair process can explain it. A reject record needs a stable reference and reason, but ordinary logs should not contain unnecessary sensitive payloads. Record the decision to block, warn or accept a documented exception and communicate its coverage to consumers.
Choose a bounded repair: rebuild an identified partition, correct a source record or publish an approved exception according to the contract. A task restart or blind replay is not itself proof that the previous issue is resolved. Preserve operation identity and coordinate with live writes and downstream consumers. If the repaired output replaces an old version, consumers must not add both full results. Verify the accepted publication boundary and maintain enough history to investigate or recover.
Prove the repaired population
In an isolated synthetic fixture introduce one missing key, one duplicate, a changed amount and a legitimate second equal-valued event. Confirm that each intended control catches its defect without removing the valid event. Compare source, accepted, rejected and explicitly excluded populations at the same grain and interval. Check that control inputs are complete before interpreting a pass; an absent source partition can make both sides agree on the wrong subset.
After a bounded correction, rerun key, multiplicity and value controls against independent expectations and verify the consumer-visible version and update semantics. Record control versions, thresholds and remaining uncertainty with an accountable owner. The traces below are non-runnable conceptual models, not executed database queries or evidence from a live pipeline. Their outcomes follow the stated synthetic contracts only.
20 worked examples
1. Equal count mismatch
Problem: What defects are hidden when two synthetic populations have the same row count?
- Both lists contain three rows, so the count control matches.
- The destination has no B and has two occurrences of A.
source=[A,B,C]
destination=[A,A,C]
contract: one row per id
B is missing; A is duplicated.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Report missing B and duplicate A.
Why this result follows: Count equality can conceal offsetting identity and multiplicity defects. This follows the stated synthetic reconciliation contract.
2. Set versus multiset
Problem: Does comparing distinct keys detect every defect in this destination?
- The distinct destination set is {A,C}.
- Removing duplicate occurrences from the set hides the second A.
source=[A,B,C]
destination=[A,A,C]
compare distinct key sets
It detects missing B but loses A’s duplicate count.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Compare both membership and multiplicity.
Why this result follows: Set membership and occurrence counts answer different reconciliation questions. This follows the stated synthetic reconciliation contract.
3. Unexpected key
Problem: What mismatch appears in equal-sized synthetic key sets?
- Both populations contain two rows.
- Their memberships differ because B is replaced by C. The stated comparison determines this outcome.
expected=[A,B]
output=[A,C]
B missing; C unexpected
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Report both key differences.
Why this result follows: A matching count does not establish the same business population. This follows the stated synthetic reconciliation contract.
4. Changed value
Problem: What defect remains when keys match but a value differs?
- Both expected keys appear in the output.
- The value for B is 25 rather than 20.
expected={A:10,B:20}
output={A:10,B:25}
B amount differs by +5.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Investigate B’s value and version.
Why this result follows: Key coverage alone does not validate contract-relevant values. This follows the stated synthetic reconciliation contract.
5. Offsetting errors
Problem: Can equal sums conceal two incorrect amounts?
- A is two below its expectation.
- B is two above, so the differences cancel in the total.
expected={A:10,B:20}
output={A:8,B:22}
Both sums are 30; A and B are wrong.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Compare the per-key amounts.
Why this result follows: Aggregate equality cannot prove every individual fact is correct. This follows the stated synthetic reconciliation contract.
6. Legitimate equal payments
Problem: Should two payments with equal amounts be removed as duplicates?
- The payment identities differ even though their amounts match.
- The declared uniqueness rule concerns id, not amount.
payments=[(P1,10),(P2,10)]
contract: payment id is unique
No; P1 and P2 are distinct events.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Retain both valid payments and total 20.
Why this result follows: Business identity, not numerical coincidence, determines duplication. This follows the stated synthetic reconciliation contract.
7. Duplicate same key
Problem: What does a repeated order id violate under a one-row-per-order contract?
- Order id A appears twice.
- The declared output grain permits one row for each order. The stated comparison determines this outcome.
output=[(A,10),(A,10),(B,20)]
rule: one row per order id
A violates the uniqueness rule.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Investigate duplicate A before acceptance.
Why this result follows: Multiplicity must be checked at the declared business key. This follows the stated synthetic reconciliation contract.
8. Accepted and rejected
Problem: Do two accepted and one rejected records account for three supplied records?
- A and C appear in the accepted set.
- B appears in the rejected set, completing the supplied population.
supplied=[A,B,C]; accepted=[A,C]; rejected=[B]
Yes; all three supplied identities are classified.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Internal accounting balances.
Why this result follows: Accepted and rejected outcomes must be reconciled at the same input grain.
9. Missing file
Problem: Does balanced accounting of one received file prove every expected file arrived?
- The received F1 records are internally accounted for.
- The expected file set also includes F2, which was not delivered.
expected files=[F1,F2]; received=[F1]
F1 records: 2 accepted, 1 rejected, 3 supplied
No; F2 is absent.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: External completeness remains failed.
Why this result follows: Internal accounting cannot discover an absent file without an independent expected set.
10. Unexplained record
Problem: What remains when 10 input records yield 8 accepted and 1 rejected?
- The two recorded categories sum to nine.
- That total is one below the ten input records.
input=10; accepted=8; rejected=1
policy: all input accounted
One record lacks an outcome.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Hold and trace the missing identity.
Why this result follows: A complete reconciliation must account for every input record exactly once. This follows the stated synthetic reconciliation contract.
11. Intentional exclusion
Problem: How can a declared filter be included in record accounting?
- Accepted, rejected and excluded counts sum to 8 + 1 + 1.
- The excluded record is not misrepresented as accepted.
input=10; accepted=8; rejected=1; intentionally_excluded=1
policy: exclusions are separately reported
All ten records are accounted for, subject to policy.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Report the three categories and apply the acceptance rule.
Why this result follows: Explicitly categorized exclusions preserve population accounting. This follows the stated synthetic reconciliation contract.
12. Null versus zero
Problem: Why might a missing amount and numeric zero require different controls?
- NULL represents an absent or unknown amount in this contract.
- Zero is a present numeric value and may be valid under a separate rule.
record A: amount=NULL
record B: amount=0
contract: distinguish missing from zero
A is missing; B has a supplied zero.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Apply the declared null and domain checks separately.
Why this result follows: Conflating absence and zero can hide missing business information. This follows the stated synthetic reconciliation contract.
13. Unit mismatch
Problem: What difference exists between two records both carrying integer 5?
- Five kilograms corresponds to 5000 grams.
- The target states only five grams despite the equal numeric token.
source A: value=5, unit=kg
target A: value=5, unit=g
The values differ by a factor of 1000 in meaning.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Flag the unit mismatch and apply an approved conversion.
Why this result follows: Value reconciliation must include units, not just physical types or digits. This follows the stated synthetic reconciliation contract.
14. Source boundary
Problem: Why must source and target intervals match before comparing counts?
- The source includes D1 and D2 under the half-open interval.
- The target includes only D2, so a direct equality comparison is not meaningful.
source control interval=[D1,D3)
target control interval=[D2,D3)
source count=100; target count=50
The counts describe different populations.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Align the interval or define the intended transformation.
Why this result follows: A control must compare like populations at a declared boundary. This follows the stated synthetic reconciliation contract.
15. Join fan-out
Problem: What happens when one fact amount 10 matches two reference rows?
- The join produces one pair for each reference match.
- The fact amount is repeated on both rows, giving 10 + 10.
fact=(A,amount=10)
reference matches for A=[R1,R2]
naive joined sum
20 instead of 10
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Investigate the duplicate reference match.
Why this result follows: Join multiplicity can inflate a measure even when source facts are valid.
16. Left-join count
Problem: How many real target matches exist for an unmatched source fact?
- The outer join preserves A with a placeholder row.
- The placeholder has a NULL target key that COUNT(target_key) ignores.
source fact=A; target matches=none
left join produces one NULL-extended row
COUNT(*)=1; COUNT(target_key)=0
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: There are zero actual target matches.
Why this result follows: A preserved outer row is not itself a matched destination identity. This follows the stated synthetic reconciliation contract.
17. Version mismatch
Problem: What defect remains when the same key has an unexpected version?
- The output contains the expected key and numerical value.
- Its version is 1 rather than the required version 2.
expected=(A,version=2,value=10)
output=(A,version=1,value=10)
Key and value match; version is stale.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Investigate the stale version.
Why this result follows: Reconciliation includes version semantics where the contract requires them. This follows the stated synthetic reconciliation contract.
18. Bounded repair
Problem: What repair scope is supported by this synthetic mismatch evidence?
- The controls identify D2 as the mismatched slice.
- Pinned source and target identities define the evidence being compared.
source snapshot=S1; target=T2
only partition D2 fails key control; D1 and D3 pass
Investigate and repair D2 under the approved plan.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Preserve the failed evidence and validate the repaired slice.
Why this result follows: A stable partition boundary can limit repair without replaying unrelated history. This follows the stated synthetic reconciliation contract.
19. Consumer replacement
Problem: How should a replacement consumer handle an accepted repaired total?
- The repaired version is a complete replacement for the same output identity.
- Adding the old and new totals would double-count the earlier population.
old accepted total=30
repaired version total=32
consumer rule=replace
Store 32 as the current total.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Replace or retire the old version according to contract.
Why this result follows: Reconciliation must reach the consumer-visible publication boundary. This follows the stated synthetic reconciliation contract.
20. Control freshness
Problem: Can a control pass from last month certify today’s changed dataset?
- The prior evidence refers to S1 and T1.
- The current source and target versions differ. The stated comparison determines this outcome.
control run=last month on source S1/target T1
current dataset=source S2/target T2
No; run or validate controls for the current identities.
Synthetic reconciliation control trace; results are reasoned and no database or pipeline was accessed.
Expected result: Record a current control result or an explicit unmeasured state.
Why this result follows: Quality evidence is scoped to its data versions and execution time. This follows the stated synthetic reconciliation contract.
Common errors and fixes
A count check passes despite a missing and duplicated record.
- Why it happens
- Two defects canceled in the row total.
- How to fix it
- Compare identities and multiplicities at the agreed grain.
- Prevent it next time
- Test offsetting defects in a synthetic fixture.
A matching key hides an incorrect amount.
- Why it happens
- Only membership was compared.
- How to fix it
- Compare contract-relevant values and versions.
- Prevent it next time
- Define value controls with the data owner.
A repair removes valid rejected-record evidence.
- Why it happens
- The failed batch was overwritten before investigation.
- How to fix it
- Preserve the source, control result and destination version.
- Prevent it next time
- Version evidence and define retention before incidents.
20 practice exercises
1. Both sides contain three rows in the fixture. What is wrong?
Show hint
Count each identity’s occurrences on both sides.
Show worked solution
B is absent and A appears twice in the destination. The equal counts mask two defects. Compare identity multiplicity and then inspect values for each matched identity.
The destination repeats A and omits B even though each side has three rows. Compare membership and multiplicity at the order grain, then inspect values for matched identities rather than relying on the count.
Check your solution
- Identify B as missing.
- Identify A as duplicated.
2. An aggregate total agrees after repair. Is that sufficient?
Show hint
Consider offsetting per-key errors and the consumer-visible version.
Show worked solution
No. Different missing and extra values can offset in a total. Reconcile the population and values at the agreed grain, account for rejects, and verify the relevant consumer-visible version.
A matching total can hide missing, extra or incorrect values that cancel. Reconcile identities, multiplicities and values at the agreed grain, account for rejects and verify the accepted repaired version used by consumers.
Check your solution
- Explain why equal totals can hide per-key differences.
- Verify the repaired population and consumer version.
3. Source ids are A, B, C and destination ids A, A, C. What does an equal count conceal?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
Both sides have three rows, but B is missing and A occurs twice in the destination. Compare key membership and occurrence counts at the declared grain, then inspect values for matched identities. Equal counts are an initial control, not proof of equivalence.
Check your solution
- B is missing
- A is duplicated
4. Expected keys A and B become output keys A and C. Which two differences should a key-set control report?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
Report B as missing and C as unexpected even though both sets contain two keys. Verify the source interval and output version, then investigate the transformation or source change. A count-only check would pass while the business population differs.
Check your solution
- B missing
- C unexpected
5. Two destination rows share id A. Why might a distinct-key comparison miss part of the defect?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
A set of distinct keys removes repeated occurrences, so it can show that A exists without revealing that it appears twice. Compare multiplicity or counts per key as well as membership. Do not remove a second legitimate event merely because its amount matches another.
Check your solution
- Set hides duplicate occurrence
- Compare per-key multiplicity
6. Expected A=10 and B=20; output A=8 and B=22. What should value reconciliation report?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
Both totals equal 30, but A is two too low and B is two too high. Report both per-key differences and investigate the source or transformation. A matching aggregate does not prove that each fact is correct.
Check your solution
- A differs by -2
- B differs by +2
7. Two payments P1 and P2 each have amount 10. Does SUM(DISTINCT amount) preserve their true total?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
No. The two distinct payment identities total 20, while SUM(DISTINCT amount) counts the shared value once and returns 10. Reconcile events by their business keys and preserve both legitimate payments rather than treating equal amounts as duplicates.
Check your solution
- True total is 20
- Distinct-value total is 10
8. Ten supplied records yield eight accepted and one rejected. What does the input-accounting control find?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
The recorded outcomes sum to nine, leaving one supplied record unexplained. Hold the candidate under an all-accounted rule and trace the missing identity through parsing, validation and rejection records. Ensure every category uses the same logical record grain.
Check your solution
- Nine records accounted for
- One record unexplained
9. A batch has 8 accepted, 1 rejected and 1 intentionally excluded from 10 inputs. What can be concluded?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
All ten inputs are accounted for if the categories are mutually exclusive and defined at the same grain. Whether publication is allowed depends on the predeclared reject and exclusion policy. Report the categories rather than describing all ten as accepted.
Check your solution
- 8 + 1 + 1 = 10
- Apply the declared acceptance policy
10. A missing amount is NULL and another record has numeric zero. Why should a control distinguish them?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
NULL represents missing or unknown information under the stated contract, while zero is a supplied numeric value. Converting both to zero can hide incomplete data and alter aggregates. Define null handling and domain validity separately before comparing source and target.
Check your solution
- NULL is missing
- Zero is a present value
11. A source value is 5 kg and the target stores 5 g. Does numeric equality establish reconciliation?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
No. Five kilograms equals 5000 grams, so the target value has a different meaning despite the same integer token. Compare units and apply an approved conversion, then verify representative values and totals. Record the transformation and contract version.
Check your solution
- 5 kg equals 5000 g
- Target 5 g is not equivalent
12. A source control covers [D1,D3) while the target covers [D2,D3). Can their counts be compared directly?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
Not as an equality control because the source includes D1 and D2 while the target includes only D2. Align the intervals or define the intended filtering transformation and account for excluded records. State the clock and half-open boundary semantics.
Check your solution
- Source includes D1
- Target omits D1 by scope
13. One source fact worth 10 matches two duplicate reference rows. What naive total results and what must be repaired?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
The join emits two pairs, repeating the amount 10 and yielding a naive sum of 20. Investigate reference-key uniqueness and the expected join cardinality before publishing. Do not hide the duplicated fact with SUM(DISTINCT amount), which can discard legitimate equal-valued events.
Check your solution
- Naive total is 20
- Fix duplicate reference match
14. A source fact has no target match after a left join. Compare COUNT(*) with COUNT(target_key).
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
The left join retains one NULL-extended row, so COUNT(*) is 1 while COUNT(target_key) is 0. Count a non-NULL target identity when measuring actual matches, and retain the unmatched source key for diagnosis. Define whether that mismatch blocks publication.
Check your solution
- COUNT(*) is 1
- COUNT(target_key) is 0
15. Expected key A version 2 and output key A version 1 have the same amount. What remains wrong?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
The version is stale even though key and amount match. Compare version or effective-time semantics when the contract requires the latest accepted state. Trace source and destination boundaries and correct or explicitly accept the discrepancy under the owner’s policy.
Check your solution
- Key A matches
- Version 1 differs from required 2
16. Only partition D2 fails a control while D1 and D3 pass against pinned versions. Propose a bounded repair.
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
Preserve the failed D2 evidence, identify its source and target versions, and rebuild or correct D2 under the approved policy. Re-run key, multiplicity and value controls for the repaired scope and verify consumer publication. Avoid replaying unrelated history without a reason.
Check your solution
- Scope repair to D2
- Revalidate repaired keys and values
17. A failed candidate contains sensitive reject payloads. What evidence should be preserved safely before repair?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
Retain versioned source and destination references, sanitized mismatch identities, control definition, reason and owner under an approved access and retention policy. Avoid copying full private payloads into general logs. Preserve enough protected evidence for authorized investigation and reproducible repair.
Check your solution
- Keep scoped identities and control result
- Protect sensitive payloads
18. A corrected full total 32 replaces old total 30. What must a replacement consumer do?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
Store the accepted 32 for the same output identity and retire or replace the old value. Adding 30 and 32 would double-count the prior population. Verify downstream caches and reports consume the new version under the documented revision rule.
Check your solution
- Current total is 32
- Do not add both full totals
19. A control passed last month on source S1 and target T1. Does it certify today’s S2 and T2?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
No. The evidence is scoped to the earlier versions and execution time. Run or otherwise validate the control on S2 and T2, and label it unmeasured until evidence exists. Changes in source, transformation or target can introduce new discrepancies.
Check your solution
- Prior evidence belongs to S1/T1
- Current S2/T2 needs evidence
20. A sample finds no mismatch among ten rows of a million-row dataset. Does it prove complete identity equality?
Show hint
Trace the population, grain, identity, value and evidence boundary.
Show worked solution
No. Sampling can guide diagnosis but may miss discrepancies outside the sample. Use controls appropriate to the full declared population or explicitly state the sampled assurance and uncertainty. Record the source boundary, sample method, owner and any blocking requirements.
Check your solution
- Sample does not prove full equality
- Document scope and uncertainty
Key takeaways
- Counts, identity multiplicities and values are complementary controls.
- Preserve versioned evidence and verify the repaired consumer boundary.
- Counts, key multiplicities and values support different reconciliation claims.
- A passing control is scoped to its source, target and interval.
- Repair requires preserved evidence and downstream verification.