@PublicEvolving
    public static AIMDScalingStrategyBuilder builder(int rateThreshold) {
        return new AIMDScalingStrategyBuilder(rateThreshold);
    }
@Test
    void testInvalidRateThreshold() {
        assertThatExceptionOfType(IllegalArgumentException.class)
                .isThrownBy(
                        () ->
                                AIMDScalingStrategy.builder(0)
                                        .setIncreaseRate(1)
                                        .setDecreaseFactor(0.5)
                                        .build())
                .withMessageContaining("rateThreshold must be a positive integer.");
    }