From c1c9e87e7fc458f24cf324f2217eaa76496059a0 Mon Sep 17 00:00:00 2001 From: Xinhao Yuan Date: Thu, 12 Feb 2026 08:44:28 -0800 Subject: [PATCH] Change the default corpus weight method to "uniform". Previous benchmarking showed that "uniform" performed the best. PiperOrigin-RevId: 869236599 --- centipede/centipede_flags.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/centipede/centipede_flags.inc b/centipede/centipede_flags.inc index 1ab484b3..650bd7c8 100644 --- a/centipede/centipede_flags.inc +++ b/centipede/centipede_flags.inc @@ -192,9 +192,9 @@ CENTIPEDE_FLAG( bool, use_corpus_weights, true, "If true, use weighted distribution when choosing the corpus element " "to mutate. This flag is mostly for Centipede developers.") -CENTIPEDE_FLAG(std::string, corpus_weight_method, "feature_rarity", +CENTIPEDE_FLAG(std::string, corpus_weight_method, "uniform", "The weight method to use on corpus. Available options are " - "`uniform`, `recency`, and `feature_rarity` (default).") + "`uniform` (default), `recency`, and `feature_rarity`.") CENTIPEDE_FLAG( bool, exec_time_weight_scaling, true, "If true, scale the corpus weight by the execution time of each input.")