From eae91ecfb64020494ce92a3da501c56ef1e3b971 Mon Sep 17 00:00:00 2001 From: Jurriaan Roelofs Date: Mon, 11 Aug 2025 10:00:02 +0200 Subject: [PATCH] refactor: update to use consolidated Thompson Sampling API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update AI Sorting plugin to use getThompsonScores() with optional time window parameter instead of the removed getThompsonScoresWithWindow() method for cleaner API integration. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/Plugin/views/sort/AISorting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/views/sort/AISorting.php b/src/Plugin/views/sort/AISorting.php index 91136f9..8b918d8 100644 --- a/src/Plugin/views/sort/AISorting.php +++ b/src/Plugin/views/sort/AISorting.php @@ -104,7 +104,7 @@ public function query() { $time_window_seconds = $this->options['time_window_seconds']; } - $scores = $this->experimentManager->getThompsonScoresWithWindow( + $scores = $this->experimentManager->getThompsonScores( $experiment_uuid, $time_window_seconds );