You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this story, we aim to truncate the rating scores for stocks to make the data representation more concise. The maxScore will be rounded down to the nearest even number, while maintaining the same rating ratio to avoid any distortion of the value.
Acceptance Criteria
Implement a function to round down maxScore to the nearest even number.
Ensure that the rating ratio remains the same after the truncation of maxScore.
Test the function with various maxScore values to ensure it works as expected.
Apply the function to all existing stock rating scores in the frontend
Description
In this story, we aim to truncate the rating scores for stocks to make the data representation more concise. The
maxScorewill be rounded down to the nearest even number, while maintaining the same rating ratio to avoid any distortion of the value.Acceptance Criteria
maxScoreto the nearest even number.maxScore.maxScorevalues to ensure it works as expected.