From 0bcc1ad5b6659dbebf35f07c901332c62bd9afa6 Mon Sep 17 00:00:00 2001 From: Nico Oelgart Date: Mon, 15 Jun 2026 14:08:58 +0200 Subject: [PATCH] Fix matching for para events --- src/Domain/YouTube/YouTubeMatchScorer.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Domain/YouTube/YouTubeMatchScorer.php b/src/Domain/YouTube/YouTubeMatchScorer.php index 09b4eb6..ea220d7 100644 --- a/src/Domain/YouTube/YouTubeMatchScorer.php +++ b/src/Domain/YouTube/YouTubeMatchScorer.php @@ -61,6 +61,10 @@ public function score(YouTubeVideo $video, array $roundTags, IFSCEventInfo $even ? $this->removeTags($roundTags, ...self::DISCIPLINE_TAGS) : $roundTags; + if ($isParaclimbingEvent && !$this->hasTag($tagsForScoring, Tag::PARACLIMBING)) { + $tagsForScoring[] = Tag::PARACLIMBING; + } + return $this->tagsScore($tagsForScoring, $videoTags) + $this->timingScore($video, $event) + $this->eventNameTokensScore($videoTitle, $event);