From 4c86fce04745e9f04ffedff2b61c83f69cc88448 Mon Sep 17 00:00:00 2001 From: Nepomuk Crhonek <105591323+Nepomuk5665@users.noreply.github.com> Date: Fri, 23 Jan 2026 13:35:03 +0100 Subject: [PATCH] Fix incorrect method signature in Heuristic::Base#call The base class declared call(request_time, before_gc_context, after_gc_context) but all concrete implementations use call(request_context). This mismatch could confuse developers implementing custom heuristics. --- lib/autotuner/heuristic/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/autotuner/heuristic/base.rb b/lib/autotuner/heuristic/base.rb index 982ce98..e4ae80c 100644 --- a/lib/autotuner/heuristic/base.rb +++ b/lib/autotuner/heuristic/base.rb @@ -25,7 +25,7 @@ def name raise NotImplementedError end - def call(request_time, before_gc_context, after_gc_context) + def call(request_context) raise NotImplementedError end