Chapter 13
Applied Data-System Casework
On this page
A release that passes its original checks can become unacceptable after a source revocation, a filter change, or a failed partition. These cases reuse the preceding mechanisms under changed constraints.
Revocation crosses synthetic descendants¶
Assume the lineage graph raw:A -> norm:A -> synth:B -> pack:C -> release:1 -> checkpoint:1. The packed sample also includes an unrelated source, norm:D. Revoking raw:A marks every descendant for action, including the synthetic derivative. It does not revoke norm:D itself, although rebuilding pack:C may be necessary to separate its valid contribution.
examples/data_release.py computes the transitive closure and produces a versioned manifest. A cycle-safe traversal prevents an accidental lineage cycle from hanging deletion processing. The graph identifies affected artifacts; it does not prove that a trained checkpoint has forgotten the source. Decisions about continued use, retraining, or replacement belong in the checkpoint disposition record.
The operational failure is publishing a new release from an old cached eligibility result. Bind the eligibility snapshot or monotonic revocation epoch to publication, and recheck current tombstones at the commit boundary. A rollback to a prior manifest must still obey current revocations.
A more precise filter can erase a required language¶
The executable pilot contains six hand-adjudicated records. At threshold 0.6 it accepts five, of which four are good: precision 0.8 and retention 5/6. Both good Spanish examples survive. Raising the threshold to 0.8 accepts two good English examples: precision becomes 1.0 while Spanish acceptance falls to zero.
This is a constructed counterexample, not a population estimate. It demonstrates why aggregate filter precision is an insufficient acceptance rule. Reweighting the accepted set cannot recover a language that has no accepted support. Lower the relevant threshold, improve the scorer's calibration, or obtain new candidates before resampling.
At a fixed downstream token budget, replacing rejected records by repeats also changes effective exposure. Report candidate yield, accepted mixture, unique tokens, and epochs together. An apparent validation gain may reflect a shifted task mixture rather than better selection within each task. The mixture chapter supplies the probability and effective-sample-size derivations; this case changes their inputs.
Retry one partition without creating a second release¶
A release expects partitions p0 and p1. A successful p0 upload followed by a failed p1 is staged work, not a release. For a deterministic transform, replaying p1 should produce the same content identity for the same declared inputs. For a stochastic transform, a retry reuses the atomically published artifact for that operation key; regenerating with the same seed is not a cross-backend byte-identity guarantee. Only a manifest containing the complete expected partition set becomes discoverable.
The reference hashes a canonical, sorted manifest; dictionary insertion order does not change the release ID. It rejects missing or unexpected partitions. Production publication additionally needs authenticated storage, content verification, atomic/conditional pointer updates, and garbage collection for abandoned staging objects. A local hash alone does not implement those services.
Changed assumption: a worker retries after the source has changed. The same partition name now produces different content. Reusing the old idempotency key without checking input/version identity can hide this conflict. Fail the replay or create a new generation; never mutate an already published release in place.
A hot duplicate bucket changes the execution plan¶
Suppose one boilerplate signature routes 10 million candidate records to one reducer while typical buckets contain hundreds. Adding average worker capacity does not split that hot key. Cap the expensive verification work per candidate only if the resulting approximation is explicit; otherwise partition the heavy bucket with a secondary strategy that preserves required candidate comparisons.
Inspect whether the bucket represents true duplicate content, a low-information shingle set, or a normalization defect. Removing common boilerplate before signature generation can restore discriminative features, but it changes the deduplication contract and must be evaluated on code and template-heavy documents. Count the new missed and false matches, not merely the reduced shuffle size.
Release decision¶
For these cases, reject publication if the required partition set is incomplete, any revoked descendant remains eligible, or a mandatory language loses support. None is repaired by a higher aggregate quality score. The executable fixture prints the manifest, affected descendants, and threshold table so the decision can be reconstructed from concrete records.