Skip to content

routineProgress 주석을 백엔드 답변에 맞춰 바로잡는다 #616

Closed

Description

@Sadturtleman

배경

#605 에서 `roomAverageProgressRate` 가 `summary.roomSuccessRate` 와 같은 값이라는 전제로 주석을 달았는데, 백엔드 확인 결과 두 값은 다른 지표다.

  • `roomSuccessRate`(0~1): 방 전체 판정일 중 성공 비율 = 성공 ÷ (성공+실패), 판정 없으면 null
  • `roomAverageProgressRate`(0~100): 참여 중 멤버 각자 진행률(성공일 ÷ 목표일 × 100, 최대 100)의 평균

목표일(`myTargetDays`)이 0인 조건도 「첫 인증 전」이 아니라 「목표일 계산 전(자동 인증 방은 첫 sync, 수동 인증 방은 첫 수동 인증 전)」이다.

목표

  • 틀린 주석만 바로잡는다. 화면 표시는 그대로 둔다(그룹: 내 진행률 + 방 성공률, 솔로: 내 진행률만).

완료 조건

  • `RoomResponse.kt` · `Room.kt` · `RoomInfoTab.kt` 주석이 백엔드 답변과 일치한다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions