From ebd8459b46c2460b1c1f0fcd182ff92b51f810b4 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sat, 5 Dec 2026 18:48:22 +0100 Subject: [PATCH] Farm: Nacht-Duplikat fuer beide Fassungen (86911151 flopbib-uhr, b263403f kurve-jampool) gepaart mit gemeinsamem Antwortspeicher (-CacheOrt) Co-Authored-By: Claude Opus 5.5 --- messung/farm/abend-0512/nacht-duplikat.ps1 | 29 ++++++++++--------- .../farm/pokerbench-temperatur-duplikat.ps1 | 4 +-- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/messung/farm/abend-0512/nacht-duplikat.ps1 b/messung/farm/abend-0512/nacht-duplikat.ps1 index 70ddd471..98568ff0 100644 --- a/messung/farm/abend-0512/nacht-duplikat.ps1 +++ b/messung/farm/abend-0512/nacht-duplikat.ps1 @@ -1,17 +1,20 @@ -# Owner 05.12. (Nacht, Laeufer aus): Pflicht-Benchmark "Fassung minus SHARINGAN" je Aufstellung (1v5, 3v3, 5v1) - tiefes Duplikat gegen SHARINGAN B -# mit voller Suche, Live-Frist (TISCH_FRIST_DATEI, tisch6.py aus abnahme-bench c5336aba6), Antwortspeicher, Basis 2a0b655f, Ziel 6000 gepaarte Blaetter. -# Kandidat = die dann live liegende Fassung: Kennung in C:\pf-arbeit\abend\nacht-kandidat.txt (z. B. b263403f; Schalter pruefstand\temperatur-uhr-\kern_schalter.txt). +# Owner/main 05.12. (Nacht, Laeufer aus): Pflicht-Benchmark "Fassung minus SHARINGAN" je Aufstellung (1v5, 3v3, 5v1) - tiefes Duplikat gegen SHARINGAN B, +# volle Suche, Rake, 32-Bit-Saaten, Ausbeute-Schichten aus, Live-Frist (TISCH_FRIST_DATEI, tisch6.py aus abnahme-bench c5336aba6), Basis 2a0b655f, Ziel je Fassung 6000. +# Beide Fassungen gepaart auf denselben Blaettern und Saaten (gleiche Saat/Tischliste), gemeinsamer Antwortspeicher (der Basis-Arm des zweiten Laufs liest ihn): +# Fassung 1 flopbib-uhr 86911151 (Schalter 4522CBE6 = messung/live/flopbib_uhr), Fassung 2 kurve-jampool b263403f (Schalter 320F0DEB = messung/live/kurve_jampool). $ErrorActionPreference = 'Continue' if (Test-Path 'D:\Projects\pokerfreak\scratch\laeufer.pid') { 'SPIELT'; exit 2 } -$kDatei = 'C:\pf-arbeit\abend\nacht-kandidat.txt' -if (-not (Test-Path $kDatei)) { "KEIN KANDIDAT: $kDatei fehlt"; exit 4 } -$K = (Get-Content $kDatei | Select-Object -First 1).Trim(); $sch = "D:\Projects\pokerfreak-daten\pruefstand\temperatur-uhr-$K\kern_schalter.txt" -if (-not (Test-Path $sch)) { "KEIN SCHALTER $sch"; exit 4 } -"KANDIDAT $K SCHALTER " + (Get-FileHash $sch).Hash +$soll = @{ '86911151' = '4522CBE6897A0012F289CD59F803769078B118FF5E3CB0E439C14794AF15A2E5'; 'b263403f' = '320F0DEBB669B092A80F643EDF6D32BEA11FE3A9E2B86EC07FB7E770647FC7F2' } +foreach ($K in $soll.Keys) { $h = (Get-FileHash "D:\Projects\pokerfreak-daten\pruefstand\temperatur-uhr-$K\kern_schalter.txt").Hash; "SCHALTER $K $h"; if ($h -ne $soll[$K]) { "SHA ABWEICHEND $K"; exit 5 } } $z = 'C:\pf-arbeit\pf-abnahme-c5336aba6' if (-not (Test-Path "$z\messung\pruef\tisch6.py")) { New-Item -ItemType Directory -Force $z | Out-Null; tar -xf "$z.tar" -C $z } -& D:\Projects\pf-batterie\messung\farm\pokerbench-temperatur-duplikat.ps1 -Kandidat $K -Etikett '-nacht6000' -Minuten 720 -Tischliste '1,3,5,1,3,5,1,3,5,1,3,5' -Cache -Ziel 6000 -Fortsetzen ` - -PruefOrt "$z\messung\pruef" -FristDatei 'D:\Projects\pokerfreak-daten\pruefstand\temperatur-uhr-86911151\frist-verteilung-0412.json' -BelegName 'duplikat-sharingan-b-nacht6000.json' -$rc = $LASTEXITCODE; "RUECKGABE duplikat $rc" -Get-Content "D:\Projects\pf-batterie\messung\farm\temperatur-$K-tor3-nacht6000\kette.log" -Tail 5 -exit $rc +$cache = 'D:\Projects\pf-batterie\messung\farm\nacht-0512-sh-cache' +$rcs = @() +foreach ($K in '86911151', 'b263403f') { + "=================== Fassung $K" + & D:\Projects\pf-batterie\messung\farm\pokerbench-temperatur-duplikat.ps1 -Kandidat $K -Etikett '-nacht6000' -Minuten 720 -Tischliste '1,3,5,1,3,5,1,3,5,1,3,5' -Cache -CacheOrt $cache -Ziel 6000 -Fortsetzen ` + -PruefOrt "$z\messung\pruef" -FristDatei 'D:\Projects\pokerfreak-daten\pruefstand\temperatur-uhr-86911151\frist-verteilung-0412.json' -BelegName 'duplikat-sharingan-b-nacht6000.json' + $rcs += $LASTEXITCODE; "RUECKGABE duplikat $K $LASTEXITCODE" + Get-Content "D:\Projects\pf-batterie\messung\farm\temperatur-$K-tor3-nacht6000\kette.log" -Tail 4 +} +exit ($rcs | Measure-Object -Maximum).Maximum diff --git a/messung/farm/pokerbench-temperatur-duplikat.ps1 b/messung/farm/pokerbench-temperatur-duplikat.ps1 index 95bb0859..a2908fb9 100644 --- a/messung/farm/pokerbench-temperatur-duplikat.ps1 +++ b/messung/farm/pokerbench-temperatur-duplikat.ps1 @@ -5,7 +5,7 @@ # MOTOR_POOL_UNSERE: Wissen ueber echte Gegner; ausserdem schreibt so kein Simlauf in die Live-Gedaechtnisse). Alles andere der Zeile bleibt. # Beide Arme mit normalen Tafeln (grundstrategie-mitzaehler, ~9,5 GB je Motor), dieselben Tische und Saaten (32 Bit), Aufstellungen 1v5/3v3/5v1. # pokerbench-temperatur-duplikat.ps1 -Minuten 15 -Tischliste 1,1,1,3,3,3,5,5,5 (Hauptsession 05.12.: alle Tore zusammen hoechstens 15 min; fenster_min im Beleg) -param([string]$Kandidat = '86911151', [string]$Etikett = '', [int]$Minuten = 15, [string]$Tischliste = '1,1,3,5', [int]$Saat = 2026120400, [int]$Blaetter = 5000, [switch]$Fortsetzen, [int]$Ziel = 0, [switch]$Cache, [int]$MinFreiGB = 25, [int]$Abstand = 15, [switch]$OhneBeleg, [string]$ExeBasis = '', [string]$ExeKandidat = '', [string]$ZusatzZeile = '', [string]$PruefOrt = '', [string]$FristDatei = '', [string]$BelegName = 'duplikat-sharingan-b.json') +param([string]$Kandidat = '86911151', [string]$Etikett = '', [int]$Minuten = 15, [string]$Tischliste = '1,1,3,5', [int]$Saat = 2026120400, [int]$Blaetter = 5000, [switch]$Fortsetzen, [int]$Ziel = 0, [switch]$Cache, [int]$MinFreiGB = 25, [int]$Abstand = 15, [switch]$OhneBeleg, [string]$ExeBasis = '', [string]$ExeKandidat = '', [string]$ZusatzZeile = '', [string]$PruefOrt = '', [string]$FristDatei = '', [string]$BelegName = 'duplikat-sharingan-b.json', [string]$CacheOrt = '') $f = 'D:\Projects\pf-batterie\messung\farm'; $o = "$f\temperatur-$Kandidat-tor3$Etikett"; New-Item -ItemType Directory -Force $o | Out-Null; $log = "$o\kette.log" Set-Content "$o\STARTER.pid" $PID function Log($t) { Add-Content -Path $log -Value ((Get-Date -Format 'HH:mm:ss') + ' ' + $t) -Encoding UTF8 } @@ -16,7 +16,7 @@ if ($FristDatei) { $env:TISCH_FRIST_DATEI = $FristDatei } # Live-Frist je Anfr $D = 'D:/Projects/pokerfreak-daten/grundstrategie-mitzaehler' $P6 = 'D:/Projects/pokerfreak/.claude/worktrees/motor-pruef6-3b22d4/messung/motor/pruef6/sharingan'; $shOrdner = 'D:/pokerfreak-fremd/sharingan' $sh = "py:$P6/sh6.py $shOrdner/code/target/serve/pokerbench-pruef6-sharingan.exe $shOrdner/weights/B-local-2e10.plcp $shOrdner/data/buckets-200 local --search-threads 1 --search-concurrency 1 --budget-ms 600000 --set iters=200000" -if ($Cache) { $sh = $sh.Replace("py:$P6/sh6.py", "py:$f/nacht-0112/werkzeuge/sh6c.py"); $env:SH_CACHE = "$o\sh-cache"; $env:SH6_PFAD = $P6; $env:SH_CACHE_PRUEF = '0.03' } +if ($Cache) { $sh = $sh.Replace("py:$P6/sh6.py", "py:$f/nacht-0112/werkzeuge/sh6c.py"); $env:SH_CACHE = $(if ($CacheOrt) { $CacheOrt } else { "$o\sh-cache" }); $env:SH6_PFAD = $P6; $env:SH_CACHE_PRUEF = '0.03' } $motorArgs = "dienst sechs100 $D 2000-600-400 200 $D/sechs100-v2.bin genau hu=$D/hu100-v1.bin,$D/hu200-v2.bin" $basisSchalter = 'D:\Projects\pokerfreak\scratch\basis-rein-temperatur\kern_schalter.txt' $kandSchalter = "D:\Projects\pokerfreak-daten\pruefstand\temperatur-uhr-$Kandidat\kern_schalter.txt"