Farm: jamprobe-allein mit -Commit/-Unter (Lauf 7c8765393 nach allein-7c8765393), kritischer Pfad erlaubt innovation-jamprobe-allein*
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
1ab2ce5a68
commit
6103b9a58d
@@ -1,25 +1,27 @@
|
||||
# innovation 05.12. abends: jamprobe-pool-allein (17437fe29 auf temperatur-uhr 0995aa844, nativ, Loeserkopie 0995aa84). Owner: nur die Jam-Probe in die naechste Fassung.
|
||||
# 0) Tor-8-Spec, 1) Bau, 2) A0 (Basis-Exe 0995aa84) und A (allein ohne Pool) auf ein-vorflop, bitgleich erwartet, 3) B (mit Pool), 4) Liste. Sidecar/uebergross entfallen.
|
||||
# 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).
|
||||
param([string]$Commit = '17437fe29', [string]$Unter = '') # 05.12.: -Commit 7c8765393 -Unter allein-7c8765393 (Ausgaben in einem Unterordner, Eingaben bleiben in <P>)
|
||||
$ErrorActionPreference = 'Continue'
|
||||
if (Test-Path 'D:\Projects\pokerfreak\scratch\laeufer.pid') { 'SPIELT'; exit 2 }
|
||||
$bauOrt = 'C:\pf-arbeit\pf-jamprobe-allein-17437fe29'
|
||||
$bauOrt = "C:\pf-arbeit\pf-jamprobe-allein-$Commit"
|
||||
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-0995aa84"' | Set-Content $tomlPfad -Encoding utf8
|
||||
Push-Location "$bauOrt\entscheiden\motor"; cargo build --release --locked -j 16 --bin motor 2>&1 | Select-Object -Last 1; $bauRc = $LASTEXITCODE; Pop-Location
|
||||
if ($bauRc -ne 0) { "BAU fehlgeschlagen $bauRc"; exit 1 }
|
||||
$P = 'D:\Projects\pokerfreak-daten\innovation\jamprobe_pool'; $D = 'D:\Projects\pokerfreak-daten\grundstrategie-mitzaehler'; $A = 'D:\Projects\pokerfreak-daten\pruefstand\basis-rein'; $O = 'D:\Projects\pokerfreak-daten\innovation\vorflop_selbst'
|
||||
$exePfad = "$P\pokerbench-jamprobe-allein-17437fe29.exe"; $basisExe = 'D:\Projects\pf-temperatur\pokerbench-temperatur-uhr-0995aa84.exe'
|
||||
$Aus = $(if ($Unter) { "$P\$Unter" } else { $P }); New-Item -ItemType Directory -Force $Aus | Out-Null
|
||||
$exePfad = "$P\pokerbench-jamprobe-allein-$Commit.exe"; $basisExe = 'D:\Projects\pf-temperatur\pokerbench-temperatur-uhr-0995aa84.exe'
|
||||
if (Test-Path $exePfad) { "EXE vorhanden, nicht ueberschrieben" } else { Copy-Item "$bauOrt\entscheiden\motor\target\release\motor.exe" $exePfad }
|
||||
"EXE $exePfad SHA256 " + (Get-FileHash $exePfad).Hash; "EXE basis $basisExe SHA256 " + (Get-FileHash $basisExe).Hash
|
||||
$pool = "$P\jamprobe-pool-v2.txt"; "POOL " + (Get-FileHash $pool).Hash
|
||||
$tafel = 'D:\Projects\pokerfreak-daten\einsatzstaerke\einsatzstaerke-v3.txt'; "TAFEL $tafel " + (Get-FileHash $tafel).Hash
|
||||
$ziele = @("$P\tor8-faelle.tsv", "$P\aus-A0.jsonl", "$P\aus-A.jsonl", "$P\aus-B.jsonl", "$P\jamprobe-pool-liste.tsv", "$P\jamprobe-pool-summen.json")
|
||||
$ziele = @("$Aus\tor8-faelle.tsv", "$Aus\aus-A0.jsonl", "$Aus\aus-A.jsonl", "$Aus\aus-B.jsonl", "$Aus\jamprobe-pool-liste.tsv", "$Aus\jamprobe-pool-summen.json")
|
||||
foreach ($f in $ziele) { if ((Test-Path $f) -and (Get-Item $f).Length -gt 0) { "ZIEL $f existiert mit Inhalt - Abbruch (nichts ueberschreiben)"; exit 3 } }
|
||||
'=================== Schritt 0: Tor-8-Spec'
|
||||
$t0 = Get-Date
|
||||
python -X utf8 "$bauOrt\lesen\vorflop\jamprobe_pool_tor8.py" $exePfad 'D:\Projects\pokerfreak-daten\grundstrategie-mitzaehler' $tafel $pool "aus=$P\tor8-faelle.tsv" 2>&1 | % { "$_" }
|
||||
python -X utf8 "$bauOrt\lesen\vorflop\jamprobe_pool_tor8.py" $exePfad 'D:\Projects\pokerfreak-daten\grundstrategie-mitzaehler' $tafel $pool "aus=$Aus\tor8-faelle.tsv" 2>&1 | % { "$_" }
|
||||
"RUECKGABE tor8 $LASTEXITCODE nach $([math]::Round(((Get-Date) - $t0).TotalMinutes, 2)) min (1 = Spec verletzt, es geht trotzdem weiter)"
|
||||
function Starte([string]$name, [string]$aufrufArgs, [string]$ausDatei, [string]$fehlerDatei, [string]$einDatei = '') {
|
||||
"=================== ${name}: $aufrufArgs" + $(if ($einDatei) { " < $einDatei" } else { '' })
|
||||
@@ -45,15 +47,15 @@ $umgA = @{ R0 = '1'; MOTOR_RAKE_REGEL = '1'; MOTOR_VORFLOP_ALLIN = '1'; MOTOR_VO
|
||||
$umgB = $umgA.Clone(); $umgB.MOTOR_JAMPROBE_POOL = $pool
|
||||
$dienstArgs = "dienst sechs100 $D 2000-600-400 200 $D\sechs100-v2.bin genau `"hu=$D\hu100-v1.bin,$D\hu200-v2.bin`""
|
||||
$exeAllein = $exePfad
|
||||
Setze $umgA; $exePfad = $basisExe; $rcA0 = Letzt @(Starte 'A0' $dienstArgs "$P\aus-A0.jsonl" "$P\aus-A0.err.txt" "$P\ein-vorflop.jsonl")
|
||||
$exePfad = $exeAllein; $rcA = Letzt @(Starte 'A' $dienstArgs "$P\aus-A.jsonl" "$P\aus-A.err.txt" "$P\ein-vorflop.jsonl")
|
||||
Setze $umgB; $rcB = Letzt @(Starte 'B' $dienstArgs "$P\aus-B.jsonl" "$P\aus-B.err.txt" "$P\ein-vorflop.jsonl")
|
||||
Setze $umgA; $exePfad = $basisExe; $rcA0 = Letzt @(Starte 'A0' $dienstArgs "$Aus\aus-A0.jsonl" "$Aus\aus-A0.err.txt" "$P\ein-vorflop.jsonl")
|
||||
$exePfad = $exeAllein; $rcA = Letzt @(Starte 'A' $dienstArgs "$Aus\aus-A.jsonl" "$Aus\aus-A.err.txt" "$P\ein-vorflop.jsonl")
|
||||
Setze $umgB; $rcB = Letzt @(Starte 'B' $dienstArgs "$Aus\aus-B.jsonl" "$Aus\aus-B.err.txt" "$P\ein-vorflop.jsonl")
|
||||
'=================== Bitgleich A0 (Basis 0995aa84) gegen A (allein ohne Pool)'
|
||||
python -X utf8 D:\Projects\pf-jp-vergleich.py "$P\aus-A0.jsonl" "$P\aus-A.jsonl"
|
||||
python -X utf8 D:\Projects\pf-jp-vergleich.py "$Aus\aus-A0.jsonl" "$Aus\aus-A.jsonl"
|
||||
'=================== A gegen B'
|
||||
python -X utf8 D:\Projects\pf-jp-vergleich.py "$P\aus-A.jsonl" "$P\aus-B.jsonl"
|
||||
python -X utf8 D:\Projects\pf-jp-vergleich.py "$Aus\aus-A.jsonl" "$Aus\aus-B.jsonl"
|
||||
'=================== Liste'
|
||||
$t0 = Get-Date
|
||||
python -X utf8 "$bauOrt\lesen\vorflop\jamprobe_pool_liste.py" vergleichen "$P\ein-vorflop.idx" "$P\aus-A.jsonl" "$P\aus-B.jsonl" "$A\ref.jsonl" "$P\jamprobe-pool-liste.tsv" "$P\jamprobe-pool-summen.json" 2>&1 | % { "$_" }
|
||||
python -X utf8 "$bauOrt\lesen\vorflop\jamprobe_pool_liste.py" vergleichen "$P\ein-vorflop.idx" "$Aus\aus-A.jsonl" "$Aus\aus-B.jsonl" "$A\ref.jsonl" "$Aus\jamprobe-pool-liste.tsv" "$Aus\jamprobe-pool-summen.json" 2>&1 | % { "$_" }
|
||||
"RUECKGABE liste $LASTEXITCODE nach $([math]::Round(((Get-Date) - $t0).TotalMinutes, 2)) min"
|
||||
foreach ($f in $ziele + @("$P\aus-A0.err.txt", "$P\aus-A.err.txt", "$P\aus-B.err.txt")) { if (Test-Path $f) { $g = Get-Item $f; "DATEI $f $($g.Length) " + (Get-FileHash $f).Hash.Substring(0,16) } else { "FEHLT $f" } }
|
||||
foreach ($f in $ziele + @("$Aus\aus-A0.err.txt", "$Aus\aus-A.err.txt", "$Aus\aus-B.err.txt")) { if (Test-Path $f) { $g = Get-Item $f; "DATEI $f $($g.Length) " + (Get-FileHash $f).Hash.Substring(0,16) } else { "FEHLT $f" } }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# 05.12. main/Owner: Farm nur fuer den kritischen Pfad der Live-Fassung. Alles andere manuell anhalten bzw. halten (fortsetzbar, nichts beendet).
|
||||
$Q = 'D:\Projects\pf-batterie\messung\farm\schlange'
|
||||
$grund = 'manuell farm 05.12. ' + (Get-Date -Format 'HH:mm') + ': Owner - Farm nur kritischer Pfad (exakt-Bau 3e88ab53/Flop-Fenster, jamprobe-allein, temperatur, sim-gekauft); fortsetzen durch farm nach Freigabe'
|
||||
function Erlaubt([string]$id) { $id -match '^(flop-fenster-.*3e88ab53|innovation-jamprobe-allein|motor-pi-aus-pruefung|temperatur-uhr-0995-.*|sim-?gekauft.*|simpool.*)$' }
|
||||
function Erlaubt([string]$id) { $id -match '^(flop-fenster-.*3e88ab53|innovation-jamprobe-allein.*|motor-pi-aus-pruefung|temperatur-uhr-0995-.*|sim-?gekauft.*|simpool.*)$' }
|
||||
$rang = @{ 'flop-fenster' = -10; 'innovation' = -9; 'motor-pi' = -8; 'temperatur' = -8; 'sim-gekauft' = -7 }
|
||||
foreach ($f in Get-ChildItem "$Q\laufend" -Filter *.json) {
|
||||
$id = $f.BaseName
|
||||
|
||||
Reference in New Issue
Block a user