<% show_header = defined?(show_header) ? show_header : true %> <% if show_header %>

Possibility Report

<% end %> <% if @message %> <%=@message%> <% end %> <% @stats.each do |stat| -%> <% end -%>
Entry Chance
for 1st
Highest
Place
Current
Score
Max
Score
Tie
Break
Champions for 1st
<%=stat.entry.name%> <%=stat.times_champ * 100.0/pool.tournament_entry.picks.number_of_outcomes%>% <%=stat.min_rank.ordinal%> <%=stat.entry.bracket.score_against(pool.tournament_entry.picks, pool.scoring_strategy)%> <%=stat.max_score%> <%=stat.entry.tie_breaker%> <% stat.champs.sort_by{|k,v| -v}.each do |team, occurrences| -%> <%=team%> <%=occurrences%> (<%="%5.2f" % (occurrences.to_f * 100.0 / stat.times_champ)%>%)
<% end -%>