File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 44
55 "country": "Ukraine",
66
7- "year ": 2024 ,
7+ "startYear ": 2013 ,
88
99 "campaign": "wle-ua",
1010
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,
Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ case class StatConfig(
3737import org .rogach .scallop ._
3838
3939class 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' ,
You can’t perform that action at this time.
0 commit comments