codedang icon indicating copy to clipboard operation
codedang copied to clipboard

feat(be): calculate contest participants score

Open gyunseo opened this issue 10 months ago • 5 comments

Description

Contest에 참여한 Participants(User들)의 점수를 계산하는 feature를 개발했습니다.
close #1238

Additional context

  • ContestProblem에서 score field의 의미 변경(원래는 대회에서 각 문제들이 갖는 점수의 비율을 의미했는데, 이제는 문제가 갖는 점수 그 자체를 의미합니다.)
  • ContestRecord에 Pariticipant가 가장 최근에 AC를 받은 시각인 finishTime field를 추가했습니다. 리트 코드 예시 참고

Before submitting the PR, please make sure you do the following

  • [x] Read the Contributing Guidelines
  • [x] Read the Contributing Guidelines and follow the Commit Convention
  • [x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • [x] Ideally, include relevant tests that fail without this PR but pass with it.

gyunseo avatar Apr 08 '24 11:04 gyunseo

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
codedang ✅ Ready (Inspect) Visit Preview Jul 22, 2024 8:51am

vercel[bot] avatar Apr 08 '24 11:04 vercel[bot]

close 하려는 이슈 언급해주세요오 !

cho-to avatar Apr 08 '24 11:04 cho-to

노션 Task도 업데이트 해주세요~~ (pr 링크 연결도)

Jaehyeon1020 avatar Apr 09 '24 02:04 Jaehyeon1020

1238- 로 시작하는 브랜치가 여러갠데, 안 쓰는 브랜치는 지워주세요!

Jaehyeon1020 avatar Apr 09 '24 09:04 Jaehyeon1020

@gyunseo 이거 리뷰 하면 되나요?? 작업끝나셧나요!!

Jaehyeon1020 avatar May 08 '24 02:05 Jaehyeon1020

test fail난 것만 고치면 또 봐보겠습니다! ( 수정하기 전 코드는 제대로 실행되었어요 ! )

cho-to avatar Jul 11 '24 12:07 cho-to