Skip to content

Commit ff282c7

Browse files
authored
Merge pull request #236 from cmu-delphi/release/5.0.1
Release 5.0.1
2 parents 6541006 + f92592d commit ff282c7

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 5.0.0
2+
current_version = 5.0.1
33
commit = False
44
tag = False
55

.github/workflows/release_main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
branches:
55
- main
66

7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
710
jobs:
811
correct_repository:
912
runs-on: ubuntu-latest
@@ -49,6 +52,7 @@ jobs:
4952
uses: actions/checkout@v2
5053
with:
5154
ref: dev
55+
fetch-depth: 0
5256
ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}
5357
- name: Reset dev branch
5458
run: |

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: forecasteval
22
Title: Forecast Evaluation Dashboard
3-
Version: 5.0.0
3+
Version: 5.0.1
44
Authors@R: c(person("Kate", "Harwood", email = "[email protected]", role = "cre"),
55
person("Chris", "Scott", role = "ctb"),
66
person("Jed", "Grabman", role = "ctb"))

Report/create_reports.R

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ for (signal_name in signals) {
139139
check_for_missing_forecasters(state_predictions, forecasters, "state", signal_name, output_dir)
140140
}
141141

142+
save_score_errors <- list()
143+
142144
## Score predictions
143145
print("Evaluating state forecasts")
144146
geo_type <- "state"
@@ -147,20 +149,21 @@ state_scores <- evaluate_covid_predictions(state_predictions,
147149
geo_type = geo_type
148150
)
149151

150-
save_score_errors <- list()
151-
152152
for (signal_name in signals) {
153153
status <- save_score_cards_wrapper(state_scores, geo_type, signal_name, output_dir)
154154
if (status != 0) {
155155
save_score_errors[paste(signal_name, geo_type)] <- status
156156
}
157157
}
158158

159+
rm(state_scores)
160+
gc()
161+
159162
print("Evaluating national forecasts")
160163
# TODO: When this function was created, COVIDcast did not return national level
161164
# data, and CovidHubUtils was used instead. We could now switch to COVIDcast,
162165
# but COVIDcast and CovidHubUtils don't produce exactly the same data. This
163-
# requires more investigation. Also using CovidHubUtils might be faster.
166+
# requires more investigation. Not using `evalcast` is also faster.
164167
geo_type <- "nation"
165168
nation_scores <- evaluate_chu(nation_predictions, signals, err_measures)
166169

app/global.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ library(viridis)
88
library(tsibble)
99
library(covidcast)
1010

11-
appVersion <- "5.0.0"
11+
appVersion <- "5.0.1"
1212

1313
COVERAGE_INTERVALS <- c("10", "20", "30", "40", "50", "60", "70", "80", "90", "95", "98")
1414
DEATH_FILTER <- "deaths_incidence_num"

0 commit comments

Comments
 (0)