From 1ee1fe8856941d4922bf1ad52efcb0605b423e90 Mon Sep 17 00:00:00 2001 From: dolfies Date: Fri, 17 May 2024 17:50:00 -0400 Subject: [PATCH] Experiment overrides bypass A/A mode --- discord/experiment.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/discord/experiment.py b/discord/experiment.py index e888c0a53..2fc2696ac 100644 --- a/discord/experiment.py +++ b/discord/experiment.py @@ -665,10 +665,6 @@ class GuildExperiment: :class:`int` The experiment bucket. """ - # a/a mode is always -1 - if self.aa_mode: - return -1 - # Holdout must be fulfilled if self.holdout and not self.holdout.is_eligible(guild): return -1 @@ -687,6 +683,10 @@ class GuildExperiment: if pop_bucket != -1: return pop_bucket + # a/a mode is always -1 without an override + if self.aa_mode: + return -1 + for population in self.populations: pop_bucket = population.bucket_for(guild, hash_result) if pop_bucket != -1: