https://github.com/avras/assigner
Generating student specific assignments from an exam class LaTeX file containing all questions
https://github.com/avras/assigner
Last synced: 4 months ago
JSON representation
Generating student specific assignments from an exam class LaTeX file containing all questions
- Host: GitHub
- URL: https://github.com/avras/assigner
- Owner: avras
- License: mit
- Created: 2018-02-14T17:54:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-14T17:54:44.000Z (over 8 years ago)
- Last Synced: 2025-07-31T13:39:40.734Z (11 months ago)
- Language: TeX
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# assigner
Haskell program for generating unique (different for different students) assignments by choosing *M* questions randomly from an [exam class](https://ctan.org/pkg/exam) LaTeX file containing *N* questions. The output can be seen at [https://www.ee.iitb.ac.in/~sarva/courses/EE720/2018/assignments/assignment2/](https://www.ee.iitb.ac.in/~sarva/courses/EE720/2018/assignments/assignment2/)
## Generating the assignments
- Install [stack](https://docs.haskellstack.org/)
- Clone this repository
- Run `stack build` in the repository root (this will take some time to finish if you are using `stack` for the first time).
- Copy your exam class LaTeX file into the repository root (for example, see the `assignment2.tex` file in repository).
- Change to `output` directory by running `cd output`.
- Run `source genAss2.sh` to generate the assignments in the `output` directory (both `.tex` and `.pdf` files will be generated). The names of the files are the roll numbers of the students in the `students.csv` file.
## Sources
- `src/Main.hs` has the program to generate the assignments. It is compiled into an executable `assigner` which can be executed using the command `stack exec assigner `. The argument `` can be an arbitrary string which provides the randomness required to generate a unique assignment.
## License
MIT