EyeWire Stats - another TamperMonkey script

Here are non-permanent links to all current scripts (excluding EWStats itself). Non-permanent means, in this case, that the scripts should be updated whenever a new version is available. In earlier posts I was posting CDN versions of those, which are pointing to only a single version of each script. So, please, user these links in the future to have most up to date scripts.

https://rawgit.com/ChrisRaven/EyeWire-Statistics/master/statistics.user.js
https://rawgit.com/ChrisRaven/EyeWire-Accuracy-History/master/accuracy_history.user.js
https://rawgit.com/ChrisRaven/Eyewire-SC-History/master/sc_history.user.js
https://rawgit.com/ChrisRaven/EyeWire-Custom-Highlight/master/custom_highlight.user.js

3 Likes

Small update to EWStats.
I’m currently working on moving Profile History to a separate script, but before that, I had to do some changes on the server side.
Since both the new Profile History and the EWStats are using the same server scripts, the update is already available for everybody. Also, no need to refresh the script for this one (since it’s strictly server-side).
The update is, that the extended profile now shows your best results not only since installing the script, but since the beginning of the EW itself :slight_smile:
You can also check the date of each best result by hovering mouse over a value. Actually, this thing was already in the script, but didn’t work very good. Now everything is ok.
Also, the charts are updated and the data shown there is truly for last 7 days/10 weeks/12 months :slight_smile:

Here are my charts for the last 12 months and one can easily see, when I did start making the scripts :wink:

2 Likes

This. is. freaking. amazing! lol
and I think I traced a tad much on Oct. xD

darn for 103k or something and 3m lol…

1 Like

Profile History found its way to a separate script.

TamperMonkey link:
https://github.com/ChrisRaven/EyeWire-Profile-History/raw/master/profile_history.user.js

rawgit link (for in-game Addons feature):
https://rawgit.com/ChrisRaven/EyeWire-Profile-History/master/profile_history.user.js

Nothing new in this release (all updates were made server-side so were available on the EWStats from yesterday). It’s just code separating and cleaning.

Also, don’t forget to update EWStats to ver.2.6 which removes the Profile History from the script. Otherwise you’ll have two rows of buttons in the profile and some other oddities, lol.

1 Like

And the last part of the splitting. The Utilities script.

TamperMonkey link:
https://github.com/ChrisRaven/EyeWire-Utilities/raw/master/utilities.user.js

rawgit link:
https://rawgit.com/ChrisRaven/EyeWire-Utilities/master/utilities.user.js

This script contains Auto-refresh ShowMeMe and Submit using Spacebar - both from the EWStats script.
I’ve also added here the content of the script hiding the buttons in the top menu.

So, after installing this one, you can unistall both “EyeWire Statistics” and “EyeWire Top Buttons Hide”.

The final result of the splitting are those 6 scripts:

Statistics
Accuracy History
SC History
Profile History
Custom Highlight
Utilities

Now I can work on each of them separately, which should be a little bit easier for me and you can install only selected scripts, which should be a little lighter for you and your browser, lol.

4 Likes

To have everything in one place:

Links to GitHub (to use with TamperMonkey):
https://github.com/ChrisRaven/EyeWire-Statistics/raw/master/statistics.user.js
https://github.com/ChrisRaven/EyeWire-Accuracy-History/raw/master/accuracy_history.user.js
https://github.com/ChrisRaven/EyeWire-SC-History/raw/master/sc_history.user.js
https://github.com/ChrisRaven/EyeWire-Custom-Highlight/raw/master/custom_highlight.user.js
https://github.com/ChrisRaven/EyeWire-Profile-History/raw/master/profile_history.user.js
https://github.com/ChrisRaven/EyeWire-Utilities/raw/master/utilities.user.js

