Autolab

by autolab

autolab / Autolab

Course management service that enables auto-graded programming assignments.

493 Stars 162 Forks Last release: 9 months ago (v2.4.0) Apache License 2.0 1.5K Commits 31 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Autolab is a course management service, initially developed by a team of students at Carnegie Mellon University, that enables instructors to offer autograded programming assignments to their students over the Web. The two key ideas in Autolab are autograding, that is, programs evaluating other programs, and scoreboards.

Autolab also provides other services that instructors expect in a course management system, including gradebooks, rosters, handins/handouts, lab writeups, code annotation, manual grading, late penalties, grace days, cheat checking, meetings, partners, and bulk emails.

Since 2010, Autolab has had a transformative impact on education at CMU. Each semester, it is used by about 5,000 CMU students in courses in Pittsburgh, Silicon Valley, Qatar, and Rwanda. In Fall, 2014, we are releasing Autolab as an open-source system, where it will be available to schools all over the world, and hopefully have the same impact it's had at CMU.

Build Status GitHub last commit

Subscribe to our mailing list to recieve announcements about major releases and updates to the Autolab Project.

Installation

We released new documentation! Check it out here.

We are currently in the process of updating our documentation to work with our newest release of Autolab, v2.5.0, which has been upgraded to Rails 5 from Rails 4

Testing

Setting up Tests

  1. Add a test database in

    database.yml
  2. Create and migrate the database.

    sh
    RAILS_ENV=test bundle exec rake db:create
    RAILS_ENV=test bundle exec rake db:migrate
    
    Do not forget to use
    RAILS_ENV=test bundle exec
    in front of every rake/rails command.
  3. Create necessary directories.

    mkdir attachments/ tmp/
    

Running Tests

After setting up the test environment, simply run spec by:

bundle exec rake spec

Rails 4 Support

Autolab is now running on Rails 5. However, we may still work on important bug fixes on the Rails 4 branch, partially because the deployment on CMU is currently still on Rails 4. Please file an issue if you believe that you have found a severe bug. The Rails 4 branch can be found on

master-rails-4
.

We will not be backporting new features from

master
to
master-rails-4
.

Contributing

We encourage you to contribute to Autolab! Please check out the Contributing to Autolab Guide for guidelines about how to proceed. You can also reach out to us on Slack as well.

License

Autolab is released under the Apache License 2.0.

Using Autolab

Please feel free to use Autolab at your school/organization. If you run into any problems, you can reach the core developers at

[email protected]
and we would be happy to help. On a case by case basis, we also provide servers for free. (Especially if you are an NGO or small high-school classroom)

Changelog

v2.5.0 (2020/02/22) Upgrade from Rails 4 Rails 5

  • Autolab has been upgraded from Rails 4 to Rails 5 after almost a year of effort! There are still some small bugs to be fixed, but it should not affect the core functionality of Autolab. Please file an issue if you believe you have found a bug.

v2.4.0 (2020/02/08) Speedgrader - The new code viewer

  • The File Tree shows file hierarchy of student’s submission
    • Click on a file to open
    • Click on a folder to expand
  • The Symbol Tree allows you to jump quickly to functions in the student’s code
    • Click on a function to jump
  • You can easily switch between submissions and files
    • Up/down arrow keys change file
    • Right/left arrow keys change submission
  • How to use new annotation system:
    • Make annotations with grade adjustments
    • Important: annotations can only be made for non-autograded problems (to preserve the original autograded score of the autograded problem)
    • Annotations grade changes summarized by the Annotations table on the right
  • New: Score for problem automatically updates after annotation score changes based on the following formula (this no longer has to be done manually on the Gradebook):

score = max_score + ∑(annotation score changes)
- For example, a way to grade style in a deductive manner would be to set the max score for the Style problem, and make annotations with negative score for style violations and zero score for good style

UI Enhancements - Tables are more standardized - Fixed text overflowing issues on Gradebook modals - Improved standardization and UI for annotations on PDF submissions

Others - Course assistants are now able to submit assignments early

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.