The Great Vote Count Analysis (Pre-Discussion)

This forum is for discussion related to the game.
User avatar
Titus
Titus
She/her
Moon Walker
User avatar
User avatar
Titus
She/her
Moon Walker
Moon Walker
Posts: 80307
Joined: May 3, 2013
Pronoun: She/her

Post Post #75 (ISO) » Fri May 08, 2020 1:45 pm

Post by Titus »

To echo and supplement Blair's point, VCA isn't a perfect algorithm but an imperfect heuristic. I am a big proponent of VCA over reading when I sub into games if the assumptions are met. That doesn't mean VCA is always flawless. If the wrong assumptions get entered, a wrong result pops up frequently.
Show
The scum had the misfortune of Titus being absurdly accurate on day one.Really quite impressed by that.~Drixx

You're letting Titus win the game by herself.Good luck now I guess.You have no chance to win.~Tywin

GTKTitus Part 2
Titus Academy

VLA Friday nights until Sunday morning.

All hail the Scum Empress!
User avatar
Isis
Isis
she/her, not they
Best in Class
User avatar
User avatar
Isis
she/her, not they
Best in Class
Best in Class
Posts: 11221
Joined: April 6, 2020
Pronoun: she/her, not they
Location: Seattle

Post Post #76 (ISO) » Fri May 08, 2020 1:54 pm

Post by Isis »

sometimes after titus makes a really sharp point I imagine her moonwalking away immediately afterwards
User avatar
Zantetsu
Zantetsu
Goon
User avatar
User avatar
Zantetsu
Goon
Goon
Posts: 649
Joined: March 25, 2020

Post Post #77 (ISO) » Fri May 08, 2020 9:59 pm

Post by Zantetsu »

In post 74, Blair wrote:
In post 68, Zantetsu wrote:I don't doubt that it's possible to build an algorithm to detect posting patterns that indicate scum, I'm surprised someone would do it though because it would take all of the fun out of a game that exists solely for the purpose of having fun.
What is the functional difference between "using an algorithm to detect posting patterns that indicate scum" and "using [your brain] to detect posting patterns that indicate scum?"

Which part of the process would an algorithm "take all the fun out of?" Would it still be fun if you used the algorithm to learn what patterns to look for, but applied those learned principles in live games without the algorithm? If not, why not?

Lots of players apply "tells" that they learned from other players, rather than discovering entirely on their own. Is this functionally different from learning a "tell" (which is what it would functionally be) from an algorithm? Is the difference the fear that it might be more accurate?
Yes it is different, very different. Kind of like playing a sport against someone who uses nonstandard equipment to give themselves a competitive advantage.

Anyway, like I said already, if you're just developing algorithms, you don't have to play in ongoing games. You can just turn them loose on completed games and you won't disturb any games in progress.
User avatar
Zantetsu
Zantetsu
Goon
User avatar
User avatar
Zantetsu
Goon
Goon
Posts: 649
Joined: March 25, 2020

Post Post #78 (ISO) » Fri May 08, 2020 10:01 pm

Post by Zantetsu »

Although I suppose that if part of your algorithm uses results of its own votes to further refine reads, then you'd have to do it in live games.
User avatar
Zantetsu
Zantetsu
Goon
User avatar
User avatar
Zantetsu
Goon
Goon
Posts: 649
Joined: March 25, 2020

Post Post #79 (ISO) » Fri May 08, 2020 10:04 pm

Post by Zantetsu »

My friend's wife used to play an online version of the game Boggle. One day my friend and I wrote a program to solve the Boggle board for words and we fed her answers while she was playing a game. It was fun for about 30 seconds to watch people being astounded at how quickly she could come up with words. Then it got boring because we weren't really accomplishing anything. We weren't even playing the game, we were just watching our program spit out words. I imagine using a program to find scum for you would feel like that.
User avatar
Blair
Blair
Mafia Scum
User avatar
User avatar
Blair
Mafia Scum
Mafia Scum
Posts: 2419
Joined: October 4, 2013
Location: Leavesden, Hertfordshire

Post Post #80 (ISO) » Sat May 09, 2020 5:54 am

Post by Blair »

You're comparing it to your Boggle program (which you say sucked all the fun out of the game for you) but you also keep suggesting it should only be applied to completed games (which suggests you think a tool like this would suck the fun out of the game
for everyone playing).


I can definitely see how the Boggle program could ruin that game for everyone, not just the player using it, because you would pretty much always win. A similar program for Mafia would not be an auto-win for many reasons, however.

