opws / opws-dataset

Profiles for the user account systems of various sites.
Open Data Commons Open Database License v1.0
14 stars 2 forks source link

Refactoring `questions` #207

Closed stuartpb closed 7 years ago

stuartpb commented 7 years ago

I'm thinking questions should get moved under a knowledge field (ie. becoming knowledge.questions), which can describe "user knowledge" as a component of the profile in general.

I think this should be moved under a more general topic to mirror password, username, and other profile-oriented topics: this would also allow for knowledge.notes to describe user questions instead of questions[0].notes, which is where notes are going right now.

It'll also open up the door for knowledge.answers.contents and knowledge.answers.value (and knowledge.answers.value.must etc), introduce a name for use in other fields to refer to when answers are required, as well as future fields that can describe other aspects of how user knowledge may be used (for instance, when knowledge answers can be used to recover a password without an email).

Some names I considered and rejected for the umbrella for this:

stuartpb commented 7 years ago

It also clears the path for a different kind of questionnaire. For instance, right now a site that requires several questions to be answered, each one being mandatory, would be represented as a series of lists with required: 1 and one item under options. In that case, it's probably not a knowledge set of questions, and should probably be profiled in a different structure.

stuartpb commented 7 years ago

Actually, what about challenge? That's the term Washington Connect uses, and I think it makes about as much sense.

Admittedly, it's not as precise as knowledge (a CAPTCHA is a kind of challenge, too, after all), but it's also not as broad (knowledge can describe lots of things, like, say, a "knowledge base", and seeing "requires knowledge" is a lot more "lol wut" than "requires challenge").

stuartpb commented 7 years ago

I'm going to go forward with this right now as challenge.