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
Initial Foorm Rollups #33871
Initial Foorm Rollups #33871
Conversation
…-rollups merge latest staging.
dashboard/config/foorm/forms/surveys/pd/workshop_daily_survey_day_5.0.json
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,11 @@ | |||
{ |
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.
I love that this is driven by a configuration!
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.
nice!
...rc/code-studio/pd/workshop_dashboard/components/survey_results/survey_rollup_table_foorm.jsx
Outdated
Show resolved
Hide resolved
...rc/code-studio/pd/workshop_dashboard/components/survey_results/survey_rollup_table_foorm.jsx
Outdated
Show resolved
Hide resolved
As discussed, a detailed comment in |
Again looking forward to what @hacodeorg thinks! |
@@ -0,0 +1,11 @@ | |||
{ |
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.
nice!
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 takes me a while to follow the details in the flow. I think it makes sense. However, it's quite difficult to find issues without a clear understanding of the caveats/corner cases in function inputs. I can take a deeper look in your next PR with tests.
Are we planning to make the rollup pipeline generic or it is completely just for Foorm?
thanks @hacodeorg! For now the plan is for it to work with Foorm only, since the formats end up being pretty specific it would be hard to make it generic. I am working on the tests in the follow-up PR, let me know if there are other things I can do to make the code clearer. |
Calculates and shows rollups for teacher engagement and overall success matrices for CSD/CSP Foorm survey results on /pd/workshop_dashboard/daily_survey_results_foorm/. Rollups will show average response for the specific workshop and for all workshops for the course. Example view:
The questions to be rolled up are stored in rollups_by_course.json. Currently only matrix questions that use numeric keys are supported. This PR also includes a new survey configuration for the day 5 CSD/CSP summer workshop, as that survey contains the questions that we currently roll up.
Future work
Links
Testing story
Tested manually that rollups show up correctly for a workshop with day 5 survey results, and no errors occur with workshops with incomplete/no survey results. The new survey results view page is not linked anywhere so it is low-risk.
Reviewer Checklist: