From f25435a9f151f0b24fd7f410f153ed76f8da9633 Mon Sep 17 00:00:00 2001 From: 20001LastOrder Date: Thu, 5 Nov 2020 01:49:20 -0500 Subject: fix node type distance measure --- Domains/github-graph/bin/queries/github.vql | 10 ++- Domains/github-graph/model/github.aird | 92 +++++++++++++------------ Domains/github-graph/queries/queries/github.vql | 10 ++- 3 files changed, 66 insertions(+), 46 deletions(-) (limited to 'Domains') diff --git a/Domains/github-graph/bin/queries/github.vql b/Domains/github-graph/bin/queries/github.vql index 10b23d40..62853b3f 100644 --- a/Domains/github-graph/bin/queries/github.vql +++ b/Domains/github-graph/bin/queries/github.vql @@ -8,4 +8,12 @@ pattern directParent(a : Commit, b: Commit) { @Constraint(key={a}, severity="error", message="error") pattern loopInParent(a){ find directParent+(a,a); -} \ No newline at end of file +} + + +//1. issue with MERGED but no PullRequest +//2. issue with 2 CLOSED events without a REOPENED event +//3. issue with 2 REOPENED events without a CLOSED event +//4. user-issue pair with 2 SUBSCRIBED events without an UNSUBSCRIBED event +//5. user-issue pair with 2 UNSUBSCRIBED events without a SUBSCRIBED event +//6. User MERGED/CLOSED/REOPENED issue without being a projectMember of the Project \ No newline at end of file diff --git a/Domains/github-graph/model/github.aird b/Domains/github-graph/model/github.aird index 4c84ce44..cfa740e9 100644 --- a/Domains/github-graph/model/github.aird +++ b/Domains/github-graph/model/github.aird @@ -1,13 +1,13 @@ - + github.ecore http://www.eclipse.org/emf/2002/Ecore http://www.eclipse.org/emf/2003/XMLType github.genmodel - + @@ -26,7 +26,7 @@ - + @@ -54,6 +54,12 @@ + + + + + + @@ -98,7 +104,7 @@ - + @@ -119,7 +125,7 @@ - + @@ -136,7 +142,7 @@ - + @@ -149,7 +155,7 @@ - + @@ -223,70 +229,70 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -308,65 +314,65 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -448,9 +454,7 @@ KEEP_LOCATION KEEP_SIZE KEEP_RATIO - - - + @@ -776,7 +780,7 @@ - + diff --git a/Domains/github-graph/queries/queries/github.vql b/Domains/github-graph/queries/queries/github.vql index 10b23d40..62853b3f 100644 --- a/Domains/github-graph/queries/queries/github.vql +++ b/Domains/github-graph/queries/queries/github.vql @@ -8,4 +8,12 @@ pattern directParent(a : Commit, b: Commit) { @Constraint(key={a}, severity="error", message="error") pattern loopInParent(a){ find directParent+(a,a); -} \ No newline at end of file +} + + +//1. issue with MERGED but no PullRequest +//2. issue with 2 CLOSED events without a REOPENED event +//3. issue with 2 REOPENED events without a CLOSED event +//4. user-issue pair with 2 SUBSCRIBED events without an UNSUBSCRIBED event +//5. user-issue pair with 2 UNSUBSCRIBED events without a SUBSCRIBED event +//6. User MERGED/CLOSED/REOPENED issue without being a projectMember of the Project \ No newline at end of file -- cgit v1.2.3-54-g00ecf