diff --git a/messung/farm/allinprobe/allinprobe-pfad.ps1 b/messung/farm/allinprobe/allinprobe-pfad.ps1 index 0d6a6bca..54bd8cb3 100644 --- a/messung/farm/allinprobe/allinprobe-pfad.ps1 +++ b/messung/farm/allinprobe/allinprobe-pfad.ps1 @@ -1,7 +1,7 @@ # 05.12. 20:3x Owner/main: Farm nur noch fuer A0 + All-in-Probe. Alles andere halten (wartend .halten, laufend PAUSE manuell), nichts loeschen. $Q = 'D:\Projects\pf-batterie\messung\farm\schlange' $grund = 'manuell farm 05.12. ' + (Get-Date -Format 'HH:mm') + ': Owner - Farm nur fuer A0 + All-in-Probe; fortsetzen nach Freigabe main' -function Erlaubt([string]$id) { $id -match '^(allinprobe-.*|bitgleich-.*|innovation-vorflop-werte|innovation-vorflopselbst-fehler|mehrweg-bibtx-.*|simpool-B-.*|turnrange-.*)$' } +function Erlaubt([string]$id) { $id -match '^(allinprobe-.*|bitgleich-.*|innovation-vorflop-werte|innovation-allintafel(-probe)?|innovation-vorflopselbst-fehler|mehrweg-bibtx-.*|simpool-B-.*|turnrange-.*)$' } foreach ($f in Get-ChildItem "$Q\laufend" -Filter *.json) { $id = $f.BaseName if (Erlaubt $id) { continue } diff --git a/messung/farm/bitgleich/reihenfolge.ps1 b/messung/farm/bitgleich/reihenfolge.ps1 index 67274f44..2a73de72 100644 --- a/messung/farm/bitgleich/reihenfolge.ps1 +++ b/messung/farm/bitgleich/reihenfolge.ps1 @@ -15,6 +15,7 @@ function Rang([string]$id) { elseif ($id -match '^bitgleich-bayes') { $r = -20 } elseif ($id -match '^allinprobe-absturz') { $r = -22 } elseif ($id -match '^mehrweg-bibtx-') { $r = -19 } # Owner: Bibliothek tx in der Nacht vor Klasse 5, hinter Klasse 1-4 + elseif ($id -match '^innovation-allintafel') { $r = -31 } # innovation 05.12.: direkt nach innovation-vorflop-werte (-31 Arm), vor vorflopselbst-fehler elseif ($id -match '^turnrange-') { $r = -18 } # gedaechtnis2 05.12.: Beleg vor Merge Schritt 5, hinter den Toren und hinter der Bibliothek tx (Owner-Nachtlauf) if ($null -eq $r) { return $null } if ($id -match '-bau-') { $r } else { $r + 1 } diff --git a/messung/farm/innovation/vs-allintafel.ps1 b/messung/farm/innovation/vs-allintafel.ps1 new file mode 100644 index 00000000..45d2fc07 --- /dev/null +++ b/messung/farm/innovation/vs-allintafel.ps1 @@ -0,0 +1,43 @@ +# innovation 05.12. spaet: VALLIN01-All-in-Tafel (Ersatz Regel D), claude/vorflop-allin-tafel 1a328b28d, FARM-AUFTRAG-ALLIN-TAFEL.txt auf der SSD. +# -Probe: bauen, Tests, Zaehlen (Erwartung 14285 Knoten / 600297 Paare), dann jede=100 mit vollen Parametern in einen Scratch-Ordner -> Zeit je Knoten. +# ohne -Probe: der volle Lauf (fortsetzbar ueber .teil-NNNN; derselbe Befehl setzt fort; Ziel wird nie ueberschrieben). +param([switch]$Probe) +$ErrorActionPreference = 'Continue' +if (Test-Path 'D:\Projects\pokerfreak\scratch\laeufer.pid') { 'SPIELT'; exit 2 } +$commit = '1a328b28d7b43797f76b12ff89be29cf0c6eeeca'; $bauOrt = 'C:\pf-arbeit\pf-vorflop-allin-tafel-1a328b28' +if (-not (Test-Path "$bauOrt\entscheiden\motor\Cargo.toml")) { New-Item -ItemType Directory -Force $bauOrt | Out-Null; tar -xf "$bauOrt.tar" -C $bauOrt } +"-- COMMIT $commit; .cargo/config.toml: " + (Test-Path "$bauOrt\.cargo\config.toml") + " " + ((Get-Content "$bauOrt\.cargo\config.toml" -EA 0) -join ' ') +$E = "$bauOrt\pokerbench-innovation-allintafel.exe" +if (-not (Test-Path $E)) { + Push-Location "$bauOrt\entscheiden\motor" + cargo build -j 4 --release --bin motor 2>&1 | Select-Object -Last 2; $bauRc = $LASTEXITCODE + if ($bauRc -ne 0) { Pop-Location; "BAU fehlgeschlagen $bauRc"; exit 1 } + foreach ($t in 'vorflop_allin_tafel', 'vorflop_selbst_br_nach') { cargo test -j 4 --release $t 2>&1 | Select-String 'test result' | % { "TEST $t $_" } } + Pop-Location + Copy-Item "$bauOrt\entscheiden\motor\target\release\motor.exe" $E +} +"EXE $E SHA256 " + (Get-FileHash $E).Hash +$G = 'D:\Projects\pokerfreak-daten\grundstrategie-mitzaehler'; $O = 'D:\Projects\pokerfreak-daten\innovation\vorflop_werte' +$env:R0 = '1'; $env:MOTOR_ALLIN_UEBERSETZUNG = '1'; $env:MOTOR_RAKE_REGEL = '1' +$P = 'faeden=16', 'n_max=4096', 'n_wahl=4096', 'rmin=0.02' +if ($Probe) { + $S = 'C:\pf-arbeit\allintafel-probe'; New-Item -ItemType Directory -Force $S | Out-Null + if (-not (Test-Path "$O\vorflop-allin-v1.zaehlen.log")) { + & $E vorflop-allin-tafel-bauen sechs100 $G 2000-600-400 200 "$G\sechs100-v2.bin" "$O\vorflop-allin-v1.vallin" nur_zaehlen=1 @P rate=335000 *> "$O\vorflop-allin-v1.zaehlen.log" + "ZAEHLEN rc $LASTEXITCODE" + } + Get-Content "$O\vorflop-allin-v1.zaehlen.log" | Select-String 'all-in nodes|total|Ausspiel|rollout' | % { "ZAEHLEN $_" } + $ziel = "$S\probe-jede100.vallin"; if (Test-Path $ziel) { "PROBE-ZIEL existiert - Abbruch"; exit 3 } + & $E vorflop-allin-tafel-bauen sechs100 $G 2000-600-400 200 "$G\sechs100-v2.bin" "$S\probe-jede100.vallin" nur_zaehlen=1 jede=100 @P rate=335000 *> "$S\probe-jede100.zaehlen.log" + Get-Content "$S\probe-jede100.zaehlen.log" | Select-String 'all-in nodes|total' | % { "PROBE-ZAEHLEN $_" } + $t0 = Get-Date + & $E vorflop-allin-tafel-bauen sechs100 $G 2000-600-400 200 "$G\sechs100-v2.bin" $ziel jede=100 @P saat_a=24091 saat_b=41665 saat_c=49374 modus=tafel stand=1a328b28d *> "$S\probe-jede100.log" + "PROBE rc $LASTEXITCODE nach $([math]::Round(((Get-Date) - $t0).TotalMinutes, 2)) min" + Get-Content "$S\probe-jede100.log" -Tail 6 | % { "PROBE $_" } + exit 0 +} +if (Test-Path "$O\vorflop-allin-v1.vallin") { "ZIEL $O\vorflop-allin-v1.vallin existiert - nichts zu tun"; exit 0 } +$t0 = Get-Date +& $E vorflop-allin-tafel-bauen sechs100 $G 2000-600-400 200 "$G\sechs100-v2.bin" "$O\vorflop-allin-v1.vallin" @P saat_a=24091 saat_b=41665 saat_c=49374 modus=tafel stand=1a328b28d *>> "$O\vorflop-allin-v1.log" +"LAUF rc $LASTEXITCODE nach $([math]::Round(((Get-Date) - $t0).TotalMinutes, 1)) min" +Get-Content "$O\vorflop-allin-v1.log" -Tail 4