Skip to content

Enable data dashboard for Data Science  #6632

Closed
@jmgasper

Description

@jmgasper

REF: https://topcoder.atlassian.net/browse/PROD-2872

Requirements

Currently, the MM tag enables some functionalities that need to be enabled for Data Science without the use of the tag. Without that MM tag, the challenge would just be a simple development tag. So we need a way to replicate all MM tag.

Expected behavior:

The following functionalities need to be enabled for Data Science category without need for additional tagging.

As of now data dashboard feature is only created/rendered if the challenge is tagged as “Marathon Match”.

The submissions tab with provisional score and final score is needed.

image-20220817-162259

Changes

Currently, the Dashboard tab is switched by checking if the challenge is a marathon match, which is done by looking at the tags.

export function isMM(challenge) {

!isEmpty && selectedTab === DETAIL_TABS.MM_DASHBOARD

We want to extend the isMM check to see if the track for the challenge matches the data science challenge track:

Taken from https://api.topcoder-dev.com/v5/challenge-tracks

    {
        "isActive": true,
        "abbreviation": "DS",
        "id": "c0f5d461-8219-4c14-878a-c3a3f356466d",
        "name": "Data Science"
    },

Scoring

When the challenge is in the Data Science track, we also want to make sure the Submissions tab shows the provisional and final scores, the same as we'd find on a Marathon Match.

Screen Shot 2022-09-02 at 12 11 58 pm

Existing isMM check

NOTE the existing check for the Marathon Match tag in isMM must remain in place. What we will do is add an additional check to see if the challenge is in the data science track to show the dashboard. It's possible that in the future we will have a marathon match in a track that isn't data science, so we want to make sure that the existing check is kept in place.

Testing

There are a couple data science track challenges in the dev enviroment:

https://www.topcoder-dev.com/challenges?tracks[DS]=true&types[]=CH&types[]=F2F&types[]=MM&types[]=SKL&types[]=TSK

If you would like a new one added with specific parameters, please ask in the forum.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions