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">-620</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">-559</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">-498</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">-436</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">-375</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">-314</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,288.5 108.8,288.5 157.5,288.5 206.2,199.1 255.0,199.1 303.8,199.1 352.5,199.1 401.2,199.1 450.0,127.1 498.8,127.1 547.5,127.1 596.2,127.1 645.0,127.1 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,359.5 108.8,318.8 157.5,318.8 206.2,245.3 255.0,269.8 303.8,269.8 352.5,225.4 401.2,225.4 450.0,175.5 498.8,192.1 547.5,192.1 596.2,148.4 645.0,148.4 693.8,117.9 742.5,128.1 791.2,128.1 840.0,60.0" fill="none" stroke="#c08a2d" stroke-width="2"/>
|
||||
<polyline points="60.0,440.0 108.8,353.1 157.5,353.1 206.2,288.5 255.0,353.1 303.8,353.1 352.5,243.8 401.2,243.8 450.0,231.4 498.8,243.8 547.5,243.8 596.2,169.3 645.0,169.3 693.8,231.4 742.5,231.4 791.2,231.4 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.2 KiB |
Reference in New Issue
Block a user