Skip to content

Commit 017a501

Browse files
authored
Merge pull request #77 from srlearn/misc-fixes
🔨 Build step improvements, Cora tests, drop unreachable code
2 parents 5621175 + 8679bda commit 017a501

40 files changed

+70438
-247
lines changed

build.gradle

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repositories {
1515

1616
dependencies {
1717
implementation files('libs/auc-0.3.1.jar')
18-
implementation 'org.junit.jupiter:junit-jupiter:5.7.0'
18+
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.0'
1919
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
2020
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
2121
}
@@ -35,11 +35,15 @@ description = 'SRLBoost'
3535
java.sourceCompatibility = JavaVersion.VERSION_1_8
3636

3737
jar {
38-
manifest {
39-
attributes(
40-
'Main-Class': 'edu.wisc.cs.will.Boosting.Common.RunBoostedModels'
41-
)
42-
}
38+
manifest {
39+
attributes 'Main-Class': 'edu.wisc.cs.will.Boosting.Common.RunBoostedModels'
40+
}
41+
42+
from provider {
43+
zipTree(configurations.compileClasspath.filter {
44+
it.name == 'auc-0.3.1.jar'
45+
}.singleFile)
46+
}
4347
}
4448

4549
javadoc {

data/cora/fold1/test/test_bk.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
usePrologVariables: true.
2+
setParam: maxTreeDepth=4.
3+
setParam: nodeSize=2.
4+
setParam: numOfClauses=8.
5+
queryPred: sameauthor/2.
6+
mode: author(-paper,+auth).
7+
mode: author(+paper,-auth).
8+
mode: haswordauthor(-auth,+word).
9+
mode: haswordauthor(+auth,-word).
10+
mode: haswordtitle(-title,+word).
11+
mode: haswordtitle(+title,-word).
12+
mode: haswordvenue(-venue,+word).
13+
mode: haswordvenue(+venue,-word).
14+
mode: sameauthor(-auth,+auth).
15+
mode: sameauthor(+auth,-auth).
16+
mode: sameauthor(+auth,+auth).
17+
mode: title(-paper,+title).
18+
mode: title(+paper,-title).
19+
mode: venue(-paper,+venue).
20+
mode: venue(+paper,-venue).

data/cora/fold1/test/test_facts.txt

Lines changed: 1493 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)