Nachtfolge 6: NL2-Pruefung mit der Live-Fassung, GPU-Turn-Zeiten allein im ruhigen Fenster (nach dem Dienst-Update)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Nach 0212n: NL2-Pruefung (Live-Zeile ohne MOTOR_NL2 gegen Live-Zeile, Exe der Live-Fassung) und GPU-Turn-Zeiten allein (im ruhigen Fenster).
|
||||
$f = 'D:\Projects\pf-batterie\messung\farm'; $w = "$f\nacht-0112\werkzeuge"; $py = (Get-Command python).Source; $log = "$f\nacht6.log"
|
||||
function Log($x) { Add-Content -Path $log -Value ((Get-Date -Format 'HH:mm:ss') + ' ' + $x) -Encoding UTF8 }
|
||||
function Spielt { (Test-Path 'D:\Projects\pokerfreak\.claude\worktrees\engine-lecks-angreifen-de7b88\betrieb\scratch\laeufer.pid') -or [bool](Get-CimInstance Win32_Process | ? { "$($_.CommandLine)" -match 'runner\.py' }) }
|
||||
function WarteFrei { $r = 0; while ($r -lt 2) { if (Spielt) { $r = 0 } else { $r++ }; Start-Sleep 15 } }
|
||||
Log 'wartet auf das Ende der Kette 0212n'
|
||||
while (-not (Select-String -Path "$f\fassung-alles0212n\kette.log" -Pattern '=== FERTIG|ROT:' -Quiet -EA 0)) { Start-Sleep 30 }
|
||||
WarteFrei
|
||||
$live = 'D:\Projects\pokerfreak\.claude\worktrees\engine-lecks-angreifen-de7b88\betrieb\kern_schalter.txt'
|
||||
$exe = ((Select-String -Path $live -Pattern '^AB_SPOT_EXE=(.+)$').Matches[0].Groups[1].Value).Trim()
|
||||
Log "NL2: Live-Datei $((Get-FileHash $live).Hash.Substring(0,16)), Exe $(Split-Path -Leaf $exe)"
|
||||
& $py -X utf8 "$w\farm_zeilen_vergleich.py" $exe "$f\fassung-alles0212j\nl2c" 'MOTOR_NL2=-' 'MOTOR_FARM_PROBE=1' --faeden 8 2>&1 | % { Log " $_" }
|
||||
Log 'NL2 FERTIG'
|
||||
WarteFrei
|
||||
$h = "$f\fassung-alles0212h"
|
||||
$b = "set FARM_SCHALTER_DATEI=$h\kern_schalter-alles0212h-6fbc270b.txt&& `"$py`" -X utf8 $w\farm_gpu_turn_zeit.py D:\Projects\pokerfreak\entscheiden\motor\target\pokerbench-motor-alles0212h-6fbc270b.exe $h\gpu-turn-zeit2.json --n 6000"
|
||||
& powershell -NoProfile -ExecutionPolicy Bypass -File D:\Projects\pokerfreak\scratch\farm-ruhe.ps1 -Befehl $b -Aus "$h\gpu-turn-zeit2.log" 2>&1 | % { Log " ruhe: $_" }
|
||||
Get-Content "$h\gpu-turn-zeit2.log" | % { Log " $_" }
|
||||
Log 'NACHT6 ENDE'
|
||||
Reference in New Issue
Block a user