Message boards :
Number crunching :
More detailed challenge stats
Author |
Message |
Tyler Project administrator Volunteer tester Send message
Joined: 4 Dec 12 Posts: 1078 ID: 183129 Credit: 1,376,122,338 RAC: 6,351
                         
|
Hey all!
I've shared some info about this in a few places, in challenge threads/Discord so far. It seems I've gotten most of the kinks worked out now, so thought I'd make a bit of a centralized thread for some info on it.
Inspired by wanting to see when a certain team overtook my team in a challenge... I wanted graphs of challenge credit over the course of the challenges for each team and user.
The base site is https://statsgr.id, and it contains links for each challenge I have a stats page for (new ones show up as they begin), and also a link to Eudy's overall Challenge Series stats pages (hosted on this site).
For each challenge, the home page shows top 10 users and teams, as well as links to view all users, all teams, and a graph of the top 10 for users and teams as well.
Every user and team name is hyperlinked.
For users: it shows a graph of their credit over the course of the challenge.
For teams: It shows a graph of the team's credit, as well as a chart with each of the users on that team.
So there's a slightly more complicated part, which people have used a little, but isn't written anywhere on the site yet. You can select any combination of users you want, or teams (up to 10), into a graph. The user/team IDs are simply specified as args in the URL along with the challenge ID. It's a manual process of creating the graph link, but then you can bookmark the page and check it as you please :)
For example:
For users, ILW8 did a graph of some of the Discord users in the first challenge of the year-
https://statsgr.id/custom_user_graph.php?challenge_id=2019_1&user0=972376&user1=950482&user2=284516&user3=366225&user4=53948&user5=183129&user6=449456&user7=107307&user8=352&user9=1178
Or for teams, showing AtP and CNT in the first challenge of the year, where you can see the CNT's unit dump towards the end of the challenge..
https://statsgr.id/custom_team_graph.php?challenge_id=2019_1&team0=2280&team1=46
Each URL has a challenge_id associated with it, the first challenge of 2019 is 2019_1, second is 2019_2, etc. This is the same ID as on Primegrid in the URL of the results page. The current (TRP) challenge, is 2019_3 (challenge summary at https://statsgr.id/challenge.php?challenge_id=2019_3).
Let me know if anyone has any suggestions, bugs, etc. I know the site doesn't look very nice, but I'm no good with css.. I'll likely be adding some sort of menu functionality this weekend, as it's a pain to navigate between pages at the moment.
Hope someone finds it a bit useful! I find graphs can be a fun representation of data :)
~Tyler
____________
275*2^3585539+1 is prime!!! (1079358 digits)
Proud member of Aggie the Pew
| |
|
robish Volunteer moderator Volunteer tester
 Send message
Joined: 7 Jan 12 Posts: 2196 ID: 126266 Credit: 7,314,996,372 RAC: 3,234,957
                               
|
Really cool, thanks golfer! Nice!
____________
My lucky numbers 10590941048576+1 and 224584605939537911+81292139*23#*n for n=0..26 | |
|
|
Thank you for the graphs, golfer.
They are very nice !
____________
"Accidit in puncto, quod non contingit in anno."
Something that does not occur in a year may, perchance, happen in a moment. | |
|
Honza Volunteer moderator Volunteer tester Project scientist Send message
Joined: 15 Aug 05 Posts: 1949 ID: 352 Credit: 6,011,661,380 RAC: 1,522,162
                                      
|
Thanks, looks cool.
____________
My stats | |
|
|
1998golfer, why are the charts for top 10 individuals so jagged? | |
|
Tyler Project administrator Volunteer tester Send message
Joined: 4 Dec 12 Posts: 1078 ID: 183129 Credit: 1,376,122,338 RAC: 6,351
                         
