|
Post by Coppanuva on Feb 10, 2016 10:42:24 GMT -8
I'm working on a vote script and trying to outline what it should have for all games. Figured it might be a good idea to get people's input on how it should work and iron out features.
Right now it should be able to grab a list of all votes and their associated post, and put it in a chart. Basically what R_F's GAF script does. There's a question of:
Do we want it to post in topics here? We should be able to make a bot account that can post the vote count once per thread here, and I think I can wire that up.
How lax should it be on vote detection? I could do a similarity comparison so it would match things like Coppnuva to Coppanuva, but there's a question of how lax this should be. Mainly I'm concerned that if we go too lax something like Kark could be a match for either Karu or Karkador (it's 1 letter off from Karu, but has the correct length, whereas for Karkador the first half the name is matched and this IS a nickname, but it's much shorter so it's hard to say how the prioritization on this should be).
|
|
|
Post by Splinter on Feb 10, 2016 11:01:25 GMT -8
Well with Kark/Karu I think this just shows we can't be completely lax. So it can account for typos just fine but nicknames etc (such as Kark) should not be allowed.
|
|
|
Post by Coppanuva on Feb 10, 2016 11:13:39 GMT -8
Well with Kark/Karu I think this just shows we can't be completely lax. So it can account for typos just fine but nicknames etc (such as Kark) should not be allowed. Yeah... actually this is going to force us to stick with 1 name the entirety of a game here. Otherwise it'll fuck stuff up. And yeah I agree with nicknames, it's just trying to establish where the line is. Right now it might not be a super big concern (I don't think any of us quite have handles that close), but if we have like... burbeting and barbetin somehow it could hit issues. Probably overthinking this right now though.
|
|
|
Post by Retro on Feb 10, 2016 12:55:15 GMT -8
Well with Kark/Karu I think this just shows we can't be completely lax. So it can account for typos just fine but nicknames etc (such as Kark) should not be allowed. Yeah... actually this is going to force us to stick with 1 name the entirety of a game here. Otherwise it'll fuck stuff up. And yeah I agree with nicknames, it's just trying to establish where the line is. Right now it might not be a super big concern ( I don't think any of us quite have handles that close), but if we have like... burbeting and barbetin somehow it could hit issues. Probably overthinking this right now though. Retro/Retroid Drop/Droplet MattAttack/MattyG
|
|
|
Post by Coppanuva on Feb 10, 2016 13:06:04 GMT -8
Yeah... actually this is going to force us to stick with 1 name the entirety of a game here. Otherwise it'll fuck stuff up. And yeah I agree with nicknames, it's just trying to establish where the line is. Right now it might not be a super big concern ( I don't think any of us quite have handles that close), but if we have like... burbeting and barbetin somehow it could hit issues. Probably overthinking this right now though. Retro/Retroid Drop/Droplet MattAttack/MattyG ...Damn there's a lot more than I thought. Yeah, of those I think Retro/Retroid and Drop/Droplet are the bigger problems (MattAttack is much longer than MattyG, I would think adding 4 extra letters and the k/g are good identifiers there). I guess it also doesn't have to be TOO foolproof, since we're mostly solid typists.
|
|
|
Post by Coppanuva on Feb 10, 2016 14:42:39 GMT -8
Oh I spent like... 2 minutes googling it I found this: en.wikipedia.org/wiki/Levenshtein_distanceFun stuff. Probably just find an algorithm for that and do a best match (as long as it's within a certain bounds).
|
|
|
Post by Ty4on on Feb 10, 2016 15:26:26 GMT -8
I feel like the spellchecking is so it can discard fake votes, but at the same time make the moderator aware of any misspelt votes. I think properly spelled votes should still be preferred. I was thinking a separate counter like:
Ty4on: 3 (counting misspelt: 4 (Ty40n))
Invalid votes: Tyf0n Moderatorlololololol
Whatever the function is I think it should fix a problem and in most games I don't think people suffer from having to spell the names correctly. Maybe include an 'official' abbreviation like Launch or Kark that is in the OP for long usernames. Would make mobile voting a whole lot easier as I still can't spell Launch' full username.
|
|