Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/scoring/attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function deriveStyle(s: Signals): { value: string; reason: string } {
return { value: "Controlled", reason: "A long, steady track record." };
if (s.max_repo_stars >= 5000 && s.recent_contributions < 200)
return { value: "Clinical", reason: "One big hit, quiet lately." };
if (s.recent_contributions >= 300) return { value: "Industrious", reason: "Steadily active this year." };
if (s.recent_contributions >= 300) return { value: "Industrious", reason: "Steadily active over the past year." };
return { value: "Measured", reason: "Light recent activity." };
}

Expand Down
4 changes: 2 additions & 2 deletions lib/scoring/playstyles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ interface PlaystyleDef {
const CATALOG: PlaystyleDef[] = [
{ name: "Star Magnet", icon: "star", noun: "stars earned", value: (s) => s.total_stars_owned, base: 500, plus: 20_000 },
{ name: "Viral Hit", icon: "flame", noun: "stars on one repo", value: (s) => s.max_repo_stars, base: 1_000, plus: 20_000 },
{ name: "Workhorse", icon: "zap", noun: "active days this year", value: (s) => s.active_days_recent, base: 120, plus: 250 },
{ name: "Rapid Fire", icon: "fast-forward", noun: "contributions this year", value: (s) => s.recent_contributions, base: 500, plus: 2_500 },
{ name: "Workhorse", icon: "zap", noun: "active days in the past year", value: (s) => s.active_days_recent, base: 120, plus: 250 },
{ name: "Rapid Fire", icon: "fast-forward", noun: "contributions in the past year", value: (s) => s.recent_contributions, base: 500, plus: 2_500 },
{ name: "Marathoner", icon: "infinity", noun: "lifetime contributions", value: (s) => s.total_contributions_lifetime, base: 3_000, plus: 25_000 },
{ name: "Maintainer", icon: "shield", noun: "reviews & issues", value: (s) => s.reviews + s.issues_closed, base: 30, plus: 300 },
{ name: "Connector", icon: "git-pull-request", noun: "pull requests", value: (s) => s.prs_to_others, base: 30, plus: 400 },
Expand Down