docs: 계획서 v1.2 — 정해 주신 8가지 반영, 실제 화면, 고정 프롬프트 토큰 실측으로 비용 재계산
- 범인 = 가장 못함 + 가장 발목 + 패배 원인 종합, 분석 버튼 = 등록된 앱 유저 이상, Opus 5.5 · 중간맛, TTS 안내 문구 - 리플레이 동기화: API(공식 · 비공식)로 시간을 읽을 수 있을 때만, OCR · game.cfg 수정 없음 → R0 는 API 확인만 - 화면 1~3 을 실제 구현 화면(시연 데이터 + 실제 Claude 결과)으로 교체, AI 자료 예시를 앱이 만든 실제 줄로 - 지시문 · 지식 묶음 · 출력 형식 실측 6,649 / 8,204 토큰 → 경기당 $0.40, $100 로 약 237경기 (v1.1 248) - 9장 진행 상황(C1~C3 완료), 10장 정한 것 · 남은 일, 부록은 site/server/prompt 원문 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// 범인찾기 화면 확인: 실제 앱 코어(범인찾기 · 기록 DB) + 실제 사이트 서버 + 헤드리스 브라우저.
|
||||
// AI 는 부르지 않는다: CULPRIT_ANSWER(JSON 파일)를 AI 답으로 돌려준다 (없으면 기본 답 생성).
|
||||
// node --import tsx scripts/culprit-shots.mts [답.json] [스크린샷 폴더]
|
||||
// [SCALE=2] node --import tsx scripts/culprit-shots.mts [답.json] [스크린샷 폴더]
|
||||
import fs from 'node:fs';
|
||||
import os from 'node:os';
|
||||
import path from 'node:path';
|
||||
@@ -93,8 +93,9 @@ await page.exposeFunction('__csp', (v: string) => csp.push(v));
|
||||
await page.evaluateOnNewDocument(() => document.addEventListener('securitypolicyviolation', (e) => (window as any).__csp(`${e.violatedDirective} ${e.blockedURI}`)));
|
||||
fs.mkdirSync(shotDir, { recursive: true });
|
||||
const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));
|
||||
const SCALE = Number(process.env.SCALE || 1);
|
||||
const shot = async (name: string, w = 1440, h = 900, full = false) => {
|
||||
await page.setViewport({ width: w, height: h });
|
||||
await page.setViewport({ width: w, height: h, deviceScaleFactor: SCALE });
|
||||
await sleep(600);
|
||||
await page.screenshot({ path: path.join(shotDir, name), fullPage: full });
|
||||
console.log('screenshot', name);
|
||||
|
||||
Reference in New Issue
Block a user