Skip to content

feat(fe): implement plagiarism test#3420

Open
jwoojin9 wants to merge 10 commits intomainfrom
t2510-implement-plagiarism-test
Open

feat(fe): implement plagiarism test#3420
jwoojin9 wants to merge 10 commits intomainfrom
t2510-implement-plagiarism-test

Conversation

@jwoojin9
Copy link
Contributor

@jwoojin9 jwoojin9 commented Feb 10, 2026

Description

표절검사 기능을 구현합니다

image image image

closes TAS-2510

Additional context

별도의 Figma 디자인 없이 작업한 결과물이라 Dialog 사용이라던지 text color 등 기존의 코드 컨벤션을 지키지 않은 것들이 많으므로, 현재 페이지를 바탕으로 디자인팀에서 디테일 개선안이 나오면 수정 및 리팩토링을 진행할 예정입니다.


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

@skkuding-bot
Copy link

skkuding-bot bot commented Feb 10, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 988724d32fedc99fc8201ccc85a2ca7f9ba2d18a
Health Status: Healthy

Open Preview | View in Argo CD

@jwoojin9 jwoojin9 marked this pull request as ready for review February 10, 2026 18:37
@skkuding-bot
Copy link

skkuding-bot bot commented Feb 10, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 8072e43c0e5fa4c48f322cfada3c9fdb79b116e2
Health Status: Healthy

Open Preview | View in Argo CD

@tasoo-oos tasoo-oos added the preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 label Feb 17, 2026
@skkuding-bot
Copy link

skkuding-bot bot commented Feb 17, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 8072e43c0e5fa4c48f322cfada3c9fdb79b116e2
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot
Copy link

skkuding-bot bot commented Feb 17, 2026

🛑 Preview Removed

Reason: No commits for 7 days (stale)
Last Activity: 2026-02-10

Push a new commit to restore the preview.

@skkuding-bot skkuding-bot bot added preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 and removed preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 labels Feb 17, 2026
@skkuding-bot
Copy link

skkuding-bot bot commented Feb 17, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 8072e43c0e5fa4c48f322cfada3c9fdb79b116e2
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot skkuding-bot bot removed the preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 label Feb 18, 2026
@skkuding-bot
Copy link

skkuding-bot bot commented Feb 18, 2026

🛑 Preview Removed

Reason: No commits for 7 days (stale)
Last Activity: 2026-02-10

Push a new commit to restore the preview.

@skkuding-bot skkuding-bot bot added the preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 label Feb 18, 2026
@skkuding-bot
Copy link

skkuding-bot bot commented Feb 18, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 8072e43c0e5fa4c48f322cfada3c9fdb79b116e2
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot skkuding-bot bot removed the preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 label Feb 19, 2026
@skkuding-bot
Copy link

skkuding-bot bot commented Feb 19, 2026

🛑 Preview Removed

Reason: No commits for 7 days (stale)
Last Activity: 2026-02-10

Push a new commit to restore the preview.

@skkuding-bot
Copy link

skkuding-bot bot commented Feb 19, 2026

Syncing Preview App Failed

Application: frontend
Revision: 8072e43c0e5fa4c48f322cfada3c9fdb79b116e2
Health Status: Missing

Open Preview | View in Argo CD

@skkuding-bot skkuding-bot bot added the preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 label Feb 19, 2026
@skkuding-bot
Copy link

skkuding-bot bot commented Feb 19, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 8072e43c0e5fa4c48f322cfada3c9fdb79b116e2
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot skkuding-bot bot removed the preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 label Feb 20, 2026
@skkuding-bot
Copy link

skkuding-bot bot commented Feb 20, 2026

🛑 Preview Removed

Reason: No commits for 7 days (stale)
Last Activity: 2026-02-10

Push a new commit to restore the preview.

@skkuding-bot
Copy link

skkuding-bot bot commented Feb 20, 2026

Syncing Preview App Failed

Application: frontend
Revision: 8072e43c0e5fa4c48f322cfada3c9fdb79b116e2
Health Status: Missing

Open Preview | View in Argo CD

@skkuding-bot skkuding-bot bot added the preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 label Feb 20, 2026
@skkuding-bot
Copy link

skkuding-bot bot commented Feb 20, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 8072e43c0e5fa4c48f322cfada3c9fdb79b116e2
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot
Copy link

skkuding-bot bot commented Feb 21, 2026

