Code Monkey home page Code Monkey logo

autograder's Introduction

AutoGrader

A Python based AutoGrader for Python Assignments.

Introduction

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.

Functionality

  1. Admin, Instructor and Student accounts
  2. Course with unique enroll key
  3. Assignments with test and assignment file
  4. Assignment Submission Report (based on the latest submission)
  5. Student Account: Password Recovery, Submission Password, Submission Score and Submission Log

Prerequisites

Check requirements.txt for the prerequisites packages. You can install requirment package using following command:

cd AutoGrader/
pip install -r requirements.txt

Installing

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.

Getting into system?

  1. After the installation admin user can logon to the system.
  2. Admin can create the Instructor, set him as "is_staff" and assign the permissions for example Assignment (All), Course (View only), Student (All) and Submission (All).
  3. After the creation of instructor, instructor will logon to his account.
  4. Instructor will create Assignment and share enroll key with students.
  5. Student will register to the system from http://127.0.0.1:8000/autograder
  6. Student will logon to the system and enter the enroll key to enroll into the course.
  7. Student will select the course, then assignment and then follow the instruction written on that page.

How system works?

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.

Deployment

Currently this system is used on a dedicated server located in the university with PostgresSQL database. Step for installation are same as the above.

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Hafiz M. Bilal Zaib - Initial coding - BilalZaib
  • Mohammad Nauman - Design and requirement gathering - recluze
  • Syed Owais Ali Chishti - Funtionality integrations - soachishti

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Note

There are no sandboxing mechanism in this system, however auto backups and system permission are used for now.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.