Skip to content

Conversation

@lode-mgp
Copy link
Contributor

In this PR, I address the issues discussed in issue 385. I made adjustments only to the existing SequenceStateBuilder and did not yet start implementing a new PossessionStateBuilder.

  1. More events can now start a new sequence
  • Goalkeeper events that are PICK_UP or CLAIM, as well as take-ons and successful interceptions, can now start a new sequence.
  • Defensive actions (clearances for example) that are followed by a possessing action are now also counted as the start of a new sequence.
  1. Duels at the end of a sequence are handled correctly
    When a sequence ends with a duel between two players, the lost duel is part of the old sequence and the winning duel is part of the new sequence.

  2. Off-ball and generic events don't get a sequence id

Additionally, I ensured that sequence IDs increment consistently without skipping numbers.

@lode-mgp lode-mgp changed the title Issue 385/sequence state builder Improve the sequence state builder Jun 26, 2025
@UnravelSports UnravelSports added this to the 3.19.0 milestone Nov 18, 2025
@probberechts
Copy link
Contributor

@lode-mgp Can you merge this one with master (or give me edit access to the branch, such that I can do it myself)?

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