import sys
sys.path.append('../../Github/gh-emlov')
from rblcode.parsers import getPlayersAndTeams, getResults
config = {
"PICKS_FILE_NAME" : "2021/picks-2021.xlsx",
"RESULTS_FILE_NAME" : "2021/results-by-round/results-day8.xlsx",
}
(players, teams) = getPlayersAndTeams(config, False)
(results, result_columns, bonus_contest) = getResults(config)
from rblcode.paths import seedWeightedPathFnFactory, twosCastPathFnFactory
from rblcode.processes import pathAnalysis, calculateExpectedWinnings
from rblcode.reports import expectedWinningsReport
seedPathFn = twosCastPathFnFactory(results, result_columns, teams, verbose=False)
(tot_weight, count_tuple, winning_tuple, ttracker) = pathAnalysis(teams,
results, players, result_columns, 128, seedPathFn, None, None, teamTracker=True)
(xy1, xy2) = calculateExpectedWinnings(players, tot_weight, count_tuple, winning_tuple, False)
a = expectedWinningsReport(players, xy1, xy2, onlyNonZero=True)
from rblcode.reports import winPlaceShowAllPaths
n = winPlaceShowAllPaths(players, teams, results, result_columns)
from rblcode.reports import currentScores
a = currentScores(players, results, teams)
You will be able to find this page later at jgweb.info/RBL21-day-8.html.
You can get back to the current page at jgweb.info.
Day 7: jgweb.info/RBL21-day-7.html
Day 6: jgweb.info/RBL21-day-6.html
Day 5: jgweb.info/RBL21-day-5.html
Day 4: jgweb.info/RBL21-day-4.html
Day 3: jgweb.info/RBL21-day-3.html
Day 2: jgweb.info/RBL21-day-2.html
Day 1: jgweb.info/RBL21-day-1.html
Day 0: jgweb.info/RBL21-day-0.html
Introduction: jgweb.info/RBL21-intro.html