diff --git a/messung/farm/allinprobe/allinprobe-pfad.ps1 b/messung/farm/allinprobe/allinprobe-pfad.ps1 index 1ed7562a..484dd4cf 100644 --- a/messung/farm/allinprobe/allinprobe-pfad.ps1 +++ b/messung/farm/allinprobe/allinprobe-pfad.ps1 @@ -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-.*)$' } +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.*)$' } foreach ($f in Get-ChildItem "$Q\laufend" -Filter *.json) { $id = $f.BaseName if (Erlaubt $id) { continue } diff --git a/messung/farm/bitgleich/reihenfolge.ps1 b/messung/farm/bitgleich/reihenfolge.ps1 index 413b92ee..838eafa3 100644 --- a/messung/farm/bitgleich/reihenfolge.ps1 +++ b/messung/farm/bitgleich/reihenfolge.ps1 @@ -6,7 +6,7 @@ function Rang([string]$id) { $r = $null if ($id -match '^bitgleich-(live-stand|stamm)') { $r = -32 } # main 21:4x: Zusammenfuehrung live-stand vor allem elseif ($id -match '^bitgleich-zeile-ausdruecklich') { $r = -31 } - elseif ($id -eq 'innovation-vorflop-werte') { $r = -32 } # innovation 05.12. spaet: Owner wartet auf 'vorflop nie All-in' # innovation/main: direkt hinter live-stand + elseif ($id -eq 'innovation-vorflop-werte') { $r = -11 } # main 06.12.: hinter die Kandidaten-Tore (morgen gilt Regel D), Lauf -10 wie VALLIN; frueher -32 # innovation 05.12. spaet: Owner wartet auf 'vorflop nie All-in' # innovation/main: direkt hinter live-stand elseif ($id -match '^bitgleich-heuristik-weg-f12-') { $r = -26 } elseif ($id -match '^bitgleich-heuristik-weg-ohneprobe-') { $r = -28 } elseif ($id -match '^bitgleich-heuristik-weg-') { $r = -30 } @@ -14,11 +14,12 @@ function Rang([string]$id) { elseif ($id -match '^(allinprobe-|bitgleich-exakt)') { $r = -22 } elseif ($id -match '^bitgleich-bayes') { $r = -20 } elseif ($id -match '^allinprobe-absturz') { $r = -22 } - elseif ($id -match '^mehrweg-bibtx-') { $r = -19 } # Owner: Bibliothek tx in der Nacht vor Klasse 5, hinter Klasse 1-4 + elseif ($id -match '^exakt-lbr') { $r = -19 } # main 06.12.: LBR-Rueckprobe nach den Kandidaten-Toren, vor Bibliothek tx (bibtx-frei wartet auf alles <= -18) + elseif ($id -match '^mehrweg-bibtx-') { $r = -17 } # Owner: Bibliothek tx in der Nacht vor Klasse 5, hinter Klasse 1-4 elseif ($id -match '^kandidat-tor') { $r = -21 } # main 06.12.: (2) Tore des Kandidaten nach (1) Stamm-Belegen und gedstart, vor (3) Bibliothek tx (-19); Lauf -20, damit bibtx-frei wartet elseif ($id -match '^innovation-allintafel') { $r = -10 } # main 06.12.: VALLIN erst nach Stamm-Belegen, Kandidaten-Toren und Bibliothek tx elseif ($id -match '^gedstart-') { $r = -23 } # main 06.12.: (1) 2b-Beleg verkleinert, mit den Stamm-Belegen vor den Kandidaten-Toren; Bau -23, Laeufe -22 - elseif ($id -match '^turnrange-') { $r = -17 } # gedaechtnis2 05.12.: Beleg vor Merge Schritt 5, hinter den Toren und hinter der Bibliothek tx (Owner-Nachtlauf) + elseif ($id -match '^turnrange-') { $r = -15 } # gedaechtnis2 05.12.: Beleg vor Merge Schritt 5, hinter den Toren und hinter der Bibliothek tx (Owner-Nachtlauf) if ($null -eq $r) { return $null } if ($id -match '-bau-') { $r } else { $r + 1 } } diff --git a/messung/farm/mehrweg/bibtx-frei.ps1 b/messung/farm/mehrweg/bibtx-frei.ps1 new file mode 100644 index 00000000..681a4d64 --- /dev/null +++ b/messung/farm/mehrweg/bibtx-frei.ps1 @@ -0,0 +1,5 @@ +# Bibliothek tx frei, sobald Klasse 1-4 (Rang <= -18: Stamm, gedstart, Kandidaten-Tore, LBR; main 06.12.) weder wartet noch laeuft +$Q = 'D:\Projects\pf-batterie\messung\farm\schlange' +$k14 = @(Get-ChildItem "$Q\auftraege" -Filter '*.json') + @(Get-ChildItem "$Q\laufend" -Filter '*.json') | ? { try { (Get-Content $_.FullName -Raw | ConvertFrom-Json).prio -le -18 } catch { $false } } +if ($k14.Count -gt 0) { return } +foreach ($f in Get-ChildItem "$Q\auftraege" -Filter 'mehrweg-bibtx-*.json.halten') { Rename-Item $f.FullName ($f.Name -replace '\.halten$', ''); "FREI $($f.Name)" }