A part that can stand in for the one a set needs: the same part from a different mould, or a different part that does the same job.
Catalogues record how parts relate to each other. BrickDb's build check accepts two of those relationships as substitutes: a mould variant, offered first, and an alternate part that does the same job. A printed part never stands in for a plain one or for a different print, and one side of a mirrored pair never stands in for the other. Every substitute the check uses says which rule allowed it, and substitutes never count towards the build percentage.