fix: '의료진 3명' → '전문의 3명' — staffCount는 강남언니 등록 의사 수

staffCount is the number of registered doctors from 강남언니, not total
staff. Label changed from 의료진(medical staff) to 전문의(specialists)
to accurately reflect the data source. Diagnosis message also updated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
claude/bold-hawking
Haewon Kam 2026-04-04 16:21:10 +09:00
parent 66b4826f55
commit 2a35108149
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ interface InfoField {
const infoFields = (data: ClinicSnapshotType): InfoField[] => [
data.established ? { label: '개원', value: `${data.established} (${data.yearsInBusiness}년)`, icon: Calendar } : null,
data.staffCount > 0 ? { label: '료진', value: `${data.staffCount}`, icon: Users } : null,
data.staffCount > 0 ? { label: '전문의', value: `${data.staffCount}`, icon: Users } : null,
data.overallRating > 0 ? { label: '강남언니 평점', value: data.overallRating > 5 ? `${data.overallRating} / 10` : `${data.overallRating} / 5.0`, icon: Star } : null,
data.totalReviews > 0 ? { label: '리뷰 수', value: formatNumber(data.totalReviews), icon: Star } : null,
data.location ? { label: '위치', value: data.nearestStation ? `${data.location} (${data.nearestStation})` : data.location, icon: MapPin } : null,

View File

@ -808,7 +808,7 @@ function generateEnrichmentDiagnosis(enrichment: EnrichmentData): DiagnosisItem[
items.push({ category: '강남언니', detail: `평점 ${gu.rating}/10 — 업계 상위권(9.5+) 대비 개선 여지가 있습니다.`, severity: 'warning' });
}
if (gu.doctors && gu.doctors.length < 3) {
items.push({ category: '강남언니', detail: `등록 ${gu.doctors.length}명 — 료진 프로필을 더 등록하면 신뢰도가 높아집니다.`, severity: 'good' });
items.push({ category: '강남언니', detail: `등록 전문${gu.doctors.length}명 — 전문의 프로필을 더 등록하면 신뢰도가 높아집니다.`, severity: 'good' });
}
if (gu.totalReviews && gu.totalReviews > 5000) {
items.push({ category: '강남언니', detail: `리뷰 ${gu.totalReviews.toLocaleString()}건 — 우수한 리뷰 수입니다. 리뷰 관리와 답변에 집중하세요.`, severity: 'excellent' });
@ -1013,7 +1013,7 @@ export function mergeEnrichment(
overallRating: gu.rating ?? merged.clinicSnapshot.overallRating,
totalReviews: gu.totalReviews ?? merged.clinicSnapshot.totalReviews,
certifications: gu.badges?.length ? gu.badges : merged.clinicSnapshot.certifications,
staffCount: gu.doctors?.length ?? merged.clinicSnapshot.staffCount,
staffCount: gu.doctors?.length ?? merged.clinicSnapshot.staffCount, // 전문의 수 (강남언니 등록 의사 기준)
};
// Extract nearest station from address (Korean station name pattern)