A document parser can return valid JSON and still make it impossible to audit a carbon comparison. If the output saves only a product name and a number, a later tool may have no idea whether it is comparing the same declared unit or the same stages. Worse, an empty source cell can become a numeric zero during export. In a ranking, that mistake can give the product with the least information the best score.

Keep the reported value and its context together

The EPA’s 2024 criteria for product category rules discuss declared or functional units and the life-cycle modules that a declaration covers. In a workflow for reading such documents, Daniel Reitberg suggests keeping the reported value, unit, life-cycle stage or stage range, product identifier and source page in one record. Record the product category rule and version separately when they can be read, and preserve the original label alongside any normalized form.

Use different states for a number explicitly reported as zero, a cell marked not declared, and a cell the tool could not read. Those statuses carry different meanings. Leave the numerical field empty for the latter two. Make the comparison check reject incompatible stages or units and point to the reason, rather than trying to repair the input at the ranking step.

Give the pipeline a deliberate failure case

Make three fictional records: two with a documented production-stage value on the same basis, and a third with that value absent and only a broader total available. Check that the first pair can be reviewed side by side and that the third is excluded for a stated reason. Open the cited pages and verify the values against the source. Correct extraction is the goal of this test; construction specifications and the eventual material choice still belong to the project team.