From 74335a8d7eebbff1d934f8a707d2f2d9b21a946f Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sat, 5 Dec 2026 22:14:36 +0100 Subject: [PATCH] Farm: innovation-vorflop-werte (a7770350a) vorbereitet, gehalten bis nach den live-stand-Toren Co-Authored-By: Claude Opus 5.5 --- messung/farm/innovation/vs-werte.ps1 | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 messung/farm/innovation/vs-werte.ps1 diff --git a/messung/farm/innovation/vs-werte.ps1 b/messung/farm/innovation/vs-werte.ps1 new file mode 100644 index 00000000..2f2981e1 --- /dev/null +++ b/messung/farm/innovation/vs-werte.ps1 @@ -0,0 +1,31 @@ +# innovation 05.12. (Klasse 5 hinter den Toren des live-stand): vorflop-selbst-werte, claude/vorflop-werte a7770350a, nativ mit .cargo (FARM-AUFTRAG.txt auf der SSD) +$ErrorActionPreference = 'Continue' +if (Test-Path 'D:\Projects\pokerfreak\scratch\laeufer.pid') { 'SPIELT'; exit 2 } +$bauOrt = 'C:\pf-arbeit\pf-vorflopwerte-a7770350a' +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") +Push-Location "$bauOrt\entscheiden\motor" +cargo build -j 8 --release --bin motor 2>&1 | Select-Object -Last 2; $bauRc = $LASTEXITCODE +cargo test -j 8 --release vorflop_selbst_werte 2>&1 | Select-String 'test result|passed|failed' | % { "TEST $_" }; $testRc = $LASTEXITCODE +Pop-Location +if ($bauRc -ne 0) { "BAU fehlgeschlagen $bauRc"; exit 1 } +$E = "$bauOrt\pokerbench-innovation-vorflopwerte.exe"; if (-not (Test-Path $E)) { Copy-Item "$bauOrt\entscheiden\motor\target\release\motor.exe" $E } +"EXE $E SHA256 " + (Get-FileHash $E).Hash; "TEST rc $testRc" +$G = 'D:\Projects\pokerfreak-daten\grundstrategie-mitzaehler'; $O = 'D:\Projects\pokerfreak-daten\innovation\vorflop_werte' +foreach ($f in 'abb-4-lagen.jsonl', 'abb-13-jams.jsonl', 'aus-4-lagen-suche.jsonl', 'aus-13-jams-suche.jsonl', 'aus-4-lagen-tafel.jsonl', 'aus-13-jams-tafel.jsonl') { if (Test-Path "$O\$f") { "ZIEL $O\$f existiert - Abbruch"; exit 3 } } +$env:R0 = '1'; $env:MOTOR_ALLIN_UEBERSETZUNG = '1'; $env:MOTOR_RAKE_REGEL = '1' +'=================== Abbildung (nur_abbilden=1)' +foreach ($n in '4-lagen', '13-jams') { + & $E vorflop-selbst-werte sechs100 $G 2000-600-400 200 "$G\sechs100-v2.bin" "$O\ein-$n.jsonl" "$O\abb-$n.jsonl" nur_abbilden=1 faeden=1 2>&1 | % { "$_" } + "RUECKGABE abb-$n $LASTEXITCODE" + $z = @(Get-Content "$O\abb-$n.jsonl" | % { $_ | ConvertFrom-Json }); "ABB $n : $($z.Count) Zeilen, treu " + @($z | ? { $_.treu -eq $true }).Count +} +$D = '0.031883,0.022297,0.009544,0.018588' +foreach ($m in 'suche', 'tafel') { + foreach ($n in '4-lagen', '13-jams') { + "=================== $m $n"; $t0 = Get-Date + & $E vorflop-selbst-werte sechs100 $G 2000-600-400 200 "$G\sechs100-v2.bin" "$O\ein-$n.jsonl" "$O\aus-$n-$m.jsonl" faeden=16 n_max=4096 modus=$m delta=$D tau_ref2=0 *> "$O\aus-$n-$m.log" + "RUECKGABE $m $n $LASTEXITCODE nach $([math]::Round(((Get-Date) - $t0).TotalMinutes, 1)) min" + } +} +Get-ChildItem $O | % { $_.Name + ' ' + $_.Length }