Coder Social home page Coder Social logo

autograder's Introduction

๐Ÿ“š Autograder

๐ŸŒŸ Goals ๐ŸŒŸ

Gain hands-on experience with Docker, running containers in the cloud, and Flask with Ajax.

Introduction

This project is an inquiry of what can be done (and what you give up) with computation in the cloud that is not based on IaaS or PaaS. This project contains an implementation for a cloud-based, scalable auto-grader system for introductory programming courses (think of how MOOCs might grade their Intro programming assignments). In addition there is a side project to test Ajax related capabilities in a flask app.

Setup

Due diligence for any cloud project starts with setting a budget to limit resource usage overflow. Always be sure to consistently change the AWS region to what is physically closest (as seen in the top right of the dashboard). Create a cost budget, giving adequate notification metrics. It is recommended that an email notification would be sent after 75% of the indicated budget. Below is a screenshot of the budget I created.

pa2-budget

Strategy

Using an EC2 VM instance, create a bash script that runs a python auto grading file. See the following two files for how the shell file operated along side the auto grade file.

pa2-program

pa2-autograde

Ajax

Flask was used to create a simple web application to subtract two numbers an immediately return the result. Wholistic implementations of this project would involve running the auto grade python file from the flask application, rather than a simple subtract function.

pa2-ajax-1

pa2-ajax-2

Docker

Docker was also used to containerize the python server with AWS ECS, however this is no longer being maintained, but is recommended as an additional learning segment to this project.

Notes

This project is no longer being served on AWS due to budget constraints.

Acknowledgements

Thanks goes to Marty Humphrey (University of Virginia, 2021) for providing project guidelines during CS 4740 S21.

autograder's People

Contributors

lpg0 avatar

Watchers

 avatar

Forkers

zero0927

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.