Skip to content
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

[FEAT] Hierarchical question identifiers #3

Open
OlivierBinette opened this issue Mar 29, 2023 · 0 comments
Open

[FEAT] Hierarchical question identifiers #3

OlivierBinette opened this issue Mar 29, 2023 · 0 comments

Comments

@OlivierBinette
Copy link
Member

Is your feature request related to a problem? Please describe.

I'd like to more easily extract the answers to questions, especially when a single users answers the same question multiple times in relation to different test cases or situations.

Describe the solution you'd like

Question IDs should be indexed hierarchically. For instance, if I want to ask a user if there is an error in a test case corresponding to the current page index, I can use something like:

error = survey.radio(
    "Is there an error?", options=["No", "Yes", "Unsure"], horizontal=True, id=("error", page.current)
)

rather than setting id=f"error_{page.current}".

This should make it easier to automatically analyze answers, especially when a single user is asked the same question in regard to many different things/test cases.

@OlivierBinette OlivierBinette changed the title [FEAT] [FEAT] Hierarchical question identifiers Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant