James McCool commited on
Commit
1b67225
·
1 Parent(s): 9f4d2e6

Enhance game_format by adding new metrics for scoring percentages, including 'Top Score', 'Fifth Inning Lead Percentage', '8+ Runs', and 'LevX'

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,7 +16,8 @@ def init_conn():
16
 
17
  db = init_conn()
18
 
19
- game_format = {'Win%': '{:.2%}','First Inning Lead Percentage': '{:.2%}'}
 
20
 
21
  player_roo_format = {'Top_finish': '{:.2%}','Top_5_finish': '{:.2%}', 'Top_10_finish': '{:.2%}', '20+%': '{:.2%}', '2x%': '{:.2%}', '3x%': '{:.2%}',
22
  '4x%': '{:.2%}'}
 
16
 
17
  db = init_conn()
18
 
19
+ game_format = {'Win%': '{:.2%}','First Inning Lead Percentage': '{:.2%}', 'Top Score': '{:.2%}',
20
+ 'Fifth Inning Lead Percentage': '{:.2%}', '8+ Runs': '{:.2%}', 'LevX': '{:.2%}'}
21
 
22
  player_roo_format = {'Top_finish': '{:.2%}','Top_5_finish': '{:.2%}', 'Top_10_finish': '{:.2%}', '20+%': '{:.2%}', '2x%': '{:.2%}', '3x%': '{:.2%}',
23
  '4x%': '{:.2%}'}