What is compared
C2PA validation state, signer trust, detected format, dimensions, byte size, SHA-256, highlighted metadata, and every declared EXIF, IPTC, and XMP entry. The images can also be viewed side by side, as a swipe, or as a pixel difference. Equal hashes mean identical bytes; different hashes mean the bytes differ, without saying why.
The reference label is a role you pick. jpeg.id does not claim one file was created from the other, identify an original, or estimate JPEG quality.