Test Failed
Push — develop ( 7c3d28...e1debf )
by BENARD
12:55 queued 06:18
created
src/Service/VideoRelevanceScorer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
     {
132 132
         // Score normalisé entre 0 et 1 basé sur vues et likes
133 133
         $viewScore = min(1.0, $video->getViewCount() / 100000); // Max à 100k vues
134
-        $likeScore = min(1.0, $video->getLikeCount() / 1000);   // Max à 1k likes
134
+        $likeScore = min(1.0, $video->getLikeCount() / 1000); // Max à 1k likes
135 135
 
136 136
         return ($viewScore + $likeScore) / 2;
137 137
     }
Please login to merge, or discard this patch.
src/Controller/Video/GetRelatedVideosDebug.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
                 'genres' => $this->getGenreNames($data),
35 35
                 'platforms' => $this->getPlatformNames($data),
36 36
             ],
37
-            'scored_recommendations' => array_map(function ($item) {
37
+            'scored_recommendations' => array_map(function($item) {
38 38
                 return [
39 39
                     'video' => [
40 40
                         'id' => $item['video']->getId(),
Please login to merge, or discard this patch.