The main one being: It's all subjective. There are no 100% accurate tells. Even if an algorithm could somehow track fake claims, lies, counterwagons, and
scum claims,
it would still yield false positives all the time.

The benefit of a tool like this isn't some sort of magical, 100% accurate scum hunting voodoo - the benefit is in automating some of the more tedious parts of the game (vote count analysis, detecting time/day posting patterns, etc.)
User avatar
Blair
Blair
Mafia Scum
User avatar
User avatar
Blair
Mafia Scum
Mafia Scum
Posts: 2419
Joined: October 4, 2013
Location: Leavesden, Hertfordshire

Post Post #81 (ISO) » Sat May 09, 2020 5:57 am

Post by Blair »

A side-benefit would be finally being able to rigorously test some of our long-held assumptions ("I used to think scum did X more often than town, but after running 2,000 games through this program, I discovered there was no correlation").
User avatar
Blair
Blair
Mafia Scum
User avatar
User avatar
Blair
Mafia Scum
Mafia Scum
Posts: 2419
Joined: October 4, 2013
Location: Leavesden, Hertfordshire

Post Post #82 (ISO) » Sat May 09, 2020 5:59 am

Post by Blair »

I wouldn't compare it to sports teams using unfair equipment, I'd compare it to statistical analysis being introduced to baseball (it was). Did it ruin baseball? (It didn't)
User avatar
Zantetsu
Zantetsu
Goon
User avatar
User avatar
Zantetsu
Goon
Goon
Posts: 649
Joined: March 25, 2020

Post Post #83 (ISO) » Mon May 11, 2020 10:36 am

Post by Zantetsu »

In post 82, Blair wrote:I wouldn't compare it to sports teams using unfair equipment, I'd compare it to statistical analysis being introduced to baseball (it was). Did it ruin baseball? (It didn't)
Hm this is getting pretty far out there but I wonder if players being told in-game where to position themselves for the best chance of making a play against each hitter would take some of the fun out of it for both teams. I'm talking about amateur sports being played for fun here, not pro ball where who cares how much fun they have (not even the players, I'll bet, except when the fun doesn't impact their paycheck).

If the players all had smart phones in their pocket and on every play they were consulting the phone to be told what to expect and where to position themselves for that play ... which I think is a better analogy here ... I can imagine not wanting to bother playing if I felt like the other team was more likely to win because their smart phones were better.

And speaking for myself, I don't like the idea of playing against someone using anything beyond their own note-taking to facilitate their mafia play. I cannot know who if anyone is doing it, nor can I know who if anyone is communicating off-site for personal advantage, but in any case, to the extent that I would be aware of it, I would not like it. But that's just one insignificant person's opinion.

I do like the idea of learning what statistical analysis shows about mafia games. Studying up ahead of time and being well informed seems fine, and interesting, to me.
User avatar
yessiree
yessiree
he
Mafia Scum
User avatar
User avatar
yessiree
he
Mafia Scum
Mafia Scum
Posts: 4390
Joined: June 6, 2013
Pronoun: he

Post Post #84 (ISO) » Fri May 22, 2020 3:35 am

Post by yessiree »

I finally got around to writing a program that makes graphical representations of votes. I'm hoping this will help get things moving forward for the great vote count analysis.

Anyway, the games I scrapped are from the archive here
viewtopic.php?f=53&t=29549

The repository
https://github.com/blookvoodow/VCV

more information can be found in the README file

You can easily generate these graphs yourself as well without any programming skills, you just need a little bit of knowledge running NodeJS and Python scripts

Open to suggestions/comments on how to present the data better

Here are 5 examples
Spoiler: graphs
Image
Image
Image
Image
Image
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10874
Joined: April 28, 2011
Pronoun: he/they

Post Post #85 (ISO) » Fri May 22, 2020 4:45 am

Post by Psyche »

hmm
the semester is over today
so maybe it's good timing
You can't step in the same river twice.
User avatar
gobbledygook
gobbledygook
Jack of All Trades
User avatar
User avatar
gobbledygook
Jack of All Trades
Jack of All Trades
Posts: 7861
Joined: July 24, 2019

Post Post #86 (ISO) » Fri May 22, 2020 5:06 am

Post by gobbledygook »

In post 84, yessiree wrote:I finally got around to writing a program that makes graphical representations of votes. I'm hoping this will help get things moving forward for the great vote count analysis.

Anyway, the games I scrapped are from the archive here
viewtopic.php?f=53&t=29549

The repository
https://github.com/blookvoodow/VCV

more information can be found in the README file

You can easily generate these graphs yourself as well without any programming skills, you just need a little bit of knowledge running NodeJS and Python scripts

Open to suggestions/comments on how to present the data better

Here are 5 examples
Spoiler: graphs
Image
Image
Image
Image
Image
What do you think these images tell us about that game in particular?
Station 13, is now taking pre-ins! Coming June 2020
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10874
Joined: April 28, 2011
Pronoun: he/they

Post Post #87 (ISO) » Fri May 22, 2020 6:11 am

Post by Psyche »

yknow i asked that question before and i only pretended to understand the answer
You can't step in the same river twice.
User avatar
yessiree
yessiree
he
Mafia Scum
User avatar
User avatar
yessiree
he
Mafia Scum
Mafia Scum
Posts: 4390
Joined: June 6, 2013
Pronoun: he

Post Post #88 (ISO) » Fri May 22, 2020 6:21 am

Post by yessiree »

one graph is one game, you can kinda get a holistic overview of what happened in that game

I guess I should post the README here for ease of access

Node


Each node in the network represents a player slot in the game. Each node includes all the replacements to a particular slot.

Edge

Each edge in the network represents a vote cast from one node to another. For simplicity, edges are undirected, meaning if two players cross-vote one another, only one edge will exist between them. However, edges are more complicated than nodes since weights are attached to them.

Weight


As the network is weighted, the weight of an edge represents the severity of conflicts between two nodes. Since an edge presents a vote, and votes are used for pressuring or lynching a player, it can be interpreted that the higher the weight, the higher the degree of conflict.

Weights are calculated based on duration of the vote. The reasoning is that votes generate pressure and may or may not start wagons. Therefore, the longer the vote is cast, the greater the pressure and the degree of conflict between the two players. Of course, this may not always be the case, but our assumption is the voters will be forced to defend their votes when confronted by other players, and they will either retract their votes or keep their votes as a result.

Weights are measured in milliseconds and normalized by 1 hour.

the labels on the nodes

L = lynched
K = killed

and the they are followed by the time of the incident, so
L d 1 = lynched day 1
K n 1 = killed night 1
endgamed, survived and won should be self-explanatory

a solid edge can be interpreted as the two nodes having a lot of conflict and interactions
a dotted edge means the two slots barely voted each other
User avatar
skitter30
skitter30
she/her
Last Laugh
User avatar
User avatar
skitter30
she/her
Last Laugh
Last Laugh
Posts: 36616
Joined: March 26, 2017
Pronoun: she/her
Location: Est

Post Post #89 (ISO) » Fri May 22, 2020 6:27 am

Post by skitter30 »

oooooh this is interesting, i'm going to take a closer look over the weekend!

which games were these 5?

also, why did you choose to assign weights in {length of irl times that has passed}? my first instinct for the weights would have been maybe how many posts the vote was on the person
Show
Hiatus once more.

'skitter is fucking terrifying' ~ town-bork about scum-me

'Skitter [was] terrifying to play against ngl' ~ scum-bork about town-me

'Going into lylo against scum!skit unprepared is like having someone force feed you dull razor blades. It's painful, and once it starts, you're pretty much dead' ~ NMSA

'Skitter you're a spirit animal's spirit animal' ~ slaxx
User avatar
yessiree
yessiree
he
Mafia Scum
User avatar
User avatar
yessiree
he
Mafia Scum
Mafia Scum
Posts: 4390
Joined: June 6, 2013
Pronoun: he

Post Post #90 (ISO) » Fri May 22, 2020 6:29 am

Post by yessiree »

Spoiler: 1
Image

in this one, scum got steamrolled.
you can see two "clusters" by looking at nodes whose edges are solid lines. one includes the mafia that got lynched d1, two townies were on him consistently, and another townie was pressuring one of the two, but he somehow got nightkilled
the scum that got lynched d2 didn't really focus on anyone, never placed his vote on any slot for a long period of time

you kinda look at it like this

pedit: I believe the games are in the same order as the archive posted by implosion here
viewtopic.php?p=11775190#p11775190
User avatar
yessiree
yessiree
he
Mafia Scum
User avatar
User avatar
yessiree
he
Mafia Scum
Mafia Scum
Posts: 4390
Joined: June 6, 2013
Pronoun: he

Post Post #91 (ISO) » Fri May 22, 2020 6:32 am

Post by yessiree »

actually no, scratch that, these got mixed up when I uploaded them to imgur

mini normal 2081
2082
2085
2076
2080
User avatar
yessiree
yessiree
he
Mafia Scum
User avatar
User avatar
yessiree
he
Mafia Scum
Mafia Scum
Posts: 4390
Joined: June 6, 2013
Pronoun: he

Post Post #92 (ISO) » Fri May 22, 2020 6:37 am

Post by yessiree »

In post 89, skitter30 wrote:also, why did you choose to assign weights in {length of irl times that has passed}? my first instinct for the weights would have been maybe how many posts the vote was on the person
it was easier to grab the timestamps of the posts and compute the difference, but post count difference is also doable I suppose
User avatar
skitter30
skitter30
she/her
Last Laugh
User avatar
User avatar
skitter30
she/her
Last Laugh
Last Laugh
Posts: 36616
Joined: March 26, 2017
Pronoun: she/her
Location: Est

Post Post #93 (ISO) » Fri May 22, 2020 6:39 am

Post by skitter30 »

fair enough! was just wondering :)
Show
Hiatus once more.

'skitter is fucking terrifying' ~ town-bork about scum-me

'Skitter [was] terrifying to play against ngl' ~ scum-bork about town-me

'Going into lylo against scum!skit unprepared is like having someone force feed you dull razor blades. It's painful, and once it starts, you're pretty much dead' ~ NMSA

'Skitter you're a spirit animal's spirit animal' ~ slaxx
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10874
Joined: April 28, 2011
Pronoun: he/they

Post Post #94 (ISO) » Fri May 22, 2020 2:47 pm

Post by Psyche »

I can't reboot this weekend but I'll be putting this back on my radar
You can't step in the same river twice.
User avatar
gobbledygook
gobbledygook
Jack of All Trades
User avatar
User avatar
gobbledygook
Jack of All Trades
Jack of All Trades
Posts: 7861
Joined: July 24, 2019

Post Post #95 (ISO) » Sat May 23, 2020 5:16 am

Post by gobbledygook »

In post 90, yessiree wrote:
Spoiler: 1
Image

in this one, scum got steamrolled.
you can see two "clusters" by looking at nodes whose edges are solid lines. one includes the mafia that got lynched d1, two townies were on him consistently, and another townie was pressuring one of the two, but he somehow got nightkilled
the scum that got lynched d2 didn't really focus on anyone, never placed his vote on any slot for a long period of time

you kinda look at it like this

pedit: I believe the games are in the same order as the archive posted by implosion here
viewtopic.php?p=11775190#p11775190
Thank you for this!
I am curious to see how the length of posts would change the representations.

I can’t immediately discern anything “universal” from the graphical representation, but the sample size is probably too small for that.
Station 13, is now taking pre-ins! Coming June 2020
User avatar
yessiree
yessiree
he
Mafia Scum
User avatar
User avatar
yessiree
he
Mafia Scum
Mafia Scum
Posts: 4390
Joined: June 6, 2013
Pronoun: he

Post Post #96 (ISO) » Sun May 24, 2020 2:58 pm

Post by yessiree »

graphs can be easily generated. I just didn't wanna do it since I wanted to get some feedback on the samples first

im gonna change time delta to post count delta and see what happens
User avatar
yessiree
yessiree
he
Mafia Scum
User avatar
User avatar
yessiree
he
Mafia Scum
Mafia Scum
Posts: 4390
Joined: June 6, 2013
Pronoun: he

Post Post #97 (ISO) » Sun May 24, 2020 10:52 pm

Post by yessiree »

Changelog:
  • changed weights for a single vote to be total post count instead of total time
  • Added game # to title
  • split weights into 5 categories, 800+, 500+, 150+, 30+, and 30-
  • Misc style changes

Spoiler: actually deliver on promises Pog?
Image
Image
Image
Image
Image
User avatar
gobbledygook
gobbledygook
Jack of All Trades
User avatar
User avatar
gobbledygook
Jack of All Trades
Jack of All Trades
Posts: 7861
Joined: July 24, 2019

Post Post #98 (ISO) » Tue Jun 02, 2020 4:51 am

Post by gobbledygook »

Thank you for doing that yessiree. I don’t think the graphical representations changed too much, though.
Station 13, is now taking pre-ins! Coming June 2020
User avatar
petapan
petapan
Survivor
User avatar
User avatar
petapan
Survivor
Survivor
Posts: 11753
Joined: May 8, 2012

Post Post #99 (ISO) » Thu Jun 18, 2020 2:39 pm

Post by petapan »

psyche did you really spend 8 goddamn years on this project
free crypto

Return to “Mafia Discussion”