From effa406da9e31ee7db1960375df8c677a3e69cb3 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sat, 5 Dec 2026 12:20:05 +0100 Subject: [PATCH] Farm: D: war voll (2,5 GB) - Bau-Baeume und Quell-Tars nach C:\pf-archiv bzw. C:\pf-arbeit verschoben (robocopy /MOVE, nichts geloescht), neue Bauten auf C: Co-Authored-By: Claude Opus 5.5 --- messung/farm/abnahme/tor8-probe.ps1 | 2 +- messung/farm/innovation/vs-br.ps1 | 2 +- messung/farm/innovation/vs-jamprobe.ps1 | 2 +- messung/farm/innovation/vs-uebergross.ps1 | 2 +- .../nacht-0112/werkzeuge/basis_rt2a_lr.ps1 | 18 +++++++++++++ .../farm/nacht-0112/werkzeuge/basis_rt_cc.ps1 | 18 +++++++++++++ .../farm/nacht-0112/werkzeuge/cc-proben.cmd | 10 ++++++++ messung/farm/schlange/platz-d-nach-c-0512.ps1 | 25 +++++++++++++++++++ 8 files changed, 75 insertions(+), 4 deletions(-) create mode 100644 messung/farm/nacht-0112/werkzeuge/basis_rt2a_lr.ps1 create mode 100644 messung/farm/nacht-0112/werkzeuge/basis_rt_cc.ps1 create mode 100644 messung/farm/nacht-0112/werkzeuge/cc-proben.cmd create mode 100644 messung/farm/schlange/platz-d-nach-c-0512.ps1 diff --git a/messung/farm/abnahme/tor8-probe.ps1 b/messung/farm/abnahme/tor8-probe.ps1 index e4cb1b08..19e58d61 100644 --- a/messung/farm/abnahme/tor8-probe.ps1 +++ b/messung/farm/abnahme/tor8-probe.ps1 @@ -1,7 +1,7 @@ # Farm 05.12.: Tor-8-Probe (Flop-Suche, claude/abnahme-bench 37819a333) auf 86911151: Slumbot + CFR-6max, drei Arme (mit ohne Frist), 15 min Spielzeit $ErrorActionPreference = 'Continue' if (Test-Path 'D:\Projects\pokerfreak\scratch\laeufer.pid') { 'SPIELT'; exit 2 } -$z = 'D:\Projects\pf-abnahme-37819a333' +$z = 'C:\pf-arbeit\pf-abnahme-37819a333' if (-not (Test-Path "$z\messung\fremd\fremd_tor.py")) { New-Item -ItemType Directory -Force $z | Out-Null; tar -xf "$z.tar" -C $z } $aus = 'D:\Projects\pokerfreak-daten\pruefstand\tor8-probe-86911151' if ((Test-Path $aus) -and (Get-ChildItem $aus).Count -gt 0) { "ZIEL $aus hat Inhalt - Abbruch"; exit 3 } diff --git a/messung/farm/innovation/vs-br.ps1 b/messung/farm/innovation/vs-br.ps1 index 94fed93b..f673d195 100644 --- a/messung/farm/innovation/vs-br.ps1 +++ b/messung/farm/innovation/vs-br.ps1 @@ -1,7 +1,7 @@ # innovation 05.12. (parallel zu uebergross: 16 Faeden): BR-Regel mit 6a293e400 (nativ): a) vergleich3 (Frist 3 h), b) bauen br=1 (nur bei a) Rueckgabe 0 und Zeile modus=suche), c) Archiv $ErrorActionPreference = 'Continue' if (Test-Path 'D:\Projects\pokerfreak\scratch\laeufer.pid') { 'SPIELT'; exit 2 } -$bauOrt = 'D:\Projects\pf-vorflopselbst-6a293e400' +$bauOrt = 'C:\pf-arbeit\pf-vorflopselbst-6a293e400' if (-not (Test-Path "$bauOrt\entscheiden\motor\Cargo.toml")) { New-Item -ItemType Directory -Force $bauOrt | Out-Null; tar -xf "$bauOrt.tar" -C $bauOrt } "-- .cargo/config.toml: " + (Test-Path "$bauOrt\.cargo\config.toml") $tomlPfad = "$bauOrt\entscheiden\motor\Cargo.toml"; (Get-Content $tomlPfad) -replace 'postflop-solver-temp"', 'postflop-solver-temp-4424eb91"' | Set-Content $tomlPfad -Encoding utf8 diff --git a/messung/farm/innovation/vs-jamprobe.ps1 b/messung/farm/innovation/vs-jamprobe.ps1 index c04a017c..da7296f9 100644 --- a/messung/farm/innovation/vs-jamprobe.ps1 +++ b/messung/farm/innovation/vs-jamprobe.ps1 @@ -2,7 +2,7 @@ # Einsatzstaerke-Tafel: D:\Projects\pokerfreak-daten\einsatzstaerke\einsatzstaerke-v3.txt (SHA 34C10643..., gleich der SSD-Datei pruefstand/einsatzstaerke/einsatzstaerke-v3.txt; unter pruefstand\ liegt sie auf Windows nicht). $ErrorActionPreference = 'Continue' if (Test-Path 'D:\Projects\pokerfreak\scratch\laeufer.pid') { 'SPIELT'; exit 2 } -$bauOrt = 'D:\Projects\pf-jamprobe-aaa71e15b' +$bauOrt = 'C:\pf-arbeit\pf-jamprobe-aaa71e15b' if (-not (Test-Path "$bauOrt\entscheiden\motor\Cargo.toml")) { New-Item -ItemType Directory -Force $bauOrt | Out-Null; tar -xf "$bauOrt.tar" -C $bauOrt } "-- .cargo/config.toml: " + (Test-Path "$bauOrt\.cargo\config.toml") $tomlPfad = "$bauOrt\entscheiden\motor\Cargo.toml"; (Get-Content $tomlPfad) -replace 'postflop-solver-temp"', 'postflop-solver-temp-4424eb91"' | Set-Content $tomlPfad -Encoding utf8 diff --git a/messung/farm/innovation/vs-uebergross.ps1 b/messung/farm/innovation/vs-uebergross.ps1 index f7581806..19e42445 100644 --- a/messung/farm/innovation/vs-uebergross.ps1 +++ b/messung/farm/innovation/vs-uebergross.ps1 @@ -3,7 +3,7 @@ param([string]$Delta = '', [string]$Suffix = '', [switch]$NurArchiv, [string]$Faeden = '8') $ErrorActionPreference = 'Continue' if (Test-Path 'D:\Projects\pokerfreak\scratch\laeufer.pid') { 'SPIELT'; exit 2 } -$bauOrt = 'D:\Projects\pf-vorflopuebergross-6c60a5c11' +$bauOrt = 'C:\pf-arbeit\pf-vorflopuebergross-6c60a5c11' if (-not (Test-Path "$bauOrt\entscheiden\motor\Cargo.toml")) { New-Item -ItemType Directory -Force $bauOrt | Out-Null; tar -xf "$bauOrt.tar" -C $bauOrt } "-- .cargo/config.toml: " + (Test-Path "$bauOrt\.cargo\config.toml") $tomlPfad = "$bauOrt\entscheiden\motor\Cargo.toml"; (Get-Content $tomlPfad) -replace 'postflop-solver-temp"', 'postflop-solver-temp-4424eb91"' | Set-Content $tomlPfad -Encoding utf8 diff --git a/messung/farm/nacht-0112/werkzeuge/basis_rt2a_lr.ps1 b/messung/farm/nacht-0112/werkzeuge/basis_rt2a_lr.ps1 new file mode 100644 index 00000000..0cc0892a --- /dev/null +++ b/messung/farm/nacht-0112/werkzeuge/basis_rt2a_lr.ps1 @@ -0,0 +1,18 @@ +# basis-rein-temperatur 2a0b655f (motor-uhr + Temperatur + frei_s), Fassung allein (MOTOR_ZEILE) (frist_rest_s 4,0 in Turn/River): Startprobe ab Kaltstart, Lastprobe 6 Prozesse ab Kaltstart, Strassen-Lage (Enthaltungen, notfall, ausbeute), betrieb.json (LASTREGEL_MOTOR=1) +$zielOrdner = 'D:\Projects\pokerfreak-daten\pruefstand\basis-rein-temperatur-2a0b655f-lr'; New-Item -ItemType Directory -Force $zielOrdner | Out-Null +$py = 'C:\Users\marcm\AppData\Local\Programs\Python313\python.exe'; $werkzeuge = 'D:\Projects\pokerfreak-daten\pruefstand\sharingan-splash-0312\werkzeuge' +foreach ($pidDatei in 'D:\Projects\pokerfreak\scratch\laeufer.pid', 'D:\Projects\pokerfreak\.claude\worktrees\engine-lecks-angreifen-de7b88\betrieb\scratch\laeufer.pid') { + if (Test-Path $pidDatei) { "SPIELT $pidDatei" | Set-Content "$zielOrdner\abbruch.txt"; exit 1 } } +$exeDatei = 'D:\Projects\pf-temperatur\pokerbench-temperatur-rein-2a0b655f.exe'; $schalterDatei = 'D:\Projects\pokerfreak\scratch\basis-rein-temperatur\kern_schalter.txt' +Set-Location $werkzeuge +& $py -X utf8 farm_hand_probe.py $exeDatei $schalterDatei 'D:\Projects\pokerfreak-daten\gedaechtnis2-live\strom.jsonl' "$zielOrdner\hand.json" *> "$zielOrdner\hand.txt" +& $py -X utf8 farm_rein_startprobe.py $exeDatei $schalterDatei "$zielOrdner\probe" --n 1000 --kalt --frist-rest 4.0 *> "$zielOrdner\probe.txt" +$os1 = Get-CimInstance Win32_OperatingSystem; $frei = [math]::Round($os1.FreePhysicalMemory / 1MB, 1); $belegt = [math]::Round(($os1.TotalVisibleMemorySize - $os1.FreePhysicalMemory) / 1MB, 1) +& $py -X utf8 farm_betrieb_json.py "$zielOrdner\probe" (Get-FileHash $schalterDatei).Hash (Get-FileHash $exeDatei).Hash $frei $belegt *> "$zielOrdner\betrieb.txt" +& $py -X utf8 farm_flop_exakt_lage.py "$zielOrdner\probe\antworten.json" *> "$zielOrdner\flop_exakt.txt" +& $py -X utf8 farm_lastprobe.py $exeDatei $schalterDatei "$zielOrdner\probe" "$zielOrdner\last6" --n 6 --kalt --strasse FLOP,TURN,RIVER --frist-rest 4.0 *> "$zielOrdner\last6.txt" +& $py -X utf8 farm_flop_exakt_lage.py "$zielOrdner\last6\antworten.json" *> "$zielOrdner\last6_flop_exakt.txt" +& $py -X utf8 farm_strassen_lage.py "$zielOrdner\probe\antworten.json" *> "$zielOrdner\strassen_lage.txt" +& $py -X utf8 farm_strassen_lage.py "$zielOrdner\probe\antworten.json" 4.0 *> "$zielOrdner\strassen_lage_frist4.txt" +& $py -X utf8 farm_strassen_lage.py "$zielOrdner\last6\antworten.json" 4.0 *> "$zielOrdner\last6_strassen_frist4.txt" +'FERTIG' | Set-Content "$zielOrdner\FERTIG" diff --git a/messung/farm/nacht-0112/werkzeuge/basis_rt_cc.ps1 b/messung/farm/nacht-0112/werkzeuge/basis_rt_cc.ps1 new file mode 100644 index 00000000..48088a71 --- /dev/null +++ b/messung/farm/nacht-0112/werkzeuge/basis_rt_cc.ps1 @@ -0,0 +1,18 @@ +# basis-rein-temperatur cc6eaf52 (Schalter-Kopie nach temperatur 05.12.): Startprobe Kaltstart, frist 4,0, Lastprobe, _hand, Strassen-Lage +$zielOrdner = 'D:\Projects\pokerfreak-daten\pruefstand\basis-rein-temperatur-cc6eaf52'; New-Item -ItemType Directory -Force $zielOrdner | Out-Null +$py = 'C:\Users\marcm\AppData\Local\Programs\Python313\python.exe'; $werkzeuge = 'D:\Projects\pokerfreak-daten\pruefstand\sharingan-splash-0312\werkzeuge' +foreach ($pidDatei in 'D:\Projects\pokerfreak\scratch\laeufer.pid', 'D:\Projects\pokerfreak\.claude\worktrees\engine-lecks-angreifen-de7b88\betrieb\scratch\laeufer.pid') { + if (Test-Path $pidDatei) { "SPIELT $pidDatei" | Set-Content "$zielOrdner\abbruch.txt"; exit 1 } } +$exeDatei = 'D:\Projects\pf-temperatur\pokerbench-temperatur-rein-cc6eaf52.exe'; $schalterDatei = 'D:\Projects\pokerfreak-daten\pruefstand\basis-rein-temperatur-cc6eaf52\kern_schalter.txt' +Set-Location $werkzeuge +& $py -X utf8 farm_hand_probe.py $exeDatei $schalterDatei 'D:\Projects\pokerfreak-daten\gedaechtnis2-live\strom.jsonl' "$zielOrdner\hand.json" *> "$zielOrdner\hand.txt" +& $py -X utf8 farm_rein_startprobe.py $exeDatei $schalterDatei "$zielOrdner\probe" --n 1000 --kalt --frist-rest 4.0 *> "$zielOrdner\probe.txt" +$os1 = Get-CimInstance Win32_OperatingSystem; $frei = [math]::Round($os1.FreePhysicalMemory / 1MB, 1); $belegt = [math]::Round(($os1.TotalVisibleMemorySize - $os1.FreePhysicalMemory) / 1MB, 1) +& $py -X utf8 farm_betrieb_json.py "$zielOrdner\probe" (Get-FileHash $schalterDatei).Hash (Get-FileHash $exeDatei).Hash $frei $belegt *> "$zielOrdner\betrieb.txt" +& $py -X utf8 farm_flop_exakt_lage.py "$zielOrdner\probe\antworten.json" *> "$zielOrdner\flop_exakt.txt" +& $py -X utf8 farm_lastprobe.py $exeDatei $schalterDatei "$zielOrdner\probe" "$zielOrdner\last6" --n 6 --kalt --strasse FLOP,TURN,RIVER --frist-rest 4.0 *> "$zielOrdner\last6.txt" +& $py -X utf8 farm_flop_exakt_lage.py "$zielOrdner\last6\antworten.json" *> "$zielOrdner\last6_flop_exakt.txt" +& $py -X utf8 farm_strassen_lage.py "$zielOrdner\probe\antworten.json" *> "$zielOrdner\strassen_lage.txt" +& $py -X utf8 farm_strassen_lage.py "$zielOrdner\probe\antworten.json" 4.0 *> "$zielOrdner\strassen_lage_frist4.txt" +& $py -X utf8 farm_strassen_lage.py "$zielOrdner\last6\antworten.json" 4.0 *> "$zielOrdner\last6_strassen_frist4.txt" +'FERTIG' | Set-Content "$zielOrdner\FERTIG" diff --git a/messung/farm/nacht-0112/werkzeuge/cc-proben.cmd b/messung/farm/nacht-0112/werkzeuge/cc-proben.cmd new file mode 100644 index 00000000..41046b7c --- /dev/null +++ b/messung/farm/nacht-0112/werkzeuge/cc-proben.cmd @@ -0,0 +1,10 @@ +@echo off +rem temperatur 05.12.: Startprobe und Warteschlangen-Probe der Fassung cc6eaf52 (Schalter-Kopie 81004535), Laeufer d647bb1c5 +set W=D:\Projects\pokerfreak-daten\pruefstand\sharingan-splash-0312\werkzeuge +set A=D:\Projects\pokerfreak-daten\pruefstand\warteschlange +set E=D:\Projects\pf-temperatur\pokerbench-temperatur-rein-cc6eaf52.exe +set K=D:\Projects\pokerfreak-daten\pruefstand\basis-rein-temperatur-cc6eaf52\kern_schalter.txt +powershell -NoProfile -Command "(Get-FileHash %E%).Hash; (Get-FileHash %K%).Hash" +powershell -NoProfile -ExecutionPolicy Bypass -File D:\Projects\pokerfreak-daten\pruefstand\basis-0312\basis_rt_cc.ps1 +cd /d %W% +python -X utf8 farm_warteschlange.py D:\Projects\pf-schatten-d647bb1c %E% %K% %A%\live-20261204 2026-12-04 %A%\cc6eaf52-alle diff --git a/messung/farm/schlange/platz-d-nach-c-0512.ps1 b/messung/farm/schlange/platz-d-nach-c-0512.ps1 new file mode 100644 index 00000000..94c01253 --- /dev/null +++ b/messung/farm/schlange/platz-d-nach-c-0512.ps1 @@ -0,0 +1,25 @@ +# Farm 05.12. 12:0x (Hauptsession): Platz auf D: ohne Loeschen. Bau-Baeume und Quell-Tars nach C:\pf-archiv\ (robocopy /MOVE), Pruefung Anzahl/Groesse. +$ErrorActionPreference = 'Continue' +$ziel = 'C:\pf-archiv'; New-Item -ItemType Directory -Force $ziel | Out-Null +$log = "$ziel\verschoben-0512.log" +function Inhalt($p) { $f = Get-ChildItem $p -Recurse -File -Force -ErrorAction SilentlyContinue; "{0} Dateien {1:N0} Bytes" -f @($f).Count, (($f | Measure-Object Length -Sum).Sum) } +"vorher D: frei " + [math]::Round((Get-PSDrive D).Free / 1GB, 1) + " GB" | Tee-Object -FilePath $log -Append +$baeume = @(Get-ChildItem D:\Projects -Directory -Filter 'pf-temperatur-rein-*') + @(Get-ChildItem D:\Projects -Directory | ? { $_.Name -match '^pf-vorflopselbst-|^pf-vorflopuebergross-|^pf-aa-|^pf-b88a78a1d-nativ$' }) +foreach ($b in $baeume) { + $vorher = Inhalt $b.FullName + $dst = Join-Path $ziel $b.Name + robocopy $b.FullName $dst /E /MOVE /COPY:DAT /R:1 /W:1 /NFL /NDL /NJH /NJS /NP | Out-Null + $rc = $LASTEXITCODE + $nachher = Inhalt $dst + $rest = if (Test-Path $b.FullName) { 'Rest bleibt: ' + (Inhalt $b.FullName) } else { 'Quelle leer und entfernt' } + "{0}: robocopy {1} | vorher {2} | Ziel {3} | {4}" -f $b.Name, $rc, $vorher, $nachher, $rest | Tee-Object -FilePath $log -Append +} +$tarZiel = "$ziel\pf-temperatur-tars"; New-Item -ItemType Directory -Force $tarZiel | Out-Null +$behalten = @('temperatur-rein-86911151.tar', 'temperatur-rein-2a0b655f.tar') +foreach ($t in Get-ChildItem D:\Projects\pf-temperatur -File -Filter 'temperatur-rein-*.tar' | ? { $behalten -notcontains $_.Name }) { + $l = $t.Length; $h = (Get-FileHash $t.FullName).Hash + robocopy D:\Projects\pf-temperatur $tarZiel $t.Name /MOV /R:1 /W:1 /NFL /NDL /NJH /NJS /NP | Out-Null + $neu = Get-Item (Join-Path $tarZiel $t.Name) -ErrorAction SilentlyContinue + "{0}: {1} Bytes -> {2} Bytes, SHA gleich {3}, Quelle weg {4}" -f $t.Name, $l, $neu.Length, ((Get-FileHash $neu.FullName).Hash -eq $h), (-not (Test-Path $t.FullName)) | Tee-Object -FilePath $log -Append +} +"nachher D: frei " + [math]::Round((Get-PSDrive D).Free / 1GB, 1) + " GB, C: frei " + [math]::Round((Get-PSDrive C).Free / 1GB, 1) + " GB" | Tee-Object -FilePath $log -Append