A robot dataset delivery can contain two ZIP entries with the same member name. An audit keyed only by that name can collapse their records before anyone compares their contents. For a camera-data handoff, the practical question is whether the inventory describes every archive entry or only one result for each spelling.

This article proposes an entry-level receipt for that handoff. A local synthetic ZIP contained two small text payloads under the name frame.txt. The exercise used Python 3.14.7, read the archive in memory, and did not extract files. It tested no camera images, annotation quality, or production dataset.

Count entries before building a filename index

Python's zipfile documentation describes infolist() as returning ZipInfo records for archive members in archive order. It also documents passing a ZipInfo object to open() or read(), including for archives with duplicate names. These interfaces let an auditor keep the member record attached to the bytes being inspected.

In the fixture, the member list contained two entries while the set of member names contained one name. The first payload was SYNTHETIC RECORD A followed by a newline; the second substituted B. Reading each ZipInfo returned its corresponding payload, and the two payload SHA-256 digests differed. The two records also had different local-header offsets in that particular archive.

A report showing one unique filename would be correct about names and incomplete about entries. Label those totals separately. Two archive entries do not necessarily mean two independent captures either: the exporter may have repeated an artifact, supplied revisions, or packaged records incorrectly. The audit needs the producer's explanation before translating a storage count into a dataset count.

Make the lookup behavior visible

The same fixture also read frame.txt by its string name. That call returned the B payload on the tested runtime. A reviewer who used only that call could inspect B twice while believing that both listed entries had been examined. Retaining a list of names does not solve the problem if the subsequent read resolves each repeated string through one name lookup.

The inspected CPython 3.14 source maintains a member list and a mapping from names to member records. Its archive reader appends each record to the list and assigns it into the mapping under its filename; getinfo() consults that mapping. This explains the observed selection. It is implementation evidence, not a promise that every ZIP consumer selects duplicate names the same way.

The proposed audit therefore iterates the member records and reads each record directly. It records name-based lookup as a separate diagnostic when needed. The goal is to establish which entry supplied each observed payload, rather than silently choosing a winner and treating that choice as the exporter's intention.

Give the receipt an archive-scoped identity

For this workflow, a useful receipt starts with the SHA-256 identity of the exact archive bytes and an ordinal assigned while enumerating its member list. Add the member name, declared uncompressed size, observed read outcome, and payload digest when the read succeeds. Keep the enumeration convention explicit, such as one-based order from the chosen reader.

The archive identity and ordinal together identify a review location within that preserved artifact. They are not permanent camera-frame identifiers. Repacking the same logical data can change the archive bytes and member ordering. A comparison across deliveries needs a producer-assigned record identity or another documented matching method, in addition to these archive receipts.

The local-header offset can help a reviewer explain a particular observation, but it should not become an application-level capture ID. Likewise, a matching payload digest supports a content comparison under the declared method. It does not establish that two annotations belong to one acquisition or that a producer intended one entry to supersede another.

Separate evidence collection from the import decision

A team can choose to reject repeated member names under its delivery contract. Another team may retain all entries for investigation before asking the exporter to clarify revisions. State that policy separately from the inventory. An inventory should preserve both records even when the import decision is to stop the affected delivery.

Do not deduplicate in place before creating the receipt. If two same-name payloads differ, save their entry-level identities and the diagnostic result, then request an unambiguous corrected package through the project's ordinary handoff process. If they match, the team still needs to decide whether the repetition is allowed; equal content does not make a unique-name contract pass.

Keep unsuccessful reads visible

The receipt should distinguish a successful read with a digest from a member that could not be read. Do not populate an unread member's digest with another entry's result because the names match. That would convert unavailable evidence into an apparently complete inspection.

For large deliveries, establish resource limits before reading member content and preserve a stopped or unavailable outcome when those limits are reached. This small fixture is not a general archive-validation or extraction-security test. It demonstrates a narrower accounting failure that a successful inspection of one named member can leave unnoticed.

Close the handoff with reconciled totals

Record archive entries enumerated, distinct names, repeated-name groups, successful per-entry reads, and unavailable reads. Reconcile those numbers before handing the receipt to the dataset importer. Keep capture counts and accepted training records in their own downstream reports.

In the synthetic example, the reconciled result was two entries, one distinct name, and two successful entry-specific reads with different payloads. That statement says exactly what was inspected. It gives the exporter a concrete ambiguity to resolve without inventing a camera history from a filename.

Sources checked November 18, 2026:

Python Software Foundation, zipfile reference:

https://docs.python.org/3/library/zipfile.html

CPython maintainers, Python 3.14 zipfile implementation inspected on the check date:

https://github.com/python/cpython/blob/3.14/Lib/zipfile/__init__.py

Receipt design and synthetic fixture: original T-800 editorial analysis. The implementation branch can change; the recorded local fixture identifies the tested runtime and archive bytes.

Illustration: an AI-generated concept shows two individually numbered entries sharing one filename. It is not a screenshot of an actual robot dataset or evidence of a production packaging defect.