SCM

Forum: support

Monitor Forum | Start New Thread Start New Thread
RE: schoice / choice - rule exams2moodle [ Reply ]
By: Achim Zeileis on 2025-03-23 23:52
[forum:50067]
Thanks for checking, much appreciated!

RE: schoice / choice - rule exams2moodle [ Reply ]
By: Martin Spott on 2025-03-23 15:28
[forum:50066]
I ran some tests and it looks alright now.

Thanks for the quick resolution!

RE: schoice / choice - rule exams2moodle [ Reply ]
By: Achim Zeileis on 2025-03-23 12:42
[forum:50064]
This was a bug in exams2moodle(). I think that I have fixed this now. Please try to install the latest development version of the package:

install.packages("exams", type = "source", repos = "https://R-Forge.R-project.org")

After that the evaluation rule="..." is only applied to mchoice questions and mchoice elements in cloze questions. The default is to penalize incorrect answers.

For schoice questions and schoice elements in cloze questions, the rule="..." specification is irrelevant. By default, incorrect answers are _not_ penalized. If negative points are desired here, then negative=... should be set in the evaluation rule.

RE: schoice / choice - rule exams2moodle [ Reply ]
By: Martin Spott on 2025-03-21 17:26
[forum:50063]
Hi Achim,

related to Jean-Francois' question: if I use schoice and mchoice questions within a cloze question, can I still control the evaluation for schoice and mchoice separately?

Within a cloze block I would like my schoice questions without and the mchoice ones with penalty for wrong answers.

Specifying eval = () for mchoice and schoice in exams2moodle() will not apply to schoice and mchoice within a cloze question (at least that does not work for me). And within cloze = list() it seems I can only set a single evaluation scheme.

Any ideas?

Thanks, Martin


RE: schoice / choice - rule exams2moodle [ Reply ]
By: Achim Zeileis on 2020-04-24 20:36
[forum:47668]
Great, thanks for the feedback, glad it worked.

RE: schoice / choice - rule exams2moodle [ Reply ]
By: Jean-François Coeurjolly on 2020-04-24 20:00
[forum:47667]
Great. Works perfectly.With your reply I understand better the interaction between exams2moodle(...) and exams_eval(...).
Thanks again.

RE: schoice / choice - rule exams2moodle [ Reply ]
By: Achim Zeileis on 2020-04-23 22:21
[forum:47665]
Re: evaluation rules. You can set different evaluation rules like this:

exams2moodle(...,
mchoice = list(eval = list(partial = ..., rule = ..., negative = ...)),
schoice = list(eval = list(...)),
cloze = list(eval = list(...)),
...
)

etc.

Re: fixing errors. First, these things can happen and can be tedious to fix. But as long as the students don't complain too much, it will be alright...and you won't make the same error again. Trust me, I've been there ;-) Second, I'm not a Moodle user myself so I'm not sure whether it is possible to do the same as in OLAT (the system we use at our university). I can export the student results to a spreadsheet which includes the IDs of the replications. With that I can match it to the original results and I'm also often able to compute the correct results in R (but not the learning management system).

Re: thank the maintainers. Thanks for the appreciation! Indeed I find myself spending much more time on R/exams support than usual. But apparently this is how I'm suposed to help the broader community during this pandemic!

schoice / choice - rule exams2moodle [ Reply ]
By: Jean-François Coeurjolly on 2020-04-23 11:27
[forum:47663]
First of all, I guess you've received more questions/feeedbacks these last weeks due to the situation and I'd like to thank maintainers for their helpful support.

I've loved to prepare my exam using moodle, R (and ggplot2). I've learned a lot of things. Very stimulating.

After evaluating my exam, I realize I've done a few mistakes probably and I've to spend more time than expected to reevaluate a few questions (since I've 100 random questions this is not possible to do this automatically under moodle).

I had a few questions with numeric answers required, other ones with multiple questions and one question where the meta information was

\extype{cloze}
\exclozetype{schoice|schoice}
\exsolution{00100|01}
\expoints{3|2}

and then (I'm simplifying the instruction)....

exams2moodle(myexam,n=100,rule='false')

Moodle applies correctly this rule for evaluating mchoice type answers but also apples it to schoice questions.

I've failed to find the answer on the help pages and the forum: is there a way to choose a rule for mchoice and another one for schoice questions?
Thanks again.
JF


Thanks to:
Vienna University of Economics and Business Powered By FusionForge