People are asking how I made the STV videos. Part of it was going in by hand and recording the count sheets myself. When you do that, you notice how many discrepancies there are in the official tallies. Some are incomplete and some just do strange things. I'm indebted to whoever updated the Wikipedia ones, because they helped in a lot of cases. I suspect it was Dr Jack Armstrong, but I might be wrong.
I researched the whole single transferable vote situation and how the rules work, and I'm a lot clearer now than I was. I used that to build an interpretation of the results, which I then used as a checker, looking for anything that appeared to breach the rules. I also photographed the official result sheets and imported them into AI, to compare against the likes of Wikipedia. There were still a number of confusing things. I wonder how many election agents and candidates truly know all the idiosyncrasies of STV. I suspect they rely to some extent on what the workers at the count are getting right, and if in doubt, they go to somebody more knowledgeable in their party.
I've used artificial intelligence, Claude, to build queries in Python. That means I don't write the Python code myself. It's in there underneath the surface, and it returns the results to me. The problem with AI is that you need to verify things. I'm the sort of person who likes to verify things in multiple ways so there's less chance of mistakes, but that doesn't mean mistakes don't happen.
Then there's the complication that in Northern Ireland people behave in blocs. You might be in a party, or you might be an independent, but you're perceived as part of a wider bloc of unionists, nationalists or others. Some placings can be quibbled about, and independents are very hard to place. I read a lot of other people's analysis and I'm glad I did. It's the old standing on the shoulders of giants, and I'm indebted to people I haven't named here. Even so, I'd quibble with some of their categorisations, and they could quibble with mine. It isn't an exact science.
If someone runs as an independent and doesn't say they're a unionist, nationalist or other, one way to place them is to look at where their transfers go and who transfers to them. I'm reluctant to go that way, so I've erred on the side of caution and put them in Other.
I put the Workers' Party in nationalist because they come from a nationalist base. I put People Before Profit there too. They moved away from a strong, clear stance on Brexit, and if there's an orange-green issue they're almost certainly on the green side. Their stance looks very much like Sinn Féin-light socialism, and I think they've moved more clearly towards Sinn Féin than before. They were out canvassing in loyalist areas, but you can tell they're trying to hold Gerry Carroll's seat.
On top of that, I put it all into Excel and turned it into a little database that can be accessed through DBeaver. I normalised the data so there's as little repetition as possible, in third normal form for anybody who knows what that means. I also tried to deduplicate candidates who've run in more than one election. I have the Westminster results in as well, but there's less fun to be had in analysing them.
One shortcoming is that these are old constituencies, so we're not matching like with like. Belfast South is not Belfast South and Mid Down, although there's a great degree of commonality. Foyle is still Foyle, but it's a shrunken form of Foyle and not the same balance as before. West Belfast has become more unionist and North Belfast less unionist. So I've just looked back for trends and tried to work out the odd things in the results.