Skip to content

Fix: Compute Repository Average Review Time Using Valid Non-Self Review Count - #9000

Open
nandhanay wants to merge 1 commit into
JhaSourav07:mainfrom
nandhanay:fix/pr-insights-avg-review-time
Open

Fix: Compute Repository Average Review Time Using Valid Non-Self Review Count#9000
nandhanay wants to merge 1 commit into
JhaSourav07:mainfrom
nandhanay:fix/pr-insights-avg-review-time

Conversation

@nandhanay

Copy link
Copy Markdown
Contributor

Description

Fixes #8999

Pillar

  • 🎨 Pillar 1 — New Theme Design
  • 📐 Pillar 2 — Geometric SVG Improvement
  • 🕐 Pillar 3 — Timezone Logic Optimization
  • 🛠️ Other (Bug fix, refactoring, docs)

Checklist before requesting a review:

  • I have read the CONTRIBUTING.md file.
  • I have tested these changes locally (localhost:3000/api/streak?user=YOUR_USERNAME).
  • I have run npm run format and npm run lint locally and resolved all errors (CI will fail otherwise).
  • My commits follow the Conventional Commits format (e.g., feat(themes): ..., fix(calculate): ...).
  • I have updated README.md if I added a new theme or URL parameter.
  • I have started the repo.
  • I have made sure that i have only one commit to merge in this PR.
  • The SVG output matches the CommitPulse "premium quality" aesthetic standard (no raw elements, smooth animations, correct fonts).
  • (Recommended) I joined the CommitPulse Discord community for contributor discussions, mentorship, and faster PR support.

@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

@nandhanay is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

@retenta-bot

retenta-bot Bot commented Aug 11, 2026

Copy link
Copy Markdown

This PR aims to enhance the accuracy of the average review time calculation by excluding self-reviews, which aligns with our goal of improving code quality and user experience. This change is similar to previous decisions made regarding the removal of dead code in the calculateStreak function, which also focused on ensuring accurate functionality. Thank you for your contribution, and I look forward to your updates!

@retenta-bot retenta-bot Bot changed the title fix: compute repository avgReviewTime using valid non-self review count Fix: Compute Repository Average Review Time Using Valid Non-Self Review Count Aug 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Size Report (Gzipped Sizes)

✨ No significant bundle size changes detected.

📊 Summary of Totals

Category PR Size Base Size Difference
Total JS 4998.89 KB 4998.89 KB 0 B
Total CSS 354.18 KB 354.18 KB 0 B

@github-actions github-actions Bot added the type:bug Something isn't working as expected label Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: repoPerformance avgReviewTime is deflated by self-reviews and unparsed reviews

1 participant