feat: 대시보드에 바스켓 승격 진행률 — 웹 판정 = 게이트 판정#423
Merged
Merged
Conversation
60일 증거 축적의 핵심 지표(판정·N/60·커버리지·이슈)가 CLI로만 보였다 — 사장님이 매일 보게 될 수치라 웹 한눈 보기가 필요하다. - /api/basket_evaluation (read-only): enabled 바스켓별 판정/진행/커버리지/이슈. 게이트와 같은 수집기를 쓰므로 웹 판정 = 게이트 판정. include_benchmark=False로 외부(KS11) 조회 없음 — 10초 폴링 경로에 네트워크를 섞지 않는다(테스트로 계약 고정). - 메인 페이지에 "바스켓 paper 승격 진행률" 카드 섹션(판정 색상, N/60, 커버리지, 이슈 줄). 평가 조회 실패는 해당 카드만 스킵 — 다른 카드 무영향. 테스트 2건(정상 응답·계약 고정 / 수집 실패 시 500 soft-fail) + 실 DB 스모크 (WAIT 2/60, 커버리지 100% — CLI와 동일 출력 확인). 전체 1516 passed.
진행률 카드 검증 중 발견: handle_index가 content_type="text/html; charset=utf-8"
표기를 쓰는데 aiohttp 3.13+는 content_type에 charset이 섞이면 ValueError를
던진다 — 메인 페이지 '/'가 main에서도 500으로 죽어 있던 운영 결함(이전 검증이
API 응답만 확인하고 페이지 서빙은 확인하지 않아 가려짐). 분리 인자로 수정.
페이지 서빙 회귀 테스트('/' 200 + 진행률 섹션 포함) 추가, 인라인 JS는
node --check 문법 검증 통과. 전체 1517 passed.
Owner
Author
|
추가 커밋: 진행률 카드 검증 중 기존 운영 결함 적발 — aiohttp 3.13+에서 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
배경 (편의성)
60일 증거 축적의 핵심 지표(판정·N/60·커버리지·이슈)가 CLI(
tools/basket_paper_evaluation.py)로만 보였습니다 — 매일 보게 될 수치라 대시보드 한눈 보기가 필요합니다.내용
/api/basket_evaluation(read-only): enabled 바스켓별 판정/진행/커버리지/이슈. 게이트와 같은 수집기 사용 → 웹 판정 = CLI 판정 = 게이트 판정.include_benchmark=False로 외부 조회 없음(10초 폴링 경로) — 테스트로 계약 고정검증
테스트 2건 + 실 DB 스모크:
WAIT · 2/60 · 커버리지 100%— CLI와 동일 출력. 전체 1516 passed