To save plot rendering/computation time in https://github.com/cmu-delphi/forecast-eval/pull/271, we could also save the previous locationsIntersect to a user session-specific global and check during the next call to summaryPlot() if it has changed. If locationsIntersect has changed, make a new truth plot.
To save plot rendering/computation time in https://github.com/cmu-delphi/forecast-eval/pull/271, we could also save the previous
locationsIntersect
to a user session-specific global and check during the next call tosummaryPlot()
if it has changed. IflocationsIntersect
has changed, make a new truth plot.Potential problems:
observer
, the re-plotting logic in https://github.com/cmu-delphi/forecast-eval/blob/49896afaece66985f0b0d59c3eab1dee20bfe32a/app/server.R#L239 is confined to cases where the forecaster selection has changed. If we move the logic tosummaryPlot()
truth re-plotting could be triggered in other cases that we don't need/want.