-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5059 bug unable to see intervention in output chart for calibrate #5110
base: main
Are you sure you want to change the base?
5059 bug unable to see intervention in output chart for calibrate #5110
Conversation
…t-chart-for-calibrate
dx: labelXOffset, | ||
dy: -10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why only dx
deserves a constant?
Object.entries(groupedInterventionOutputs.value).forEach((item) => { | ||
item[1].forEach((intervention) => { | ||
chart.layer.push(...createInterventionChartMarkers([intervention], false, -80)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does the node chart uses -80
and not -180
like the drilldown?
item[1].forEach((intervention) => { | ||
charts[variable].layer.push(...createInterventionChartMarkers([intervention], false, -180)); | ||
}); | ||
}); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like we are applying all the interventions to the chart. We are going to end up plotting plotting interventions for variables like I, S, and R all on the same chart. It will create a issue such that chart for variable I
also have intervention for other variables, for example S
or R
along with all interventions for parameters as well. I'm not sure if that's what we want to do. If we want still draw all interventions for parameters to the chart, we should at least filter out the intervention for non target state variables (e.g. S, R etc) I guess and only plot the interventions for the parameters (e.g. beta, alpha etc).
Fixes missing intervention marker in the calibrate node and calibrate drilldown
Resolves #5059