Skip to content

Instantly share code, notes, and snippets.

View arfie's full-sized avatar

Hilde arfie

  • CWI
  • The Netherlands
View GitHub Profile
@arfie
arfie / s9ballot.csv
Created January 30, 2017 09:26
ELTP Season 9 Commissioner Votes
team-of-3 Heisy Hyponome LoweJ rickastley
1 2 4 5 3
5 3 1 4 2
1 5 4 2 3
4 1 2 5 3
3 1 4 5 2
1 2 5 4 3
4 3 1 5 2
4 2 1 5 3
1 4 3 5 2
@arfie
arfie / stat_aggregator.py
Created April 4, 2018 22:08
stat aggregator that can deal with tpl files
#!/usr/bin/env python3
"""
Takes one or more TagPro Analytics matches through standard input, then prints
a CSV file containing aggregated statistics for all players in those games.
"""
import requests
import tagpro_eu
#!/usr/bin/env python3
import csv
from math import floor
import sys
if len(sys.argv) < 2:
print('Usage: python stv.py [ballot filename]')
exit()
anom BIG RIDDIMZ Destar Hamilcar Jerry. meherethere ruff sweatypete Syniikal
8 7 4 2 1 5 3 6 9
6 1 3 2
7 8 1 3 4 5 2 9 6
9 7 5 1 4 6 3 2 8
9 1 7 4 2 6 3 5 8
5 9 8 2 1 4 3 7 6
5 6 3 7 8 4 9 2 1
5 8 3 4 1 6 2 9 7
5 8 1 2 3 7 4 9 6