Generic AutoEx
Generic AutoEx is a tool designed to facilitate the work of tutors. It provides an interactive command line interface for automated corrections of student submissions, including convenient SVN management and submission of scores to the Daphne system.
Features
-
Checkout/update student and tutor repositories.
-
Automate the correction process (validate submissions, show correction hints, create feedback files).
-
Commit corrections.
-
Collect and tar-gz feedback files.
-
Submit scores to the Daphne system.
Prerequisites
- Linux
-
... or similar environments. Tested and developed on Fedora 18/19 Alpha.
- Bash
-
Generic AutoEx currently uses bash-only features.
- The usual suspects
-
Tools like awk, find & grep.
- HTML-XML-utils
-
hxselect for website parsing.
- Subversion
Download
Current Version
Documentation
Troubleshooting
First Run
- Validation fails every time, even for valid exercises.
-
Make sure your validation command works outside of Generic AutoEx.
If you're reviewing submissions written in Java, you'll probably have to install checkstyle.
- The script hangs after displaying a green message, nothing else happened.
-
Something probably went wrong when starting the editor. Take a look into the file gaxconfig (located in the workspace) and verify that the command is valid.
- I'd rather like to use a terminal based editor!
-
Try someting like this:
gnome-terminal --tab --working-directory $PWD --command "vim $files"
General Usage
- I had to interrupt my correction process. Can I continue where I left off?
-
Not exactly. However, you can supply the IDs of the missing corrections. Try something like this:
ls | grep -vE '(scvssst|feedback|tutor|validation)' | grep -A1000 'ID_of_first_missing' | xargs echo
- Why do I get a message saying No test results found. when testing against the standard solution?
-
This means that the build process failed due to incompatibility between the student's code and the tests of the standard solution.
- The build against the standard solution tests failed. Where do I find the files?
-
Take a look into the directory scvssst in your workspace.
Examples
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean ut gravida lorem. Ut turpis felis, pulvinar a semper sed, adipiscing id dolor. Pellentesque auctor nisi id magna consequat sagittis. Curabitur dapibus enim sit amet elit pharetra tincidunt feugiat nisl imperdiet. Ut convallis libero in urna ultrices accumsan. Donec sed odio eros. Donec viverra mi quis quam pulvinar at malesuada arcu rhoncus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In rutrum accumsan ultricies. Mauris vitae nisi at sem facilisis semper ac in est.