Tests + Bau-Pfad-Alert: 4 Baseline-Failures behoben

test_export_separatorliste.py (2 Failures, KeyError 'Separatorlist'): der Test
pruefte noch das alte Merkmal "Separatorlist" (nur SEP-Eintraege). write_
separatorliste_merkmale fuellt seit dem Umbau das Top-Level-Feld item["trackids"]
(CSV-Spalte "TrackIds") mit AS + Separatoren + ES in Baureihenfolge. Tests auf
die neue API/Semantik angepasst (empirisch verifiziert: "0054, 0052, 0053, 0055").

vf_linienzug.lsp - echter Fund des statischen Waechters: vfl-body-abschluss
setzte am "Kettenende nicht baubar"-Zweig ein (alert ...) im BAU-Pfad (blockiert
Batch/Headless). Auf vfl-meldung umgestellt (zeigt alert nur bei erlaubter GUI,
sonst princ) - genau die Regel, die der Waechter erzwingt.

test_vf_headless_statisch.py (2 Failures): Soll-Inventar an den aktuellen Code
angeglichen - 18 legitime neue Wizard-/Frage-Dialoge (vflw-gruppe-*-impl,
vflw-m2-*-impl, vfl-frage-ist-*) + vfl-ks-aus-hz-an-punkt (ssget, Zeichnung
durchsuchen) ergaenzt, vflw-gruppe-horizontal-impl entfernt (weg im Code),
vfl-edit-ent auf alert:2 (linienzug2-Abweisung, harter Schnitt).

Suite: 11 -> 7 failed. Verbleibend NICHT hier: test_hundm05.py (auf Wunsch
ausgenommen) + test_vf_geometrie.py (6x, gebautes HundM05-DXF weicht von der
Referenz ab - braucht fachliches Urteil ueber die neue Geometrie, nicht blind
die Referenz ueberschreiben). 243/243 LISP-Unit-Tests gruen.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Michael Stangl
2026-09-18 21:30:14 +02:00
co-authored by Claude Opus 4.8
parent 8be256fb5a
commit 0babf78789
3 changed files with 40 additions and 12 deletions
+23 -3
View File
@@ -144,7 +144,7 @@ ALERT_ERLAUBT = {
"vfl-dlg-modus": 1, # dcl/vfl_edit.dcl fehlt
"vfl-dlg-position": 1, # dito
"vfl-edit-glied": 1, # "Glied nicht einzeln editierbar"
"vfl-edit-ent": 1, # "kein Journal am Block"
"vfl-edit-ent": 2, # "kein Journal am Block" + alte OBJS-linienzug2 abweisen
}
@@ -181,21 +181,40 @@ EINGABE_ERLAUBT = {
"vflw-wahl-impl": {"new_dialog": 1},
"vflw-gruppe-as-impl": {"new_dialog": 1},
"vflw-gruppe-gefaelle-impl": {"new_dialog": 1},
"vflw-gruppe-horizontal-impl": {"new_dialog": 1},
"vflw-gruppe-punkt-hoehe-impl": {"new_dialog": 1},
"vflw-gruppe-variokurve-impl": {"new_dialog": 1},
"vflw-gruppe-winkel-seite-impl": {"new_dialog": 1},
"vflw-gruppe-ziel-hoehe-impl": {"new_dialog": 1},
"vflw-gruppe-gf-laenge-modus-impl": {"new_dialog": 1},
"vflw-gruppe-gf-steigend-untermodus-impl": {"new_dialog": 1},
"vflw-gruppe-gf-verteilung-impl": {"new_dialog": 1},
"vflw-gruppe-ist-kettenende-2opt-impl": {"new_dialog": 1},
"vflw-gruppe-ja-nein-impl": {"new_dialog": 1},
"vflw-gruppe-naechstes-element-impl": {"new_dialog": 1},
"vflw-gruppe-naechstes-im-vf-impl": {"new_dialog": 1},
"vflw-gruppe-qc-winkel-impl": {"new_dialog": 1},
"vflw-gruppe-richtung-impl": {"new_dialog": 1},
"vflw-gruppe-sep-gf-impl": {"new_dialog": 1},
"vflw-gruppe-startpunkt-typ-impl": {"new_dialog": 1},
"vflw-gruppe-winkel-hoehen-impl": {"new_dialog": 1},
"vflw-gruppe-winkel-wahl-impl": {"new_dialog": 1},
"vflw-m2-lauf-anfang-impl": {"new_dialog": 1},
"vflw-m2-lauf-abschluss-impl": {"new_dialog": 1},
"vflw-seg-bogen-impl": {"new_dialog": 1},
"vflw-seg-linie-m2-impl": {"new_dialog": 1},
"vflw-seg-linie-m3-impl": {"new_dialog": 1},
# --- Frage-Dialoge (Ja/Nein bzw. Menue-Gruppen, kein roher get*-Aufruf) ---
"vfl-frage-ist-endpunkt": {"new_dialog": 1},
"vfl-frage-ist-kettenende": {"new_dialog": 1},
# --- Edit-Dialoge: nur per Doppelklick erreichbar ---
"vfl-dlg-modus": {"new_dialog": 1, "alert": 1},
"vfl-dlg-position": {"new_dialog": 1, "alert": 1},
"vfl-glied-as-es-dialog": {"new_dialog": 1, "alert": 1},
"vfl-glied-gf-bogen-dialog": {"new_dialog": 1, "alert": 1},
"vfl-glied-vario-dialog": {"new_dialog": 1, "alert": 1},
"vfl-edit-ent": {"alert": 1},
# vfl-edit-ent: alert 1 = "kein Journal", alert 2 = alte OBJS-linienzug2-
# Bloecke abweisen (harter Schnitt, vfl-edit-m2-obsolet).
"vfl-edit-ent": {"alert": 2},
"vfl-edit-glied": {"alert": 1},
"vfl-meldung": {"alert": 1},
# --- reine Benutzer-Befehle (kein Bau-Pfad, nicht journalisiert) ---
@@ -205,6 +224,7 @@ EINGABE_ERLAUBT = {
"c:Vario_Kette_Merge": {"entsel": 1},
# --- Zeichnung durchsuchen, keine Benutzerfrage ---
"vfl-kette-sammle-alle": {"ssget": 1},
"vfl-ks-aus-hz-an-punkt": {"ssget": 1},
}