In a game room it is possible to win medals in each round of play. Some medals are specific for each practice (DET / TFI / COV) and others are generic. Each medal type is available with 3 levels: bronze, silver and gold.
"Fair"
Processes : DET/COV/TFI
This medal rewards the ratio of healthy and fixing actions to the total number of actions performed. The default levels are:
- Bronze:> = 70% healthy and fixing actions
- Silver:> = 85% healthy and fixing actions
- Gold:> = 95% healthy and fixing actions
"Steadfast"
Processes : DET/COV/TFI
This medal rewards a series of healthy and fixing actions, without any harmful action. The default levels are as follows:
- Bronze: series of 20 actions
- Silver: series of 40 actions
- Gold: series of 60 actions
"Samaritan"
Pratiques : COV
This medal rewards the number of fixing actions performed for the COV practice. The default levels are as follows :
- Bronze: series of 5 actions
- Silver: series of 25 actions
- Gold: series of 50 actions
"Honored" medal
Processes : DET/COV/TFI
This medal is awarded according to the success of the goals that concern the user:
- Personal goals
- Team goals of which the user is a member
- Objectives of projects to which the user belongs (attributed neither to a particular team or person)
Only goals that have ended during the game turn are taken into account in the calculation.
The default levels will be:
- Bronze:> = 50% of objectives achieved
- Silver:> = 75% of objectives achieved
- Gold: 100% of the objectives achieved
"Involved"
Processes : DET/COV/TFI
This medal is awarded based on the user's contributions to goals. Only goals that have ended during the game turn are taken into account in the calculation.
The default levels will be:
- Bronze: User contributed to at least one goal, but none of them was met
- Silver: The user has contributed to at least one goal, and at least one of them has been reached
- Gold: The user has contributed to at least one goal, and all have been achieved
"Scout"
Process : DET
This medal aims to reward the number of defects corrected for the DET (Technical Debt) practice. The level of severity of the defect will be taken into account to weight the final score. The severity level will be dynamic depending on the linters used. Thus, in the case of an interface with SonarQube, we will have the following weighting:
- "Info" severity: 1 point by default
- "Minor" severity: 2 points by default
- "Major" severity: 3 default points
- "Critical" severity: 4 points by default
- "Blocker" severity: 5 points by default
So, in the example below:
If we consider that the first defect is of severity "minor" and that the second is of severity "blocker", we will assign 2 + 5 = 7 points.
Note that all remedial and harmful actions will be taken into account, as long as deletions of defects occur.
The default levels will be:
- Bronze: 40 points
- Silver: 100 points
- Gold: 150 points
"Protective"
Process : TFI
This TFI practice-specific medal (test-first development) rewards based on the total of covered and uncovered lines. Thus, if during the game turn, 2 actions are performed with respectively:
- 40 uncovered lines added and 10 covered lines added
- Added 50 lines covered
So we have a total of 40 uncovered lines and 60 covered lines.
The ratio of lines covered on the total of added lines will be 60 / (60 + 40) = 60%
The default levels will be:
- Bronze:> = 40% of added lines covered
- Silver:> = 60% of added lines covered
- Gold:> = 80% of added lines covered
"Accomplished"
Processes : DET/COV/TFI
This medal is awarded according to the level of the other medals collected on the practice. The levels will be as follows:
- Bronze: all other medals won are at least bronze level
- Silver: all other medals won are at least silver level
- Gold: all other medals won are at least gold level
At the end of each round of play, the medals are collected and kept in the record of each player.
Depending on your context, some medals may be too difficult to win, if not too simple. If this is the case, remember that you can update the thresholds of these medals at any time.
Comments
Please sign in to leave a comment.