AUTO-MULTIPLE-CHOI(1)
πΈ εε (NAME) πΈ
Okay so this is the manual page for auto-multiple-choice-annotate β yes, the AUTO-MULTIPLE-CHOI(1) one β and itβs literally the AMC tool that writes grading results onto multiple-choice exam answer sheets. Itβs giving βteacherβs pet but make it Unix.β π
π ζ¦θ¦ (SYNOPSIS) π
The vibe-check syntax is:
auto-multiple-choice annotate --project project-dir
--names-file students.csv [annotation options...]
β¨ θ§£θͺ¬ (DESCRIPTION) β¨
The auto-multiple-choice annotate command writes each questionβs score and the overall score onto answer sheets, then outputs PDF files β either multiple files, one per candidate, or one single combined file. Periodt. π
π ε ¨θ¬γͺγγ·γ§γ³ (General options) π
--project project-dirβ sets the project name or directory.--data project-data-dirβ points to the directory where data files live; default isproject-dir/data.--pdf-dir pdf-dirβ sets the projectβs pdf directory; default isproject-dir/cr/corrections/pdf.--names-file students-list.csvβ sets the candidate list filename.--names-encoding encodingβ picks the encoding ofstudents-list.csv; default isutf-8.--association-key keyβ sets the column used for candidate identification (a column name inside the candidate list file). The value actually used during identification is stored in the database and becomes the default value, so you should not use this option. π--subject subject.pdfβ sets the path to the exam question file; default isproject-dir/DOC-sujet.pdf.--compose modeβ use this when bringing pages without boxes to mark (for example, problem-only pages before the answer sheet) over from the question paper. Whenmodeis1, pages are taken from the question paper, marks are written the same way as on the candidateβs answer sheet, and the same grading symbols are written onto the answer sheet. Whenmodeis2, pages are taken from the corrected answer sheet and grading symbols are not written (because it would duplicate them).--corrected corrected.pdfβ sets the path to the PDF model answer; default isproject-dir/DOC-corrected.pdf. If the file does not exist, it is created using the values of the--n-copies,--with,--filter, and--filtered-sourceoptions.--darkness-threshold tβ sets the threshold for black-pixel ratio. The value actually used during grading is stored in the database and becomes the default value, so you should not use this option. π--darkness-threshold-up upper_tβ sets the upper threshold for black-pixel ratio. The value actually used during grading is stored in the database and becomes the default value, so you should not use this option. π--csv-build-name name-modelβ sets the model for building candidate names from the candidate list file. The default value is(nom|surname) (prenom|name). In that case, the name is the contents of thenomcolumn (orsurnameifnomis absent) followed by the contents of theprenomcolumn (ornameifprenomis absent), so simple French or English CSV files usually work.--id-file ids.txtβ specifies a file listing the IDs of answer sheets to annotate, one per line: in individual answer-sheet mode, the candidate number; in copy answer-sheet mode,student:copy. If no file is given, every answer sheet gets annotated.--debug file.logβ specifies the file where debug info gets logged.
π PDFεΊεγͺγγ·γ§γ³ (PDF output options) π
--single-outputβ use this to combine annotated answer sheets into a single PDF file. The default behavior is to create one PDF file per candidate.--sort sβ sets the following sort keys; only effective when--single-outputis used:lβ candidate list file order.mβ grade order.iβ exam question ID order.nβ name order.
--filename-model modelβ sets the filename model for annotated PDFs. In this model, specific sequences are replaced as follows:(N)β replaced by the candidate name (see--csv-build-name).(ID)β replaced by the candidate number.(COL)β replaced by the value of theCOLcolumn in the candidate list.
The default value is (N)-(ID).pdf.
π§ γ½γΌγΉγγ‘γ€γ«γͺγγ·γ§γ³ (Source file options) π§
The following options are used when the file given by --corrected does not exist and needs to be rebuilt:
--src mcq-source-file --n-copies n --with latex-engine --filter
filter-name --filtered-source fs.tex
See auto-multiple-choice-prepare(1). π«Ά
π¦ γΉγγ£γ³η»εεθΎΌγΏη¨γͺγγ·γ§γ³ (Scanned-image embedding options) π¦
If scanned images exist, they get embedded into the annotated PDF file. These options control the quality of the embedded scanned images and let you shrink the file size:
--embedded-max-size maxsizeβ sets the maximum size of scanned images in pixels, in the formwidthxheight. The default value is empty, meaning no upper limit. Scanned images larger than the specified size are shrunk before being embedded in the annotated file.--embedded-format formatβ sets the embedding format tojpegorpng.--embedded-jpeg-quality qualityβ sets the JPEG quality, from1to100, when embedding as JPEG.
π ζ‘ηΉθ¨ε ₯γͺγγ·γ§γ³ (Annotation options) π
These options control what kind of grading gets written:
--font-size fsβ sets the font size in points.--text-color colorβ sets the text color. The default value isred.--verdict headerβ sets the text header shown on the first page of each candidateβs answer sheet. This text can contain newline characters for a multi-line header. These specific sequences get replaced:%Sβ replaced by the candidateβs raw-score total.%Mβ replaced by the maximum raw-score total.%sβ replaced by the candidateβs score.%mβ replaced by the maximum score.%(ID)β replaced by the candidate name.%(COL)β replaced by the value of theCOLcolumn in the candidate list.
--position posβ sets where each questionβs grading gets written:margeβ write in the left margin.margesβ write in the nearest margin (left or right).caseβ write near the box to be marked.noneβ do not write grading.
--verdict-question perl-expressionβ sets the text printed next to each question as an expression evaluated by Perl (if you need plain text, wrap it in"). Some sequences are replaced before evaluation:%Sβ replaced by this questionβs raw score.%Mβ replaced by this questionβs maximum raw score.%sβ same as%S, but rounded toncdigits (see the--ch-signoption).%mβ same as%M, but rounded toncdigits (see the--ch-signoption).
The default value for this option is "%s/%m". You can also write conditional expressions using the Perl syntax ( TEST ? IF-YES : IF-NO ). To write pass if full marks, otherwise fail, do it like this:
--verdict-question "(%S==%M ? \"εζ Ό\" : \"δΈεζ Ό\")"
--verdict-question-cancelled perl-expressionβ same as--verdict-question, but applied to cancelled questions (see theallowemptygrading criterion). The default value is"X".--indicativesβ use this option to write grading on non-graded questions too. (These questionsβ raw scores are not counted when computing the overall raw score. Correct/incorrect status is usually irrelevant for these questions, so no correct/incorrect marks are written in the corresponding boxes.)--line-width widthβ sets the line width, in pixels, of symbols written during grading. The default value is2.--symbols symbols-definitionβ defines how boxes get symbols.symbols-definitionis a comma-separated list in the formH-A:shape:color, whereHis0or1and says whether the box should not be marked or should be marked,Ais0or1and says whether the box is not marked or is marked,shapeis one ofnone,circle,mark, orbox, andcoloris a color (a name or#RGB; see the ImageMagick or GraphicsMagick documentation for details). The default value is0-0:none,0-1:circle:red,1-0:mark:red,1-1:mark:blue.
π ι·γ (Lengths) π
You can specify units for these lengths: in, ft, pt, cm, mm.
--dist-to-box dβ when using--position case, sets the distance of the annotation position from the box. Default is1cm.--dist-margin dβ sets the margin size. Default is5mm.--dist-margin-global dβ sets the header margin size. Default is3mm.
π θθ (AUTHORS) π
Bienvenue Alexis[FAMILY Given] <paamc@passoire.fr>β main author πSarkar Anirvan[FAMILY Given]β author and editorKagotani Hiroto[FAMILY Given]β editorBrΓ©al FrΓ©dΓ©ric[FAMILY Given]β author and editorBΓ©rard Jean[FAMILY Given]β translator from the French version to the English versionKhaznadar Georges[FAMILY Given]β translator from the French version to the English versionKagotani Hiroto[FAMILY Given]β translator from the English version to the Japanese version
π θ£½δ½θδ½ (COPYRIGHT) π
Copyright Β© 2008-2018 Alexis BienvenΓΌe.
This document can be used under the GNU General Public License version 2 or later.
π Thatβs a wrap, bestie β brought to you by Auto Multiple Choice 1.7.0, dated 2025-04-17. Slay! π β¨
π¦ where this page comes from
- arch rolling: auto-multiple-choice 1.7.0-7 Β· GPL-2.0-or-later
- nixpkgs unstable: auto-multiple-choice 1.7.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms