аудит B-02: +76 строк '## Downloads' в 73 карточках (66 без секции + 10 неполных; sec09 ×43, sec06 ×20, sec12 ×7, sec10 ×4, sec08/11 ×1); fix check-md.py: DL_DIR mapping sec09/sec10 (parity-чек был тихо выключен); rename bonus-tfp → 13-bonus-tfp; parser guard +de (Kerényi DTV 1956)

This commit is contained in:
Dmitry Kokorin 2026-10-05 00:08:24 +03:00
parent 21eba0d135
commit a05bc9ecc3
43 changed files with 247 additions and 6 deletions

View file

@ -16,8 +16,11 @@ BANNED_TEXTS = ('// not searched yet', '(not searched yet)', '// not searched',
VALID_MARKERS = ('✅', '🔶', '❌', '⬜', '🔎')
ORDER = ['ED', 'DL', 'CR', 'NT']
DL_DIR = {"09-comparison-of-psychodynamic-concepts": "09-comparison",
"10-psychopathology-psychiatry": "10-psychopathology"}
def sec_of(path):
return os.path.basename(os.path.dirname(path))
return DL_DIR.get(os.path.basename(os.path.dirname(path)), os.path.basename(os.path.dirname(path)))
def lint_card(path, manifest_files):
c = open(path, encoding='utf-8').read()