Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liulx20 committed Jul 10, 2024
1 parent 98e87e1 commit f22c0df
Showing 1 changed file with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ public static QueryContext get_graph_algo_test12() {
+ " category DESC LIMIT 5;";
List expected =
Arrays.asList(
"Record<{category: \"Pattern Matching\", $f1: 30}>",
"Record<{category: \"Traversal\", $f1: 29}>",
"Record<{category: \"Centrality\", $f1: 18}>",
"Record<{category: \"Covering\", $f1: 14}>",
"Record<{category: \"Community Detection\", $f1: 13}>");
"Record<{category: \"Pattern Matching\",count: 30}>",
"Record<{category: \"Traversal\", count: 29}>",
"Record<{category: \"Centrality\", count: 18}>",
"Record<{category: \"Covering\", count: 14}>",
"Record<{category: \"Community Detection\", count: 13}>");
return new QueryContext(query, expected);
}

Expand All @@ -202,43 +202,43 @@ public static QueryContext get_graph_algo_test13() {
List expected =
Arrays.asList(
"Record<{category: \"Pattern Matching\", challenge: \"Communication"
+ " Overhead\", $f2: 22}>",
"Record<{category: \"Pattern Matching\", challenge: \"Load Balance\", $f2:"
+ " Overhead\", count: 22}>",
"Record<{category: \"Pattern Matching\", challenge: \"Load Balance\", count:"
+ " 16}>",
"Record<{category: \"Traversal\", challenge: \"Communication Overhead\","
+ " $f2: 13}>",
"Record<{category: \"Traversal\", challenge: \"Parallelism\", $f2: 12}>",
"Record<{category: \"Centrality\", challenge: \"Parallelism\", $f2: 11}>",
+ " count: 13}>",
"Record<{category: \"Traversal\", challenge: \"Parallelism\", count: 12}>",
"Record<{category: \"Centrality\", challenge: \"Parallelism\", count: 11}>",
"Record<{category: \"Centrality\", challenge: \"Communication Overhead\","
+ " $f2: 9}>",
+ " count: 9}>",
"Record<{category: \"Cohesive Subgraph\", challenge: \"Communication"
+ " Overhead\", $f2: 9}>",
+ " Overhead\", count: 9}>",
"Record<{category: \"Community Detection\", challenge: \"Communication"
+ " Overhead\", $f2: 9}>",
"Record<{category: \"Covering\", challenge: \"Parallelism\", $f2: 9}>",
"Record<{category: \"Traversal\", challenge: \"Load Balance\", $f2: 8}>",
"Record<{category: \"Cohesive Subgraph\", challenge: \"Parallelism\", $f2:"
+ " Overhead\", count: 9}>",
"Record<{category: \"Covering\", challenge: \"Parallelism\", count: 9}>",
"Record<{category: \"Traversal\", challenge: \"Load Balance\", count: 8}>",
"Record<{category: \"Cohesive Subgraph\", challenge: \"Parallelism\", count:"
+ " 7}>",
"Record<{category: \"Similarity\", challenge: \"Communication Overhead\","
+ " $f2: 7}>",
"Record<{category: \"Pattern Matching\", challenge: \"Bandwidth\", $f2:"
+ " count: 7}>",
"Record<{category: \"Pattern Matching\", challenge: \"Bandwidth\", count:"
+ " 6}>",
"Record<{category: \"Centrality\", challenge: \"Bandwidth\", $f2: 5}>",
"Record<{category: \"Centrality\", challenge: \"Load Balance\", $f2: 4}>",
"Record<{category: \"Cohesive Subgraph\", challenge: \"Load Balance\", $f2:"
"Record<{category: \"Centrality\", challenge: \"Bandwidth\", count: 5}>",
"Record<{category: \"Centrality\", challenge: \"Load Balance\", count: 4}>",
"Record<{category: \"Cohesive Subgraph\", challenge: \"Load Balance\", count:"
+ " 4}>",
"Record<{category: \"Community Detection\", challenge: \"Load Balance\","
+ " $f2: 4}>",
+ " count: 4}>",
"Record<{category: \"Community Detection\", challenge: \"Parallelism\","
+ " $f2: 4}>",
+ " count: 4}>",
"Record<{category: \"Covering\", challenge: \"Communication Overhead\","
+ " $f2: 4}>",
"Record<{category: \"Similarity\", challenge: \"Parallelism\", $f2: 2}>",
"Record<{category: \"Traversal\", challenge: \"Bandwidth\", $f2: 2}>",
"Record<{category: \"Covering\", challenge: \"Load Balance\", $f2: 1}>",
"Record<{category: \"Pattern Matching\", challenge: \"Parallelism\", $f2:"
+ " count: 4}>",
"Record<{category: \"Similarity\", challenge: \"Parallelism\", count: 2}>",
"Record<{category: \"Traversal\", challenge: \"Bandwidth\", count: 2}>",
"Record<{category: \"Covering\", challenge: \"Load Balance\", count: 1}>",
"Record<{category: \"Pattern Matching\", challenge: \"Parallelism\", count:"
+ " 1}>",
"Record<{category: \"Similarity\", challenge: \"Load Balance\", $f2: 1}>");
"Record<{category: \"Similarity\", challenge: \"Load Balance\", count: 1}>");
return new QueryContext(query, expected);
}
}

0 comments on commit f22c0df

Please sign in to comment.