Skip to content

Commit

Permalink
Merge pull request #8 from SERG-Delft/processing_for_iclr_great
Browse files Browse the repository at this point in the history
Add processing for ICLR-GREAT Paper and Fix bugs
  • Loading branch information
mauricioaniche authored Aug 25, 2020
2 parents 6b0f3ff + dc6bd7f commit 5447bb8
Show file tree
Hide file tree
Showing 14 changed files with 618 additions and 95 deletions.
34 changes: 34 additions & 0 deletions fixture/representation/Enum.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* Code from Apache
*/
package org.apache.cassandra.gms;

public enum Enum
{
STATUS,
LOAD,
SCHEMA,
DC,
RACK,
RELEASE_VERSION,
REMOVAL_COORDINATOR,
INTERNAL_IP,
RPC_ADDRESS,
X_11_PADDING, // padding specifically for 1.1
SEVERITY,
NET_VERSION,
HOST_ID,
TOKENS,
RPC_READY,
// pad to allow adding new states to existing cluster
X1,
X2,
X3,
X4,
X5,
X6,
X7,
X8,
X9,
X10,
}
32 changes: 32 additions & 0 deletions fixture/representation/UnparsableCode.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
class UnparsableCode {
static Object
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][][][][][]
[][][][][][] o; // 256 = too many

public static void main(String[] args) {
}
}
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@
<version>3.17.0</version>
</dependency>

<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
</dependency>

</dependencies>

<build>
Expand Down
11 changes: 11 additions & 0 deletions src/main/java/com/github/sergdelft/j2graph/Main.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.github.sergdelft.j2graph;

import com.github.sergdelft.j2graph.iclr20great.ICLR20GreatDataGenerator;

public class Main {

public static void main(String[] args) {
ICLR20GreatDataGenerator ICLR20GreatDataGenerator = new ICLR20GreatDataGenerator();
ICLR20GreatDataGenerator.run();
}
}
Loading

0 comments on commit 5447bb8

Please sign in to comment.