-
Notifications
You must be signed in to change notification settings - Fork 0
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
500 from lineplot when a proportion value is unknowingly filtered out #157
Comments
Looks like this is probably a backend issue, so moving it to EdaDataService |
Error is in plot.data. Moving there! |
Pushed to b58. Issue is that there is no overlay data for Control participants, which means the proportion is basically Case/Case. Our plan is to still err, but return a nice error to the user. Will require work from front and back end. |
link to 4/15 convo in Slack #eda-map-client-imp |
@asizemore this is the ticket we discussed in 6/1 data viz meeting. |
@danicahelb the issue in this ticket is that the 500 is being thrown not because the num and denom are the same but because there are no samples left with the value of Control. Effectively the lack of data makes it Case/Case, but the user did not choose that. It's a very rare situation. Still, feels like we should somehow alert the user that they subsetted away an entire portion of the denominator? Without an alert, the user would just see a line plot with 1s and nulls and not necessarily know why. In general being able to select the same num and denominator (for example in the screenshot below) is a different issue. I think the below is more what we talked about at the data viz meeting last week and i can implement a fix if it's a must have for b58. |
Hey @asizemore Lets start here for b58, if we get feedback that it is confusing we can address this confusion later. thanks! |
Sounds good @danicahelb . This starting point should be addressed by the linked PR. |
Deployed to qa and feat. moving to ready for testing |
Functionality that when user makes the proportion = 1 to no throw an error but to plot y = 1 seems to be working. Functionality was also tested with PERCH study. |
@sweverschulman Thank you for your tests and confirmations! 👍 |
GEMS1
Line plot
x-axis: Age group
y-axis: Case or Control case/case+control
overlay: Lost earnings due to care
or Borrowing, or is seems any variable uner Current care expenses.
What does work?
As above but with (three scenarios listed below)
It's not obvious to me what the pattern is!
I couldn't get a similar 500 in other visualizations using the Lost earnings due to care overlay
The text was updated successfully, but these errors were encountered: