Richter Farm: lauf.ps1 nimmt -Spots (fuer spots-dr)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Marc Mintel
2026-12-05 19:04:27 +01:00
co-authored by Claude Opus 5.5
parent bd0721dbbd
commit 05c245cb03
+5 -4
View File
@@ -8,19 +8,20 @@ param(
[int]$Teile = 2, [int]$Faeden = 4,
[string]$BasisExe = 'D:/Projects/pf-temperatur/pokerbench-temperatur-rein-2a0b655f.exe',
[string]$KandidatExe = 'D:/Projects/pf-temperatur/pokerbench-temperatur-rein-86911151.exe',
[string]$ZeileBasis = '', [string]$ZeileKandidat = ''
[string]$ZeileBasis = '', [string]$ZeileKandidat = '',
[string]$Spots = 'C:/pf-arbeit/richter-lock/spots'
)
$ErrorActionPreference = 'Continue'
if (Test-Path 'D:\Projects\pokerfreak\scratch\laeufer.pid') { 'SPIELT'; exit 2 }
$ort = "C:\pf-arbeit\pf-richterlock-$Sha"
$A = 'C:/pf-arbeit/richter-lock'
$exe = "$A/pokerbench-richterlock-werkzeug-$($Sha.Substring(0, 7)).exe"
foreach ($f in $exe, "$A/spots/spots.jsonl", "$A/spots/anfragen.jsonl", "$A/speicher-live-93b0ff8b/modell.json", "$A/spiegel-antwort.json") { if (-not (Test-Path $f)) { "FEHLT $f"; exit 3 } }
foreach ($f in $exe, "$Spots/spots.jsonl", "$Spots/anfragen.jsonl", "$A/speicher-live-93b0ff8b/modell.json", "$A/spiegel-antwort.json") { if (-not (Test-Path $f)) { "FEHLT $f"; exit 3 } }
if (-not $ZeileBasis) { $ZeileBasis = "$ort\entscheiden\motor\richter_lock\farm\zeile-basis-2a0b655f.txt" }
if (-not $ZeileKandidat) { $ZeileKandidat = "$ort\entscheiden\motor\richter_lock\farm\zeile-kandidat-86911151.txt" }
"WERKZEUG $exe SHA256 " + (Get-FileHash $exe).Hash
"SPOTS " + (Get-FileHash "$A/spots/spots.jsonl").Hash
"SPOTS " + (Get-FileHash "$Spots/spots.jsonl").Hash
python -X utf8 "$ort\entscheiden\motor\richter_lock\tor8.py" --basis-exe $BasisExe --basis-zeile $ZeileBasis --kandidat-exe $KandidatExe --kandidat-zeile $ZeileKandidat `
--fremd $Fremd --werkzeug $exe --faeden $Faeden --teile $Teile 2>&1 | % { "$_" }
--fremd $Fremd --spots $Spots --werkzeug $exe --faeden $Faeden --teile $Teile 2>&1 | % { "$_" }
"RUECKGABE tor8 $LASTEXITCODE"
exit $LASTEXITCODE