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

[Wyscout v3] Estimate shot result coordinates #320

Conversation

fubininho
Copy link
Contributor

This PR address the improvement mentioned in discussion #316 and issue #319.

It updates Wyscout V3 shots to include estimates based on Shot Zone Tags. Based on eebc7b0.

@fubininho fubininho changed the title improvement: treats wyscout v3 shot end location [wyscout v3] improvement: treats shot end location May 22, 2024
Copy link
Collaborator

@JanVanHaaren JanVanHaaren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! I added a few comments.

kloppy/infra/serializers/event/wyscout/deserializer_v3.py Outdated Show resolved Hide resolved
kloppy/infra/serializers/event/wyscout/wyscout_tags.py Outdated Show resolved Hide resolved
@fubininho fubininho requested a review from JanVanHaaren May 27, 2024 22:30
Copy link
Collaborator

@JanVanHaaren JanVanHaaren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the changes!

The wyscout_tags module is still imported while it is not used anymore.

kloppy/infra/serializers/event/wyscout/deserializer_v3.py Outdated Show resolved Hide resolved
@JanVanHaaren JanVanHaaren assigned koenvo and unassigned fubininho May 28, 2024
@koenvo
Copy link
Contributor

koenvo commented Jun 3, 2024

Thanks @fubininho ! Could you add a test for this functionality?

@probberechts probberechts changed the title [wyscout v3] improvement: treats shot end location [Wyscout v3] Estimate shot result coordinates Dec 14, 2024
@probberechts
Copy link
Contributor

@koenvo I've fixed a few bugs in the implementation and added a test. Would it be ok to merge this now?

@koenvo
Copy link
Contributor

koenvo commented Dec 14, 2024

@koenvo I've fixed a few bugs in the implementation and added a test. Would it be ok to merge this now?

Absolutely!

@probberechts probberechts merged commit dff0204 into PySport:master Dec 14, 2024
4 checks passed
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.

4 participants