A Python based AutoGrader for Python Assignments.
A Python based AutoGrader for Python Assignments.
This system is developed for FAST-NUCES Peshawar Campus for the handling of student assignments. This system provide auto grading functionality for the students submission and generate submission reports for the instructor.
Check requirements.txt for the prerequisites packages. You can install requirment package using following command:
cd AutoGrader/
pip install -r requirements.txt
For the installation first grab the latest source from the GitHub
git clone [email protected]:BilalZaib/AutoGrader.git
cd AutoGrader/
Edit settings.py of Django
cd AutoGr/
mv settings-sample.py settings.py
vi settings.py
cd ../
Note: You have to add secret key and SMTP detail in this file. You can generate Django secret key from any online website.
Setting up super user for Django
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Now go to http://127.0.0.1:8000/admin to logon to the system.
Instructor uploads three files with Assignment which is assignment_file
, instructor_test_file
and student_test_file
. Student will have to write code in assignment_file
and
it will be tested against student_test_file
for student and after the submission to server the assignment_file
will be tested againts instructor_test_file
and submission will be stored with score in the database.
Currently this system is used on a dedicated server located in the university with PostgresSQL database. Step for installation are same as the above.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
There are no sandboxing mechanism in this system, however auto backups and system permission are used for now.