I had assumed compared to plurality voting, the electoral method in the US, approval voting would be harder to verify because each voter can cast an n number of votes for candidates.
I wrote it late at night; I was tired; I was frustrated; it didn't work as I intended; and I was constantly hitting the Up Arrow key in my terminal. It was more confusing than it had to be, and I took a break. Just because I took a break, I was able to write a much simpler version of the function (right above).
I tried starting strawberries from seed a few months ago, but I had given up expecting seedlings from this batch of soil and reused it to grow a tomato. Now, I have more strawberry seedlings than I anticipated sprouting.