Register
Submit a solution
The challenge is finished.

Challenge Overview

Challenge Objectives

  • Enhance the results for MM challenges based on the requirements below.

  • Cover new code with strong unit & e2e tests.

Tech Stack

  • Node.js

  • Express.js

Project Background

We’re in the process of creating a new app to help challenge members to view their submissions and their associated review results in order to improve the overall user experience in our platform.

Code Access

Repo: https://github.com/topcoder-platform/submission-review-api

Branch: develop

 

You will find attached to the challenge forum a zip file containing a mini app which has the code that loads and renders a leaderboard for MM/DS challenges. That’s provided just for reference.

Detailed requirements

For MM (Marathon Match) challenges and when the user that calls the API is an admin or has copilot access to the challenge, the GET /challengeSubmissions endpoint needs to return all data in order to be able to render the leaderboard similar to how the provided mini-app does.

 

You need to fetch and return all scores, sort the leaderboard properly and return the data so the frontend can render it.

 

Note that this API is used by the https://github.com/topcoder-platform/submission-review-ui which is different than the provided mini-app.

 

The provided mini-app was created in rush just to fill the gaps during an outage thus it doesn’t follow the best practices etc.

 

You need to cover the new code with strong unit & e2e testing (both negative and positive).

 

Feel free to ask on the challenge forum if you have any question!

What to Submit

Submit a git patch for the latest commit in the develop branch and provide instructions on how to apply your patch. Make sure to note the exact commit.



Final Submission Guidelines

Please read above.

ELIGIBLE EVENTS:

Topcoder Open 2019

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30088995