Skip to content

Luck computation for Learned League (per SheahanJ's algorithm)

License

Notifications You must be signed in to change notification settings

dssinger/llluck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llluck

Luck computation for Learned League (per SheahanJ's algorithm)

This is an implementation of SheahanJ's algorithm for computing "luck" in the LearnedLeague, as described by his post in the LearnedLeague Forum.

Usage: ./llluck.py infile [season]

infile: input file to read, typically with the season number as the first set of digits in the filename. season: the season number (required if the season number is not in the input filename)

Produces three output files:

ll{season}.csv - a CSV including all the luck computations lucky{season}.bbcode - the luckiest 100 LLamas in BBCode format unlucky{season}.bbcode - the least lucky 100 LLamas in BBCode format

After creating these files, upload the lucky.csv file to Dropbox and copy its shared URL. Then run

ref.py {season} {URL}

to create lucky.txt and unlucky.txt, ready to cut-and-paste into the Message Board.

About

Luck computation for Learned League (per SheahanJ's algorithm)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages