Methodology code for provenance quality