Farm: score-v2 Stufe 1 (innovation): Stueck-Laeufer (30 Spots je Teil, Kern-/Pool-Gruppe, Speicherspitze gemessen), Bau f08460ae5 und RAM-Messung an einem Turn-Spot eingereiht
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
8d160957fd
commit
22494bd4a5
@@ -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-allintafel(-probe)?|innovation-vorflopselbst-fehler|mehrweg-bibtx-.*|simpool-B-.*|simpool-selbsttest-.*|simpool-hebel-.*|simpool-stufe3-.*|turnrange-.*|gedstart-.*|kandidat-.*|exakt-lbr.*)$' }
|
||||
function Erlaubt([string]$id) { $id -match '^(allinprobe-.*|bitgleich-.*|innovation-vorflop-werte|innovation-allintafel(-probe)?|innovation-vorflopselbst-fehler|mehrweg-bibtx-.*|simpool-B-.*|simpool-selbsttest-.*|simpool-hebel-.*|simpool-stufe3-.*|turnrange-.*|gedstart-.*|kandidat-.*|exakt-lbr.*|innovation-scorev2-.*)$' }
|
||||
foreach ($f in Get-ChildItem "$Q\laufend" -Filter *.json) {
|
||||
$id = $f.BaseName
|
||||
if (Erlaubt $id) { continue }
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
# innovation 06.12.: score-v2 Stufe 1 (FARM-AUFTRAG.txt in richter-lock/spots-v2): ein Stueck (30 Spots, spots.jsonl + anfragen.jsonl zeilengleich)
|
||||
# fuer eine Spaltengruppe. Ausgabe NUR anhaengend in die gemeinsame Kopie C:\pf-arbeit\scorev2\ev-v2 (der Richter haengt mit Dateisperre an,
|
||||
# geloeste Spots werden uebersprungen; Abbruch und Neustart sind sicher).
|
||||
# -Teil 00..21 | messen -Gruppe kern|pool -Faeden N
|
||||
param([string]$Teil, [ValidateSet('kern', 'pool')][string]$Gruppe, [int]$Faeden = 16)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
if (Test-Path 'D:\Projects\pokerfreak\scratch\laeufer.pid') { 'SPIELT'; exit 2 }
|
||||
$Z = 'C:\pf-arbeit\scorev2'; $E = "$Z\pokerbench-scorev2-richter.exe"
|
||||
if (-not (Test-Path $E)) { Copy-Item 'C:\pf-arbeit\pokerbench-allinprobe-f08460ae.exe' $E }
|
||||
$d = if ($Teil -eq 'messen') { "$Z\messen" } else { "$Z\teile\$Teil" }
|
||||
$spalten = if ($Gruppe -eq 'kern') { 'gg,jam_or_fold_0.15,jam_or_fold_0.3,kurve' } else { (0..7 | % { "pool_typ_${_}_a" }) -join ',' }
|
||||
if ($Gruppe -eq 'kern') { $env:RICHTER_KURVE = "$Z\eingabe\antwortkurve-scorecard-308-385.json" }
|
||||
"EXE " + (Get-FileHash $E).Hash.Substring(0, 16) + " | Teil $Teil | $Gruppe | Faeden $Faeden | " + (Get-Content "$d\spots.jsonl").Count + " Spots"
|
||||
$t0 = Get-Date; $spitze = 0
|
||||
$p = Start-Process -FilePath $E -ArgumentList @('richter-lock-wert', "$d\spots.jsonl", "$Z\ev-v2", "$Z\eingabe\modell.json", "$Faeden", $spalten) -NoNewWindow -PassThru `
|
||||
-RedirectStandardOutput "$d\$Gruppe.out.log" -RedirectStandardError "$d\$Gruppe.err.log"
|
||||
try { $p.PriorityClass = 'BelowNormal' } catch {}
|
||||
while (-not $p.HasExited) { try { $p.Refresh(); $spitze = [math]::Max($spitze, $p.PeakWorkingSet64) } catch {}; Start-Sleep -Milliseconds 500 }
|
||||
$p.WaitForExit()
|
||||
"RUECKGABE $($p.ExitCode) nach $([math]::Round(((Get-Date) - $t0).TotalMinutes, 2)) min | Spitze Arbeitsspeicher $([math]::Round($spitze / 1GB, 2)) GB"
|
||||
Get-Content "$d\$Gruppe.err.log" -Tail 5 -EA 0
|
||||
exit $p.ExitCode
|
||||
Reference in New Issue
Block a user