feat(discovery): 기준표 v2.0 정식 채택 — 배지·헤더·랜딩 카피·비교 엑셀·덱 v2.0
- aeoGeoRubricV2 status active/2.0, 결과 rubricVersion 2.0. 리포트 헤더는 AEO·GEO 링 2개가 주, v1.0 종합은 보조 표기 - 랜딩: Hero 카피, ABMR 칩(AEO/GEO 목표), SampleReport(두 링 + 축별 8항목 바), Roadmap 제목, HowItWorks를 v2 계산값에서 파생. 발견 칩 수치 v1.1 스냅샷으로 정정 - 비교 엑셀 v2: scripts/build_supporters_v2_compare.ts(점수 계산 TS 단일 원본) → build_supporters_audit_v2_xlsx.py. 공식 AEO 42/GEO 56 · 서포터즈 noindex 상한 40(G1) · 색인 허용 AEO 94/GEO 77 - 덱 v2.0: build_viewclinic_deck_v2_0.py (17장, 표지 배지 v2.0, KPI AEO/GEO, 스코어카드 2장, Method v2.0) + 표준캔버스 + PDF. v1.0·v1.1 파일은 그대로 - docs/AEO_GEO_RUBRIC.md에 v2.0 채택 주석, AEO_GEO_RUBRIC_v2.md 재생성, 리포트 페이지 PDF 재출력 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
c02de9ea51
commit
76ec63bc1e
32 files changed
+2524
-89
No files matched your search
@@ -6,6 +6,18 @@
|
||||
import { motion } from 'motion/react';
|
||||
import type { OverallScore } from '../../types/discovery';
|
||||
|
||||
/** 랜딩이 쓰는 축 요약. v2.0 AEO·GEO 계산값에서만 만든다 (하드코딩 금지) */
|
||||
export interface AxisSummary {
|
||||
code: string;
|
||||
name: string;
|
||||
nameEn: string;
|
||||
score: number;
|
||||
grade: OverallScore['grade'];
|
||||
/** 다음 등급 목표. A등급이면 null */
|
||||
target: { score: number; grade: OverallScore['grade'] } | null;
|
||||
items: { id: string; name: string; pct: number | null }[];
|
||||
}
|
||||
|
||||
const NODES = [
|
||||
{ letter: 'A', label: 'Audit', pos: 'top-0 left-1/2 -translate-x-1/2 -translate-y-1/2' },
|
||||
{ letter: 'B', label: 'Build', pos: 'top-1/2 right-0 translate-x-1/2 -translate-y-1/2' },
|
||||
@@ -14,16 +26,12 @@ const NODES = [
|
||||
];
|
||||
|
||||
interface AbmrLoopProps {
|
||||
overall: OverallScore;
|
||||
/** 다음 등급 목표 (A등급이면 null) */
|
||||
target: { score: number; grade: OverallScore['grade'] } | null;
|
||||
axes: AxisSummary[];
|
||||
}
|
||||
|
||||
export default function AbmrLoop({ overall, target }: AbmrLoopProps) {
|
||||
export default function AbmrLoop({ axes }: AbmrLoopProps) {
|
||||
const chips = [
|
||||
...(target
|
||||
? [`점수 ${overall.score} → ${target.score}+`, `등급 ${overall.grade} → ${target.grade}`]
|
||||
: [`점수 ${overall.score} 유지 검증`, `등급 ${overall.grade} 유지 검증`]),
|
||||
...axes.map((ax) => (ax.target ? `${ax.code} ${ax.score}/${ax.grade} → ${ax.target.score}+/${ax.target.grade}` : `${ax.code} ${ax.score}/${ax.grade} 유지 검증`)),
|
||||
'언급률 상승 추적',
|
||||
];
|
||||
|
||||
|
||||
@@ -6,13 +6,12 @@
|
||||
import { Link } from 'react-router';
|
||||
import { motion } from 'motion/react';
|
||||
import { ArrowRight } from 'lucide-react';
|
||||
import type { OverallScore } from '../../types/discovery';
|
||||
import AbmrLoop from './AbmrLoop';
|
||||
import type { AxisSummary } from './AbmrLoop';
|
||||
import AiAnswerMock from './AiAnswerMock';
|
||||
|
||||
interface DiscoveryHeroProps {
|
||||
overall: OverallScore;
|
||||
target: { score: number; grade: OverallScore['grade'] } | null;
|
||||
axes: AxisSummary[];
|
||||
clinicName: string;
|
||||
sampleReportPath: string;
|
||||
criteriaCount: number;
|
||||
@@ -21,8 +20,7 @@ interface DiscoveryHeroProps {
|
||||
}
|
||||
|
||||
export default function DiscoveryHero({
|
||||
overall,
|
||||
target,
|
||||
axes,
|
||||
clinicName,
|
||||
sampleReportPath,
|
||||
criteriaCount,
|
||||
@@ -72,8 +70,8 @@ export default function DiscoveryHero({
|
||||
className="text-lg md:text-xl text-slate-600 leading-relaxed max-w-3xl mb-10 break-keep"
|
||||
>
|
||||
고객은 이제 ChatGPT와 Perplexity에게 병원을 묻습니다.
|
||||
<br className="hidden md:block" /> 답변에 인용될 근거를 {criteriaCount}개 항목으로 실측
|
||||
진단하고, 8주 안에 구축합니다.
|
||||
<br className="hidden md:block" /> 답변에 인용될 근거를 {criteriaCount}개 항목으로 실측해
|
||||
답변 준비도와 출처 준비도로 진단하고, 8주 안에 구축합니다.
|
||||
</motion.p>
|
||||
|
||||
{/* CTAs */}
|
||||
@@ -101,7 +99,7 @@ export default function DiscoveryHero({
|
||||
|
||||
{/* ABMR loop + AI answer mock */}
|
||||
<div className="w-full max-w-7xl grid md:grid-cols-2 gap-6">
|
||||
<AbmrLoop overall={overall} target={target} />
|
||||
<AbmrLoop axes={axes} />
|
||||
<AiAnswerMock clinicName={clinicName} criteriaCount={criteriaCount} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -22,7 +22,7 @@ export default function HowItWorks({ criteriaCount, categoryCount }: HowItWorksP
|
||||
{
|
||||
step: 'STEP 01',
|
||||
title: 'Audit',
|
||||
detail: `AEO/GEO 기준표 v1.0으로 ${criteriaCount}개 항목을 실측합니다. 크롤러 접근성부터 인용 가능 콘텐츠, 측정 인프라까지 ${categoryCount}개 카테고리 100점 척도. 항목마다 근거 등급을 명시합니다.`,
|
||||
detail: `기준표 v2.0으로 ${criteriaCount}개 항목을 실측해 두 점수로 집계합니다. AEO 답변 준비도(질문에 얼마나 명확하게 답하는가)와 GEO 출처 준비도(그 답을 얼마나 믿을 수 있는 출처로 쓸 수 있는가), 각 100점. ${categoryCount}개 실측 카테고리, 항목마다 근거 등급을 명시합니다.`,
|
||||
icon: (
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true">
|
||||
<circle cx="11" cy="11" r="6.5" stroke="#6C5CE7" strokeWidth="1.6" />
|
||||
|
||||
@@ -2,16 +2,19 @@
|
||||
* 8주 로드맵 타임라인. 타이틀의 등급 전환(C → B)은 계산값에서 파생.
|
||||
*/
|
||||
import { motion } from 'motion/react';
|
||||
import type { OverallScore } from '../../types/discovery';
|
||||
import type { AxisSummary } from './AbmrLoop';
|
||||
|
||||
interface RoadmapProps {
|
||||
grade: OverallScore['grade'];
|
||||
targetGrade: OverallScore['grade'] | null;
|
||||
axes: AxisSummary[];
|
||||
criteriaCount: number;
|
||||
unverifiedCount: number;
|
||||
}
|
||||
|
||||
export default function Roadmap({ grade, targetGrade, criteriaCount, unverifiedCount }: RoadmapProps) {
|
||||
export default function Roadmap({ axes, criteriaCount, unverifiedCount }: RoadmapProps) {
|
||||
const rising = axes.filter((ax) => ax.target);
|
||||
const title = rising.length
|
||||
? `8주 안에, ${rising.map((ax) => `${ax.name} ${ax.grade}에서 ${ax.target!.grade}로`).join(', ')} 올립니다.`
|
||||
: `8주마다, ${axes.map((ax) => `${ax.name} ${ax.grade}`).join(' · ')} 등급을 재검증합니다.`;
|
||||
const phases = [
|
||||
{
|
||||
week: 'W1–2',
|
||||
@@ -26,7 +29,7 @@ export default function Roadmap({ grade, targetGrade, criteriaCount, unverifiedC
|
||||
{
|
||||
week: 'W7–8',
|
||||
title: '재진단·보고',
|
||||
detail: `${criteriaCount}개 항목을 재측정하고 미검증 ${unverifiedCount}개를 반영해 총점을 다시 산정합니다.`,
|
||||
detail: `${criteriaCount}개 항목을 재측정하고 미검증 ${unverifiedCount}개를 반영해 답변 준비도와 출처 준비도를 다시 산정합니다.`,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -42,9 +45,7 @@ export default function Roadmap({ grade, targetGrade, criteriaCount, unverifiedC
|
||||
>
|
||||
<div className="text-sm font-bold tracking-[0.24em] text-accent mb-4">8-WEEK ROADMAP</div>
|
||||
<h2 className="font-serif text-3xl md:text-[40px] font-bold leading-tight text-primary-900 break-keep">
|
||||
{targetGrade
|
||||
? `8주 안에, ${grade}에서 ${targetGrade}로 올립니다.`
|
||||
: `8주마다, ${grade} 등급을 재검증합니다.`}
|
||||
{title}
|
||||
</h2>
|
||||
</motion.div>
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
/**
|
||||
* 샘플 리포트 섹션 — 뷰성형외과 실측 스냅샷.
|
||||
* 점수·등급·카테고리 %·항목 수는 전부 discoveryScore 계산값에서 렌더 (하드코딩 금지).
|
||||
* 점수·등급·항목 %·항목 수는 전부 discoveryScore(v1 실측)·discoveryScoreV2(AEO/GEO) 계산값에서 렌더 (하드코딩 금지).
|
||||
* 발견 칩 3장의 카피는 result.keyFindings를 랜딩용으로 압축한 시안 확정 문안이다.
|
||||
*/
|
||||
import { motion } from 'motion/react';
|
||||
import type { DiscoveryResult, OverallScore } from '../../types/discovery';
|
||||
import { scorePctColor } from '../../lib/discoveryScore';
|
||||
import { ScoreRing } from '../report/ui/ScoreRing';
|
||||
import type { AxisSummary } from './AbmrLoop';
|
||||
|
||||
const GRADE_BADGE_STYLE: Record<OverallScore['grade'], string> = {
|
||||
A: 'bg-[#EFF0FF] border-[#C5CBF5] text-[#3A3F7C]',
|
||||
@@ -15,7 +16,7 @@ const GRADE_BADGE_STYLE: Record<OverallScore['grade'], string> = {
|
||||
D: 'bg-[#FFF0F0] border-[#F5D5DC] text-[#7C3A4B]',
|
||||
};
|
||||
|
||||
/** keyFindings 압축본 (시안 확정 카피). 수치는 2026-08-28 실측 스냅샷과 일치한다. */
|
||||
/** keyFindings 압축본 (시안 확정 카피). 수치는 2026-09-07 재검증(v1.1) 스냅샷과 일치한다. */
|
||||
const FINDING_CHIPS = [
|
||||
{
|
||||
label: '치명',
|
||||
@@ -29,23 +30,24 @@ const FINDING_CHIPS = [
|
||||
chipClass: 'bg-[#FFF6ED] border-[#F5E0C5] text-[#7C5C3A]',
|
||||
dotColor: '#D4A872',
|
||||
title: '인용할 문장이 없음',
|
||||
detail: '정의문 0개, FAQ 0개, HTML 표 0개. 답변엔진이 잘라 갈 단락이 없습니다.',
|
||||
detail: '정의문 0개, HTML 표 0개, FAQ는 프리저베 한 페이지뿐. 답변엔진이 잘라 갈 단락이 없습니다.',
|
||||
},
|
||||
{
|
||||
label: '강점',
|
||||
chipClass: 'bg-[#F3F0FF] border-[#D5CDF5] text-[#4A3A7C]',
|
||||
dotColor: '#9B8AD4',
|
||||
title: '표면 자산은 이미 강함',
|
||||
detail: '강남언니 후기 19,316건, GBP 4.9점. 홈페이지가 따라가면 바로 인용 근거가 됩니다.',
|
||||
detail: '강남언니 후기 19,373건, GBP 4.9점. 홈페이지가 따라가면 바로 인용 근거가 됩니다.',
|
||||
},
|
||||
];
|
||||
|
||||
interface SampleReportProps {
|
||||
overall: OverallScore;
|
||||
axes: AxisSummary[];
|
||||
result: DiscoveryResult;
|
||||
}
|
||||
|
||||
export default function SampleReport({ overall, result }: SampleReportProps) {
|
||||
export default function SampleReport({ overall, axes, result }: SampleReportProps) {
|
||||
const totalCriteria = overall.categories.reduce((sum, c) => sum + c.totalCount, 0);
|
||||
const verifiedCriteria = overall.categories.reduce((sum, c) => sum + c.verifiedCount, 0);
|
||||
const unverifiedCriteria = totalCriteria - verifiedCriteria;
|
||||
@@ -66,8 +68,8 @@ export default function SampleReport({ overall, result }: SampleReportProps) {
|
||||
읽을 수는 있지만, 인용할 근거가 없습니다.
|
||||
</h2>
|
||||
<p className="text-[17px] leading-[1.7] text-slate-500 mb-12 break-keep">
|
||||
실제 1차 진단 결과입니다. 어디가 강하고 어디가 비어 있는지, 점수는 카테고리 단위로
|
||||
드러납니다.
|
||||
실제 1차 진단 결과입니다. 답변 준비도(AEO)와 출처 준비도(GEO)를 각각 100점으로 보고,
|
||||
어디가 강하고 어디가 비어 있는지 항목 단위로 드러냅니다.
|
||||
</p>
|
||||
</motion.div>
|
||||
|
||||
@@ -80,17 +82,21 @@ export default function SampleReport({ overall, result }: SampleReportProps) {
|
||||
transition={{ duration: 0.6, delay: 0.1 }}
|
||||
className="flex flex-col items-center justify-center gap-4 bg-white border border-slate-200 rounded-2xl px-8 py-10 shadow-[0_8px_32px_rgba(31,38,135,0.07)]"
|
||||
>
|
||||
<ScoreRing score={overall.score} size={160} valueClassName="text-[40px]" subLabel="/ 100" />
|
||||
<div className="flex items-center gap-2.5">
|
||||
<div className={`px-3.5 py-[5px] border rounded-full ${GRADE_BADGE_STYLE[overall.grade]}`}>
|
||||
<span className="text-sm font-bold">등급 {overall.grade}</span>
|
||||
</div>
|
||||
<span className="text-sm text-slate-500">AI Answer Readiness</span>
|
||||
<div className="flex items-start gap-6">
|
||||
{axes.map((ax) => (
|
||||
<div key={ax.code} className="flex flex-col items-center gap-2.5">
|
||||
<ScoreRing score={ax.score} size={120} valueClassName="text-[32px]" subLabel="/ 100" />
|
||||
<div className={`px-3.5 py-[5px] border rounded-full ${GRADE_BADGE_STYLE[ax.grade]}`}>
|
||||
<span className="text-sm font-bold">{ax.code} 등급 {ax.grade}</span>
|
||||
</div>
|
||||
<span className="text-sm text-slate-500">{ax.name}</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<p className="text-[13.5px] leading-relaxed text-slate-400 text-center break-keep">
|
||||
{totalCriteria}개 항목 중 {verifiedCriteria}개 실측.
|
||||
{totalCriteria}개 실측 항목 중 {verifiedCriteria}개 확인.
|
||||
<br />
|
||||
미검증 {unverifiedCriteria}개는 분모에서 제외했습니다.
|
||||
미검증 {unverifiedCriteria}개는 분모에서 제외했습니다. v1.0 종합 {overall.score}점.
|
||||
</p>
|
||||
</motion.div>
|
||||
|
||||
@@ -102,31 +108,38 @@ export default function SampleReport({ overall, result }: SampleReportProps) {
|
||||
transition={{ duration: 0.6, delay: 0.2 }}
|
||||
className="flex flex-col justify-center gap-[18px] bg-white border border-slate-200 rounded-2xl px-6 md:px-10 py-9 shadow-[0_8px_32px_rgba(31,38,135,0.07)]"
|
||||
>
|
||||
{overall.categories.map((cat) => {
|
||||
const color = scorePctColor(cat.pct);
|
||||
return (
|
||||
<div key={cat.category.id} className="flex flex-col gap-[7px]">
|
||||
<div className="flex justify-between items-baseline gap-3">
|
||||
<span className="text-[15px] font-semibold text-primary-900 break-keep">
|
||||
{cat.category.code} · {cat.category.name}
|
||||
</span>
|
||||
<span className="text-[15px] font-bold" style={{ color }}>
|
||||
{cat.pct}%
|
||||
</span>
|
||||
</div>
|
||||
<div className="h-2 bg-slate-100 rounded-full overflow-hidden">
|
||||
<motion.div
|
||||
className="h-2 rounded-full"
|
||||
style={{ backgroundColor: color }}
|
||||
initial={{ width: 0 }}
|
||||
whileInView={{ width: `${Math.max(cat.pct, 2)}%` }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ duration: 0.8, ease: 'easeOut' }}
|
||||
/>
|
||||
<div className="grid md:grid-cols-2 gap-x-10 gap-y-[18px]">
|
||||
{axes.map((ax) => (
|
||||
<div key={ax.code} className="flex flex-col gap-[14px]">
|
||||
<div className="flex justify-between items-baseline gap-3 border-b border-slate-100 pb-2">
|
||||
<span className="text-[15px] font-bold text-primary-900 break-keep">{ax.code} · {ax.name}</span>
|
||||
<span className="text-[15px] font-bold" style={{ color: scorePctColor(ax.score) }}>{ax.score}</span>
|
||||
</div>
|
||||
{ax.items.map((it) => {
|
||||
const pct = it.pct ?? 0;
|
||||
const color = it.pct === null ? '#CBD5E1' : scorePctColor(pct);
|
||||
return (
|
||||
<div key={it.id} className="flex flex-col gap-[6px]">
|
||||
<div className="flex justify-between items-baseline gap-3">
|
||||
<span className="text-[14px] font-medium text-primary-900 break-keep">{it.name}</span>
|
||||
<span className="text-[14px] font-bold" style={{ color }}>{it.pct === null ? '미검증' : `${it.pct}%`}</span>
|
||||
</div>
|
||||
<div className="h-2 bg-slate-100 rounded-full overflow-hidden">
|
||||
<motion.div
|
||||
className="h-2 rounded-full"
|
||||
style={{ backgroundColor: color }}
|
||||
initial={{ width: 0 }}
|
||||
whileInView={{ width: `${Math.max(pct, 2)}%` }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ duration: 0.8, ease: 'easeOut' }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
))}
|
||||
</div>
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* INFINITH AI Discovery 채점 기준표 v2.0 (초안) · AEO / GEO 분리 지표
|
||||
* INFINITH AI Discovery 채점 기준표 v2.0 · AEO / GEO 분리 지표 (2026-09-07 정식 채택. v1.0 36항목은 실측 신호로 유지)
|
||||
*
|
||||
* - AEO 답변 준비도(100): 고객의 질문에 얼마나 명확하고 충분하게 답하는가
|
||||
* - GEO 출처 준비도(100): 그 답을 얼마나 검증하고 신뢰할 수 있는 출처로 사용할 수 있는가
|
||||
@@ -22,9 +22,9 @@ const L = (l0: string, l1: string, l2: string, l3: string) => [
|
||||
];
|
||||
|
||||
export const AEO_GEO_RUBRIC_V2: RubricV2 = {
|
||||
version: '2.0-draft',
|
||||
version: '2.0',
|
||||
updatedAt: '2026-09-07',
|
||||
status: 'draft',
|
||||
status: 'active',
|
||||
axes: [
|
||||
{
|
||||
id: 'aeo',
|
||||
|
||||
@@ -12,7 +12,7 @@ export const DISCOVERY_TAEHA: DiscoveryResult = {
|
||||
url: 'https://taehadrug.com',
|
||||
industry: '로펌 · 마약 형사 (강남 테헤란로, 6개 분사무소)',
|
||||
auditedAt: '2026-08-28',
|
||||
rubricVersion: '1.0',
|
||||
rubricVersion: '2.0',
|
||||
conditions: [
|
||||
'선정: 네이버 "마약 변호사" 검색 파워링크 1위 광고주. 광고 랜딩은 마약 전용 도메인 taehadrug.com',
|
||||
'실측 대상: taehadrug.com 메인 + /success/success_story/, www.taehalaw.com 메인 + /member/page. JS 미실행 HTML 기준',
|
||||
|
||||
@@ -15,7 +15,7 @@ export const DISCOVERY_VIEWCLINIC: DiscoveryResult = {
|
||||
url: 'https://www.viewclinic.com',
|
||||
industry: '성형외과 (강남 신논현)',
|
||||
auditedAt: '2026-09-07',
|
||||
rubricVersion: '1.0',
|
||||
rubricVersion: '2.0',
|
||||
conditions: [
|
||||
'실측 대상: 메인 페이지 + /breast/main/ (가슴성형) 2개 URL, JS 미실행 HTML 기준',
|
||||
'크롤러 접근성: robots.txt 파싱 + 12개 AI 봇 UA 실제 GET 요청',
|
||||
@@ -158,7 +158,7 @@ export const DISCOVERY_VIEWCLINIC: DiscoveryResult = {
|
||||
{ item: '답변엔진 UI 자동 조회', reason: 'OpenAI·Perplexity 약관 위반. 주력 측정은 오너가 소유한 신호(로그·GA4)로 한다.' },
|
||||
{ item: '네이버 블로그 증량', reason: 'blog.naver.com robots.txt가 AI 크롤링을 전면 금지. 글로벌 AI 답변 기여도 0. 네이버 AI 브리핑은 별도 트랙.' },
|
||||
],
|
||||
// v2.0(초안) 사람 판정. v1.0에 대응 항목이 없는 4개만. 근거는 2026-09-07 수집기(evidence/viewclinic) 원문. 병원 확인 전 초안이다.
|
||||
// v2.0 사람 판정. v1.0에 대응 항목이 없는 4개만. 근거는 2026-09-07 수집기(evidence/viewclinic) 원문. 병원 확인 전 초안이다.
|
||||
v2Results: [
|
||||
{ criterionId: 'AEO6', level: 3, evidence: '모든 페이지 하단에 전화 02-539-1177·주소·온라인 상담 폼이 텍스트로 반복되고(수집기 반복 줄), /counsel/reservation/ 예약 페이지와 카카오톡 채널 링크가 있다. 전화·예약·방문 3경로가 텍스트로 연결됨', source: 'evidence/viewclinic/index.json (reservation 5, direction 2)' },
|
||||
{ criterionId: 'GEO1', level: 1, evidence: '"모티바 보형물 국내 사용량 1위(2023, 모티바코리아 전체 수술량 기준)"처럼 집계 주체·시점이 붙은 주장이 일부 있으나, 모티바 그랜드 어워드·KOL·렛미인 등 대부분의 권위 신호는 이미지·슬로건 안에 있고 원문 링크가 없다. "마취과 전문의 상주 43% vs 23.1%" 비교는 출처·기준 시점 없음', source: 'https://www.viewclinic.com/breast/breast-augmentation/motiva/ · /system/safe-surgery/ (2026-09-07)' },
|
||||
|
||||
@@ -2,14 +2,17 @@
|
||||
* /discovery — AI Discovery(AEO/GEO) 서비스 랜딩.
|
||||
* 시안: docs/reports/landing/ai_discovery_landing.html (2026-08-31 확정)
|
||||
*
|
||||
* 데이터 원칙: 점수·등급·카테고리 %·항목 수는 전부
|
||||
* scoreDiscovery(AEO_GEO_RUBRIC, DISCOVERY_VIEWCLINIC) 계산값에서 파생한다.
|
||||
* 데이터 원칙: 점수·등급·항목 %·항목 수는 전부
|
||||
* scoreDiscovery(v1.0 실측) / scoreDiscoveryV2(v2.0 AEO·GEO) 계산값에서 파생한다.
|
||||
* 재진단으로 데이터가 바뀌면 랜딩 수치도 함께 바뀐다 (JSX 하드코딩 금지).
|
||||
*/
|
||||
import { useMemo, useState } from 'react';
|
||||
import { AEO_GEO_RUBRIC } from '../data/aeoGeoRubric';
|
||||
import { DISCOVERY_VIEWCLINIC } from '../data/discovery_viewclinic';
|
||||
import { scoreDiscovery, nextGradeTarget } from '../lib/discoveryScore';
|
||||
import { AEO_GEO_RUBRIC_V2 } from '../data/aeoGeoRubricV2';
|
||||
import { scoreDiscoveryV2 } from '../lib/discoveryScoreV2';
|
||||
import type { AxisSummary } from '../components/discovery/AbmrLoop';
|
||||
import DiscoveryHero from '../components/discovery/DiscoveryHero';
|
||||
import WhyNow from '../components/discovery/WhyNow';
|
||||
import HowItWorks from '../components/discovery/HowItWorks';
|
||||
@@ -23,7 +26,16 @@ export default function DiscoveryLandingPage() {
|
||||
const [leadOpen, setLeadOpen] = useState(false);
|
||||
const result = DISCOVERY_VIEWCLINIC;
|
||||
const overall = useMemo(() => scoreDiscovery(AEO_GEO_RUBRIC, result), [result]);
|
||||
const target = nextGradeTarget(overall.score);
|
||||
const overallV2 = useMemo(() => scoreDiscoveryV2(AEO_GEO_RUBRIC_V2, result), [result]);
|
||||
const axes: AxisSummary[] = [overallV2.aeo, overallV2.geo].map((ax) => ({
|
||||
code: ax.axis.code,
|
||||
name: ax.axis.name,
|
||||
nameEn: ax.axis.nameEn,
|
||||
score: ax.score,
|
||||
grade: ax.grade,
|
||||
target: nextGradeTarget(ax.score),
|
||||
items: ax.items.map((it) => ({ id: it.item.id, name: it.item.name, pct: it.pct === null ? null : Math.round(it.pct * 100) })),
|
||||
}));
|
||||
|
||||
const criteriaCount = AEO_GEO_RUBRIC.criteria.length;
|
||||
const categoryCount = AEO_GEO_RUBRIC.categories.length;
|
||||
@@ -33,8 +45,7 @@ export default function DiscoveryLandingPage() {
|
||||
return (
|
||||
<div className="[word-break:keep-all]">
|
||||
<DiscoveryHero
|
||||
overall={overall}
|
||||
target={target}
|
||||
axes={axes}
|
||||
clinicName={result.clinicName}
|
||||
sampleReportPath={`/discovery/${result.id}`}
|
||||
criteriaCount={criteriaCount}
|
||||
@@ -42,10 +53,9 @@ export default function DiscoveryLandingPage() {
|
||||
/>
|
||||
<WhyNow />
|
||||
<HowItWorks criteriaCount={criteriaCount} categoryCount={categoryCount} />
|
||||
<SampleReport overall={overall} result={result} />
|
||||
<SampleReport overall={overall} axes={axes} result={result} />
|
||||
<Roadmap
|
||||
grade={overall.grade}
|
||||
targetGrade={target?.grade ?? null}
|
||||
axes={axes}
|
||||
criteriaCount={criteriaCount}
|
||||
unverifiedCount={unverifiedCount}
|
||||
/>
|
||||
|
||||
@@ -126,19 +126,26 @@ export default function DiscoveryReportPage() {
|
||||
{result.url}
|
||||
</a>
|
||||
<p className="text-white/60 text-sm mt-4">
|
||||
실측일 {result.auditedAt} · 검증 항목 {overall.categories.reduce((s, c) => s + c.verifiedCount, 0)} /
|
||||
{' '}{AEO_GEO_RUBRIC.criteria.length} · 미검증 항목은 분모 제외
|
||||
실측일 {result.auditedAt} · 실측 항목 {overall.categories.reduce((s, c) => s + c.verifiedCount, 0)} /
|
||||
{' '}{AEO_GEO_RUBRIC.criteria.length} · AEO·GEO 각 100점 독립 지표 · 미검증 항목은 분모 제외
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="bg-white rounded-2xl shadow-[3px_4px_12px_rgba(0,0,0,0.06)] p-8 flex flex-col items-center gap-3 min-w-[260px]">
|
||||
<ScoreRing score={overall.score} size={160} label="AI Answer Readiness" />
|
||||
<div className="flex items-baseline gap-2">
|
||||
<span className="font-serif text-4xl font-black text-[#0A1128]">{overall.grade}</span>
|
||||
<span className="text-sm text-slate-500">
|
||||
{overall.earned} / {overall.possible}점
|
||||
</span>
|
||||
<div className="bg-white rounded-2xl shadow-[3px_4px_12px_rgba(0,0,0,0.06)] p-8 flex flex-col items-center gap-4 min-w-[260px]">
|
||||
<div className="flex items-start gap-8">
|
||||
{overallV2 && [overallV2.aeo, overallV2.geo].map((ax) => (
|
||||
<div key={ax.axis.id} className="flex flex-col items-center gap-2">
|
||||
<ScoreRing score={ax.score} size={130} label={ax.axis.nameEn} />
|
||||
<div className="flex items-baseline gap-2">
|
||||
<span className="font-serif text-3xl font-black text-[#0A1128]">{ax.grade}</span>
|
||||
<span className="text-sm text-slate-500">{ax.axis.code} {ax.axis.name}</span>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<p className="text-sm text-slate-500">
|
||||
v1.0 종합 {overall.score}/{overall.grade} · 실측 {overall.earned} / {overall.possible}점
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -183,7 +190,7 @@ export default function DiscoveryReportPage() {
|
||||
<SectionWrapper
|
||||
id="breakdown"
|
||||
title="Scorecard by Category"
|
||||
subtitle="36개 항목 · 각 항목의 실측 근거와 근거 등급"
|
||||
subtitle="v1.0 실측 항목 36개 · AEO/GEO 점수의 파생 신호. 각 항목의 실측 근거와 근거 등급"
|
||||
dark
|
||||
>
|
||||
<div className="space-y-6">
|
||||
@@ -351,7 +358,7 @@ export default function DiscoveryReportPage() {
|
||||
<SectionWrapper
|
||||
id="rubric"
|
||||
title="Scoring Rubric"
|
||||
subtitle={`AEO/GEO 채점 기준표 v${AEO_GEO_RUBRIC.version} · ${AEO_GEO_RUBRIC.criteria.length}개 항목 · 100점`}
|
||||
subtitle={`실측 기준표 v${AEO_GEO_RUBRIC.version} · ${AEO_GEO_RUBRIC.criteria.length}개 항목. v2.0 AEO/GEO 점수는 이 항목들을 파생 신호로 쓴다`}
|
||||
>
|
||||
<div className="overflow-x-auto rounded-2xl border border-slate-100 shadow-sm bg-white">
|
||||
<table className="w-full text-base min-w-[860px]">
|
||||
|
||||
Reference in new issue
Block a user