Farm 03.12. Abschluss: Messungen beendet (Owner: nur Basis-Paket), Laufskripte (Eichlauf, Stich-Messung, Teilspiel, LBR-Tor, basis-0312-Probe) und Abschlussnotiz mit Ergebnissen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
# Farm, Abschluss 03.12.2026 (Owner: nur noch Basis-Paket, alle anderen Messungen beendet)
|
||||
|
||||
## Beendet (23:0x), nichts gelöscht
|
||||
- **Auf dem Spielrechner beendet:**
|
||||
- LBR-Tafel-Tor (lief seit 22:48, Feld sharingan-anker, erste 1000 Blätter): lbr6_tor.py, 4× pokerbench-lbr6, Dienst pokerbench-hybrid-lbr6.
|
||||
- Die Kette kette_tl.ps1.
|
||||
- Ein alter Starter vom 02.12. (scratch\farm-varianten-los.ps1).
|
||||
- **Weiter laufen:**
|
||||
- Farm-Wächter (PID 75472) und GPU-Dienst.
|
||||
- Prozesse von gpu-kern (turnnetz/netztraining) und anderen Sitzungen.
|
||||
- **Auf der RTX:** Von der Farm rechnet nichts mehr.
|
||||
|
||||
## Ergebnisse (Daten auf der SSD, pokerfreak-daten/pruefstand/)
|
||||
- **basis-0312:**
|
||||
- Schalterdatei D:\Projects\pokerfreak\scratch\kern_schalter.basis-0312.txt (7596FB12…).
|
||||
- Exe 331206FA.
|
||||
- Startprobe 1000/1000 gültig; betrieb.json unter basis-0312/.
|
||||
- **Anker sharingan-belief-0312:** messung/anker/ANKER.md (Exes unter D:\pokerfreak-fremd\sharingan\anker\).
|
||||
- **Flop-Schübe** (schub/mischung.json): Bei 200k ist die All-in-Masse meist Rauschen der Mittelstrategie; bei 4M bleiben 3 von 11 Fällen.
|
||||
- **Entscheidungsmessung** (schub/stich_mess.jsonl, 204 Lagen; Richter MC 4M/16M):
|
||||
- Kein Kandidat setzt sich am Flop ab.
|
||||
- Am Turn war „final“ nahe am Richter, wurde aber vom Ausnutzbarkeitsmaß widerlegt (Richter nicht konvergiert).
|
||||
- **Teilspiel-Ausnutzbarkeit** (teilspiel/farm-*.jsonl, Werkzeug der innovation-Session 00adeaf), Ausnutzbarkeit in bb:
|
||||
|
||||
| Straße | tabelle | mittel | Differenz tabelle − mittel |
|
||||
|---|---|---|---|
|
||||
| Flop zu zweit | 13,3 | 7,1 | +6,2 [3,5; 8,9] |
|
||||
| Turn | 16,8 | 15,3 | +1,4 [−4,6; 7,5] |
|
||||
| River | 15,7 | 7,4 | +8,3 [3,1; 13,5] |
|
||||
|
||||
- Gegen mittel: final Turn +1,8, River −0,1; warm64 Turn −0,4, River +0,7; vektor Turn −4,4 (absolut 11,8), River −6,6 (absolut 0,95 bb, p95 2,0 s).
|
||||
- Flop zu dritt: paar.py ohne Ergebnis (Format), Rohdaten liegen vor.
|
||||
- **Eichlauf Flop-Referenz** (flop-sperre/referenz/eich-*): Summe der 3 Lagen in Sekunden.
|
||||
|
||||
| Menü | 16 Fäden | 32 Fäden |
|
||||
|---|---|---|
|
||||
| leer | 1.101 | 829 |
|
||||
| live | 76 | 86 |
|
||||
|
||||
- **Vorfall 17:58:**
|
||||
- Der Farm-Wächter hielt den von einer Probe gestarteten Live-Blueprint-Dienst an: 11 B-Züge Motor-Rückfall in 9 Händen, −3,0 bb.
|
||||
- Fix: Live-Ports aus der Schalterdatei sind geschützt (Spec 98/98). Startproben beenden ihre Dienste am Ende.
|
||||
|
||||
## Offen / auf Anforderung
|
||||
- Windows-Probe schubfold.exe (Turnier) und Startproben der Paket-Fassungen: auf Anforderung der Hauptsession bzw. der icm-Session.
|
||||
- Abgebrochen und nicht fortgesetzt:
|
||||
- LBR-Tafel-Tor (Teildaten in D:\Projects\pf-lbr6-ab7c9bc4\messung\motor\lbr6_tor\tafel-tor-0412).
|
||||
- Rake-Tafel-Duplikat (vorbereitet: pokerbench-duplikat -OhneSuche -XBlueprint).
|
||||
- Rauchprobe rauch-aa.
|
||||
- Stamm-Repo: pokerfreak-daten/fremd-quelle/sharingan-stamm.git (main, mehrtisch, splash, belief, rake).
|
||||
@@ -0,0 +1,11 @@
|
||||
# basis-0312: SHARINGAN-Dienste (Live-Ports 4715x) beenden, Startprobe Arm A allein mit der Basis-Datei, betrieb.json
|
||||
$A = 'D:\Projects\pokerfreak-daten\pruefstand\basis-0312'; New-Item -ItemType Directory -Force $A | Out-Null
|
||||
$py = 'C:\Users\marcm\AppData\Local\Programs\Python313\python.exe'; $W = 'D:\Projects\pokerfreak-daten\pruefstand\sharingan-splash-0312\werkzeuge'
|
||||
if (Test-Path 'D:\Projects\pokerfreak\.claude\worktrees\engine-lecks-angreifen-de7b88\betrieb\scratch\laeufer.pid') { 'SPIELT' | Set-Content "$A\abbruch.txt"; exit 1 }
|
||||
foreach ($port in 47155, 47157) { Get-NetTCPConnection -LocalPort $port -State Listen -EA 0 | % { Stop-Process -Id $_.OwningProcess -Force -EA 0; "beendet $port PID $($_.OwningProcess)" | Add-Content "$A\dienste.txt" } }
|
||||
$exe = 'D:\Projects\pokerfreak\entscheiden\motor\target\pokerbench-motor-schatten.exe'; $s = 'D:\Projects\pokerfreak\scratch\kern_schalter.basis-0312.txt'
|
||||
Set-Location $W
|
||||
& $py -X utf8 farm_rein_startprobe.py $exe $s "$A\probe" --n 1000 *> "$A\probe.txt"
|
||||
$o = Get-CimInstance Win32_OperatingSystem; $frei = [math]::Round($o.FreePhysicalMemory / 1MB, 1); $belegt = [math]::Round(($o.TotalVisibleMemorySize - $o.FreePhysicalMemory) / 1MB, 1)
|
||||
& $py -X utf8 farm_betrieb_json.py "$A\probe" (Get-FileHash $s).Hash (Get-FileHash $exe).Hash $frei $belegt *> "$A\betrieb.txt"
|
||||
'FERTIG' | Set-Content "$A\FERTIG"
|
||||
@@ -0,0 +1,22 @@
|
||||
# Eichlauf exakte Flop-Referenz (Flop-Sperre-Session, 03.12.): 3 Lagen, einmal 16 Faeden (Kerne 0-15), einmal 32 Faeden; nichts daneben.
|
||||
$R = 'D:\Projects\pokerfreak-daten\pruefstand\flop-sperre\referenz'; $B = 'D:\Projects\pf-eich-d4909d4a'; $log = "$R\eich.log"
|
||||
function Log($t) { Add-Content $log ((Get-Date -Format 'HH:mm:ss') + ' ' + $t) -Encoding UTF8 }
|
||||
function Spielt { (Test-Path 'D:\Projects\pokerfreak\.claude\worktrees\engine-lecks-angreifen-de7b88\betrieb\scratch\laeufer.pid') -or (Test-Path 'D:\Projects\pokerfreak\scratch\laeufer.pid') }
|
||||
if (Spielt) { Log 'ABBRUCH: Laeufer spielt'; exit 1 }
|
||||
if (-not (Test-Path $B)) { New-Item -ItemType Directory $B | Out-Null; tar -xf D:\Projects\eich.tar -C $B }
|
||||
Set-Location "$B\entscheiden\motor"; $env:RUSTFLAGS = '--cap-lints warn'
|
||||
$t0 = Get-Date; $bauAusgabe = cargo test --release --no-run -j 16 2>&1 | Out-String; Log ("Testbau {0:N0} s: {1}" -f ((Get-Date) - $t0).TotalSeconds, ($bauAusgabe -split "`n" | Select-String 'Finished|error' | Select-Object -First 2))
|
||||
for ($i = 0; $i -lt 30 -and -not $exe; $i++) { $exe = (Get-ChildItem "$B\entscheiden\motor\target\release\deps\motor-*.exe" -EA 0 | Sort-Object LastWriteTime -Descending | Select-Object -First 1).FullName; if (-not $exe) { Start-Sleep 2 } }
|
||||
if (-not $exe) { Log "ABBRUCH: keine Test-Exe"; exit 1 }
|
||||
Log "Test-Exe $exe"
|
||||
foreach ($lauf in @(@(16, [int64]0xFFFF, 'eich-farm-16.jsonl', ''), @(32, [int64]0, 'eich-farm-32.jsonl', ''), @(16, [int64]0xFFFF, 'eich-farm-live-16.jsonl', 'live'), @(32, [int64]0, 'eich-farm-live-32.jsonl', 'live'))) {
|
||||
if (Spielt) { Log 'ABBRUCH: Laeufer spielt'; exit 1 }
|
||||
$env:REFERENZ_EIN = "$R\eich.jsonl"; $env:REFERENZ_AUS = "$R\$($lauf[2])"; $env:REFERENZ_ZIEL = '1.0'; $env:REFERENZ_SPERRE = '0'; $env:REFERENZ_MENUE = $lauf[3]
|
||||
$env:RAYON_NUM_THREADS = "$($lauf[0])"
|
||||
Log "START $($lauf[0]) Faeden Menue [$($lauf[3])]"; $t0 = Get-Date
|
||||
$p = Start-Process $exe -ArgumentList 'referenz_aus_datei', '--ignored', '--nocapture', '--test-threads', '1' -PassThru -NoNewWindow -RedirectStandardOutput "$R\$($lauf[2]).out" -RedirectStandardError "$R\$($lauf[2]).err"
|
||||
if ($lauf[1]) { $p.ProcessorAffinity = [IntPtr]$lauf[1] }
|
||||
$p.WaitForExit()
|
||||
Log ("ENDE {0} Faeden Menue [{3}]: {1:N0} s, Rueckgabe {2}" -f $lauf[0], ((Get-Date) - $t0).TotalSeconds, $p.ExitCode, $lauf[3])
|
||||
}
|
||||
Log '=== FERTIG eich'
|
||||
@@ -0,0 +1,20 @@
|
||||
# LBR-Tafel-Tor (innovation, claude/lbr6-live ab7c9bc4 + Dienst pokerfreak-lbr6-feld 9afc044): Bau, dann Felder (a) Anker-Tafel, (b) sechs100-v2
|
||||
$A = 'D:\Projects\pokerfreak-daten\pruefstand\lbr6-tor'; New-Item -ItemType Directory -Force $A, 'D:\Projects\fremd\bin' | Out-Null
|
||||
$py = 'C:\Users\marcm\AppData\Local\Programs\Python313\python.exe'
|
||||
if (Test-Path 'D:\Projects\pokerfreak\.claude\worktrees\engine-lecks-angreifen-de7b88\betrieb\scratch\laeufer.pid') { 'SPIELT' | Set-Content "$A\abbruch.txt"; exit 1 }
|
||||
$L = 'D:\Projects\pf-lbr6-ab7c9bc4'
|
||||
if (-not (Test-Path $L)) { New-Item -ItemType Directory $L | Out-Null; tar -xf D:\Projects\lbr6.tar -C $L }
|
||||
Set-Location "$L\entscheiden\motor"; $env:RUSTFLAGS = '--cap-lints warn'; Remove-Item Env:CARGO_TARGET_DIR -EA 0
|
||||
(cargo build --release -j 8 2>&1 | Out-String) | Set-Content "$A\bau-lbr6.log"
|
||||
Copy-Item "$L\entscheiden\motor\target\release\motor.exe" 'D:\Projects\fremd\bin\pokerbench-lbr6-ab7c9bc4.exe' -Force
|
||||
$F = 'D:\pokerfreak-fremd\sharingan'
|
||||
if (-not (Test-Path "$F\code-lbr6")) { git clone -q -b pokerfreak-lbr6-feld "$F\pokerfreak-lbr6-feld-9afc044.bundle" "$F\code-lbr6" }
|
||||
if (-not (Test-Path "$F\target-lbr6")) { robocopy "$F\target-belief" "$F\target-lbr6" /E /NFL /NDL /NJH /NJS | Out-Null }
|
||||
Set-Location "$F\code-lbr6"; $env:CARGO_TARGET_DIR = "$F\target-lbr6"
|
||||
(cargo build -j 8 --profile serve -p sharingan-serve --bin sharingan-hybrid 2>&1 | Out-String) | Set-Content "$A\bau-dienst.log"
|
||||
Copy-Item "$F\target-lbr6\serve\sharingan-hybrid.exe" 'D:\Projects\fremd\bin\pokerbench-hybrid-lbr6-9afc044.exe' -Force
|
||||
Remove-Item Env:CARGO_TARGET_DIR -EA 0
|
||||
foreach ($e in 'D:\Projects\fremd\bin\pokerbench-lbr6-ab7c9bc4.exe', 'D:\Projects\fremd\bin\pokerbench-hybrid-lbr6-9afc044.exe') { if (-not (Test-Path $e)) { "BAU FEHLT $e" | Set-Content "$A\abbruch.txt"; exit 1 }; (Get-FileHash $e).Hash + ' ' + $e | Add-Content "$A\exe.sha" }
|
||||
Set-Location $L
|
||||
& $py -X utf8 "$L\messung\motor\lbr6_tor\lbr6_tor.py" felder --name tafel-tor-0412 --felder "$A\felder.json" --messer 'D:\Projects\fremd\bin\pokerbench-lbr6-ab7c9bc4.exe' --daten 'D:\Projects\pokerfreak-daten\grundstrategie-flach' --welten 32 --blaetter 50000 --stueck 1000 --min-blaetter 2000 --prozesse 4 --faeden 4 *> "$A\lauf.txt"
|
||||
'FERTIG' | Set-Content "$A\FERTIG"
|
||||
@@ -0,0 +1,15 @@
|
||||
# Bitgleich-Probe: neue Rake-Exe OHNE SHARINGAN_RAKE gegen Anker-Exe, je 1 Faden (HYBRID_EIGENER_POOL), gleiche Anfragen und Saat
|
||||
import json, socket, sys
|
||||
spur, n = sys.argv[1], int(sys.argv[2])
|
||||
def verb(p):
|
||||
return socket.create_connection(("127.0.0.1", p), timeout=900).makefile("rw", encoding="utf-8")
|
||||
a, b = verb(47211), verb(47212); gleich = anders = 0
|
||||
for i, z in enumerate(open(spur, encoding="utf-8")):
|
||||
if i >= n: break
|
||||
r = json.loads(z)["frage"]["req"]
|
||||
out = []
|
||||
for f in (a, b):
|
||||
f.write(json.dumps({"op": "suche", "req": r, "budget_ms": 900000, "iters": 50000, "mit_probs": True}) + "\n"); f.flush()
|
||||
out.append(json.dumps((json.loads(f.readline()).get("response") or {}).get("probs")))
|
||||
gleich += out[0] == out[1]; anders += out[0] != out[1]
|
||||
print(json.dumps({"gleich": gleich, "anders": anders}))
|
||||
@@ -0,0 +1,18 @@
|
||||
# Vektor-Loeser zu zweit am Turn/River (Ergaenzung der Entscheidungsmessung): gleiche Anfragen wie in stich_mess, Dienst --set vector=1
|
||||
import json, socket, sys, time
|
||||
spur, mess, aus, port = sys.argv[1], sys.argv[2], sys.argv[3], int(sys.argv[4])
|
||||
reqs = {}
|
||||
for z in open(spur, encoding="utf-8"):
|
||||
d = json.loads(z); r = d["frage"]["req"]; reqs[json.dumps((tuple(r["hole_cards"]), tuple(r["board"])))] = r
|
||||
s = socket.create_connection(("127.0.0.1", port), timeout=3600); f = s.makefile("rw", encoding="utf-8")
|
||||
with open(aus, "a", encoding="utf-8") as o:
|
||||
for z in open(mess, encoding="utf-8"):
|
||||
e = json.loads(z)
|
||||
if e["schicht"] not in ("TURN", "RIVER") or e["spieler"] != 2: continue
|
||||
r = reqs.get(json.dumps([list(x) for x in json.loads(e["schluessel"])]).replace("[[", "[[")) or reqs.get(e["schluessel"])
|
||||
if r is None:
|
||||
k = json.loads(e["schluessel"]); r = reqs.get(json.dumps((tuple(k[0]), tuple(k[1]))))
|
||||
if r is None: continue
|
||||
t0 = time.time(); f.write(json.dumps({"op": "suche", "req": r, "budget_ms": 3600000, "mit_probs": True}) + "\n"); f.flush(); a = json.loads(f.readline())
|
||||
resp = a.get("response") or {}
|
||||
o.write(json.dumps({"schluessel": e["schluessel"], "schicht": e["schicht"], "vektor": {"probs": [(p.get("type"), p.get("to"), round(p.get("p", 0), 5)) for p in (resp.get("probs") or [])], "s": round(time.time() - t0, 2), "quelle": resp.get("source")}}) + "\n"); o.flush()
|
||||
@@ -0,0 +1,20 @@
|
||||
Start-Transcript -Path 'D:\Projects\pokerfreak-daten\pruefstand\schub\stich2.transcript.txt' -Force
|
||||
$ErrorActionPreference = 'Continue'
|
||||
# Entscheidungsmessung: Spur der exakten Bruecken-Anfragen, dann Richter/Kandidaten-Dienste, dann Messung.
|
||||
$A = 'D:\Projects\pokerfreak-daten\pruefstand\schub'; $py = 'C:\Users\marcm\AppData\Local\Programs\Python313\python.exe'
|
||||
$W = 'D:\Projects\pokerfreak-daten\pruefstand\sharingan-splash-0312\werkzeuge'
|
||||
function Spielt { (Test-Path 'D:\Projects\pokerfreak\.claude\worktrees\engine-lecks-angreifen-de7b88\betrieb\scratch\laeufer.pid') }
|
||||
if (Spielt) { 'SPIELT' | Set-Content "$A\stich.abbruch"; exit 1 }
|
||||
$F = 'D:/pokerfreak-fremd/sharingan'; $exe = "$F/target-belief/serve/pokerbench-hybrid-suche-belief.exe"
|
||||
$env:HYBRID_SUCHE = '1'; $env:HYBRID_UEBERSETZUNG = 'phm'; $env:HYBRID_LEERLAUF_S = '7200'; $env:HYBRID_RUNDEN = '1'; $env:HYBRID_RUNDEN_FLOP_ITERS = '200000'
|
||||
$dienste = @()
|
||||
foreach ($d in @(@(47201, '', 16), @(47202, '', 12), @(47203, 'final=1', 12), @(47204, 'warm=64', 12), @(47205, 'vector=1,vecmin=flop', 12))) {
|
||||
$env:HYBRID_SUCHE_FAEDEN = "$($d[2])"
|
||||
$dienstArgs = @('--blueprint', "$F/weights/B-local-2e10.plcp", '--buckets', "$F/data/buckets-200", '--sizing', 'local', '--port', "$($d[0])", '--budget-ms', '3600000')
|
||||
if ($d[1]) { $dienstArgs += @('--set', $d[1]) }
|
||||
$dienste += Start-Process $exe -ArgumentList $dienstArgs -PassThru -WindowStyle Hidden
|
||||
}
|
||||
foreach ($p in 47201..47205) { for ($i = 0; $i -lt 120; $i++) { if (Test-NetConnection 127.0.0.1 -Port $p -InformationLevel Quiet -WarningAction SilentlyContinue) { break }; Start-Sleep 5 } }
|
||||
& $py -X utf8 "$A\stich_mess.py" "$A\stichprobe_spur.jsonl" "$A\stich_dazu.jsonl" "$A\stich_mess.jsonl" *> "$A\stich_mess.txt"
|
||||
$dienste | % { Stop-Process -Id $_.Id -Force -EA 0 }
|
||||
'FERTIG' | Set-Content "$A\STICH_FERTIG"
|
||||
@@ -0,0 +1,21 @@
|
||||
# Teilspiel-Ausnutzbarkeit (innovation, Zweig pokerfreak-teilspiel 00adeaf): Bau, dann 4 Schichten parallel (je Prozess 6 Faeden)
|
||||
$S = 'D:\pokerfreak-fremd\sharingan'; $A = 'D:\Projects\pokerfreak-daten\pruefstand\teilspiel'; New-Item -ItemType Directory -Force $A | Out-Null
|
||||
$schub = 'D:\Projects\pokerfreak-daten\pruefstand\schub'
|
||||
if (Test-Path 'D:\Projects\pokerfreak\.claude\worktrees\engine-lecks-angreifen-de7b88\betrieb\scratch\laeufer.pid') { 'SPIELT' | Set-Content "$A\abbruch.txt"; exit 1 }
|
||||
if (-not (Test-Path "$S\target-teilspiel")) { robocopy "$S\target-belief" "$S\target-teilspiel" /E /NFL /NDL /NJH /NJS | Out-Null }
|
||||
Set-Location "$S\code-teilspiel"; $env:CARGO_TARGET_DIR = "$S\target-teilspiel"; $env:RUSTFLAGS = '--cap-lints warn'
|
||||
$bauText = cargo build --release -j 16 -p sharingan-serve --bin sharingan-teilspiel 2>&1 | Out-String
|
||||
$bauText | Set-Content "$A\bau.log"
|
||||
$prog = "$S\target-teilspiel\release\sharingan-teilspiel.exe"
|
||||
if (-not (Test-Path $prog)) { 'BAU FEHLT' | Set-Content "$A\abbruch.txt"; exit 1 }
|
||||
$env:HYBRID_UEBERSETZUNG = 'phm'; $env:HYBRID_RUNDEN = '1'; $env:HYBRID_RUNDEN_FLOP_ITERS = '200000'
|
||||
$laeufe = @()
|
||||
foreach ($schicht in @(@('FLOP 2', 'flop2'), @('TURN', 'turn'), @('RIVER', 'river'), @('FLOP 3', 'flop3'))) {
|
||||
$argListe = @('--blueprint', "$S/weights/B-local-2e10.plcp", '--buckets', "$S/data/buckets-200", '--sizing', 'local', '--set', 'flop=1',
|
||||
'--search-threads', '6', '--threads', '6', '--requests', "$schub\stichprobe_spur.jsonl", '--lagen', "$schub\stich_dazu.jsonl",
|
||||
'--art', "`"$($schicht[0])`"", '--cands', 'mittel,tabelle', '--iters-flop', '200000', '--iters-other', '24000', '--out', "$A\$($schicht[1]).jsonl")
|
||||
$p = Start-Process $prog -ArgumentList $argListe -PassThru -WindowStyle Hidden -RedirectStandardOutput "$A\$($schicht[1]).out" -RedirectStandardError "$A\$($schicht[1]).err"
|
||||
$p.PriorityClass = 'BelowNormal'; $p.ProcessorAffinity = [IntPtr][int64]0x0FFFFFFF; $laeufe += $p
|
||||
}
|
||||
$laeufe | % { $_.WaitForExit() }
|
||||
'FERTIG' | Set-Content "$A\FERTIG"
|
||||
Reference in New Issue
Block a user