-
Notifications
You must be signed in to change notification settings - Fork 1
/
study-config.json
74 lines (74 loc) · 1.55 KB
/
study-config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"$schema": "schemas/0.1.2/study-config.schema.json",
"datasets": {
"kotlin": "2021 Aug/Kotlin",
"python": "2021 Aug/Python",
"python-ds": "2020 August/Python-DS",
"java": "2019 October/GitHub",
"java-sf": "2013 September/SF",
"original": "2012 July/SF"
},
"queries": {
"kotlin/hashes.txt": {
"query": "queries/hashes.boa",
"dataset": "kotlin",
"processors": {
"gendupes.py": {
"output": "data/txt/kotlin/dupes.txt",
"csv": "kotlin/dupes.csv",
"cacheclean": [
"kotlin/*-deduped.parquet"
]
}
}
},
"kotlin/rq1.txt": {
"query": "queries/rq1.boa",
"dataset": "kotlin",
"csv": {
"output": "kotlin/rq1.csv",
"test": [
"3,\\.kts?$"
]
}
},
"kotlin/project-count.txt": {
"query": "queries/project-count.boa",
"dataset": "kotlin",
"csv": {
"output": "kotlin/project-count.csv",
"drop": [
1
]
}
},
"python/project-count.txt": {
"query": "queries/project-count.boa",
"dataset": "python",
"csv": {
"output": "python/project-count.csv",
"drop": [
1
]
}
}
},
"substitutions": [
{
"target": "{@escape@}",
"file": "escape.boa"
},
{
"target": "{@project-filter@}",
"replacement": "if (input.stars >= 5)"
}
],
"analyses": {
"rq1.py": {
"input": [
"kotlin/rq1.csv",
"kotlin/dupes.csv"
]
}
}
}