From ab63778a92c189a8067012cbe41e243a4903ce32 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Feb 2026 22:18:38 +0000 Subject: [PATCH 1/2] Initial plan From 596b6f98773f7ab333bd608d6c2063a26c59f91c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Feb 2026 22:20:39 +0000 Subject: [PATCH 2/2] Remove dead mutation_rate field from MutationSettings Co-authored-by: HyperCodec <72839119+HyperCodec@users.noreply.github.com> --- src/neuralnet.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/neuralnet.rs b/src/neuralnet.rs index 69a04bf..5dffd9b 100644 --- a/src/neuralnet.rs +++ b/src/neuralnet.rs @@ -846,9 +846,6 @@ impl IndexMut for NeuralNetwork< #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[derive(Debug, Clone, PartialEq)] pub struct MutationSettings { - /// The chance of each mutation type to occur. - pub mutation_rate: f32, - /// The maximum amount that the weights will be mutated by in one mutation pass. pub weight_mutation_amount: f32, @@ -873,7 +870,6 @@ pub struct MutationSettings { impl Default for MutationSettings { fn default() -> Self { Self { - mutation_rate: 0.01, weight_mutation_amount: 0.5, bias_mutation_amount: 0.5, max_add_retries: 10,