-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Many failing tests #301
Comments
Hi @tjburch, also, I think we can improve the contributing.md and create a template for issues in order to make it more clear and concise for those who wants to collaborate to the project. |
Thanks @BrayanMnz. @TheCleric is also starting to look when he has available time, so keep posted to this page. Clone the repo, run |
I figured out at least some of the cases, those that touch bbref. Basically we're throwing a lot of requests their way and they get rate limited. Looking directly at the
Not sure the best solution here. @TheCleric, any suggestions? |
Hey! So, I just ran into this error an you'll need to do a wait condition. Something below should work (it's in a jupyter notebook) as an example using time.sleep(10): import numpy as np from pybaseball import * pd.set_option('display.max_columns', None) We get 2 teams from AL conference and 2 teams from the NL conferencedef get_team_names(year):
def get_schedule_record_all_teams(year, team_names):
def main(year):
team_names, schedule_df = main(2010) Honestly, I just ran into this so my account's been temp banned as well, but I'm gonna grab my other computer and attempt with the wait condition. |
The good news is #296 took care of the rate limits (thanks @TheCleric). The bad news is now the FG error in #315 is causing it's own failing tests (see: https://github.com/jldbc/pybaseball/actions/runs/4116782091/jobs/7107420647) |
Closing per #318 and Bryan Peabody's great detective work. |
We've got a bunch of tests that we need to address. Running locally I get:
test_amateur_draft.py
test_league_batting_stats.py
test_league_pitching_stats.py
test_playerid_lookup.py
test_standings.py
test_statcast_running.py
test_team_game_logs.py
test_team_results.py
Guessing it's just like fixtures breaking or something like that. Better to get resolved sooner than later.
The text was updated successfully, but these errors were encountered: