-
Notifications
You must be signed in to change notification settings - Fork 22
Match current state of kpi subsequences refactor #337
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
Match current state of kpi subsequences refactor #337
Conversation
anticipation of matching changes to kobotoolbox/kpi
…following the new shape of transcripts and translations
* update formpack requirement (see kobotoolbox/formpack#337) * exclude qualitative analysis note (`qualNote`) questions from export columns * restore `name` from earlier refactor work in `get_output_fields()` * correct order of fields in `analysis_form_json` * restore `pack.extend_survey()` during exports, missing after evil merge
rgraber
left a comment
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.
Looks good to my limited knowledge of formpack
| except KeyError: | ||
| return '' | ||
|
|
||
| # sure would be nice if this were a dict with uuids as keys instead of |
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.
Tell me about it
rgraber
left a comment
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.
LGTM for real
### 💭 Notes * use `value` instead of `val` in qualitative analysis responses to match rest of refactor * update formpack requirement (see kobotoolbox/formpack#337) * match pre-refactor behavior by excluding qualitative analysis note (`qualNote`) questions from export columns * restore `name` from earlier refactor work in `get_output_fields()` * correct order of fields in `analysis_form_json` * restore `pack.extend_survey()` during exports, missing after evil merge 👿 ### 👀 Preview steps 1. Make sure your environment has been rebuilt or whatever's necessary to pick up the new formpack requirement 2. Make a project with an audio question 3. Collect a submission 4. Add every kind of transcript, translation, and qualitative analysis question (and response) to the audio response in that submission * FYI I wrote notes in the description of DEV-1301 (internal [link](https://linear.app/kobotoolbox/issue/DEV-1301/update-formpack-to-accept-new-shape-of-data)) about how to do this with `curl` 6. Run an XLSX export of the project 7. Make sure all the export includes the transcript, translation, and all qualitative analysis responses 8. Make sure the export columns are in the proper order 9. Make sure nothing appears that shouldn't --------- Co-authored-by: rgraber <becca.graber@kobotoolbox.org>
* use `value` instead of `val` in qualitative analysis responses to match rest of refactor * update formpack requirement (see kobotoolbox/formpack#337) * match pre-refactor behavior by excluding qualitative analysis note (`qualNote`) questions from export columns * restore `name` from earlier refactor work in `get_output_fields()` * correct order of fields in `analysis_form_json` * restore `pack.extend_survey()` during exports, missing after evil merge 👿 1. Make sure your environment has been rebuilt or whatever's necessary to pick up the new formpack requirement 2. Make a project with an audio question 3. Collect a submission 4. Add every kind of transcript, translation, and qualitative analysis question (and response) to the audio response in that submission * FYI I wrote notes in the description of DEV-1301 (internal [link](https://linear.app/kobotoolbox/issue/DEV-1301/update-formpack-to-accept-new-shape-of-data)) about how to do this with `curl` 6. Run an XLSX export of the project 7. Make sure all the export includes the transcript, translation, and all qualitative analysis responses 8. Make sure the export columns are in the proper order 9. Make sure nothing appears that shouldn't --------- Co-authored-by: rgraber <becca.graber@kobotoolbox.org>
See kobotoolbox/kpi#6561