@@ -7,13 +7,19 @@ MATCH (firstCodeFile)-[pairwiseChange:CHANGED_TOGETHER_WITH]-(secondCodeFile)
77 WITH firstCodeFile .fileName AS firstFileName
88 ,secondCodeFile .fileName AS secondFileName
99 ,coalesce (dependency .weight , dependency .cardinality ) AS dependencyWeight
10- ,pairwiseChange .updateCommitCount AS commitCount
11- ,pairwiseChange .updateCommitMinConfidence AS updateCommitMinConfidence
12- ,dependency .fileDistanceAsFewestChangeDirectoryCommands AS fileDistanceAsFewestChangeDirectoryCommands
10+ ,dependency .fileDistanceAsFewestChangeDirectoryCommands AS fileDistance
11+ ,pairwiseChange .updateCommitCount AS commitCount
12+ ,pairwiseChange .updateCommitMinConfidence AS updateCommitMinConfidence
13+ ,pairwiseChange .updateCommitSupport AS updateCommitSupport
14+ ,pairwiseChange .updateCommitLift AS updateCommitLift
15+ ,pairwiseChange .updateCommitJaccardSimilarity AS updateCommitJaccardSimilarity
1316RETURN dependencyWeight
17+ ,fileDistance
1418 ,commitCount
1519 ,updateCommitMinConfidence
16- ,fileDistanceAsFewestChangeDirectoryCommands
20+ ,updateCommitSupport
21+ ,updateCommitLift
22+ ,updateCommitJaccardSimilarity
1723 // ,count(*) AS occurrences
1824 // ,collect(firstFileName + ' -> ' + secondFileName)[0..3] AS examples
1925ORDER BY dependencyWeight , commitCount
0 commit comments