Go to file
Simon Williams 64d687ec87 handle decimal points in rubrics correctly
allow points in rubric criteria and ratings to have decimal values. in working
with brian, we're operating under the following assumptions:
- round to 2 decimal places
- splitting always gives you a integer by default (you can change it yourself after)
- if there's not room to split with an integer, repeat the low value

test plan
- create a new rubric
- change a criterial value to something with a decimal point
- try setting specific ratings with decimals
- try to split between a large space (ie 10.5 and 0), should be 5
- try to split between a small space (ie 0.5 and 0), should be 0

closes #5355

Change-Id: I17e26fe18dda0847fa59dd40976e4d6f38851287
Reviewed-on: https://gerrit.instructure.com/7882
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Brian Palmer <brianp@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
2012-01-06 16:34:48 -07:00
app handle decimal points in rubrics correctly 2012-01-06 16:34:48 -07:00
config drop unused column accounts.type 2012-01-06 15:56:23 -07:00
db/migrate handle decimal points in rubrics correctly 2012-01-06 16:34:48 -07:00
doc add link to api terms of service page 2011-12-30 12:16:58 -07:00
guard getting coffeescript and handlebars to work with plugins 2011-12-30 15:50:16 -07:00
lib validate UTF-8 in SIS CSVs fixes #6780 2012-01-06 13:01:09 -07:00
public handle decimal points in rubrics correctly 2012-01-06 16:34:48 -07:00
script create a text log of failed parallel tests 2011-10-03 14:23:53 -06:00
spec handle decimal points in rubrics correctly 2012-01-06 16:34:48 -07:00
test added favorite courses option to main menu 2011-10-24 15:50:34 -06:00
vendor/plugins don't add items to list if their scope is nil 2012-01-04 11:16:50 -07:00
.gitignore rename doc/templates/rest to doc/api 2011-12-30 09:00:27 -07:00
.jshintrc add a rake canvas:check_syntax task to check for js errors 2011-04-20 08:07:30 -06:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Gemfile getting coffeescript and handlebars to work with plugins 2011-12-30 15:50:16 -07:00
Guardfile getting coffeescript and handlebars to work with plugins 2011-12-30 15:50:16 -07:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md README changes to point more directly to installation instructions 2011-02-01 17:36:01 -07:00
Rakefile enable parallelization of selenium tests 2011-09-26 15:45:35 -06:00
config.ru add a rackup file to work with any rack-compatible server 2011-09-27 08:52:47 -06:00

README.md

Canvas LMS

Canvas is a new, open-source LMS by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.