Are you lucky?
"Based on the finished GAs you have entered, you would expect to have won about 0.0 of them"
Well, that can't be right...
Comment has been collapsed.
Could you try this version and let me know if you see the same results?
Comment has been collapsed.
On line 30 of the script, there's a commented out line (something like // console.debug(copies, entries, copies / entries)). Would you mind un-commenting it (removing the //) and looking at your Javascript console (Ctrl+Shift+i, select the Console tab) when you check your expected result and seeing if you get any output? Don't need to see it all, a couple of them should suffice - although if you see a negative number let me know!
Comment has been collapsed.
Looked a bit into the script and now I know why it doesn't work.
If I go to the last page manually it worked so it clearly got stuck somewhere in the code.
In line 17 where you try to fetch the last page with the use of the "last" button it wont work since there is no last button.
I am a bit familiar with programming myself but I am very rusty :/
Comment has been collapsed.
Okay - I think I've got it now. If you don't mind trying again, I've updated it such that it should almost certainly work...
Comment has been collapsed.
I get different values for different pages. From page 1 it's always 0, for page 50 it's something else, for page 100 also etc
Comment has been collapsed.
Yeah, you'll be encountering the same issue - if there's no "Last" link, it will find the "Next" link page number, meaning when it tries to analyse your wins, it looks at the first page up to page after the one you've got selected, but goes no further. I've tried to fix my script to ignore that - although I think there is a potential for some double counting if you have fewer than 200 pages of entered GAs.
Comment has been collapsed.
FYI, I changed the number of pages from 200 to 300.
I tried installing on Chrome, but I appear to have installed the Tampermonkey app instead of the extension and now I can't install the latter and can't remove the former. Obviously I don't use Chrome much.
Comment has been collapsed.
Could you try this version and let me know if you see the same results?
Comment has been collapsed.
Honestly, it depends on what kind of GA you're entering. If you're mostly entering high value public GAs that have a lot of other entries, it's quite likely you won't win many. If you spend your days scrolling through the forums for private GAs with few other competitors, you're doing badly!
Comment has been collapsed.
I've released a new version that might fix some of the low numbers people are getting. Please also temporarily disable other userscripts that affect SG whilst using mine - I'm not going to be able to adapt my script to handle all possible cases.
The URL has changed too sadly: https://raw.githubusercontent.com/kelnage/sg-lucky-punk/master/Do%20You%20Feel%20Lucky%2C%20Punk.user.js
Comment has been collapsed.
Tried this one-- on Chrome-- and still got 0.7. Oh well. I'm sure I'm some weird edge condition. Thanks anyway for the script.
Comment has been collapsed.
Those are pretty typical numbers. Some have better luck, some worse.
Comment has been collapsed.
Here I'm okay I guess. Signed up not even a mounth ago, 2 wins in 1.361 GA, even if they are little games with not many entries. In Steamcompanions I won 14 games in less than an year, but there are more chance in there, sooo yeah. No reason to complain.
Comment has been collapsed.
I've fixed bug that caused the 0.0 result - if you could re-install the latest version of the userscript, it will now hopefully work!
Comment has been collapsed.
Based on the finished GAs you have entered, you would expect to have won about 57.7 of them
57.7? Damn, my actual wins are better than my odds!
Comment has been collapsed.
I was doing that manually (copy pasting each page of my entries to an Open Office Calc spreadsheet that I have set up to do all the calculations for me) for a while. Haven't updated it for a while, but when I had 46 real wins, I had 53.27 estimated wins, so -7.27 wins, or roughly 15% less wins than estimated, so a bit unlucky.
Hope you get the script working properly, it would be very nice to check it the easy way instead! I like looking at stats :D
I get the following (Firefox, 125 pages of ended giveaways):
Do You Feel Lucky, Punk? Based on the finished GAs you have entered, you would expect to have won about 0.5 of them
Comment has been collapsed.
Yeah, sorry - my first linked version doesn't update itself - could you try the following userscript:
(If you have more than 100 but less than 200 pages of entered giveaways, the results may be incorrect)
Comment has been collapsed.
New one says 89.3.
I'll finish my manual check some day and compare, but somewhere between 6-10 less wins than expected sounds very plausible.
If you want any suggestions on improvements, I would say: Add a percentage comparison between the expected and real wins:
Based on the finished GAs you have entered, you would expect to have won approximately 89.3 of them. You have won 92.9% of your expected amount of wins (or similar, with better English ;D)
The reason for using percentage is that 92.9% says more than just seeing it as 6 wins "missing".
Comment has been collapsed.
If you're comfortable with editing a userscript, you can increase the number of pages looked at (MAX_PAGES) - but I'd also recommend increasing MAX_DURATION proportionally (so if you double MAX_PAGES to 400, increase MAX_DURATION to 120) - for SteamGifts sake.
Comment has been collapsed.
No. As I stated in my OP, I restricted the script to request no more than 200 pages. Also, if you're still using the old version (linked at the very top) there are some bugs, which I've ironed out in my latest release:
I think I need to start a new thread with a fixed link and a reserved comment...
Comment has been collapsed.
Based on the finished GAs you have entered, you would expect to have won about 2.1 of them
ummm... does this take groups, WL giveaways into account? I won a little more than 2.1 :D
edit: updated the script with the one linked here, it says 126.5 of them - that's more correct for the last year-year+ of 200 pages :)
Comment has been collapsed.
Yay, it works now! And it confirms what I already knew-- that I'm unlucky. :)
Based on the finished GAs you have entered, you would expect to have won approximately 83.1 of them
My 62 wins is 74.6% of what I "should" have won. Still, 62 wins is pretty nice. :)
I should look at the script and see if there's a way I can exclude, say, the first couple months of my SG life when I was a bit too indiscriminate about the GAs I entered. Not to mention a few of my wins I either had already bought (but hadn't removed my entries) and didn't know I could just request a re-roll, or became bundled a few days later. But oh well. :)
Comment has been collapsed.
Excluding the first couple of months won't improve your expected wins tool - expectation is purely additive (you never reduce your chances of winning by entering a GA rather than not). If you were plotting your expected wins over time, you'd see a difference, but with a total it is irrelevant.
Comment has been collapsed.
It wasn't a mathematical statement, it was more that I care more about how lucky I have been since I tightened up my entry requirements a couple of months into my SG career.
Also, it would be interesting to test my perception of how lucky I've been at different times. I feel like I was very unlucky in December/January/into Februrary, but I don't know this. It would be fun to set range filters.
Anyway, thank you for fixing the bugs not to mention writing the script in the first place...it was an interesting exercise.
I'm sure somebody's told you there used to be an "expected win" field on your...profile I guess it was? It predates me, but I assume it did something like what your script does. And I assume it was removed because unlucky people kept complaining or something. :)
Comment has been collapsed.
I should have won 0.8 of a game. I feel 0.8 cheated, and 0.2 done right by. XD
(I guess I must be close to my first win though!!)
XD
Comment has been collapsed.
You'll need to be using either Firefox or Chrome to use this extension.
How to install userscripts in Chrome: http://techsupportguides.com/install-userscripts-in-chrome/
How to install userscripts in Firefox: http://ooiks.com/blog/mousehunt-autobot/install-uninstall-user-script-on-firefox
Comment has been collapsed.
Based on the finished GAs you have entered, you would expect to have won approximately 24.2 of them
I've been cheated. I have only won 17 ><
Anyhow nice script :)
Comment has been collapsed.
Not bad
Based on the finished GAs you have entered, you would expect to have won approximately 12.0 of them
I won 13. And 3 of them during the past 2 days. ;)
Edit:
If I may make a suggestion: Add a calculation how unlucky we were since our last win. Just like "Since your last win, you should have won X games."
Would tell us if our recent streak is really as unlucky, as we often imagine. No idea how complicated it would be to identify the last win though.
Comment has been collapsed.
20 Comments - Last post 1 minute ago by aumeilo
1,764 Comments - Last post 1 hour ago by Mhol1071
3 Comments - Last post 2 hours ago by lostsoul67
8 Comments - Last post 3 hours ago by Stakaniy
540 Comments - Last post 6 hours ago by Ledyba
47,106 Comments - Last post 7 hours ago by kbronct
49 Comments - Last post 7 hours ago by blueflame32
0 Comments - Created 1 second ago by HappyCakeday
2 Comments - Last post 3 minutes ago by grez1
94 Comments - Last post 6 minutes ago by grez1
7,966 Comments - Last post 20 minutes ago by shandyseggs
2,728 Comments - Last post 32 minutes ago by BanjoBearLV
26 Comments - Last post 1 hour ago by Axelflox
712 Comments - Last post 1 hour ago by grez1
Well, do ya?
I've noticed quite a few people complaining that they aren't winning as many GAs as they'd like. Well, I have a little stats knowledge and plenty of programming knowledge, so I thought I'd make a user script that looks over your GA entries and see how many times you'd actually expect to have won, which you can compare to your actual wins and either feel awesome or have something else to complain about!
It's a standard Greasemonkey/Tampermonkey userscript - please let me know if you have any problems using it. It will add a link to the top of your Entered GAs page (http://www.steamgifts.com/giveaways/entered) and will look back at all entered GAs when you click on the link. Don't expect results immediately - the process could take a while (mostly to avoid overloading SG).
https://raw.githubusercontent.com/kelnage/sg-lucky-punk/master/Do%20You%20Feel%20Lucky%2C%20Punk.user.js
Happy with the results? Or do you want to console yourself in your unluckiness? This thread is the best place to talk about it - thanks to super-user tso184 for creating it.
Edit: thanks for all your feedback. If you got a weird result (significantly lower or higher than you'd expect), please make sure you've got the latest version (by following the above link) and I think I have ironed out most of the issues people initially saw.
Edit (2016/03/22): new functionality! You can now see your daily expected wins on a bar plot (thanks to plot.ly for their fantastic JS plotting library). The userscript will now take a little longer to initially load (due to caching of the remote script) but once that's done it should be as fast as usual.
Edit (2016/03/26): now you can plot your actual wins against expected wins. See when you've been lucky or otherwise. Also includes a percentage "luckiness" (or unluckiness if less than 100%).
Edit (2016/03/28): fixed incompatibility with Extended Steamgifts userscript.
Edit (2016/03/29): changed phrasing of percentage (un)luckiness since I didn't make what it meant clear. Also excluding GAs between June and October 2014 due to a database corruption at that time.
Edit (2016/03/31): released version 1.5.1, caching results, so after your first time, the results will appear much quicker. Also changed behaviour of graph to show a constant line when no changes have happened (i.e. between wins or no GAs entered).
Edit (2016/04/14): thanks to the sharp eyed luizfcsilveira, I've found a bug in my script that meant all GAs giving away 1000+ copies of games were being ignored. The new version (1.5.4) fixes this. It will automatically clear your cached results when you first run it sadly, but it will also make your expected wins more correct!
Edit (2016/04/19): released version 1.6.0, which now shows future expected wins values (based on the number of entries when the script is run). Also works when searching for a specific game.
Comment has been collapsed.