feat: 문제 풀이 현황을 Blind Top 75 10개 카테고리로 축소 (#34)#37
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
github | 8fd5a30 | Commit Preview URL Branch Preview URL |
Apr 22 2026, 12:55 PM |
073e67a to
4ae8a25
Compare
LeetCode 기준 20+개 카테고리가 나열되며 표가 길어지던 문제를 Blind Top 75 큐레이션의 10개 카테고리로 축소한다. - utils/blindCategories.js: 75개 문제별 Blind 카테고리 매핑 테이블 - handlers/learning-status.js: buildCategoryProgress 가 Blind 10개만 집계 Closes #34 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-Authored-By: soobing <16860535+soobing@users.noreply.github.com>
DaleStudy/leetcode-study#2559 에서 `problem-categories.json` 의 각 문제에 `blindCategories` 필드를 추가한 뒤, Worker 는 이 필드를 직접 읽는다. - utils/blindCategories.js 삭제 (매핑 테이블이 원본 JSON 으로 이전) - BLIND_CATEGORY_ORDER 는 handlers/learning-status.js 내부 상수로 유지 (동률 정렬의 타이브레이커로만 사용) 머지 순서: leetcode-study#2559 먼저, 그 다음 이 PR. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-Authored-By: soobing <16860535+soobing@users.noreply.github.com>
4ae8a25 to
8fd5a30
Compare
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.
Summary
GitHub App PR 댓글의 "문제 풀이 현황" 표를 LeetCode 기준 20+개 카테고리에서 Blind Top 75 큐레이션의 10개 카테고리 (Array / Binary / Dynamic Programming / Graph / Interval / Linked List / Matrix / String / Tree / Heap) 로 축소합니다.
설계
문제 메타데이터 단일 소스 원칙을 지키기 위해 매핑 테이블을 원본 JSON 에 통합:
problem-categories.json의 각 문제에blindCategories필드를 추가.변경 사항
handlers/learning-status.js:buildCategoryProgress가info.blindCategories를 읽어 Blind 10개만 집계BLIND_CATEGORY_ORDER상수를 모듈 내부에 유지utils/blindCategories.js(75줄 하드코딩 매핑) 은 불필요해져 삭제.blindCategories필드 추가)순서가 반대면 Worker 가
undefined.blindCategories접근으로 실패. 의도적으로 폴백을 넣지 않음 — 필드 누락을 조용히 덮는 것보다 즉시 실패가 낫다.카테고리별 문제 수 (검증)
75개 문제 전부 매핑 (
merge-k-sorted-lists는 Linked List + Heap 동시 소속).Test plan
leetcode-study#2559브랜치의 JSON 을 가져와buildCategoryProgress시뮬레이션 → 10행 출력, 난이도 집계 정상merge-k-sorted-lists가 Linked List + Heap 양쪽 집계에 잡히는지 확인leetcode-study#2559머지 → 이 PR 머지 → 자동 배포 →leetcode-studyPR 댓글에서 10행으로 노출되는지 프로덕션 검증Closes #34
🤖 Generated with Claude Code