Skip to content

Comments

Temp#74

Merged
calvinyeungck merged 2 commits intomasterfrom
temp
Feb 17, 2026
Merged

Temp#74
calvinyeungck merged 2 commits intomasterfrom
temp

Conversation

@calvinyeungck
Copy link
Member

This pull request introduces support for a new data format ("bepro") and enhances the flexibility of the soccer event data processing pipeline. It adds a new loader (load_bepro), updates the main class to handle the new format, and refines the preprocessing logic to distinguish between different data provider versions. Additionally, the changes fix a bug in the calculation of ball speed and update test/demo code accordingly.

New data provider support and pipeline flexibility:

  • Added a new function load_bepro to soccer_load_data.py for loading and processing event and tracking data from the "bepro" format, including merging event and tracking data, extracting metadata, and synchronizing timelines.
  • Updated the SoccerEvent class (soccer_event_class.py) to support a new soccertrackv2 flag, allowing the pipeline to distinguish between "soccertrackv2" and "bepro" data providers and process them accordingly in both data loading and preprocessing steps. [1] [2] [3] [4]
  • Added a new preprocessing function UIED_soccertrackv2 in soccer_processing.py to handle the new data format.

Bug fix:

  • Fixed the calculation of ball speed in calculate_sync_bias by using second-order differences (n=2) instead of first-order, improving synchronization accuracy.

Testing and demonstration:

  • Updated the test/demo section in soccer_load_data.py to include a test for the new load_bepro function and to save its output for inspection.

Calvin Yeung added 2 commits February 17, 2026 14:47
@calvinyeungck calvinyeungck merged commit 5006f04 into master Feb 17, 2026
3 checks passed
@github-actions
Copy link

Init Test Results 📝

  • Status: success
  • OS: Linux
  • Python: 3.10

@github-actions
Copy link

Init Test Results 📝

  • Status: success
  • OS: Linux
  • Python: 3.8

@github-actions
Copy link

Init Test Results 📝

  • Status: success
  • OS: Linux
  • Python: 3.9

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.

1 participant