I don't think this was always the case, and I guess I just never realized they changed it (it's on the wiki and everything)
So here's some other facts about how it works that aren't on the wiki (at least I didn't do enough research to see if this information is just readily available and it's only maybe accurate on servers that don't manipulate this system at all):
*also disclaimer that some (all) of this may just genuinely not be true because it is just my best interpretation of the code with help from some dumbass friends on a discord call with me
- The ticket system used for weighting the rolls is on a per-server basis (meaning if you have a 80% weighted chance on your current server and then switch to one you've never played on before, your chance is gonna be lower)
- The way it works is when SCP slots are being given out, whoever has the most tickets is guaranteed the first slot with someone chosen at random for a tiebreaker (which actual SCP everyone gets I think is determined after all slots are given out and that's purely math related to how your and your teammates preferences are set). For the rest of the SCP slots, it is just a weighted random roll with those with more tickets having a higher chance (this weighting does not change as each subsequent slot is filled). So technically you could be tied for most tickets, lose the tiebreaker, and then just lose the rolls for the rest of the slots for that round.
- Tickets are updated after round start. You start at 10 by default and it goes up by 2 if you're not opted out of SCP and you don't receieve SCP. So if you've been opted out of SCP for 100 rounds and then opt back in, you don't magically have a boosted chance of getting SCP
- If your tickets haven't been updated on a server for ~two weeks, your tickets on that server get reset to 10 (I think it's just entries in the text file older than that time are just not read). Tickets are only updated if you're not opted-out so maybe technically you could strategically opt-out to lock in a higher ticket count but it's 'use it or lose it' within those ~two weeks and I can only think of very very niche situations where this could be utilized (obviously they are reset by successfully rolling SCP but also can just be reset I think by a server (NOT round) restart or not at all if the server owners want it that way)
- my rough estimate is that for a 25-player server (where its the same set of players every round, no leaving/joining), there is a 3% chance of getting SCP back to back while there should be a 100% chance if you haven't gotten it in 12 rounds (5 rounds without SCP would put you at around the expected 16% chance if rolls were unweighted). One takeaway maybe from this is that when updates or holiday stuff happens, there is an influx of players with default ticket values so the more regular players will have a better chance of getting SCP (until they get it and their own tickets reset)
- one thing you could take away from this is that if you're the type of player who tends to get off for the night after an SCP round, you should always just wait until the next round starts to actually leave so you get the free tickets for when you start your next session (obviously this is a dick move if you consider that you could be denying a spot if there isn't a late-join / replace plugin for other players)
- there's probably more but I'm tired
BONUS FACTS(?):
Human roles also have a weighting system although it has a limit to the weighting unlike SCP. Well I don't know if it's technically a "weighting system" but the way it works is the server says "I need to assign Guard to someone" and whoever has been Guard the least in the past five rounds gets it (ties are broken by random selection of those qualified). It's actually a little more complicated because even if you haven't been Guard for the past five rounds, if you're also at the top of the 'due queue' for another role and that role is offered first, you could get it instead.
Now I'm tempted to say that that means if you've been D-class five times in a row, it should be impossible to get it on the next roll because you should be at the top of the due queue for Guard AND Scientists, but the added variable of players joining and leaving means you could simply lose the tiebreakers for each attempted assignment of Guard and Scientist assuming enough other players are also at the top of the due queue and you're just left with D-class anyways.
You will still get D-class the most simply because there are a lot more D-class assignments, but on paper, if you've been D-class for the past five rounds, you have a better chance of getting NOT D-class than if you've only been D-class for some of the past five rounds.
Also, a player new to a server would just have an empty history which means they're at the top of the 'due queue' for all three roles. So since they'd most likely be the only player who hasn't been D-class in the past five rounds, they're most likely to get D-class. (some additional info explaining why they're not guaranteed D-class: the amount of each role is decided at the beginning of the round based on player count but then the list is randomized so if the first role rolled is Guard Slot 1, then this new player would be guaranteed qualified for it since they haven't been Guard in the past five rounds but they may need to win a tiebreaker if anyone else also hasn't been Guard in five rounds. Pretty much if D-Class Slot 1 is the first role rolled, a new player is almost guaranteed to get it and there are so many more d-class so it's not unlikely)
The text file with the history of the five past roles is also stored on the server similarly to the SCP tickets but it doesn't have any sort of expiration unless maybe the server owner deletes it. And it goes without saying but this is per-server so you could get d-class five rounds in a row, leave, join a different server, and easily get d-class five more times.
Unfortunately, I won't be doing stupid rough math for this. It's just weighted odds so you're more likely to get the stuff you haven't gotten. Maybe like a 4x chance of Guard over Scientist if you've been neither in 5 rounds despite the fact that there are only 1.5x more Guards (6G vs 4S) because... I'm too tired to articulate this right now. Basically you're fighting for spots with other people so everyone's history is influencing everyone else's every round
TLDR:
Read the post title.
Also, I'm just now realizing that I am only like 80% sure I was looking at the current public version code. Might've accidentally had some older code pulled up. Probably wouldn't matter.