feat: Report-Aufbau neu – Inhaltsverzeichnis, Aufgabe gerendert, Ergebnis nach dem Modell
Reihenfolge (Nutzerentscheidung): Titel → Laufdaten → Warnkasten → klickbares Inhaltsverzeichnis (HTML, H2+H3) → Aufgabe → beigelegte Daten → Was in der Aufgabe steht → Einordnung → „Wie das Modell die Aufgabe sieht“ (eigene H2) → Mathematisches Modell → Ergebnis → Prüfbericht → Solver-Programm. - Aufgabe als Markdown mit gerenderten Formeln (markdown-it-py, html=False, breaks=True; Formeln vorher durch Platzhalter geschützt); Formelsatz in reinem Text (nur_formeln.md) bleibt <pre>. - „$0$“ gilt als Formel, „$5 und $7“ weiter als Geldbetrag (_is_money). - markdown-it-py ausdrücklich in requirements.txt. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
6890c0f272
commit
29d058d8f1
1 changed files with 192 additions and 25 deletions
|
|
@ -10,5 +10,6 @@ pyscipopt>=6.2
|
|||
cyipopt>=1.7
|
||||
networkx>=3.6
|
||||
pandas>=2.2
|
||||
markdown-it-py>=3.0 # Aufgabentext im HTML-Report (bisher nur indirekt über rich)
|
||||
numpy
|
||||
pytest
|
||||
|
|
|
|||
Loading…
Reference in a new issue