Community
Participate
Working Groups
We stumbled upon the fact that org.eclipse.emf.compare.match.internal.statistic.NameSimilarity.nameSimilarityMetric is not symmetric, e.g. nameSimilarityMetric(a,b) is not equivalent to nameSimilarityMetric(b,a). Is this intended behavior or is this a bug?
Created attachment 180032 [details] check symmetric name similarity in test
We can't make this metric symmetric without massively impacting the existing consumers of the project and/or its API. This will only be handled in the future major version of EMF Compare.
EMF Compare 2.0 is coming and with it an approach to match elements based on a distance and not on statistical similarity (the difference is subtle but important regarding scalability..) This kind of similarity metric is useful though and has been kept in EMF Compare 2.0 and made symetric. See : org.eclipse.emf.compare.utils.SimilarityUtil.diceCoefficient(String, String)
batch-closing a bunch of "RESOLVED" bugs.