Coder Social home page Coder Social logo

autograderexamples's Introduction

Build Status

AutoGraderExamples

Example Assignments for Use with the Ruby AutoGrader

Usual platform: linux or mac, ruby 1.9.3, git

Install:

  • Fork on github, clone it, and cd there.
  • git checkout develop or consider it for the latest.
  • bundle install
  • cucumber install

Git-immersion Note: For deployment, and feature tests using Octokit.client over 60/hr, you must do this!

  • The OAuth ENV var GIT_IMMERSION_TOKEN used in mvp_spec.rb allows 5000/hr rate limit, whereas anonymous Octokit calls allow 60/hr.
  • If not set, it will try to use anonymous connect. Pull requests from forks to AgileVentures/AutoGraderExamples are detected and try to use the anonymous connect.

To gain access to a higher rate limit:

  • Generate the token on GitHub > Settings > Applications > Personal API Token with Zero Scopes. Uncheck all boxes to allow only read access of public data.
  • For production deployment and Your local, it is set by admin (you?), eg in /etc/environment and start a new shell.
  • For travis CI, it has been encrypted and added to .travis.yml under env:global:secure
  • It is encrypted with gem install travis && travis encrypt GIT_IMMERSION_TOKEN=<a token>

Run:

  • cucumber runs a feature per homework.
  • cucumber features/git_immersion_testing.feature runs a single feature.

==================

Directories:

  • git-immersion: homework added by instructor
    • autograder: tests run on student submissions, one per courseware section
    • public: skeletons and readmes included in courseware
    • solutions: instructor answers to homework problems, one with full score
  • features: integration testing features, one per homework added by instructor
    • step_definitions: one per feature with similar name
  • install: autograder installer infrastructure

Naming conventions:

  • top-level homework directory: 'boxcar-case'
  • integration features: 'snake_case' ending in 'testing'

autograderexamples's People

Contributors

apelade avatar tansaku avatar jhasson84 avatar

Watchers

James Cloos avatar wutt77 avatar

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.