MCPcopy Create free account

hub / github.com/day-mon/sports-betting-ai / functions

Functions84 in github.com/day-mon/sports-betting-ai

↓ 5 callersFunctionfetchHelper
(url: string)
Website/src/util/fetchHelper.ts:1
↓ 4 callersFunctiongetTotalScore
(game: Game | SavedGame)
Website/src/components/GameCard.tsx:14
↓ 4 callersMethodinsert
(&self, conn: &mut PgConnection)
API/src/models/game_with_odds.rs:157
↓ 3 callersFunctiondirectory_exists
(path: &String)
API/src/util/io_helper.rs:76
↓ 3 callersFunctionfindPrediction
(game: Game)
Website/src/pages/Bets.tsx:109
↓ 3 callersFunctiongetBaseUrl
(useRemote?: boolean)
Website/src/constants.ts:38
↓ 3 callersFunctiongetWinPercentage
(games: SavedHistory[])
Website/src/pages/History.tsx:105
↓ 3 callersMethodname
(&self)
API/src/models/api_error.rs:26
↓ 2 callersFunctioncall_model
( df: &DataFrame, matches: &[Match], model_name: &String, model_dir: &String, )
API/src/util/nn_helper.rs:60
↓ 2 callersFunctionconvert_rows_to_f64
(df: &mut DataFrame)
API/src/util/polars_helper.rs:5
↓ 2 callersFunctiondrop_columns
(df: &mut DataFrame, model_name: &str)
API/src/util/polars_helper.rs:17
↓ 2 callersFunctionfetch
(request, env)
API/worker.js:9
↓ 2 callersFunctionfetchBets
(refresh?: boolean)
Website/src/pages/Bets.tsx:75
↓ 2 callersFunctiongetBaseUrl
(useRemote?: boolean)
Website/src/pages/Bets.tsx:13
↓ 2 callersFunctiongetGamesOnDate
(modelName: string, date: Date)
Website/src/pages/History.tsx:50
↓ 2 callersFunctiongetPredictedWinColor
(winPercentage: number)
Website/src/pages/History.tsx:11
↓ 2 callersFunctiongetWinPercentage
()
Website/src/pages/Bets.tsx:112
↓ 2 callersFunctiongetWinner
(game: Game)
Website/src/components/GameCard.tsx:26
↓ 2 callersFunctiongetWinner
(game: Game)
Website/src/pages/Bets.tsx:143
↓ 2 callersFunctionget_data_dates
(con: &mut PgConnection)
API/src/models/game_with_odds.rs:242
↓ 2 callersFunctionget_model_data
( matches: Option<&Vec<Match>>, date: &String, model_name: &str, data_dir: &String, worker
API/src/util/nn_helper.rs:13
↓ 2 callersMethodinto_injury_store
(self)
API/src/models/game_with_odds.rs:307
↓ 2 callersMethodinto_saved_game
( self, our_prediction: Option<&Prediction>, saved_model_name: &str, )
API/src/models/game_with_odds.rs:71
↓ 2 callersMethodis_saved
(&self, conn: &mut PgConnection)
API/src/models/game_with_odds.rs:164
↓ 2 callersFunctionrun
(pool: r2d2::Pool<ConnectionManager<PgConnection>>, model_dir: String)
API/src/services/history_service.rs:16
↓ 2 callersMethodstatus_code
(&self)
API/src/models/api_error.rs:41
↓ 1 callersFunctionchangeCardShow
(index: number)
Website/src/pages/Bets.tsx:214
↓ 1 callersFunctionfetchPredictions
(model_name: string)
Website/src/pages/Bets.tsx:33
↓ 1 callersFunctiongames
()
API/src/routes/nn.rs:163
↓ 1 callersFunctiongatherResponse
(response)
API/worker.js:42
↓ 1 callersFunctiongetGameStatus
()
Website/src/components/GameCard.tsx:59
↓ 1 callersFunctiongetInjuries
(game: Game)
Website/src/components/GameCard.tsx:37
↓ 1 callersFunctiongetOptions
()
Website/src/pages/History.tsx:111
↓ 1 callersFunctiongetPercentageRounded
(num: number)
Website/src/components/GameCard.tsx:67
↓ 1 callersFunctiongetPercentageRounded
(num: number)
Website/src/util/math.ts:1
↓ 1 callersFunctiongetPredictedWinColor
(winRate: number)
Website/src/pages/About.tsx:39
↓ 1 callersFunctiongetPredictionAgainstOdds
(odd: Odd, prediction: Prediction)
Website/src/components/GameCard.tsx:52
↓ 1 callersMethodget_final_score
(&self)
API/src/models/game_odds.rs:149
↓ 1 callersFunctionget_injuries_by_game_id
( game_id: &String, conn: &mut PgConnection, )
API/src/models/game_with_odds.rs:349
↓ 1 callersFunctionget_model_win_rate
( other_model_name: &str, conn: &mut PgConnection, )
API/src/models/game_with_odds.rs:176
↓ 1 callersFunctionget_saved_games_by_date
( params: &HistoryQueryParams, con: &mut PgConnection, )
API/src/models/game_with_odds.rs:213
↓ 1 callersMethodget_team_stats
(&self, team_id: i64)
API/src/models/team_stats.rs:87
↓ 1 callersMethodget_winner
(&self)
API/src/models/game_odds.rs:132
↓ 1 callersFunctionhandleRequest
(request)
API/worker.js:14
↓ 1 callersFunctionhideDropdown
()
Website/src/components/Navbar.tsx:15
↓ 1 callersMethodinto_odds
(self)
API/src/models/game_odds.rs:311
↓ 1 callersMethodis_finished
(&self)
API/src/models/game_with_odds.rs:104
↓ 1 callersFunctionretrieve_game_score
( output: &Tensor<f32>, matches: &[Match], row_index: usize, )
API/src/util/nn_helper.rs:165
↓ 1 callersFunctionretrieve_match_winner
( output: &Tensor<f32>, matches: &[Match], row_index: usize, )
API/src/util/nn_helper.rs:183
↓ 1 callersFunctionsortByWinner
()
Website/src/pages/History.tsx:95
↓ 1 callersFunctionsortedBetsByTime
(games: Game[])
Website/src/pages/Bets.tsx:157
↓ 1 callersFunctionstore_in_cache
(redis_client_opt: &Option<Client>, key: &String, value: T)
API/src/util/io_helper.rs:132
↓ 1 callersFunctionwrite_to_csv
( matches: &Vec<Match>, team_stats: &TeamStats, date: &String, data_dir: &String, )
API/src/util/io_helper.rs:13
FunctionAbout
()
Website/src/pages/About.tsx:5
FunctionApp
()
Website/src/App.tsx:12
FunctionBets
()
Website/src/pages/Bets.tsx:21
FunctionError
()
Website/src/pages/Error.tsx:3
FunctionErrorPopup
(props: IErrorPopupProps)
Website/src/components/ErrorPopup.tsx:9
FunctionGameCard
(props: IBetCards)
Website/src/components/GameCard.tsx:23
FunctionHistory
()
Website/src/pages/History.tsx:16
FunctionHome
()
Website/src/pages/Home.tsx:3
FunctionInjuryModal
(props: IInjuryProps)
Website/src/components/modals/InjuryModal.tsx:11
FunctionLoading
()
Website/src/components/Loading.tsx:3
FunctionLoadingButton
(props: ILoadingButtonProps)
Website/src/components/LoadingButton.tsx:12
FunctionLoadingSelect
(props: iLoadingSelectProps)
Website/src/components/LoadingSelect.tsx:12
FunctionModal
(props: IModalProps)
Website/src/components/Modal.tsx:8
FunctionNavbar
()
Website/src/components/Navbar.tsx:7
FunctionNavbarLink
(props: Props)
Website/src/components/NavbarLink.tsx:11
FunctionNoData
(props?: INoDataProps)
Website/src/components/NoData.tsx:8
FunctionSavedGameCard
(props: ISavedGameCardProps)
Website/src/components/SavedGameCard.tsx:12
Methoderror_response
(&self)
API/src/models/api_error.rs:54
Methodfrom_dataframe
( dataframe: &DataFrame, game: &[crate::models::game_odds::Game], )
API/src/models/daily_games.rs:168
Methodfrom_g
(match_up: &Game, date: &str)
API/src/models/game_with_odds.rs:42
Methodfrom_game
(game: Game)
API/src/models/daily_games.rs:238
Methodfrom_prediction
(missed_game_dto: MissedGameDTO)
API/src/models/game_with_odds.rs:134
Functionget_from_cache
( redis_client_opt: &Option<Client>, key: &String, )
API/src/util/io_helper.rs:108
Functionget_t_from_source
(source: &str)
API/src/util/io_helper.rs:80
Functionhistory
( params: web::Query<HistoryQueryParams>, pool: web::Data<r2d2::Pool<ConnectionManager<PgConnection>>>
API/src/routes/nn.rs:106
Functionhistory_dates
( pool: web::Data<r2d2::Pool<ConnectionManager<PgConnection>>>, )
API/src/routes/nn.rs:121
Functionmain
()
API/src/main.rs:27
Functionmodel_accuracy
( params: web::Query<ModelAccuracy>, pool: web::Data<r2d2::Pool<ConnectionManager<PgConnection>>>,
API/src/routes/nn.rs:138
Methodnew
( date: &'a String, game_match: &'a Match, score: &Game, other_model_name: &'a
API/src/services/missed_games_service.rs:187
Functionpredict_all
( params: web::Query<PredictQueryParams>, redis: web::Data<Option<Client>>, model_dir: web::Data<M
API/src/routes/nn.rs:35
Functionrun
( pool: r2d2::Pool<ConnectionManager<PgConnection>>, model_dir: String, data_dir: String, work
API/src/services/missed_games_service.rs:26