11 |
efrain |
1 |
@mod @mod_workshop
|
|
|
2 |
Feature: Workshop assessment comparison
|
|
|
3 |
In order to compare workshop assessments
|
|
|
4 |
As a teacher
|
|
|
5 |
I need to be able to set how strict comparison is
|
|
|
6 |
|
|
|
7 |
Background:
|
|
|
8 |
Given the following "users" exist:
|
|
|
9 |
| username | firstname | lastname | email |
|
|
|
10 |
| student1 | Student1 | 1 | student1@example.com |
|
|
|
11 |
| student2 | Student2 | 2 | student2@example.com |
|
|
|
12 |
| student3 | Student3 | 3 | student3@example.com |
|
|
|
13 |
| student4 | Student4 | 4 | student4@example.com |
|
|
|
14 |
| student5 | Student5 | 5 | student5@example.com |
|
|
|
15 |
| teacher1 | Teacher | 1 | teacher1@example.com |
|
|
|
16 |
And the following "courses" exist:
|
|
|
17 |
| fullname | shortname |
|
|
|
18 |
| Course 1 | C1 |
|
|
|
19 |
And the following "course enrolments" exist:
|
|
|
20 |
| user | course | role |
|
|
|
21 |
| student1 | C1 | student |
|
|
|
22 |
| student2 | C1 | student |
|
|
|
23 |
| student3 | C1 | student |
|
|
|
24 |
| student4 | C1 | student |
|
|
|
25 |
| student5 | C1 | student |
|
|
|
26 |
| teacher1 | C1 | editingteacher |
|
|
|
27 |
And the following "activities" exist:
|
|
|
28 |
| activity | name | course | idnumber | submissiontypetext | grade | gradinggrade | gradedecimals | overallfeedbackmethod |
|
|
|
29 |
| workshop | Workshop 1 | C1 | W1 | 2 | 10 | 5 | 1 | 2 |
|
|
|
30 |
And I am on the "Course 1" course page logged in as teacher1
|
|
|
31 |
And I edit assessment form in workshop "Workshop 1" as:
|
|
|
32 |
| id_description__idx_0_editor | Aspect 1 |
|
|
|
33 |
| id_description__idx_1_editor | |
|
|
|
34 |
| id_description__idx_2_editor | |
|
|
|
35 |
And I change phase in workshop "Workshop 1" to "Submission phase"
|
|
|
36 |
And I am on the "Workshop 1" "workshop activity" page logged in as student1
|
|
|
37 |
And I add a submission in workshop "Workshop 1" as:
|
|
|
38 |
| Title | Submitted by s1 |
|
|
|
39 |
| Submission content | Some content by s1 |
|
|
|
40 |
|
|
|
41 |
Scenario Outline: Teacher can set how strict the comparison of assessment is
|
|
|
42 |
Given I am on the "Workshop 1" "workshop activity" page logged in as teacher1
|
|
|
43 |
And I allocate submissions in workshop "Workshop 1" as:
|
|
|
44 |
| Participant | Reviewer |
|
|
|
45 |
| Student1 1 | Student2 2 |
|
|
|
46 |
| Student1 1 | Student3 3 |
|
|
|
47 |
| Student1 1 | Student4 4 |
|
|
|
48 |
| Student1 1 | Student5 5 |
|
|
|
49 |
And I change phase in workshop "Workshop 1" to "Assessment phase"
|
|
|
50 |
And I am on the "Workshop 1" "workshop activity" page logged in as student2
|
|
|
51 |
And I assess submission "Student1" in workshop "Workshop 1" as:
|
|
|
52 |
| grade__idx_0 | 10 / 10 |
|
|
|
53 |
And I am on the "Workshop 1" "workshop activity" page logged in as student3
|
|
|
54 |
And I assess submission "Student1" in workshop "Workshop 1" as:
|
|
|
55 |
| grade__idx_0 | 8 / 10 |
|
|
|
56 |
And I am on the "Workshop 1" "workshop activity" page logged in as student4
|
|
|
57 |
And I assess submission "Student1" in workshop "Workshop 1" as:
|
|
|
58 |
| grade__idx_0 | 6 / 10 |
|
|
|
59 |
And I am on the "Workshop 1" "workshop activity" page logged in as student5
|
|
|
60 |
And I assess submission "Student1" in workshop "Workshop 1" as:
|
|
|
61 |
| grade__idx_0 | 0 / 10 |
|
|
|
62 |
When I am on the "Workshop 1" "workshop activity" page logged in as teacher1
|
|
|
63 |
And I change phase in workshop "Workshop 1" to "Grading evaluation phase"
|
|
|
64 |
And I set the field "Comparison of assessments" to "<strictness>"
|
|
|
65 |
And I press "Re-calculate grades"
|
|
|
66 |
Then the following should exist in the "grading-report" table:
|
|
|
67 |
| First name / Last name | Submission / Last modified | Grade for submission (of 10.0) | Grades given | Grade for assessment (of 5.0) |
|
|
|
68 |
| Student1 1 | Submitted by s1 | <Grade for submission> | - | - |
|
|
|
69 |
| Student2 2 | No submission found for this user | - | 10.0 (<Grade for assessment 2>) | <Grade for assessment 2> |
|
|
|
70 |
| Student3 3 | No submission found for this user | - | 8.0 (<Grade for assessment 3>) | <Grade for assessment 3> |
|
|
|
71 |
| Student4 4 | No submission found for this user | - | 6.0 (<Grade for assessment 4>) | <Grade for assessment 4> |
|
|
|
72 |
| Student5 5 | No submission found for this user | - | 0.0 (<Grade for assessment 5>) | <Grade for assessment 5> |
|
|
|
73 |
|
|
|
74 |
Examples:
|
|
|
75 |
| strictness | Grade for submission | Grade for assessment 2 | Grade for assessment 3 | Grade for assessment 4 | Grade for assessment 5 |
|
|
|
76 |
| very lax | 6.0 | 4.7 | 5.0 | 5.0 | 4.1 |
|
|
|
77 |
| lax | 6.0 | 4.7 | 5.0 | 5.0 | 3.9 |
|
|
|
78 |
| fair | 6.0 | 4.5 | 4.9 | 5.0 | 3.5 |
|
|
|
79 |
| strict | 6.0 | 4.2 | 4.9 | 5.0 | 2.4 |
|
|
|
80 |
| very strict | 6.0 | 2.7 | 4.7 | 5.0 | 0.0 |
|