AUTO-MULTIPLE-CHOI(1)
π AUTO-MULTIPLE-CHOI(1) π
okay bestie, welcome to auto-multiple-choice-annotate β the glow-up era of your graded answer sheets β¨ (and yeah, she lives in the Auto Multiple Choice family, manual section 1, so now you know π«Ά).
πΈ NAME πΈ
auto-multiple-choice-annotate β annotating completed answer sheets after marking, for AMC multiple choice exams. it's giving "your paper but make it β¨correctedβ¨".
π SYNOPSIS π
auto-multiple-choice annotate --project project-dir
--names-file students.csv [annotation options...]
π DESCRIPTION π
The auto-multiple-choice annotate command annotates your paper scans with scores for all questions, plus the global score and the mark, and spits out PDF files (either one for each student, or one single file β your call, diva).
β¨ General options β¨
--project project-dirβ sets the project name or directory. the main character of options ngl.--data project-data-dirβ tells her where the data files live (default value isproject-dir/data).--pdf-dir pdf-dirβ sets the project pdf directory, i.e. where to output the annotated scans (default value isproject-dir/cr/corrections/pdf).--names-file students-list.csvβ sets the students list file name.--names-encoding encodingβ picks an encoding for the filestudents-list.csv(default isutf-8).--association-key keyβ sets the key (that's a column name in the students list file) used for association. the default value is stored in the database from the value actually used for association, so lowkey this option should not be used π.--subject subject.pdfβ sets the path to the PDF question file (default isproject-dir/DOC-sujet.pdf).--compose modeβ use this one if you want to take pages from the subject when there's no boxes to be filled on them (like, question pages before the annotated answer sheet, iykyk). When mode equals1, the pages are taken from the subject, are filled or not according to the student's answers (the same as on the answer sheet), and the same correction marks are drawn as on the answer sheet. When mode equals2, the pages are taken from the corrected answer sheet (so the ticked answers are the correct ones), and no correction marks are drawn.--corrected corrected.pdfβ sets the path to the PDF corrected subject (default isproject-dir/DOC-corrected.pdf). If not present, this file will be built using values from options--n-copies,--with,--filterand--filtered-source.--darkness-threshold tβ sets the darkness threshold. Default value is stored in the database from the value actually used for scoring, so this option should not be used π.--darkness-threshold-up upper_tβ sets the upper darkness threshold. Default value is stored in the database from the value actually used for scoring, so again this option should not be used.--csv-build-name name-modelβ sets the model for building students names from the students list file. Default value is'(nom|surname) (prenom|name)', so the name gets built using thenomcolumn content (or thesurnamecolumn ifnomdoesn't exist), followed by the content of theprenomcolumn (or thenamecolumn) β so the result should be OK for French or English simple CSV files π.--id-file ids.txtβ gives a filename where to find the ids of copies to annotate (one per line, either the student number if photocopy mode is off, orstudent:copyif the photocopy mode is on). If no file is given, then all copies will be annotated.--debug file.logβ gives a file to fill with debugging information.
π PDF output options π
--single-outputβ use this if you need all annotated copies in a single PDF file. Default behavior is to build one PDF file per student.--sort sβ sets the sort key (only useful when using--single-output). use:lβ to keep students in the same order as in the students list file.mβ to sort students according to their marks.iβ to sort students according to the copy id.nβ to sort students according to their names.
--filename-model modelβ sets a file name model for annotated PDFs. In this model, some sequences get substituted:(ID)β is replaced by the student's name (see--csv-build-name).(N)β is replaced by the student number.(COL)β is replaced by the value of column COL in the students list for the current student.
The default value is '(N)-(ID).pdf'.
π¦ Source file options π¦
These options are used when the --corrected path points to a non-existing file, so that this file can be rebuilt. slay.
--src mcq-source-file --n-copies n --with latex-engine --filter filter-name --filtered-source fs.texβ seeauto-multiple-choice-prepare(1).
π§ Options for embedded scans π§
When present, scans are embedded in the annotated PDF file. The following options control the quality of the embedded scans, to reduce the annotated file size (bestie we love a small file).
--embedded-max-size maxsizeβ sets the maximal size for scans (in the formatwidthxheight, in pixels). Default value is the empty string, which means there is no maximum size. Scans that are larger will be reduced before being included in the annotated file.--embedded-format formatβ sets the format for scans inclusion:jpegorpng.--embedded-jpeg-quality qualityβ sets the JPEG quality (from1to100) for jpeg embedded scans.
π Annotation options π
These options control what kind of annotations are being drawn βοΈ.
--font-size fsβ sets the font size, in points, for annotations.--text-color colorβ text color for annotations. Default value isred.--verdict headerβ sets the text header to be printed on each first page of the students copies. This text may contain CR characters for multi-line headers. Some sequences get substituted in it:%Sβ is replaced by the student total score.%Mβ is replaced by the maximum total score.%sβ is replaced by the student mark.%mβ is replaced by the maximum mark.%(ID)β is replaced by the student's name.%(COL)β is replaced by the value of column COL in the students list for the current student.
--position posβ sets the position where question scores are to be written:margeβ the scores will be written in the left margin.margesβ the scores will be written in the closest margin (left or right).caseβ the scores will be written near the boxes.noneβ the scores won't be written.
--verdict-question perl-expressionβ sets the text to be printed next to all questions, through a perl expression to be evaluated (if you need a simple text, simply quote it with"). Some sequences get substituted in it before evaluation:%Sβ is replaced by the student score for this question.%Mβ is replaced by the maximum score for this question.%sβ is the same as%S, but rounded to nc significant digits (see option--ch-sign).%mβ is the same as%M, but rounded to nc significant digits (see option--ch-sign).
A standard value for this option is "\"%s/%m\"". You can also use tests (with the perl syntax ( TEST ? IF-YES : IF-NO )) to write Valid if the score is the maximal score, or Failed if not, using
--verdict-question "(%S==%M ? \"Valid\" : \"Failed\")"
--verdict-question-cancelled perl-expressionβ same as--verdict-question, but applies for cancelled questions (see allowempty scoring strategy). The default value is"X".--indicativesβ use this option to request boxes annotation for indicative questions (these questions' scores won't be taken into account while computing the global score. The correct/wrong status is often irrelevant for these questions, so there is no point correcting the corresponding boxes).--line-width widthβ sets the line width (in points) when drawing symbols to correct answers.--symbols symbols-definitionβ defines how boxes will be annotated. symbols-definition is a comma separated list ofH-A:shape:colorconstructs, where H is0or1depending on whether the box has to be checked or not, A is0or1depending on whether the box is actually checked or not, shape is one ofnone,circle,mark,box, and color is a color (name or#RGB, see ImageMagick or GraphicsMagick documentation for details).
Default value is
"0-0:none,0-1:circle:red,1-0:mark:red,1-1:mark:blue"
π Lengths π
The following lengths can be given with a unit (in, ft, pt, cm or mm).
--dist-to-box dβ sets the distance from the boxes (going left) where to write question scores when using--position case. Defaults to1cm.--dist-margin dβ sets the margin size. Defaults to5mm.--dist-margin-global dβ sets the margin size for the header. Defaults to3mm.
β AUTHORS β
- Alexis BienvenΓΌe
<paamc@passoire.fr>β Main author π - Anirvan Sarkar β Author and Editor
- Hiroto Kagotani β Editor
- FrΓ©dΓ©ric BrΓ©al β Author and Editor
- Jean BΓ©rard β Translation from French
- Georges Khaznadar β Translation from French
π COPYRIGHT π
Copyright Β© 2008-2025 Alexis BienvenΓΌe
This document can be used according to the terms of the GNU General Public License, version 2 or later.
okay that's the whole thing bestie, no notes π this was Auto Multiple Choice 1.7.0, dated 2025-04-17, and yes she ate. go annotate something πβ¨
π¦ where this page comes from
- arch rolling: auto-multiple-choice 1.7.0-7 Β· GPL-2.0-or-later
- debian trixie: auto-multiple-choice-common 1.7.0-3 Β· GPL-2.0-or-later
- nixpkgs unstable: auto-multiple-choice 1.7.0
- ubuntu questing: auto-multiple-choice-common 1.7.0-3
- ubuntu resolute: auto-multiple-choice-common 1.7.0-3build1 Β· GPL-2.0-or-later
- ubuntu stonking: auto-multiple-choice-common 1.7.0-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms