-
Notifications
You must be signed in to change notification settings - Fork 212
[$80] Stats for CODE track not getting computed/displayed #3571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
According to Tony, "it probably just needs to update the data loader that computes those stats. |
@topcoder-platform/topcodercompetitors this is now open for pickup. |
Contest https://www.topcoder.com/challenges/30112839 has been created for this ticket. |
Contest https://www.topcoder.com/challenges/30112839 has been updated - it has been assigned to lieutenantroger. |
Hi @kkartunov I can get the RELIABILITY data based on received data. Could you tell how the RANK and PERCENTILE is calculated ? |
@LieutenantRoger thanks for pickup. Please, PR to https://github.com/topcoder-platform/community-app/tree/feature-member-profiles branch. Thanks check this comment #3571 (comment). I think you should inspect the action/reducer payload and see why code is ignored. Makes sense? |
Hi @kkartunov & @Oanh-and-only-Oanh The frontend code didn't missing the calc, for Right now, |
@LieutenantRoger can you see how it is done for other types of track challenges? Actually they same for all types of challenges I assume. We have here an article about ratings here https://www.topcoder.com/thrive/articles/Ratings check it out. |
Hmm, I can't find relevant calculation method for this in frontend codebase. I use a POSTMAN request to get the statistics data from the API directly , the ASSEMBLY is returning all the necessary data from the service call, but the CODE part is not having the relevant data. Same for other type challenges: some have the relevant data, some not. So the question is , is this the correct way we calculate this info at frontend ? Per the investation so far, it should be calculated in the backend codebase. BTW, the current codebase is calling V3 API. |
@LieutenantRoger can you give example what you mean by: "Same for other type challenges: some have the relevant data, some not."? Also, use one that works/has the data and apply for CODE similarly as well. I think this is what needs to be accomplished here so let's do it. |
I actually meant there is no front end calculation for the related values. They are retrieved from backend service call directly For Assembly, UI_PROTOTYPE track, there is related data returned from the service call FOR CODE, FIRST2FINISH , there are not. The comment above(https://github.com/topcoder-platform/community-app/issues/3571#issuecomment-574753336) is wrong because I didn’t see there are places that front end codebase will do the calculation So we can’t perform the ones having the data on Code track as the data should be retrieved from service respond directly. And for the code track data, backend api didn’t respond us with related data. We then not able to show them on the UI |
BTW, I think you can visit this link: e.g: |
Hi @kkartunov please let me know if you still not able verify this. Maybe backend API update is required |
Up |
Putting here Tony's info for reference: I think it’s related to this code: https://github.com/topcoder-platform/tc-website/blob/dev/src/main/com/topcoder/utilities/dwload/TCLoadTCS.java#L753 |
@LieutenantRoger we have confirmation that API updates needed for this one here. Therefore I am putting it On hold label. Thanks for your cooperation so far. |
Describe the bug
We have CODE ratings, but the other 3 stats aren’t getting computed/displayed
To Reproduce
Steps to reproduce the behavior:
Screenshots

The text was updated successfully, but these errors were encountered: