From 9976368730dba3c00ebef23f2a9980f830446bd1 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Tue, 25 Feb 2025 11:01:57 -0500 Subject: [PATCH] add comment regarding 'performance' of bot --- src/logic/future_moves.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/logic/future_moves.rs b/src/logic/future_moves.rs index f368da7..e548b6a 100644 --- a/src/logic/future_moves.rs +++ b/src/logic/future_moves.rs @@ -220,6 +220,10 @@ impl FutureMoves { .map(|(i, &child)| self.arena[child].value * ((i + 1) as i128)) .sum::(); + // previously we used `depth` and divided `self_value` by it, idk if this is worth it + // we should really setup some sort of ELO rating for each commit, playing them against + // each other or something, could be cool to benchmark these more subjective things, not + // just performance self.arena[idx].value = self.arena[idx].self_value as i128 + children_value; } }