Repository navigation
feat: 기상 루틴을 잠금 해제가 아니라 일어나 걸은 걸음으로 판정한다 - #314
Merged
Merged
Conversation
첫 잠금 해제는 누워서 알람만 꺼도 잡히고 일어나서 휴대폰을 안 보면 실패한다. 00:00 ~ 목표 시각 + 30분 안에 Health Connect 걸음이 10걸음 이상이면 기상으로 본다. 유예·걸음 수는 실기기 테스트로 찾을 값이라 설정(app.verification.wake-grace-minutes·wake-min-steps)으로 뺐다. 앱은 requiredPermissions 로 수집 지표를 정하므로 템플릿과 이미 만든 방의 권한을 READ_STEPS 로 바꾼다(V13) — 앱 수정 없이 걸음이 온다. 걸음 출처 게이트·겹침 제거는 움직임 판정과 같은 코드를 쓴다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
selee1012
added this pull request to stack #315
October 15, 2026 01:21
Test Coverage
|
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.
무엇을
기상 루틴(1501~1507)의 판정을 첫 잠금 해제 → 일어나 걸은 걸음으로 바꾼다.
WOKE_UP_LATE(설명: 「07:30까지 걸음 3걸음 / 목표 10걸음」)app.verification.wake-grace-minutes,app.verification.wake-min-steps왜
잠금 해제는 누워서 알람만 꺼도 잡히고, 일어나서 휴대폰을 안 보면 실패한다.
판정 세부
HEALTH하나(MethodSignalTypes) — 그래서 건강정보 동의가 필요해진다.앱 영향 없음
Android 는 챌린지의
verification.requiredPermissions로 Health Connect 수집 지표를 정한다(RestoreVerificationTargetsUseCase).V13__wake_by_steps.sql이 템플릿과 이미 만든 자동 인증 방의 스냅샷 권한을android.permission.health.READ_STEPS로 바꾸므로 앱 수정 없이 걸음 기록이 올라온다.사용자는 Health Connect 걸음 권한을 허용해야 한다.
테스트
EvaluatorAccuracyTest: 창 안 걸음 성공 / 잠금 해제만으론 불인정 / 유예 뒤 걸음은 늦잠 / 마감 걸친 기록 비율 계산 / 손입력 제외 / 창 열림 대기./gradlew test1,456건 통과🤖 Generated with Claude Code