Skip to content

Commit

Permalink
update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
breandan committed Apr 11, 2024
1 parent 43dd9c9 commit ddfc7b9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
18 changes: 9 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
// implementation("ai.djl.tensorflow:tensorflow-native-cu101:2.3.1")
// implementation("ai.djl:examples:0.6.0")

val djlVersion = "0.26.0"
val djlVersion = "0.27.0"
implementation("ai.djl:api:$djlVersion")
implementation("ai.djl.mxnet:mxnet-engine:$djlVersion")
implementation("ai.djl.mxnet:mxnet-native-cu102mkl:1.9.1")
Expand All @@ -50,17 +50,17 @@ dependencies {
implementation("info.debatty:java-string-similarity:2.0.0")

// CLI parser
implementation("com.github.ajalt.clikt:clikt:4.2.2")
implementation("com.github.ajalt.clikt:clikt:4.3.0")

implementation("com.beust:klaxon:5.6")

// Source code transformation
// implementation("com.github.h0tk3y.betterParse:better-parse:0.4.2")
val openrwVersion = "8.21.0"
val openrwVersion = "8.23.2"
implementation("org.openrewrite:rewrite-java:$openrwVersion")
runtimeOnly("org.openrewrite:rewrite-java-11:$openrwVersion")

val smileVersion = "3.0.3"
val smileVersion = "3.1.0"
implementation("com.github.haifengl:smile-kotlin:$smileVersion")
implementation("com.github.haifengl:smile-core:$smileVersion")

Expand All @@ -83,7 +83,7 @@ dependencies {
implementation("dk.brics:automaton:1.12-4")

// Querying and filtering data from GitHub
implementation("org.kohsuke:github-api:1.320")
implementation("org.kohsuke:github-api:1.321")
// Querying and filtering data from GitLab
implementation("org.gitlab4j:gitlab4j-api:6.0.0-rc.4")

Expand Down Expand Up @@ -147,20 +147,20 @@ dependencies {
exclude(group = "org.sosy-lab", module = "java-smt")
exclude(group = "org.sosy-lab", module = "javasmt-solver-mathsat5")
}
implementation("org.apache.datasketches:datasketches-java:5.0.1")
implementation("org.apache.datasketches:datasketches-java:5.0.2")
implementation("io.github.vovak:astminer:0.9.0")
implementation("com.github.ben-manes.caffeine:caffeine:3.1.8")

implementation("de.kherud:llama:2.3.5")
implementation("de.kherud:llama:3.0.0")

// Source Code Transformations
implementation("fr.inria.gforge.spoon:spoon-core:10.4.3-beta-21")

// implementation("com.theokanning.openai-gpt3-java:api:0.12.0")
implementation("com.aallam.openai:openai-client:3.7.0")
implementation("com.aallam.openai:openai-client:3.7.1")

// Common statistical tests
implementation("org.hipparchus:hipparchus-stat:3.0")
implementation("org.hipparchus:hipparchus-stat:3.1")

// implementation("io.github.danielnaczo:python3parser:1.0.4")
implementation("org.antlr:antlr4:4.13.1")
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ fun main() {
// MAX_UNIQUE = 1_000
TIMEOUT_MS = 30_000
MIN_TOKENS = 3
MAX_TOKENS = 80
// MAX_RADIUS = 2
MAX_TOKENS = 50
MAX_RADIUS = 3
CFG_THRESH = 10_000
evaluateBarHillelRepairOnStackOverflow()
// evaluateSeq2ParseRepair()
Expand Down Expand Up @@ -210,7 +210,7 @@ fun evaluateBarHillelRepairOnStackOverflow() {

val stability = ((levBlanket.count { it != "_" }.toDouble() / toRepair.size) * 100).roundToInt()
editLocationsByLenAndDist.getOrPut(lenBucket to levDist) { S2PMetrics() }.top1 += stability
println("Mutability profile\n=============")
println("Stability profile\n=============")
println(editLocationsByLenAndDist.summarizeLenAndDist())
}
}
Expand Down

0 comments on commit ddfc7b9

Please sign in to comment.