🛑 Preview Removed

Reason: No commits for 7 days (stale)
Last Activity: 2026-02-10

Push a new commit to restore the preview.

@skkuding-bot skkuding-bot bot added preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 and removed preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 labels Feb 21, 2026
@skkuding-bot
Copy link

skkuding-bot bot commented Feb 24, 2026

Syncing Preview App Failed

Application: frontend
Revision: eefd1eb030dcbdc6b13492d558983bdb2ef87af9
Health Status: Degraded

Open Preview | View in Argo CD

@skkuding-bot
Copy link

skkuding-bot bot commented Feb 24, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: a43fd3e7a6f352a2292ee1cc84212b1dd8e08c10
Health Status: Healthy

Open Preview | View in Argo CD

@jwoojin9
Copy link
Contributor Author

이거 테스트용으로 올린 커밋인데 나중에 제대로 수정할 테니까 내일 리뷰해주세요!

@skkuding-bot
Copy link

skkuding-bot bot commented Feb 26, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 8da63312d598506cb4fefd697b2665d45396d8e1
Health Status: Healthy

Open Preview | View in Argo CD

@jwoojin9
Copy link
Contributor Author

@seoeun9 힘드시겠지만 오늘 QA 전까지 리뷰 부탁드립니다..!

Copy link
Contributor

@seoeun9 seoeun9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

제가 지금 회사라..😭ㅋㅋㅋ 더이상 딴짓 하면 안될 거 같아 일단 에러 처리 위주로 확인했습니다
PA 과제만 봤을 땐 검사 기능은 괜찮은 거 같아요
중간에 리뷰에도 달아놨지만 적용 조건이 궁금하네요..!! 다른 테스트도 해보고 싶은데
암튼 너무 고생하셨습니다 수정되면 멘션주세요!

/>
<Label htmlFor="enableMerging">
enableMerging (obfuscation resistance)
</Label>
Copy link
Contributor

@seoeun9 seoeun9 Feb 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image 전체적으로 대기용 toast는 필요 없을 거 같아요! 모달에 로딩 중이라고 주황색 문구가 나오고 있기도 하고, 빠른 로딩의 경우 겹쳐 보이네요

그리고 토글 이름 enableMerging도 Enable Merging 이런 식으로 알아보기 쉽게 바꾸는 게 어떨까요!

.sort((a, b) => a.order - b.order)

useEffect(() => {
if (problemData?.length && !selectedProblemId) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

problemData?.length이용해서 문제가 없는 경우의 문구도 수정해주세요! Please select a problem 이라고 나오고 있어용

useMutation(CHECK_ASSIGNMENT_SUBMISSIONS, {
onError: (error) => {
toast.error(`Plagiarism check request failed: ${error.message}`)
setOpen(false)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

여기도 이전 토스트에 에러가 가려집니다! 마우스를 움직여야 보여요
+에러로 종료 후에도 버튼이 checking... 에서 변하지 않는데 바꿀 방법이 있을까요

onRequestComplete()
setOpen(false)
} else if (
latestStatus === 'JplagError' ||
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

혹시 제출물들이 wrong answer 거나.. compile error 거나.. 혹은 너무 짧으면 JplagError가 발생하나요?
정우진개론 -> 테스트 과제 쪽에서 실험해보려고 좀 끄적거렸는데 JplagError만 뜨네요.. 너무 정성이 없었나

원래 이런 건지 궁금해요!

@jwoojin9
Copy link
Contributor Author

@seoeun9 일단 버스에서 급하게 반영해 봤습니다!

@skkuding-bot
Copy link

skkuding-bot bot commented Feb 26, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 124e0fcdd10857ac2a91cbeb747dd6e070ae20d1
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot
Copy link

skkuding-bot bot commented Feb 26, 2026

Syncing Preview App Failed

Application: frontend
Revision: 6e993cbce317bade989991b5102e66b0211e15a3
Health Status: Degraded

Open Preview | View in Argo CD

@skkuding-bot
Copy link

skkuding-bot bot commented Feb 26, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: a6b012a47e6bee02711818522dd46b66ad11cfed
Health Status: Healthy

Open Preview | View in Argo CD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💡 feature-admin Features for admin & group manager preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 🌊 squad-__init__ ⛳️ team-frontend

Projects

Status: Pending

Development

Successfully merging this pull request may close these issues.

3 participants