Spaces:
Running
Running
Fixed data filtering logic
Browse files
app/app.R
CHANGED
@@ -30,7 +30,8 @@ download_raw_data <- function(model_name) {
|
|
30 |
d_raw <- round_model_performances(model_name)
|
31 |
|
32 |
# Remove rows without CORR
|
33 |
-
d_raw <- d_raw[!is.na(d_raw$
|
|
|
34 |
|
35 |
# Add the model name
|
36 |
d_raw$model <- model_name
|
@@ -71,7 +72,7 @@ reformat_data <- function(d_raw) {
|
|
71 |
"fncv3", "fncv3_pct",
|
72 |
"tc", "tc_pct",
|
73 |
"corr_meta",
|
74 |
-
"pay_ftr", "payout")
|
75 |
|
76 |
# Return
|
77 |
return(d_munged)
|
@@ -275,9 +276,8 @@ ui <- shinydashboardPlus::dashboardPage(
|
|
275 |
width = "100%",
|
276 |
step = 1,
|
277 |
min = 168, # first tournament round
|
278 |
-
max = Rnumerai::get_current_round(),
|
279 |
-
|
280 |
-
value = c(474, Rnumerai::get_current_round())
|
281 |
)
|
282 |
),
|
283 |
|
|
|
30 |
d_raw <- round_model_performances(model_name)
|
31 |
|
32 |
# Remove rows without CORR
|
33 |
+
d_raw <- d_raw[!is.na(d_raw$corrWMetamodel), ]
|
34 |
+
|
35 |
|
36 |
# Add the model name
|
37 |
d_raw$model <- model_name
|
|
|
72 |
"fncv3", "fncv3_pct",
|
73 |
"tc", "tc_pct",
|
74 |
"corr_meta",
|
75 |
+
"pay_ftr", "payout")
|
76 |
|
77 |
# Return
|
78 |
return(d_munged)
|
|
|
276 |
width = "100%",
|
277 |
step = 1,
|
278 |
min = 168, # first tournament round
|
279 |
+
max = Rnumerai::get_current_round(), # note: daily payouts from round 474
|
280 |
+
value = c(496, Rnumerai::get_current_round())
|
|
|
281 |
)
|
282 |
),
|
283 |
|