Commit History

Enhance lineup optimization in app.py: Modify optimize_lineup function to accept sidebar_site parameter, allowing for different salary cap constraints for DraftKings and FanDuel. Update UI to display optimal players by position, improving clarity and user experience.
15867d1

James McCool commited on

Enhance lineup optimization in app.py: Added constraint to ensure exactly 9 players are selected in the lineup, improving the accuracy of the optimization function.
1e41a61

James McCool commited on

Add lineup optimization feature in app.py: Implemented a function to generate optimal NFL lineups based on median projections, incorporating position and salary constraints. Added UI button to trigger lineup generation and display results, enhancing user experience for DraftKings and FanDuel users.
42541ad

James McCool commited on

Refactor app.py: Remove Google Sheets integration and related credentials, simplifying the connection initialization to only MongoDB. Update return values and clean up unused variables for improved clarity and performance.
a15c0a1

James McCool commited on

Refactor caching mechanism in app.py: replace @st .cache_data with @st .cache_resource for DK and FD lineups initialization. Update timestamp display for last update in the player statistics section.
986c3ed

James McCool commited on

Update reset button key for optimal reset functionality in app.py
4a42761

James McCool commited on

Update reset button key for optimal reset functionality in app.py
3d97a80

James McCool commited on

Update database collection references from NBA to NFL for DraftKings and FanDuel lineups
1b5d8ec

James McCool commited on

Fix player ID reference in Draftkings and Fanduel site data processing
07be503

James McCool commited on

added NFL optimals from seed frame
09a5211

James McCool commited on

had some interference fixed in line 74 stats to baselines
4190e27

James McCool commited on

ping
4e31296

James McCool commited on

fixed sum of ownership
c8d3aa5

James McCool commited on

added ownership to quick builder
ae145cf

James McCool commited on

ping
61f8035

James McCool commited on

more collapsing
6c3b943

James McCool commited on

collapsed labels for ease of use
e35a68f

James McCool commited on

added bringback suggestion
2799fcc

James McCool commited on

added suggestion for TE
585b832

James McCool commited on

added suggestion logic for WR1
882fbca

James McCool commited on

testing something
2d2628c

James McCool commited on

added DST calc
6a6c5f5

James McCool commited on

removing own
5dda2ba

James McCool commited on

ping
c237319

James McCool commited on

added dst and st.warning for salary exceed
599a963

James McCool commited on

changed radios to selects, div sums by 2
c9e0f61

James McCool commited on

added some variables to designate player pool
dce091e

James McCool commited on

going back to multiselect
f429fa3

James McCool commited on

maybe adding placeholder is necessary for index none
9573337

James McCool commited on

removed suggestions to test core feasability
cbbda51

James McCool commited on

This is the most hacky bullshit answer lol
88a7056

James McCool commited on

added null defaul;ts
62d33ca

James McCool commited on

It's placeholder not default
96670d3

James McCool commited on

changed logic for wr/te suggest
365fedd

James McCool commited on

Aiming to create a smart lineup builder
d970e19

James McCool commited on

removed math for own/levx
39b3a8d

James McCool commited on

just adding salaries and medians for now
c9781d3

James McCool commited on

removed sidebar from col1
33a9e32

James McCool commited on

aiming to create a quick builder sidebar
1b8e749

James McCool commited on

added sidebar changes to the rest of the app
15cb3d4

James McCool commited on

added pymongo to req
525a7bf

James McCool commited on

Lots of work to set up transfer from gspread to mongo, added some sidebar action to stacks page for testing
69f19a9

James McCool commited on

added index back into export
a3bc4f1

James McCool commited on

added back in ownership ranges
4bda594

James McCool commited on

Added simple view for mobile, cleaned up some code spacing
19ecf86

James McCool commited on

SET PLAYER INDEXING
fb4d438

James McCool commited on

Update app.py
b88451c
verified

Multichem commited on

Update app.py
d22033e
verified

Multichem commited on

Update app.py
6f65238
verified

Multichem commited on

Update app.py
3781970
verified

Multichem commited on