Links to RawGit (to use with EW Addons feature):
https://rawgit.com/ChrisRaven/EyeWire-Statistics/master/statistics.user.js
https://rawgit.com/ChrisRaven/EyeWire-Accuracy-History/master/accuracy_history.user.js
https://rawgit.com/ChrisRaven/EyeWire-SC-History/master/sc_history.user.js
https://rawgit.com/ChrisRaven/EyeWire-Custom-Highlight/master/custom_highlight.user.js
https://rawgit.com/ChrisRaven/EyeWire-Profile-History/master/profile_history.user.js
https://rawgit.com/ChrisRaven/EyeWire-Utilities/master/utilities.user.js

4 Likes

Utilities ver. 1.1

CHANGED the way, the switches for the top buttons work. Now the switches have only the names of the buttons (e.g. “Forum”, instead of “Hide Forum”) and now they work in reverse (you have to turn the switch on to have a correspondent button visible)
REMOVED unnecessary server request, which may make the auto ShowMeMe slightly faster (or not, lol).

Also, for no apparent reason, the previous version hid the Challenge button (at least for me). The current one shouldn’t do it.

2 Likes

lol, whatever you changed has now perm. enabled the challenge button for even tho there’s nothing to actually do in it rn. lol

you’ll see that when i click on the challenge it doesn’t actually do anything or exist in profile (it says challenge when there’s hh/vs/etc).

lol, yeah. I was fixing the button being always invisible during a Happy Hour so it worked ok (button has been shown), but actually, the problem was elsewhere.
Now (in ver. 1.1.1) it should work ok (but we’ll see during tomorrow’s HH xD ).

1 Like

Statistics ver. 3.1.1

ADDED another category - TOP 100
CHANGED proportions of the Stats window - it’s now lower (to fit to smaller monitors), but wider (to display all the data from the TOP 100)

Here’s how the window should now look like (you might have to hard-refresh the page, to make all styles working):

In each column you can see 100 best results (max. 1 for one person) for a day, week, month, year and forever.
You can use the buttons at the bottom to switch the data type: points, cubes, trailblazes (people doesn’t apply here, I should do something with it), scouts, scythes or completes.

If you’re on one of the lists, your name will be displayed in green.

It’s quite large amout of data and calculation on the db side (mine db, not EW), so you might have to wait a few seconds before the results will be visible.

Surprisingly, @Nseraf isn’t on the first place in all the categories, lol :smiley: (but almost :wink: )

P.S. Sorry for the small font in the TOP 100 lists - I had to do it, to somehow fit it in a reasonable width. If you have any suggestions, how to make it in another way, just write it here. Also, I’m not 100% satisfied withe look of the lists, so any suggestions would be very welcome.

4 Likes

lol so cool! and actually I am, what had happened before i registered there had been a competition which gave insane amounts of bonus points in a day, and tek, jinbean galarun gained a total of 500k pts but since it’s with bonuses (hh excluded) they don’t count towards best all time daily all time. lol, so my 300k non bonus is da best :stuck_out_tongue:

Then twist must have gained that with zfish rgying (their 1k’s don’t show in chat lol) but ya know admin so it doesn’t count :stuck_out_tongue: and r3 and marhav are also with bonuses, in fact the next non bonuses included person must be nopasaran who is the last one to have beaten my (back then) all time best top daily score, lol
lol

btw “people” category doesn’t do anything in top 100?

that is sooo cool man! ty! :smiley:

That’s a bunch of interesting EW history, ty :slight_smile:
I only have one number per person per category per day (each row in the db is: user_id, date, points, cubes, tbs, scouts, scythes, completes), so it’s impossible to say, if the data is with bonuses or without, without actually knowing, what was happening back then. But still, points are points, so I’ll leave it as it is :stuck_out_tongue:

Also, there’s interesting rivarly between you and @devonjones in # of SCs. :smiley:

Nope, “people” doesn’t do anything, because all the lists already shows “people” - there’s only a single, best result per person. If there were all the best results, probably half of the places would belong to you, lol.
I will just hide the “people” button, when switched to the TOP 100 category.

3 Likes

