Skip to content

Fix: story point average calculation to use mode instead of arithmetic mean#410

Open
onurkanbakirci wants to merge 1 commit into
Trendyol:mainfrom
onurkanbakirci:develop-grooming
Open

Fix: story point average calculation to use mode instead of arithmetic mean#410
onurkanbakirci wants to merge 1 commit into
Trendyol:mainfrom
onurkanbakirci:develop-grooming

Conversation

@onurkanbakirci

Copy link
Copy Markdown
Contributor

Fixes #213

Problem

Story point average was calculated using arithmetic mean, causing misleading results. For example, if 8 people voted 1 SP and 1 person voted 21 SP, the average showed as ~5 SP instead of the expected 1 SP.

Solution

Changed calculation to use mode (most frequent value) instead of arithmetic mean. Now the average reflects the most common vote, which is more meaningful for planning poker sessions.

Example

  • Before: 8×1 + 1×21 = average of 5 SP ❌
  • After: 8×1 + 1×21 = average of 1 SP ✅ (most frequent)

@mertcanaltin

Copy link
Copy Markdown
Member

@armagandalkiran

@vercel

vercel Bot commented Sep 23, 2025

Copy link
Copy Markdown

@onurkanbakirci is attempting to deploy a commit to the Trendyol Gurubu Team Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Story Point" average is calculated by value not quantity

2 participants