Perfectionism score's consistency term rewards fewer commits per day

オープン
#4,037 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Dhruvdesai793 がすでに取り組んでいます。

2026年12月3日 から。

  • #4069 @Dhruvdesai793 による — オープン

評価

この issue はまだ評価されていません。

説明

status:assigned

What happens

In computePersonalityDimensions() (src/lib/personality-analysis.ts), the "consistency" part of the perfectionism score is:

const consistency = Math.min(activeDays / Math.max(totalCommits, 1), 1) * 40;

The comment says it measures a consistent daily cadence, but activeDays / totalCommits is really "1 ÷ commits per active day". Someone who makes exactly one commit a day gets the full 40 points, while someone committing 10 times a day on the same days gets 4, even if both coded every single day.

Question

Is this intended? If the goal is cadence, something like the share of days in the window that were active (activeDays / windowDays), or a low spread in daily counts, would match the comment better. Happy to send a PR once there's agreement on what it should measure, since it changes users' scores.

主要言語
TypeScript
スター
246
フォーク
436
平均マージ
9時間 33分
マージ済み PR(30日)
213

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Priyanshu-byte-coder/devtrack のほかの issue

Priyanshu-byte-coder/devtrack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。