|
1998golfer, why are the charts for top 10 individuals so jagged?
Hey there,
Sorry for the such delayed response, not sure why I just now saw this.
The reason the lines were jagged was that the stats files for users were taking over a minute to generate on PG's side sometimes, but the one for teams wasn't. I was using the timestamps from teams to make the graphs, so it was missing a lot of data points and stuffing them at the end of the chart.
I've since fixed it, and the graphs for that challenge should look better, as well as if this happens again later on.
Let me know of any other issues you come across, or feel free to PM me if you don't get a response here :)
____________
275*2^3585539+1 is prime!!! (1079358 digits)
Proud member of Aggie the Pew
| |
|
|
Thanks for the reply 1998 golfer. Next request - can we select the participants to display on the chart?
Currently, Pavel is leading by such a huge margin that the other 9 in the top 10 are all kines on top of each other. would be nice to show just participants 2-9. | |
|
Tyler Project administrator Volunteer tester Send message
Joined: 4 Dec 12 Posts: 1078 ID: 183129 Credit: 1,376,122,338 RAC: 6,351
                         
|
Thanks for the reply 1998 golfer. Next request - can we select the participants to display on the chart?
Currently, Pavel is leading by such a huge margin that the other 9 in the top 10 are all kines on top of each other. would be nice to show just participants 2-9.
You can, but it's a manual process (see the part of OP that references custom_user_graph.php)
Otherwise, on any graph you can click on a username in the legend and it'll remove their data and the chart will auto-rescale with the remaining users. | |
|
|
Brilliant, that works perfectly, thanks. | |
|
|
Graphs and totals seem to have stalled a few days ago for the current challenge, at least for individuals. Have to dash out the door, sorry I can't be more specific. Can someone have a look? | |
|
|
Graphs and totals seem to have stalled a few days ago for the current challenge, at least for individuals. Have to dash out the door, sorry I can't be more specific. Can someone have a look?
Yes - the individual stats is frozen, but team stats are running.
____________
| |
|
Tyler Project administrator Volunteer tester Send message
Joined: 4 Dec 12 Posts: 1078 ID: 183129 Credit: 1,376,122,338 RAC: 6,351
                         
|
Graphs and totals seem to have stalled a few days ago for the current challenge, at least for individuals. Have to dash out the door, sorry I can't be more specific. Can someone have a look?
Yes - the individual stats is frozen, but team stats are running.
They are indeed, I am not sure why at the moment, and I'm current out of town without a computer (just have cellphone) for another few days, so I've been unable to troubleshoot yet. It looks like it is still grabbing the data, it's just not inserting into the database, so when I get a chance it should be able to fill in the data it missed. | |
|
Tyler Project administrator Volunteer tester Send message
Joined: 4 Dec 12 Posts: 1078 ID: 183129 Credit: 1,376,122,338 RAC: 6,351
                         
|
Seems to be fixed now. All the challenge data should be there. Let me know if you still see anything wrong now or something wrong again later on :) | |
|
|
Thanks !
____________
"Accidit in puncto, quod non contingit in anno."
Something that does not occur in a year may, perchance, happen in a moment. | |
|
|
When I'm reading the graph I found that the times aren't put in AM and PM, so there would be two '2020-12-22 04:00's in a graph. Could that be fixed?
____________
My lucky number is 6219*2^3374198+1
| |
|
|
When I'm reading the graph I found that the times aren't put in AM and PM, so there would be two '2020-12-22 04:00's in a graph. Could that be fixed?
Yes, it looks like this:
Would be better with 01:00 - 07:00 - 13:00 - 19:00.
/JeppeSN | |
|
Tyler Project administrator Volunteer tester Send message
Joined: 4 Dec 12 Posts: 1078 ID: 183129 Credit: 1,376,122,338 RAC: 6,351
                         
