canvas-lms/spec/lib/outcomes
Michael Brewer-Davis 772090f45d adjust outcome scores: decaying average and n_mastery rules
fixes CNVS-26207

- decaying average now provides a score for a single outcome result
- n_mastery now supports n==1

Test plan:
1.  As a teacher, add an outcome with type decaying average
2.  Associate a new rubric with the outcome
3.  Attach the rubric to a new assignment
4.  As a student, complete the assignment
5.  As a teacher, grade the assignment, including a passing score
    in the rubric
6.  View the learning mastery gradebook
7.  Verify that the student's single result is reflected in LMG
8.  Repeat steps 3-6 with this rubric.
9.  Verify that the mastery score average is updated appropriately

10.  As a teacher, add an outcome with type n_mastery and n==1
11.  Repeat steps 2-9 with this new outcome

Change-Id: I1d3d833997252cbdc273304a7cb971eaf37edfe5
Reviewed-on: https://gerrit.instructure.com/70212
Tested-by: Jenkins
Reviewed-by: John Corrigan <jcorrigan@instructure.com>
Reviewed-by: Matt Berns <mberns@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: McCall Smith <mcsmith@instructure.com>
2016-01-27 23:48:23 +00:00
..
result_analytics_spec.rb adjust outcome scores: decaying average and n_mastery rules 2016-01-27 23:48:23 +00:00