Skip to content
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

Reorganize pdfs, add historic data testing, 2024 entry list support #11

Closed
wants to merge 41 commits into from

Conversation

tylerjthomas9
Copy link
Contributor

This PR does a few things, and some are more opinionated. Feel free to criticize or change any aspect.

  • Remove extra .svg files from repo
  • Add support for parsing 2024 entry lists
  • Update demo notebook to ensure it runs end-to-end (because the previous changes I made broke it)
  • Added a test to compare historical lap times from ergast to race results (only for one race, for now)
  • Cleaned up some typing, naming, and global variables (more opinionated)

Let me know what you think. I see that you recently added support for sprint documents, which is awesome to see.

harningle and others added 30 commits September 7, 2023 20:50
    * TODO: still need a bit more cleaning around pit stop and lapping
…testing (harningle#6)

* fix `Lap` to use `lap_number` instead of `number`, add ad-hoc smoke tests

* add missing type hint

* initial pytests, fix linting, add github action

* revert `parse_entry_list.py` (did not mean to commit this)

* drop camelot from parsing entry list, add tests
* also remove linting test temporarily, for unused imported libs.
* the versioning in `requirements.txt` is temporarily removed. Need come back to them later. The previous versioning is too strict I believe. We don't necessarily need that new versions
harningle and others added 11 commits September 12, 2024 01:58
* `type` is session type and now we call it `session`. It now takes the values race, Q1, Q2, ...
* also explicitly disallow additional fields in all data models
also modify other parsing scripts a bit to accommodate field name changing in 985afd6
    * object_type should be lap not fastest_lap
    * objects should be a list of dicts, not a dict
    * lap_number should be number
@harningle
Copy link
Owner

sorry I mis- force pushed and overwrote the history. I also made big changes to the parsers in the previous days. If you are still interested in working on this, please feel free to open a new PR. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants