epub2md/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dschlueter 2526ee6789 feat: Sprachlabels für Codeblöcke aus Inhalt und Buchkontext (R1)
- Gedruckte Zeilennummern ("00  #include …") werden für die Erkennung
  ignoriert, bleiben aber im Block stehen.
- Python zusätzlich per ast.parse (Kontrollstrukturen, def/class, Import
  mit Code) und an >>>-Sitzungen erkannt; YAML zählt nicht.
- Vordurchlauf bestimmt die Sprache des Buches aus den sicher erkannten
  Blöcken; passt sie, reichen für kurze Schnipsel schwächere Signale
  (detected_by: "book-context"). Programmausgaben bleiben ohne Label.

Ohne Label: C-Buch 518 -> 132 von 574, Python-Buch 492 -> 326 von 747.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 23:46:50 +02:00
..
conftest.py fix: nur eingebundene Stylesheets auswerten (QA3-01) 2026-10-06 21:07:49 +02:00
test_chapters.py feat: --chapter-level auto teilt nur sehr große Kapitel (R2) 2026-10-06 21:23:47 +02:00
test_codeblocks.py feat: Sprachlabels für Codeblöcke aus Inhalt und Buchkontext (R1) 2026-10-06 23:46:50 +02:00
test_epub_reader.py feat: epub2md – EPUB nach kapitelweisem Markdown 2026-10-05 19:33:42 +02:00
test_footnotes.py feat: epub2md – EPUB nach kapitelweisem Markdown 2026-10-05 19:33:42 +02:00
test_integration.py fix: Befunde aus der QA-Prüfung (Prompt_Kontrolle.md) 2026-10-05 19:47:45 +02:00
test_links.py fix: doppelte Tabellen-Anker und Bild-Links im Linkcheck 2026-10-05 20:24:47 +02:00
test_math.py fix: Pandoc-Weg – EPUB-Links, Formeln im EPUB, portables TeX (QA3-04 bis QA3-06) 2026-10-06 21:41:13 +02:00
test_merge.py fix: Pandoc-Weg – EPUB-Links, Formeln im EPUB, portables TeX (QA3-04 bis QA3-06) 2026-10-06 21:41:13 +02:00
test_pandoc.py fix: Pandoc-Weg – EPUB-Links, Formeln im EPUB, portables TeX (QA3-04 bis QA3-06) 2026-10-06 21:41:13 +02:00
test_qa2_open.py feat: Sprachlabels für Codeblöcke aus Inhalt und Buchkontext (R1) 2026-10-06 23:46:50 +02:00
test_qa_regressions.py fix: Zeilen aus nur - oder = als Text maskieren (QA2-08) 2026-10-06 00:03:29 +02:00
test_styles.py fix: nur eingebundene Stylesheets auswerten (QA3-01) 2026-10-06 21:07:49 +02:00
test_tables_lists.py fix: doppelte Tabellen-Anker und Bild-Links im Linkcheck 2026-10-05 20:24:47 +02:00