Web-M1-Ausbau: JSON-Gaesteliste, GA-Verlauf, Python-Serversteuerung, tische.ini-Upload
- bestellung.xml -> bestellung.json: neuer JSONConfig (loest XMLConfig ab), alle work-Beispiele konvertiert, Doku (CLAUDE/README/dateiformate) umgestellt - ga.py: Beobachtungsobjekt Entwicklung zeichnet den Loesungsverlauf auf, neuer Schalter --show-development erzeugt Entwicklung.svg (beste/mittlere/ schlechteste Wertigkeit ueber die Zyklus-Aktionen) - web/main.py: neuer Endpunkt /tische-datei (tische.ini-Upload, ast.literal_eval), Frontend kann jetzt eine tische.ini laden - libs/webserver.py: plattformunabhaengige start/stop/status-Steuerung der Web-Testinstanz (ersetzt run_web_helper.ps1), raeumt auch verwaiste --reload-Prozessbaeume zuverlaessig auf - Sicherheit/Modernisierung: eval() -> ast.literal_eval in Tische/Strafliste, sicherer Mini-Auswerter fuer die String-Ausdruecke in zyklus.cfg, defaultdict(set) in Plaetze - SVG: Tischnummer fett zentriert im Tischkreis statt "Tisch x" darueber - Tests: JSONConfig, Entwicklung und der Zyklus-Auswerter abgedeckt (9 Tests) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="900" height="500" viewBox="0 0 900 500" font-family="sans-serif">
|
||||
<rect width="100%" height="100%" fill="white"/>
|
||||
<text x="450" y="30" text-anchor="middle" font-size="16" fill="#333">Entwicklung der Loesungsfindung</text>
|
||||
<line x1="60" y1="60" x2="60" y2="440" stroke="#333" stroke-width="1.5"/>
|
||||
<line x1="60" y1="440" x2="840" y2="440" stroke="#333" stroke-width="1.5"/>
|
||||
<line x1="60" y1="440.0" x2="840" y2="440.0" stroke="#eee" stroke-width="1"/>
|
||||
<text x="52" y="444.0" text-anchor="end" font-size="11" fill="#666">-76</text>
|
||||
<line x1="60" y1="364.0" x2="840" y2="364.0" stroke="#eee" stroke-width="1"/>
|
||||
<text x="52" y="368.0" text-anchor="end" font-size="11" fill="#666">-62</text>
|
||||
<line x1="60" y1="288.0" x2="840" y2="288.0" stroke="#eee" stroke-width="1"/>
|
||||
<text x="52" y="292.0" text-anchor="end" font-size="11" fill="#666">-48</text>
|
||||
<line x1="60" y1="212.0" x2="840" y2="212.0" stroke="#eee" stroke-width="1"/>
|
||||
<text x="52" y="216.0" text-anchor="end" font-size="11" fill="#666">-34</text>
|
||||
<line x1="60" y1="136.0" x2="840" y2="136.0" stroke="#eee" stroke-width="1"/>
|
||||
<text x="52" y="140.0" text-anchor="end" font-size="11" fill="#666">-20</text>
|
||||
<line x1="60" y1="60.0" x2="840" y2="60.0" stroke="#eee" stroke-width="1"/>
|
||||
<text x="52" y="64.0" text-anchor="end" font-size="11" fill="#666">-6</text>
|
||||
<text x="18" y="250" text-anchor="middle" font-size="12" fill="#333" transform="rotate(-90 18 250)">Wertigkeit (hoeher = besser)</text>
|
||||
<text x="450" y="482" text-anchor="middle" font-size="12" fill="#333">Zyklus-Aktion (Zeit)</text>
|
||||
<text x="60.0" y="456" text-anchor="middle" font-size="10" fill="#999">e</text>
|
||||
<text x="108.8" y="456" text-anchor="middle" font-size="10" fill="#999">s</text>
|
||||
<text x="157.5" y="456" text-anchor="middle" font-size="10" fill="#999">z</text>
|
||||
<text x="206.2" y="456" text-anchor="middle" font-size="10" fill="#999">m</text>
|
||||
<text x="255.0" y="456" text-anchor="middle" font-size="10" fill="#999">j</text>
|
||||
<text x="303.8" y="456" text-anchor="middle" font-size="10" fill="#999">z</text>
|
||||
<text x="352.5" y="456" text-anchor="middle" font-size="10" fill="#999">s</text>
|
||||
<text x="401.2" y="456" text-anchor="middle" font-size="10" fill="#999">z</text>
|
||||
<text x="450.0" y="456" text-anchor="middle" font-size="10" fill="#999">m</text>
|
||||
<text x="498.8" y="456" text-anchor="middle" font-size="10" fill="#999">j</text>
|
||||
<text x="547.5" y="456" text-anchor="middle" font-size="10" fill="#999">z</text>
|
||||
<text x="596.2" y="456" text-anchor="middle" font-size="10" fill="#999">s</text>
|
||||
<text x="645.0" y="456" text-anchor="middle" font-size="10" fill="#999">z</text>
|
||||
<text x="693.8" y="456" text-anchor="middle" font-size="10" fill="#999">m</text>
|
||||
<text x="742.5" y="456" text-anchor="middle" font-size="10" fill="#999">j</text>
|
||||
<text x="791.2" y="456" text-anchor="middle" font-size="10" fill="#999">z</text>
|
||||
<text x="840.0" y="456" text-anchor="middle" font-size="10" fill="#999">s</text>
|
||||
<polyline points="60.0,60.0 108.8,60.0 157.5,60.0 206.2,60.0 255.0,60.0 303.8,60.0 352.5,60.0 401.2,60.0 450.0,60.0 498.8,60.0 547.5,60.0 596.2,60.0 645.0,60.0 693.8,60.0 742.5,60.0 791.2,60.0 840.0,60.0" fill="none" stroke="#2f6f4f" stroke-width="2"/>
|
||||
<polyline points="60.0,168.6 108.8,77.4 157.5,77.4 206.2,142.5 255.0,120.8 303.8,120.8 352.5,64.3 401.2,64.3 450.0,94.7 498.8,84.6 547.5,84.6 596.2,60.0 645.0,60.0 693.8,66.5 742.5,64.3 791.2,64.3 840.0,60.0" fill="none" stroke="#c08a2d" stroke-width="2"/>
|
||||
<polyline points="60.0,440.0 108.8,81.7 157.5,81.7 206.2,418.3 255.0,418.3 303.8,418.3 352.5,81.7 401.2,81.7 450.0,255.4 498.8,255.4 547.5,255.4 596.2,60.0 645.0,60.0 693.8,81.7 742.5,81.7 791.2,81.7 840.0,60.0" fill="none" stroke="#a03030" stroke-width="2"/>
|
||||
<line x1="680" y1="70" x2="704" y2="70" stroke="#2f6f4f" stroke-width="2"/>
|
||||
<text x="710" y="74" font-size="11" fill="#333">beste Loesung</text>
|
||||
<line x1="680" y1="88" x2="704" y2="88" stroke="#c08a2d" stroke-width="2"/>
|
||||
<text x="710" y="92" font-size="11" fill="#333">Durchschnitt</text>
|
||||
<line x1="680" y1="106" x2="704" y2="106" stroke="#a03030" stroke-width="2"/>
|
||||
<text x="710" y="110" font-size="11" fill="#333">schlechteste Loesung</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.1 KiB |
Reference in New Issue
Block a user