Skip to main content

Task 9: Rating to Percentage Mapping (1-5 → 0-100%)

Mapping Reference

RatingPercentage
1.020%
2.040%
3.060%
4.080%
4.590%
5.0100%

Formula: Percentage = (Rating / 5) × 100

Test Cases

IDScenarioExpected ResultStatus
T9-01Submit self rating 4.0 on itemItem response shows self_rating_percentage=80
T9-02Submit reviewer rating 4.5 on itemItem response shows manager_rating_percentage=90
T9-03Final score computed as 4.6Evaluation response shows final_score_percentage=92
T9-04Open evaluation detail as Employee/Reviewer/HRRating and percentage are visible in KPI item table
T9-05Open KPI evaluations listScore column shows rating and percentage together
T9-06In-progress self/reviewer entry in UICurrent percentage updates as rating input changes

Demo Walkthrough

  1. Submit self-assessment with rating 4.0 → Show percentage displays as 80%
  2. Submit manager review with rating 4.5 → Show 90% in response
  3. Open evaluation detail → Show both rating and percentage side by side
  4. Demo live UI → Change rating input and show percentage updating in real-time