Merged
Conversation
재참여자의 이전 기수 풀이가 현재 기수 누적 학습 현황에 포함되던 문제를 수정한다. 레포 전체 트리 스캔 대신, 열린 "리트코드 스터디X기" GitHub 프로젝트에 연결된 머지된 PR만을 기준으로 집계하도록 변경한다. Closes #10 Co-Authored-By: sounmind <[email protected]> Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
github | 99cb542 | Commit Preview URL Branch Preview URL |
Apr 08 2026, 12:50 PM |
sounmind
approved these changes
Apr 8, 2026
soobing
added a commit
that referenced
this pull request
Apr 8, 2026
revert: PR #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.
문제
재참여자(여러 기수 참여자)의 경우, 이전 기수에서 제출한 풀이가 현재 기수의 학습 현황에 포함되어 누적 풀이 수와 카테고리 진행도가 부정확하게 표시됨.
원인:
fetchUserSolutions가 레포 전체 트리를 스캔하여 파일 존재 여부만 확인하므로, 기수와 무관하게 모든 풀이를 카운팅.해결
열린 "리트코드 스터디X기" GitHub Projects를 기수 경계로 활용.
closed: false) 자동 탐지변경 사항
utils/learningData.js:fetchCohortUserSolutions함수 추가 (내부적으로fetchActiveCohortProjectId,fetchUserMergedPRsInProject사용)handlers/learning-status.js:fetchUserSolutions→fetchCohortUserSolutions교체Closes #10
🤖 Generated with Claude Code