ExamRandomizer
Randomize questions order, multiple choice responses order and figure versions from a LaTex file created with the exam class.
Install / Use
/learn @gcalmettes/ExamRandomizerREADME
examRandomizer
Randomize questions order, multiple choice responses order and figure versions from a LaTex file created with the LaTex exam class.
This script allows to generate n different versions of an exam, by allowing the possibility to randomize:
- the order of the questions
- the order of the possible responses of a multiple choice questions
- the figure(s) version(s) used in the document if several versions of the figure(s) are provided
The script also add an environment minipage to every question so the questions cannot be cut by a page-break. If a question has multiple-part (parts environment) then the minipage environment is added to each isolated part instead of the full question to prevent too long questions to not be displayed fully.
This repo contains a self-sufficient example, in which 10 different versions of an exam will be created:
- The
master-filefolder contains the files needed to generate the master file of an exam created with the exam class of LaTex. This includes both the LaTex files, as well as the different versions of the figures that will be randomly chosen to be included in each version (in this example, there are two figures in the exam, but only one of them will be different from exam to exam). - The
randomization-scriptfolder contains the python script generating the different versions of the exam. This script also call the compilation of the generated LaTex files usingpdflatexand save the different randomized versions of the exam in theoutputRandomfolder.
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
