From d8d8534cf881a173ac6a7d62291381988841d6c7 Mon Sep 17 00:00:00 2001 From: Alexey <247128645+axkurcom@users.noreply.github.com> Date: Tue, 31 Mar 2026 12:30:43 +0300 Subject: [PATCH] Update masking_ab_envelope_blur_integration_security_tests.rs --- .../masking_ab_envelope_blur_integration_security_tests.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/proxy/tests/masking_ab_envelope_blur_integration_security_tests.rs b/src/proxy/tests/masking_ab_envelope_blur_integration_security_tests.rs index a977409..1a705ee 100644 --- a/src/proxy/tests/masking_ab_envelope_blur_integration_security_tests.rs +++ b/src/proxy/tests/masking_ab_envelope_blur_integration_security_tests.rs @@ -562,9 +562,10 @@ async fn timing_classifier_light_fuzz_pairwise_bucketed_accuracy_stays_bounded_u if low_info_pair_count > 0 { let low_info_baseline_avg = low_info_baseline_sum / low_info_pair_count as f64; let low_info_hardened_avg = low_info_hardened_sum / low_info_pair_count as f64; + let low_info_avg_jitter_budget = 0.40 + acc_quant_step; assert!( - low_info_hardened_avg <= low_info_baseline_avg + 0.40, - "normalization low-info average drift exceeded jitter budget: baseline_avg={low_info_baseline_avg:.3} hardened_avg={low_info_hardened_avg:.3}" + low_info_hardened_avg <= low_info_baseline_avg + low_info_avg_jitter_budget, + "normalization low-info average drift exceeded jitter budget: baseline_avg={low_info_baseline_avg:.3} hardened_avg={low_info_hardened_avg:.3} tolerated={low_info_avg_jitter_budget:.3}" ); }