Exercises of these types have markup designed to convey the solution, whereever
possible. So, for example, Parsons have the non-distractor blocks in the
correct order. Cardsort has the cards belonging to a bucket authored in a
grouping with the bucket. Then we rely on software to randomize.
Specifying an @order is not "monkey work". We care very much about less-capable
output formats, such as PDF, EPUB, braille. It is not PreTeXt if all we seem to
care about is HTML and everything else is an after-thought. So we allow an
author to craft a specific order and it is repeatable.
XSL is not great at randomization, nor are many of our output formats. I don't
think we want to ship out exercises to the Python and back for randomization.
Seeds are notorious for producing different results over time. I don't want the
exercises in my PDF changing from edition to edition unless I have a reason and
elect that change.
We already have markup for @order *and* we have a need for it in many cases -
the schema will reflect that. Since an author *will* be doing this anyway, we
might as well leverage that. So I am in support of any randomization that
happens via Runestone Services, or any election to use an ordering prescribed by
an author - in HTML or anywhere else.
Rob
On 6/4/25 07:43, Andrew Scholer wrote:
> *Multiple choice*
> /That would mean we need to identify each answer uniquely///
>
> That is already done. There already is randomization of MC exercises and
> responses are stored as the index of the selected answer as authored, not as
> displayed.
>
> /Do we not want students sharing answers, or is there more to it than that?/
>
> People are very bad at generating random distributions? More seriously, I find
> it much easier to author correct answers first and then add distractors. It is
> nice to have the presentation layer randomize that instead of having to manually
> shuffle the options. But willing to leave that on the cutting room floor.
>
> *Parsons*
> /I'm happy to put/allow @order on various blocks.../
>
> I think we need a solution for "randomly selected permutation" that doesn't
> depend on an author-specified markup. As an author, I don't care one iota about
> what permutation is selected to display a Parsons I have written (as long as it
> is not always the correct order). Marking up a valid permutation is a lot of
> monkey work. If no one cares exactly which permutation is the end product, it
> seems silly to require that labor. @order should be a fallback for the rare case
> when an author thinks there is some ideal permutation to display.
>
>
> *Author/Instructor Control*
> Presumably an instructor who wanted everyone to see the same ordering for a
> Parsons would want everyone to see the same order for CardSort, Matching,
> MultipleChoice,... Perhaps event the same seed for FITB? That sounds like a
> course level setting. If it is even needed. Perhaps a single randomly generated
> permutation should be the default for those elements.
>
> In any case, if it is a course level feature in RS, we don't need markup for it.
> If someone selects "Team teaching mode", or "Single ordering for questions" or
> whatever, we can check for @order and use it if is there. If not, do what you
> suggested and seed with a hash of the RS id for the widget.
>
> *Matching*
> So I think we might be down to just @premise-randomize="yes"/"no" and @response-
> randomize="yes"/"no" with defaults to "yes". If there are @order on items, a
> static display should assume "prescribed". Otherwise it should assume
> "authored". Runestone can do the same for non-randomized. For randomized it can
> either do fully pseudorandom, seeded random, or allow for instructor choice.
>
>
> Andrew Scholer (he/him/his)
> Computer Science Instructor
> Chemeketa Community College
>
503.589.7649
>
computerscience.chemeketa.edu/people/andrew-scholer/ <http://
> email to
pretext-dev...@googlegroups.com <mailto:
pretext-
>
dev%2Bunsu...@googlegroups.com>.
> MTAwMDAxNS5iZWV6ZXI.1748994447%40pnsh <
https://groups.google.com/d/msgid/
> pretext-dev/MTAwMDAxNS5iZWV6ZXI.1748994447%40pnsh>.
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> CACm44N9MocVSEwc7hE0b%2Bf8%2BNm%3DyHvc9QuyfeZo8PYSbkNCVDQ%
40mail.gmail.com
> <
https://groups.google.com/d/msgid/pretext-dev/
> CACm44N9MocVSEwc7hE0b%2Bf8%2BNm%3DyHvc9QuyfeZo8PYSbkNCVDQ%
40mail.gmail.com?
> utm_medium=email&utm_source=footer>.