From c993abcd817210ad1ae239939117820c7261086c Mon Sep 17 00:00:00 2001 From: Akosh Farkash Date: Wed, 16 Jul 2025 14:32:44 +0100 Subject: [PATCH 1/2] Increase loop freq in brillig --- tooling/ast_fuzzer/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tooling/ast_fuzzer/src/lib.rs b/tooling/ast_fuzzer/src/lib.rs index 05705b93284..5f56cf32391 100644 --- a/tooling/ast_fuzzer/src/lib.rs +++ b/tooling/ast_fuzzer/src/lib.rs @@ -107,9 +107,9 @@ impl Default for Config { ("assign", 30), ("if", 10), ("match", 15), - ("for", 17), - ("loop", 17), - ("while", 17), + ("for", 22), + ("loop", 22), + ("while", 22), ("let", 20), ("call", 5), ("print", 15), From 0db87bd268c7437ecf1d8094830d6c34d26cf0c7 Mon Sep 17 00:00:00 2001 From: Akosh Farkash Date: Thu, 17 Jul 2025 11:51:19 +0100 Subject: [PATCH 2/2] Increase loop freq in brillig --- tooling/ast_fuzzer/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tooling/ast_fuzzer/src/lib.rs b/tooling/ast_fuzzer/src/lib.rs index 5f56cf32391..59c3f8c20e0 100644 --- a/tooling/ast_fuzzer/src/lib.rs +++ b/tooling/ast_fuzzer/src/lib.rs @@ -102,14 +102,14 @@ impl Default for Config { ("constrain", 4), ]); let stmt_freqs_brillig = Freqs::new(&[ - ("break", 25), + ("break", 30), ("continue", 25), ("assign", 30), ("if", 10), ("match", 15), - ("for", 22), - ("loop", 22), - ("while", 22), + ("for", 30), + ("loop", 30), + ("while", 30), ("let", 20), ("call", 5), ("print", 15),