범인찾기 v1.3.2: 외부 전적 사이트 접속 제거 — OP.GG · LOL.PS 는 계산법만 참고
- 사용자 결정: 실제 OP.GG 연결이 아니라 계산법 참고 → 분석 때 OP.GG 를 찾아보던 opgg.ts · 결과의 OP.GG 점수 · 조회 상태 · 지시문 줄 · Riot 태그/경기 찾기 정보 제거 - 남은 것: 기록 점수(OP.GG OP스코어 계산법, 앱이 경기 기록으로 계산) · 10/15분 라인전(LOL.PS 정의) - 실제 E2E (Claude Opus 5.5 high, 외부 접속 없음): 발로란트 33초 $0.138, 롤 36초 $0.123 - 테스트: 앱 40 · 서버 16 통과 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -173,7 +173,6 @@ export class Culprit {
|
||||
character: p.character ?? null,
|
||||
userId: userId ?? null,
|
||||
voice: !!userId && speakers.has(userId),
|
||||
...(p.tag ? { tag: p.tag } : {}),
|
||||
...(ratings.get(p.puuid) ? { rating: ratings.get(p.puuid) } : {}),
|
||||
hasExtraStats: !!p.stats,
|
||||
};
|
||||
@@ -334,12 +333,6 @@ export class Culprit {
|
||||
refs,
|
||||
players: players.map(({ hasExtraStats: _x, ...p }) => p),
|
||||
stats: { utterances: utts.length, utterancesTotal: totalUtts, events: ei, chats: ci, rounds: rounds.length, basic },
|
||||
lookup: {
|
||||
riotMatchId: m.id.replace(/^(val|lol)-/, '') || null,
|
||||
startedAt: realStart(m),
|
||||
endedAt: m.ended_at ?? realStart(m),
|
||||
durationSec: Math.round(((m.ended_at ?? realStart(m)) - realStart(m)) / 1000),
|
||||
},
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -364,8 +357,8 @@ function ratingLines(game: string, players: CulpritPlayer[]): string[] {
|
||||
if (!players.some((p) => p.rating)) return [];
|
||||
const head =
|
||||
game === 'valorant'
|
||||
? '# 기록 점수 (0~10, OP.GG OP스코어 방식: 라운드 승률 · KAST · ACS · 피해 격차를 실제 OP.GG 점수에 맞춘 계산. 경기 순위/팀 순위, 경기 평균보다 점수를 올린 강점 · 깎은 약점)'
|
||||
: '# 기록 점수 (0~10, OP.GG OP스코어 방식: 킬 관여 · 데스 · 딜/받은 피해 · 골드 · CS · 레벨 · CC · 와드를 실제 OP.GG 점수에 맞춘 계산. 경기 순위/팀 순위, 경기 평균보다 점수를 올린 강점 · 깎은 약점, 라인전 = LOL.PS 라인전 점수의 입력인 10 · 15분 맞라이너와의 CS · 골드 · 경험치 차)';
|
||||
? '# 기록 점수 (0~10, OP.GG OP스코어 계산법: 라운드 승률 · KAST · ACS · 피해 격차로 계산. 경기 순위/팀 순위, 경기 평균보다 점수를 올린 강점 · 깎은 약점)'
|
||||
: '# 기록 점수 (0~10, OP.GG OP스코어 계산법: 역할 · 킬 관여 · 데스 · 딜/받은 피해/골드 비중 · CS · 레벨 · CC · 와드로 계산. 경기 순위/팀 순위, 경기 평균보다 점수를 올린 강점 · 깎은 약점, 라인전 = LOL.PS 라인전 점수의 입력인 10 · 15분 맞라이너와의 CS · 골드 · 경험치 차)';
|
||||
const out = [head];
|
||||
if (players.some((p) => p.rating?.basic)) out.push('# (추가 지표가 없어 K/D/A · 골드 · CS 같은 기본 기록으로만 낸 점수다)');
|
||||
const idOf = new Map(players.map((p) => [p.puuid, p.id]));
|
||||
|
||||
Reference in New Issue
Block a user