CSC/ECE 517 Fall 2017/E17A2. Lightweight badging system based on Credly
Problem Statement
The aim of this project is to implement a badging system for expertiza where certain students are awarded with badges when certain criterias are met which may include exceptional academic performance in assignments, project submissions etc. We will be using Credly to make Badges. We will be working on building two badges:
- Good Reviewer
- Good Teammate
Description of the Badges
The use of badges will encourage students to have a visual motivation based on their achievements and thus perform better. For every assignment in Expertiza, we have students perform differently on a scale of 100 based on the reviews their projects receive from their peers. The topper badges will be used to honor the team(s) which scores the maximum for a assignment. The badges we are going to build are as follows,
Good Reviewer
Who will be Awarded
“Good reviewer” is the badge that one student receive very high review grades assigned by teaching staff (by default 95).
Good Teammate
Who will be Awarded
In Expertiza students are required to give reviews to the work of other teams. This is evaluated on a scale of 100% by the teaching staff. “Good teammate” is the badge that each team member receive very high teammate review scores (by default 95).
Modified Files
Tables to be Modified
- We’ll be creating a table named “badges”, with the following attributes:
- id: primary key
- name: varchar
- description: varchar
- We’ll be creating a mapping table named “assignment_badges”, with the following attributes:
- id: primary key
- badge_id: foreign key
- assignment_id: foreign key
- threshold: int
- We’ll be creating a mapping table named “awarded_badges”, with the following attributes:
- id: primary key
- badge_id: foreign key
- participant_id: foreign key
FILES TO BE MODIFIED
- We’ll be inserting the new code related to “Good Teammate” badge to teammate_review_response_map.rb.
- We’ll be inserting the new code related to “Good Reviewer” badge to review_response_map.rb
- We’ll be adding badges to student_task/list page and a new column named Badge.
- We’ll be adding badges to participants/list for instructor to view.
- We’ll be adding a tab to edit the badge attributes in the assignments#edit page.
Test Plan
The project is going to be developed using the TDD methodology. To start off, we’ll be testing the following scenarios:
- The assignments#edit page has a tab named badges
- In the badges tab, allow the instructor to change the threshold value of the badges, above which the badges will be awarded to the students.
- Assign the “Good Teammate” badge to a student when the student receives a very high average teammate review grade (higher than 95 by default)
- Assign the “Good Reviewer” badge to a student when the student receives a very high review grades assigned by teaching staff (higher than 95 by default).
- Instructor can view all badges assigned to all participants.