Challenge Overview
Project Overview
TopCoder Competition Engine is a system used for Single Round Matches (SRM) and Marathon Matches (MM).
Competition Task Overview
Currently for SRMs, it is not possible to end automatically. It needs operations from Admin through Admin Tool.
We'd like to add such functionality for SRMs. The first step is to add a new configuration for this purpose, and make it editable through Admin tool.
Following are the requirements.
Database Change
The new configuration is round level, so let's add a new configuration in round table. Let's say
auto_end DECIMAL(1,0) default 0
the field should be default to false.
Admin Tool UI Change
In the Round Configuration Dialog
Add a new field under Region called, End Automatically, it should use dropdown with two values - True or False. The value should be populated from the backend data.
and the new value should be properly persisted to database if Apply button is clicked.
Code Reference
- com.topcoder.server.contest.RoundData
- com.topcoder.server.ejb.AdminServices.AdminServicesBean - EJB services for database operation
- com.topcoder.client.contestMonitor.view.gui.RoundFrame - Round UI Frame
Winner Responsibility
Winner will be responsible to create pull requests for merge, branches will be created in final fix phase.
Arena VM Usage
Before asking your own VM, you need to have a public key on your profile before asking for the VM.
You can find more details on how to generate a key http://apps.topcoder.com/wiki/display/projects/Generate+SSH+Key and how to connect using it http://apps.topcoder.com/wiki/display/projects/Connect+Using+SSH+Key.
Please reference http://apps.topcoder.com/wiki/display/docs/Competition+Engine+VM+Setup for general usage.
Final Submission Guidelines
Submission Deliverables
Below is an overview of the deliverables:
- Code changes
- A complete and detailed documentation documented explaining how to deploy the application including configuration information.
Final Submission
For each member, the final submission should be uploaded to the Online Review Tool.