In this article
Keep manual identity policy, actual cache artifact and a changed-output control independent of fingerprint text.
A file-backed preprocessing job supplies a fixed new_fingerprint while changing the transform. The operational report treats that caller-chosen identifier as proof that the same validated output was produced.
The mechanism that changes the example
The map API can accept an explicit new fingerprint instead of deriving it from the prior state and transform. This is an identity override under caller control, not an independent evaluation or content audit of every returned row.
Define the comparison boundary
Treat an explicit new_fingerprint as a caller-supplied assertion about the resulting dataset identity. The parameter can bypass automatic derivation from the prior fingerprint and transform, so its spelling is not an independent content digest.
Observe the actual cache artifact selected in a file-backed fixture. Record caching settings, transform arguments and whether the function executed. A second result matching the first may reflect reuse rather than a repeated computation that independently confirmed equality.
Maintain a separate checked output identity for release evidence. If a manual fingerprint is operationally necessary, govern its allocation and prevent accidental reuse across incompatible transforms. Compare with a clean execution under a new identity before accepting a change. Do not generalize the observed path to every in-memory dataset or every library version.
A constructed test case
Create an observable file-backed cache, then change a pure transform while reusing an explicit new_fingerprint. Compare actual selected output with clean execution and automatically derived identity; caller-chosen text is not an independent output checksum.
A reproducible validation procedure
Pin a file-backed dataset, enabled caching and an observed cache path. Compare automatic identity with a deliberately reused manual identity after a meaningful transform change. Inspect cache reuse and clean execution separately, preserving the actual selected output artifact.
Include an unchanged control and a deliberately invalid case. Verify that the checker distinguishes them before testing the complete release.
Exercise the actual preparation path, including later serialization and reload. Limit retained diagnostic content to the evidence required for this comparison.
Evidence needed for acceptance
Keep manual identity policy, actual cache artifact and a changed-output control independent of fingerprint text.
Containment and recovery
Cache behavior depends on the installed version, backing storage and parameters; an in-memory object is not this fixture.
Quarantine an invalid release candidate or use an explicit partial-release rule. Preserve the last approved artifact and record corrections without silently rewriting historical inputs.
Interpretation and references
Implementation references: Hugging Face Datasets cache identity; Dataset.map parameter reference.
This is a proposed engineering validation, not an executed Retrivium benchmark. Documentation specifies interfaces; dataset acceptance needs its own evidence and must be repeated after relevant dependency changes.
Related reading
Continue with Tangle pipeline caching: identical artifacts can spare downstream execution; Documents to Markdown or JSON: preserve evidence provenance for RAG. These guides supply adjacent context; the decision in this article remains the specific example-preservation check above.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.