Show prediction basis (datetime + model versions) next to "AI 예측 대결"
- "AI의 예측 대결" 우측에 예측 기준(생성 시각) + 실제 모델 버전 표기 - 라벨 "예측 기준 / As of" + 2026.06.10 00:00 KST (매일 0시 갱신 기준) - gpt-5.5 · claude-opus-4-8 · gemini-3.5-flash (MODEL_VERSIONS) - 가운데 정렬, 가시성↑(11px), 본문 폰트 통일 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
f29dbd0454
commit
9de27dafd8
3 files changed
+21
-3
No files matched your search
+11
-3
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import { DEMO_FORCE_OPEN } from "@/lib/mockData";
|
||||
import { DEMO_FORCE_OPEN, MODEL_VERSIONS } from "@/lib/mockData";
|
||||
import { outcomeLabel, pct, kickoffDisplay, winProb } from "@/lib/format";
|
||||
import { type Lang, dict, teamShort } from "@/lib/i18n";
|
||||
import type {
|
||||
@@ -41,6 +41,8 @@ export default function Arena({
|
||||
const t = dict(lang);
|
||||
const aShort = teamShort(match.teamA, lang);
|
||||
const bShort = teamShort(match.teamB, lang);
|
||||
const genDate = (predictions[0]?.generatedAt ?? "").replace(/-/g, ".");
|
||||
const modelVersions = predictions.map((p) => MODEL_VERSIONS[p.model]).join(" · ");
|
||||
const [outcome, setOutcome] = useState<Outcome | null>(null);
|
||||
const [scoreA, setScoreA] = useState(2);
|
||||
const [scoreB, setScoreB] = useState(1);
|
||||
@@ -142,8 +144,14 @@ export default function Arena({
|
||||
|
||||
{/* ===== 레이어드 화이트 시트 (002) ===== */}
|
||||
<section className="sheet mt-4 p-5 text-[var(--ink)]">
|
||||
<div className="mb-3">
|
||||
<h2 className="text-[22px] font-extrabold">{t.aiBattle}</h2>
|
||||
<div className="mb-3 flex items-end justify-between gap-2">
|
||||
<h2 className="shrink-0 text-[22px] font-extrabold">{t.aiBattle}</h2>
|
||||
<div className="flex-1 pb-1 text-center text-[11px] leading-snug">
|
||||
<div className="font-bold text-[var(--ink)]">
|
||||
{t.genLabel} · {genDate} 00:00 KST
|
||||
</div>
|
||||
<div className="text-[var(--ink-muted)]">{modelVersions}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col gap-3">
|
||||
|
||||
Reference in new issue
Block a user