|
When I'm reading the graph I found that the times aren't put in AM and PM, so there would be two '2020-12-22 04:00's in a graph. Could that be fixed?
Yes, it looks like this:
Would be better with 01:00 - 07:00 - 13:00 - 19:00.
/JeppeSN
I thought it was using 24hr time for the display too.. I was wrong, but it should now be fixed :) Just had to swap hh to HH.
| |
|
|
I thought it was using 24hr time for the display too.. I was wrong, but it should now be fixed :) Just had to swap hh to HH.
Thanks. /JeppeSN | |
|
|
When I'm reading the graph I found that the times aren't put in AM and PM, so there would be two '2020-12-22 04:00's in a graph. Could that be fixed?
Yes, it looks like this:
Would be better with 01:00 - 07:00 - 13:00 - 19:00.
/JeppeSN
I thought it was using 24hr time for the display too.. I was wrong, but it should now be fixed :) Just had to swap hh to HH.
Oh okay, thx!
____________
My lucky number is 6219*2^3374198+1
| |
|
Ken_g6 Volunteer developer
 Send message
Joined: 4 Jul 06 Posts: 938 ID: 3110 Credit: 258,690,389 RAC: 92,022
                            
|
Hey, Tyler. These are nice graphs. At least comparable to SETI.Germany's graphs I can never remember the path to. But they could be even better. Can I make a request?
When I point to the graph and I see the dots showing users/teams at that point, I'd like to see lines, from those points, through the current totals of those users/teams, to the end of the challenge. At the end of those lines I'd like to see projected totals. That implies having the graph show white space between "now" and the end of the challenge, but I wouldn't mind that either.
This way I could better strategize how much power to put into PrimeGrid vs. other things like Formula BOINC, or how many cloud resources to use on a given challenge.
Thanks! | |
|
|
Thanks for reordering the challenges. I was gonna make the suggestion but thought it might be a lot of work for you just because I'm too lazy or don't wanna take 2 seconds to scroll down an inch or two. | |
|
|
Bug Report:
For any of the team links that you can click in from this link:
https://statsgr.id/overall/2021_Challenge_Series_Current_Standings_Teams.html
The team name hyperlink directs to the user with the same userid as the teamid, instead of the Teamid.
For example you click on AMD Users it directs you to the user with userid 14 (Tinechen) and not the team with id 14 (AMD Users).
____________
My lucky number is 6219*2^3374198+1
| |
|
|
Bug Report:
Thank you for pointng it out.
I'll look into it.
Since the pages are all generated by the same Python script, I checked the team stats for other years and they all present the same wrong behavior.
I'll work on it soon.
____________
"Accidit in puncto, quod non contingit in anno."
Something that does not occur in a year may, perchance, happen in a moment. | |
|
|
It should be fixed now.
Remember to refresh your browser to overcome cached pages.
Anything else, please let me know.
Thank you !
____________
"Accidit in puncto, quod non contingit in anno."
Something that does not occur in a year may, perchance, happen in a moment. | |
|
|
It should be fixed now.
Remember to refresh your browser to overcome cached pages.
Anything else, please let me know.
Thank you !
No problem. :)
____________
My lucky number is 6219*2^3374198+1
| |
|
|
Eudy please add the Euler's Number challenge to your stats.
____________
| |
|
|
Eudy please add the Euler's Number challenge to your stats.
It was already added some days ago. :)
Waiting for the challenge to begin (05:00 UTC)
Do refresh your browser to overcome cached pages.
I guess I'll set my alarm clock to some minutes before 2AM my local time,
so I can switch to AP27 tasks and update the challenge status to "Ongoing".
____________
"Accidit in puncto, quod non contingit in anno."
Something that does not occur in a year may, perchance, happen in a moment. | |
|
|
Thank you. Kickoff is 4pm in Sydney. (I think!).
EDIT: Correction to time.
____________
| |
|
|
Thank you. Kickoff is 3pm in Sydney. (I think!)
My pleasure.
That time seems right, 14 hours ahead of me here, according to https://time.is/
____________
"Accidit in puncto, quod non contingit in anno."
Something that does not occur in a year may, perchance, happen in a moment. | |
|
Post to thread
Message boards :
Number crunching :
More detailed challenge stats |