docs: 아웃바운드 WebforAI 2~6군 병원 측정·감사 원자료와 진단·덱 빌드 스크립트 갱신
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ec031f3149
commit
2e23222fee
68 files changed
+42267
-195
No files matched your search
@@ -9,6 +9,7 @@ haewon이 확정한 소개서(그랜드 v13)를 틀로 삼아 다른 병원 소
|
||||
python3 docs/reports/outbound_webforai/build_clinic_deck.py <틀.pptx> <출력.pptx> <병원명>
|
||||
"""
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
from pptx import Presentation
|
||||
@@ -66,6 +67,13 @@ def main(template, out, name):
|
||||
# 3 측정 방법: 질의 횟수
|
||||
runs = sum(len(report.judged_runs(clinic, qid, e)) for qid in plan[name].values() for e, _ in report.ENGINES)
|
||||
set_runs(shape(s[2], "TextBox 35"), [str(runs)])
|
||||
# 측정일 라벨: 틀에 남은 '10.19 · 10.26' 대신 이 병원 실측일 (예: '2026. 10. 19 · 10. 26 · 11. 03' → '10.19 · 10.26 · 11.03')
|
||||
days = [x.replace(" ", "") for x in re.split(r" · | ~ ", d["measured"])]
|
||||
days = [x[5:] if x.count(".") == 2 else x for x in days]
|
||||
# measured_dates 가 측정일 4개 이상을 '첫날 ~ 마지막 날'로 줄여 준 경우는 기간으로 쓴다
|
||||
date_label = f"측정 기간 {days[0]} ~ {days[-1]}" if " ~ " in d["measured"] else f"측정일 {' · '.join(days)}"
|
||||
v3._check(date_label, shape(s[2], "TextBox 44").width / 914400, 24.0, 1, "method date")
|
||||
set_runs(shape(s[2], "TextBox 44"), [date_label])
|
||||
# 4 핵심 발견 (히어로 80pt 한 줄씩)
|
||||
for ln in kf["hero"]:
|
||||
v3._check(ln, v3.W, 80.0, 1, f"hero «{ln}»")
|
||||
|
||||
Reference in new issue
Block a user