fix: QB 엑셀 GPT상세·PPLX상세를 논브랜드 84문항으로 한정 (브랜드 원본은 JSONL 보존)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0155BJMHJyhqqAPGYjGKYhPS
This commit is contained in:
parent
591791a262
commit
34edb3bef8
Binary file not shown.
@ -194,11 +194,14 @@ def main():
|
|||||||
ws.column_dimensions[col].width = w
|
ws.column_dimensions[col].width = w
|
||||||
|
|
||||||
# ── 엔진별 상세 (답변 전문 + 인용) ────────────────────
|
# ── 엔진별 상세 (답변 전문 + 인용) ────────────────────
|
||||||
|
# 논브랜드 84문항만 수록 (브랜드 직접 질문 36개의 원본 답변은 scripts/out/ JSONL 참조)
|
||||||
for sheet, data in (("GPT상세", oa), ("PPLX상세", px)):
|
for sheet, data in (("GPT상세", oa), ("PPLX상세", px)):
|
||||||
ws = wb.create_sheet(sheet)
|
ws = wb.create_sheet(sheet)
|
||||||
ws.append(["ID", "질문", "뷰 언급", "순위", "답변 전문", "인용 URL"])
|
ws.append(["ID", "질문 (논브랜드 84문항)", "뷰 언급", "순위", "답변 전문", "인용 URL"])
|
||||||
style_header(ws, 6)
|
style_header(ws, 6)
|
||||||
for q in qs:
|
for q in qs:
|
||||||
|
if brand(q):
|
||||||
|
continue
|
||||||
r = data[q["id"]]
|
r = data[q["id"]]
|
||||||
ws.append([q["id"], q["question"],
|
ws.append([q["id"], q["question"],
|
||||||
"O" if r.get("view_mentioned") else "X", r.get("view_rank") or "",
|
"O" if r.get("view_mentioned") else "X", r.get("view_rank") or "",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user