Very good question, if you do this fully correct, you need to specify in goal and scope of your study targets for data (reference year especially), and for each process, a target location, and for each input product, a target technology, and then will not find 100% fitting cases, and thus you will assess the difference and express it as a data quality figure (which is then not the perfect score if the fit is not 100%).
ecoinvent has data quality already calculated, but the main indicator that changes from one study to the other is time (since the connections in the supply chain from ecoinvent remain stable), and the connections of ecoinvent processes to your own processes. And for time, unfortunately, the ecoinvent assessed data quality is typcially bad, since they struggle to update their datasets -> you can set a reference time and then assess the "deviance" from this perfect time, and location and technology etc. as well, for your datasets, and express this in a data quality score for each indicator.
Good luck!
Andreas