Repository navigation
feat: 오답 복습에 간격 반복 일정 추가 - #41
Merged
Merged
Conversation
- 맞히면 간격을 늘리고 틀리면 다음 날로 되돌려 문제별로 복습일 계산 - 오늘 복습할 문제만 푸는 버튼과 세 단계 채점(또 틀림·헷갈림·맞음) 추가 - 간격이 30일을 넘으면 복습 완료로 처리 - 이전 버전에서 다시 맞힌 기록도 일정에 편입
- 며칠 전에 푼 기록을 오늘 오답으로 표시하면 바로 오늘 복습에 들어오던 문제 수정
- 오답 표시를 풀었다 다시 하면 예전 간격을 이어 가지 않고 다음 날부터 시작 - 다시 풀기 마지막 문제의 다음 복습일 안내가 완료 화면에 보이도록 수정
AI 사전 코드 리뷰 (파일럿)검토 SHA: 오답 복습 간격 반복(Spaced Repetition) 알고리즘 도입 및 관련 UI/테스트 변경 사항을 검토했습니다. `ReviewScheduler` 기반의 복습 일정 계산, 모델 필드 확장, UI 세션 반영 및 단위 테스트가 프로젝트 컨벤션을 준수하여 정상 구현되었습니다.
사람의 판정: |
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.
관련 이슈
없음 (#38, #39, #40의 후속 작업)
변경사항
ReviewScheduler): 첫 복습은 오답으로 표시한 다음 날. 맞히면 간격 × 2.5(하루 이상 지나 맞히면 최소 3일), 헷갈리면 × 1.2, 틀리면 1일로 초기화. 예정일 전에 풀면 실제로 지난 날수만 인정한다. 다음 간격이 30일을 넘으면 복습 완료. 제때 계속 맞히면 1일 → 3일 → 8일 → 20일 → 완료.docs/domain.md에 용어를,docs/decisions.md에 결정(상태: 제안)을 추가했다.변경·영향 범위
담당 주 영역: 앱 기능 (Storage / UI)
AGENTS.md,docs/)PR 분류
사전 예측
실제 결과·트러블슈팅
markedIncorrectAt). 오답 표시를 풀었다 다시 하면 예전 간격을 이어 가던 문제와, 마지막 문제의 복습일 안내가 완료 화면에 보이지 않던 문제도 함께 고쳤다.docs/decisions.md의 결정은 팀 확인 후 "채택"으로 바꾼다.검증 결과
xcrun swift-format lint --recursive --strict Paxo PaxoTests통과.xcodebuild ... test로컬 126개 통과(신규 7개: 간격 증가와 완료, 틀림·헷갈림 처리, 일찍 풀기, 자정 기준 복습 차례, 이전 버전 기록 편입, 오답 표시일 기준, 재표시 초기화). 앱에서 직접 확인: 10월 16일에 푼 기록을 오늘 오답으로 표시해도 "오늘 복습"이 늘지 않음, 채점 버튼 3개 표시, "또 틀렸어요" 후 완료 화면에 "방금 문제는 1일 뒤에 다시 나와요." 표시, 오답 표시 해제 시 요약 복귀. 간격이 3일·8일로 늘어나는 것과 "오늘 복습" 버튼으로 시작하는 흐름은 날짜가 지나야 해서 앱에서는 확인하지 못했고 테스트로만 검증했다. 기록 카드의 "다음 복습 날짜" 문구는 눈으로 확인하지 않았다.