Forums » Using AMC (english) »
Distinguishing between fixed-response and free-response questions
Added by Matthew Leingang almost 6 years ago
I'm trying to write an "item analysis" report plugin, that will produce something similar to this. See this article for background.
Free-response (open) questions should be analyzed differently from the ordinary multiple-choice items, so I'd like to sort them accordingly. But I can't find a good way to do that. If I loop over the array of questions produced by AMC::DataModule::scoring
, is there a property that I can use? I can see that 'type' is set to QUESTION_SIMPLE
or QUESTION_MULT
, so that can be used to tell those apart. But nothing for open questions.
For now, I've been using consistent question titles based on their type, and parsing them with regexes to sort them, but that seems nonideal.
Replies (2)
RE: Distinguishing between fixed-response and free-response questions - Added by Alexis Bienvenüe almost 6 years ago
I'm afraid open questions are not differentiated outside LaTeX: using titles seems the only way.
Please keep us informed about your progress: this looks very interesting!
RE: Distinguishing between fixed-response and free-response questions - Added by Matthew Leingang almost 6 years ago
I am getting close to finished with the data layer of my plugin. Right now it only exports YAML. But if you want to take a look it's at [[https://github.com/leingang/AMC-ItemAnalysis]].
I am thinking of providing several export formats: YAML for just the raw structured data, LaTeX in case the user wants to customize before typesetting, and PDF which will process the LaTeX file.
(1-2/2)