Repository navigation
feat(tournaments): 수락된 일일 코드 기록만 대회 순위에 반영 - #32
Merged
Merged
Conversation
코드를 등록한 대회는 운영자가 수락한 공식 인증만 집계한다. 코드를 쓰지 않는 대회는 기간 안 승인 기록을 그대로 쓴다. Co-authored-by: park gun hyung <qkrrjsgud49@gmail.com>
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.
왜
일일 코드는 저장하고 관리자가 수락할 수 있었지만, 대회 순위는 기간 안의 승인된 공식 인증을 모두 집계했습니다. 코드를 맞추지 않은 기록도 순위에 들어갔습니다.
무엇을 바꿨나
dayCodeStatus가accepted인 공식 인증만 순위에 넣습니다.dayCodes개수를 사용합니다.검증
npm test --prefix apps/api(106 passed)npm run build --prefix apps/apinpm run build --prefix apps/webpython3 -m unittest discover -s ai/tests -t ai화면
문구만 바뀝니다. 코드가 있는 대회는 "오늘의 코드를 운영자가 수락한 공식 인증만 순위에 들어갑니다." 코드를 쓰지 않는 대회는 기존 문구를 유지합니다.
마이그레이션
없음. 이미 있는
tournament_day_codes와day_code_status를 읽습니다.