An evaluation dataset includes the inputs a system sees and the expected answers used to judge its output. Those two parts can change at different times. A reviewer can leave every input alone and still decide that an expected answer should be removed. If we identify the dataset before that decision is applied, the identifier describes a useful intermediate artifact. It leaves open which expected answers a later evaluation is meant to use. We chose to assign a separate digest to the assembled artifact after review, when the reviewed answers are in the files intended for scoring.

Keep the inputs and change the answers

A synthetic fixture made that distinction concrete. It supplied two review decisions, one to keep an entry and one to drop an entry. Assembly preserved the source files and the original label files byte for byte. It put the reviewed answers in the part of the output reserved for adjudicated labels. The fixture checked that the dropped entry was absent there and that the retained entry remained without its review flag. Assembly puts the reviewed answers in a separate artifact. That gives the earlier and later digests different jobs: one identifies the artifact prepared for review, and the other identifies the artifact assembled after applying the decisions.

A second fixture kept both entries. The review flags disappeared, the number of entries stayed the same, and the digest of the final artifact differed from the digest taken before review. That example is useful because a count can confirm that no entries were removed while leaving a change within an entry invisible. A source-only checksum would miss an edit to a separate answer file too, by construction. The final digest in the fixture identifies the assembled data under the pipeline's hashing convention. A change in that digest signals a difference in the covered bytes. It leaves the meaning and quality of the edit to whoever examines the labels.

Check when the artifact is ready

A final digest would be easy to misread if the command produced it halfway through preparation. Two fixtures checked missing prerequisites separately. In one, the initial dataset had been prepared but the review decisions had not been applied. In the other, review output existed but the initial dataset had not been prepared. Both invocations returned an error and left the final output absent. These cases exercise the boundary between a stage that has some of the files it needs and a stage that can assemble the intended dataset. An intermediate report can still be useful on its own, with a name that makes clear which stage it describes.

The tests also distinguished running the command again from assembling the output again. Calling the command a second time with its output still present returned the same digest without creating the output again. Another fixture removed the generated output and assembled it again from the same prepared inputs. The digest matched in that case too. The second test makes a stronger statement about assembly from those saved inputs because the command has to rebuild the output. Both results are about the synthetic cases exercised locally. They leave repeatability across machines and across separate reviews untested.

Keep the dataset record with the score

Five selected synthetic tests passed locally on the merged implementation. The keep and drop cases show what the assembly preserved and replaced, and the missing-prerequisite and repeated-build cases show how it behaved in those particular situations. None of those observations tells us whether a retained answer is actually correct. Review can leave a plausible but mistaken label in the dataset. A digest can faithfully identify an artifact containing that mistake just as well as it can identify an artifact with sound answers.

When reading a score report, I would want a record of the digest measured from the data the scorer actually opened. That is an additional observation to collect during scoring. The assembly fixtures establish that the pipeline can name its intended input after review and reproduce that name from the same prepared inputs in the tested case. They do not establish that a real scoring run used it or that the review improved the score. With both records, a later reader could answer two distinct questions: which artifact was prepared, and which artifact the evaluation used.

← All engineering articles