From f71c89a2681b8f3ab10fa99d36566ea8a4b71e98 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sat, 5 Dec 2026 09:50:55 +0100 Subject: [PATCH] Farm: Tor-3-Duplikat liest die Tischliste auch mit Leerzeichen (-Command uebergibt 1,1,3 als Array) Co-Authored-By: Claude Opus 5.5 --- messung/farm/pokerbench-temperatur-duplikat.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messung/farm/pokerbench-temperatur-duplikat.ps1 b/messung/farm/pokerbench-temperatur-duplikat.ps1 index bef4abcf..f9d1e116 100644 --- a/messung/farm/pokerbench-temperatur-duplikat.ps1 +++ b/messung/farm/pokerbench-temperatur-duplikat.ps1 @@ -35,7 +35,7 @@ Add-Type -Namespace FarmR -Name Sp -MemberDefinition @' public static double FreiGB() { MS m = new MS(); m.l = (uint)System.Runtime.InteropServices.Marshal.SizeOf(typeof(MS)); GlobalMemoryStatusEx(ref m); return m.zusagefrei / 1073741824.0; } '@ $plan = [ordered]@{}; $zaehler = @{} -foreach ($m in @($Tischliste -split ',' | % { [int]$_ })) { $i = [int]$zaehler[$m]; $zaehler[$m] = $i + 1; foreach ($a in $arme.Keys) { $plan["$a-m$m-s$i"] = @($a, $m, $i) } } +foreach ($m in @($Tischliste -split '[,\s]+' | ? { $_ } | % { [int]$_ })) { $i = [int]$zaehler[$m]; $zaehler[$m] = $i + 1; foreach ($a in $arme.Keys) { $plan["$a-m$m-s$i"] = @($a, $m, $i) } } $laeufe = @{} function Starte([string]$t) { $a, $m, $i = $plan[$t]; $aus = "$o\$t.jsonl"