lol here’s some more interesting ew history, at first there were no completes, nothing nada nil lol. Then there started being completes but only admin, and they were all named “GrimReaper” not individual admins. AND players could still play the admin completed cubes even after they had been admin completed. Then they changed that. Then we started having scythe completes and ppl could no longer play admin completes. After that they changed it so that 2 scythe completed cube(s) could also no longer be played AND after that sometime…2015-6 they changed it so that admin completes went to individual admins rather than GrimReaper account AND they grandfathered scythe completes into the new scythe/complete badges, but admins’ didnt get grandfathered in mostly bc most of them had been in Grim and they had no way -im guessing- to differentiate those between the actual admins from the GR acct.

After that, soon after in fact, Rachel left and twister went to princeton so from 5 admins they “fell” down to 3 and dj started being the one admin who was doing all the completes instead of all admins doing some complete work which had been the case until then.

I think before that dj was around…maybe 20-30k completes? lol so he’s now the only admin who completes/declares cells done, I think Celia does zfish as well as other things, and M mainly finds us new cells (and preps them before release) so neither C or M do any completing lol so while even I don’t do “all” the cubes in all active cells (ew not zfish) dj does them all and when he declares a cell complete his name goes on all the cell’s cubes lol so he has no “loses” so to speak. But he is an admin lol and it is part of his job, so on players’ side, for now at least, I’m #1 :stuck_out_tongue: lol and he (dj) will sooner or later surpass me in all categories in completes section and that’s ok lol I just hope I can get to 500k completes badge before that happens so I’m the “1st” one to officially get that badge. lol

4 Likes

and this is what won gala, tek and jinbean those 500k points each lol http://blog.eyewire.org/eyewire-onfire-winners/

2 Likes

and darn…that ended only 4 days before I registered xD

2 Likes

A walk down memory lane!

Cool top stats @KrzysztofKruk!

If all goes according to plan, we will launch the integrated Addons feature on Monday.

2 Likes

Hey @KrzysztofKruk !

Do you think it could be possible to add a “convert highlighted to Complete” button ?
I ask because completing with “C” always need a bunch of time, because of toolbox refreshing, while highlight button is instant.
So highlighting and then converting to complete could be very timesaving (especially when toolbox response is verrrryyy long)

Well, it could be possible, but not sure, if worth it. I can see 3 problems:

  1. When you only highlight a cube, it’s still seen as not voted for other players, so some cubes, which you have already checked, might be unnecessary rechecked by other players and if they SC one of your highlighted cubes, the vote goes to them, not you.
  2. The system doesn’t allow to upvote/downvote a random bunch of cubes. The only possibilities are: a single cube, a cube and its ancestors, a cube and its descendants. So, trying to convert all highlighted cubes into voted would result in a series of requests (sometimes, quite long series, since each cube would have to be voted in a separate request) and could take quite a while.
  3. If you’d check and then highlight a cube and its descendants, then the script would have to remember each and every cube in that branch and then send a request for each of them separately, which would take much longer then the current SC+children. The reason for that, is because between your highlighting and your converting to SC a branch might have been grown further down so we can’t say, that you have checked the whole branch, but only from a cube to one of its descendants (which was, at that time, the last of the children, but doesn’t have to be the last right now).

So, I think, the easier way would be to check a whole branch then SC+children it.

2 Likes

I’ve made a bunch of small updates for all scripts. Part of them will not be visible for users. The visible ones are:

  • if a player clicked TOP 100 in the Statistics and closed the window then after reopening the window and changing to a category with map, the map was very small
  • the People category is hidden, when player switches to the TOP 100 (since this category is not applicable here)
  • if the People category was selected before switching to TOP 100, after the switch, the Points category is selected (since the People is hidden)
  • added ‘admin’ to roles for Profile History, so the extended history might be now visible also for admins (I’ve previously assumed, that all admins are Scythes too, which seems to not be true)

The other changes are:

  • some events are changed from custom made injected into the page for new ones built into the game by @Kelv
  • got rid of hijacking XMLHttpRequest object
  • EW paths are changed to relative for the sake of uniformity
  • paths to my server are changed to https
2 Likes

Thanks for your reply :slight_smile:
You’re totally right, i didn’t think about those problems and thanks for reporting me. Just will need to wait for Fibre connection ^^

1 Like