Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

통계 구현: 인원, 기간, 저장소별 merged PR의 코드 변경량 #241

Description

@danbi2990

대략적인 의사 코드는 아래와 같습니다.

struct PullRequestStat {
    ...
    merged_pr_code_change: CodeChange,
}

struct CodeChange {
    additions: i32,
    deletions: i32,
    delta: i32, // = additions-deletions
}

자동 생성된 코드는 제외하는 기능 (이미지, 외부 소스)

schema.graphql, 이미지 파일 등 무의미한 코드 변경이 포함되지 않도록 기존에 계획했었는데, 현재 데이터 구조에서 구현하기 쉽지 않으므로 일단은 무시하고 추후 구현을 논의합니다.

현재 데이터 구조는 commits 필드에 파일 구분 없이 additions, deletions 데이터가 합쳐져서 넘어오므로 파일별 구분이 불가능합니다.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions