From d6135786cc81a644a1fc2392c7126e30212e1394 Mon Sep 17 00:00:00 2001
From: "a.stevan" <antoine.stevan@isae-supaero.fr>
Date: Thu, 30 May 2024 16:46:50 +0200
Subject: [PATCH 1/4] fix experiment hash

---
 bins/inbreeding/run.nu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bins/inbreeding/run.nu b/bins/inbreeding/run.nu
index 82eb6084..7cfda774 100644
--- a/bins/inbreeding/run.nu
+++ b/bins/inbreeding/run.nu
@@ -69,7 +69,7 @@ export def main [
         }
     }
 
-    let exp_hash = $options | reject strategies | sort | to nuon | hash sha256
+    let exp_hash = $options | reject strategies measurement_schedule measurement_schedule_start nb_measurements | sort | to nuon | hash sha256
 
     for s in $options.strategies {
         let output_dir = [
-- 
GitLab


From 4262d1b4a4b9d39142cd41dc760c3fe0b6b5d339 Mon Sep 17 00:00:00 2001
From: "a.stevan" <antoine.stevan@isae-supaero.fr>
Date: Thu, 30 May 2024 16:51:13 +0200
Subject: [PATCH 2/4] exclude #scenarii, only index should matter

---
 bins/inbreeding/run.nu | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bins/inbreeding/run.nu b/bins/inbreeding/run.nu
index 7cfda774..6eed1525 100644
--- a/bins/inbreeding/run.nu
+++ b/bins/inbreeding/run.nu
@@ -69,7 +69,11 @@ export def main [
         }
     }
 
-    let exp_hash = $options | reject strategies measurement_schedule measurement_schedule_start nb_measurements | sort | to nuon | hash sha256
+    let exp_hash = $options
+        | reject strategies nb_scenarii measurement_schedule measurement_schedule_start nb_measurements
+        | sort
+        | to nuon
+        | hash sha256
 
     for s in $options.strategies {
         let output_dir = [
-- 
GitLab


From a56f8dc9af890bb886eed8f4930f43b344de50e8 Mon Sep 17 00:00:00 2001
From: "a.stevan" <antoine.stevan@isae-supaero.fr>
Date: Thu, 30 May 2024 16:52:32 +0200
Subject: [PATCH 3/4] don't hash the max t either

---
 bins/inbreeding/run.nu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bins/inbreeding/run.nu b/bins/inbreeding/run.nu
index 6eed1525..d2e5df09 100644
--- a/bins/inbreeding/run.nu
+++ b/bins/inbreeding/run.nu
@@ -70,7 +70,7 @@ export def main [
     }
 
     let exp_hash = $options
-        | reject strategies nb_scenarii measurement_schedule measurement_schedule_start nb_measurements
+        | reject strategies nb_scenarii measurement_schedule measurement_schedule_start nb_measurements max_t
         | sort
         | to nuon
         | hash sha256
-- 
GitLab


From 6ff6273f1de00f08748018d88b09e45d3baf70fd Mon Sep 17 00:00:00 2001
From: "a.stevan" <antoine.stevan@isae-supaero.fr>
Date: Thu, 30 May 2024 16:53:02 +0200
Subject: [PATCH 4/4] invert the selection

---
 bins/inbreeding/run.nu | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/bins/inbreeding/run.nu b/bins/inbreeding/run.nu
index d2e5df09..59610af7 100644
--- a/bins/inbreeding/run.nu
+++ b/bins/inbreeding/run.nu
@@ -69,11 +69,7 @@ export def main [
         }
     }
 
-    let exp_hash = $options
-        | reject strategies nb_scenarii measurement_schedule measurement_schedule_start nb_measurements max_t
-        | sort
-        | to nuon
-        | hash sha256
+    let exp_hash = $options | select nb_bytes k n environment | sort | to nuon | hash sha256
 
     for s in $options.strategies {
         let output_dir = [
-- 
GitLab