Challenge Overview
Topcoder would like to support rating and reliability generation for Code challenges, for this challenge, we'd like to update the DWLoad related logic to generate rating and reliablity for Code challenges and store into the user_ratings table.
General Requirements
- Please use dev branch for development
- Update com.topcoder.dde.util.DWLoad.RatingQubits class to support rating generation for Code challenges.
- Update com.topcoder.dde.util.DWLoad.ReliabilityRating class to support reliablity rating generation for Code challenges.
- Improve the com.topcoder.dde.util.DWLoad.RatingQubits and com.topcoder.dde.util.DWLoad.ReliabilityRating class, so in the future, the configured list of challenge types that support rating and reliability can be easily adjust without recompile the source code, just need to update the configuration files.
- Update files under scripts/dde/ directory if needed.
- Update com.topcoder.utilities.dwload.TCLoadTCS class to load user Event for Code challenges
- Update com.topcoder.utilities.pacts.PayReliabilityBonus class to pay Reliability Bonus for Code Challenges
- A Reference implemenation can be found by https://github.com/topcoder-platform/tc-website/commit/89f92f8bb7839c0cc43e4a227759c41343220931#diff-11280e6bf0407751c59c44f22179eea9 (Notes, JSP and Servlet Related changes are not in scope)
- Create test data to demonstrate the rating generation is in function, this is an important part of this challenge
Local Setup
- Please follow https://github.com/appirio-tech/tc-common-tutorials/tree/master/docker/tc-website to build and generate the jars, then you can run the loader using shell scripts.
- Verification Steps
General Requirements
- Please use dev branch for development
- Update com.topcoder.dde.util.DWLoad.RatingQubits class to support rating generation for Code challenges.
- Update com.topcoder.dde.util.DWLoad.ReliabilityRating class to support reliablity rating generation for Code challenges.
- Improve the com.topcoder.dde.util.DWLoad.RatingQubits and com.topcoder.dde.util.DWLoad.ReliabilityRating class, so in the future, the configured list of challenge types that support rating and reliability can be easily adjust without recompile the source code, just need to update the configuration files.
- Update files under scripts/dde/ directory if needed.
- Update com.topcoder.utilities.dwload.TCLoadTCS class to load user Event for Code challenges
- Update com.topcoder.utilities.pacts.PayReliabilityBonus class to pay Reliability Bonus for Code Challenges
- A Reference implemenation can be found by https://github.com/topcoder-platform/tc-website/commit/89f92f8bb7839c0cc43e4a227759c41343220931#diff-11280e6bf0407751c59c44f22179eea9 (Notes, JSP and Servlet Related changes are not in scope)
- Create test data to demonstrate the rating generation is in function, this is an important part of this challenge
Local Setup
- Please follow https://github.com/appirio-tech/tc-common-tutorials/tree/master/docker/tc-website to build and generate the jars, then you can run the loader using shell scripts.
Final Submission Guidelines
- Code Changes- Verification Steps