Skip to content

mtminogue/the_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The application allows the user to choose a “Quitting Bet” and a “Starting Bet”, which are used to predict winnings based on a betting strategy where the user doubles the bet up to the “Quitting Bet”.

You must run a series of rake tasks to update the local database. In the first 4 instances be sure to update the date.

To update race entries: rake fetch_race_entries

To clean race entries: rake clean_entries

To update race winners: rake fetch_race_winners

To clean race winners: rake clean_winners

To add winners to entries: rake add_winner_to_entries

Update production database:

ToDo:

Figure out a way to efficiently update and clean all race entries and winners, not just those of top jockeys.

Add number of times jockey has day without win. Days without wins are NOT good.

Figure out a way to measure clusters of wins. Does the jockey win in streaks or are jockey wins evenly distributed.

Update the production database directly. Run something like heroku rake ... using something like “Date.current.to_formatted_s(:number)” instead of manually changing the date.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors