Files
Negotiation_daegu/eval/06_response_time/provenance.md
T
민헌andClaude Fable 5.1 cb737b9a11 저장소 재편 — results/ 폐지, eval/<지표>/ 통합, 최저가 탐색 엔진 server/ 이동
- results/ 를 없애고 지표별 eval/<NN_지표>/ 에 측정 코드·result.json·detail.jsonl·실행 원본·provenance.md 를 모음 (요약은 eval/SUMMARY.md)
- 입력은 testdata/ 로 통일: 0_server_logs_frozen(동결본)·2_total_data(②)·8_items1000_master(⑧ 시험 데이터)
- ⑧ 은 입력 8_items1000_master.xlsx 1개 + 검수 완료 items1000.xlsx 1개만 남김 (실행 원본·캐시·모집단은 저장소 밖 보관)
- prism_core + capture_local → server/services/price_search (데모 API 와 측정 하네스가 같은 엔진 사용, sys.path 해킹 제거)
- 엔진 의존성(selectolax·Pillow·openpyxl) server/requirements.txt 로 통합, docker-compose 는 eval·testdata 만 마운트
- prism_core 주석·독스트링 1~2줄로 축약 (AST 동일성 검증)
- 데모 콘솔 최저가 검색 패널(PriceSearchPanel) 추가

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-09 11:34:07 +09:00

16 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ⑥ 답변속도 — 파생 경로
계획서 정의: 답변 생성 API 응답시간(**서버 수신 → 응답 완료**), 통계량 p95.
부하는 도구로 걸고 시간은 서버 미들웨어 로그에서 읽는다.
- 원천: `server/data/response_time.jsonl` — FastAPI 미들웨어(`server/router/router.py`)가
`/chat` 요청마다 자동 기록 (전체 7,182줄, status 200 인 7,179건)
- 부하 발생: `cd eval/06_response_time && python3 bench.py --profile heavy`
(동시 10 × 1,000회, 워밍업 50회 선수행) — 2026-09-01 11:47:17~26 구간
- 집계: `python3 aggregate.py --since 2026-09-01T11:47:17 --until 2026-09-01T11:47:22.999 --warmup 50 --label 부하_heavy`
- 산출 (판정값): `result_부하_heavy.json` — 1,062건 **p95 31.65ms**
· p50 23.52 / p99 37.16 / 평균 23.4 / 최대 83.01
· light(시작 스텝) 938건 p95 21.54ms — `result_부하_light.json`
- 보조: 운용 실트래픽 전수 7,179건 `python3 aggregate.py` → p95 25.37ms (`result.json`)
- 참고: 같은 부하의 **클라이언트 왕복** 기준값은 `result_bench_*.json` (건별 `detail_bench_*.jsonl`)
(heavy p95 57.9 / light p95 41.25ms). HTTP 오버헤드가 포함되어 정의보다 보수적인 값이다.