Skip to content

Commit 347bd31

Browse files
author
Illia Korniiko
committed
wle 2025
1 parent aca1e1b commit 347bd31

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

scalawiki-wlx/src/main/resources/wle_ua.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
"country": "Ukraine",
66

7-
"year": 2024,
7+
"startYear": 2013,
88

99
"campaign": "wle-ua",
1010

@@ -54,7 +54,7 @@
5454
"4-9": 1.5
5555
}
5656
},
57-
"2024" : {
57+
"2025" : {
5858
"base-rate" : 0.5
5959
"number-of-authors-bonus": {
6060
same-author-zero-bonus: true,

scalawiki-wlx/src/main/scala/org/scalawiki/wlx/dto/Contest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ object Contest {
9494
val (typeStr, countryStr, year) = (
9595
config.getString("type"),
9696
config.getString("country"),
97-
config.getInt("year")
97+
ZonedDateTime.now.getYear
9898
)
9999

100100
val uploadConfig = UploadConfig.fromConfig(config)

scalawiki-wlx/src/main/scala/org/scalawiki/wlx/stat/StatParams.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ case class StatConfig(
3737
import org.rogach.scallop._
3838

3939
class StatParams(arguments: Seq[String]) extends ScallopConf(arguments) {
40-
val years = opt[List[Int]]("year", 'y', "contest year.")
41-
val startYear = opt[Int]("start-year", 's', "contest year.")
40+
val years = opt[List[Int]]("year", 'y', "contest year(s).")
41+
val startYear = opt[Int]("start-year", 's', "start contest year.")
4242
val campaign = opt[String](
4343
"campaign",
4444
'c',

0 commit comments

Comments
 (0)