kossiitkgp / kwoc-bugs

Repository to store all the filed bugs for the webapp of KWoC
2 stars 2 forks source link

Stats on dashboard incorrect #22

Closed LazyCoder-1506 closed 3 years ago

LazyCoder-1506 commented 3 years ago

Description of the Issue

Actual stats : Commits- = 4, PRs = 3 Shown stats : Commits = 4, PRs = 2 Lines of code wrong (not a big issue) Below in the table where commits are shown, most commits are shown twice (not a big issue)

bug

bug2

rava-dosa commented 3 years ago

Hi Apoorva here from KoSS. I checked out your dashboard at this url https://kwoc.kossiitkgp.org/stats/student/LazyCoder-1506 . It is showing 4 pr's currently. I personally checked all the pr, each of them links to unique url. Here is the view Can you please cross verify that even you are seeing the same view. There is some issue in the table showing commits, we are looking into it.

rakaar commented 3 years ago

Even in my machine, it shows the same number of PRs regarding repeated commits, sorry for that. we will fix it image

LazyCoder-1506 commented 3 years ago

in firefox and chrome incognito, PR is showing 4, but in normal chrome it is still having error

rakaar commented 3 years ago

in firefox and chrome incognito, PR is showing 4, but in normal chrome it is still having error

seems an issue with caching from our side. we will try fixing it. sorry for the inconvenience.

LazyCoder-1506 commented 3 years ago

seems an issue with caching from our side. we will try fixing it. sorry for the inconvenience.

no problem.... as long as it is solved by the end all is well

rakaar commented 3 years ago

@LazyCoder-1506 we have fixed the repeating commits issue.

can u send a screenshot of the pull requests that are being shown on ur stats(the one where fewer pull requests were present)

LazyCoder-1506 commented 3 years ago

image

image

manishaag7 commented 3 years ago

I am also having the same issue. On the dashboard no of PR showing is 6 while i have done 11 PR.

image

image

rava-dosa commented 3 years ago

Hey great work for sending thirteen pr's. We are having some caching issues I guess, If you want to visit your most recent data in our database please visit this url https://kwoc.kossiitkgp.org/stats/student/manishaag7

rakaar commented 3 years ago

@manishaag7 @LazyCoder-1506 really sorry for that issue we are trying to fix it for temporarily, we have added a hard reload button at the bottom of individual stats page and student dashboard, you can click on it and it fetches all PRs ignoring the cache. (the same effect can be achieved by opening on a different browser or incognito of the browser) image

please, let us know if this is working or not? sorry again for the inconvenience caused

LazyCoder-1506 commented 3 years ago

sorry to inform it's not working for me

manishaag7 commented 3 years ago

This is working for me

aashishat718 commented 3 years ago

@rakaar I am also facing these issues. My PR's are shown but number of commits and lines added and closed is always 0 (my PR's are already merged). Please look into the matter. image

rakaar commented 3 years ago

@aashishat718 the reason your commits are not being shown being Github is not considering it as a contribution from your account. By that I mean... image

In the above image you can see the commit in one of the repos you have contributed, beside your username, there is a github icon, instead there should be your display picture. This generally happens if your email configuration is incorrect. This is the first point mentioned in the Github Docs, you can check them here

For your future commits to be counted as a contribution by Github, follow these docs.

(The same issue has been faced by another student as well) Don't worry regarding the mid evals, since we know you have made a legitimate commit, it will not be an issue.

satyampandeygit commented 3 years ago

when I registered my git username was TheWireGit now I have changed my name to satyampandeygit. Now when I am going to student dashboard initially it is showing "You have not registered in any project. Click OK to cancel this popup", when I click cancel for fraction of second it shows 9 PR which are the exact count then suddenly it changes to 0.

LazyCoder-1506 commented 3 years ago

Others who have some kind of problems, please create your separate issues. The KWoC team is responding to everyone, but getting email notifications for something unnecessary is not very comfortable for me. please open your own issues

rakaar commented 3 years ago

Let this comment be the last comment of the issue. I have opened another issue regarding PRs(https://github.com/kossiitkgp/kwoc-bugs/issues/25). We can discuss that there. Before closing, I want to summarize the issues discussed and solutions for now

@LazyCoder-1506 We have made few changes in the hard reload button can you please try again. And let us know in the comments of this issue - https://github.com/kossiitkgp/kwoc-bugs/issues/25

@satyampandeygit We have changed your username, it should be showing properly now. Sorry for the delay. If you are facing issue with PRs try the hard reload button at the bottom of the dashboard or bottom of the individual stats page. And let us know in the comments of this issue - https://github.com/kossiitkgp/kwoc-bugs/issues/25

@manishaag7 Please let us know if there are still issues regarding the PRs even after hard reload in this comments - https://github.com/kossiitkgp/kwoc-bugs/issues/25

@aashishat718 I guess yours is a different issue and the solution to it has been discussed.