Skip to content

feat: add language-specific causes of death#18

Open
mvanhorn wants to merge 1 commit intodotsystemsdevs:mainfrom
mvanhorn:osc/10-language-causes
Open

feat: add language-specific causes of death#18
mvanhorn wants to merge 1 commit intodotsystemsdevs:mainfrom
mvanhorn:osc/10-language-causes

Conversation

@mvanhorn
Copy link
Copy Markdown
Contributor

What changed

  • Added 8 language-specific cause-of-death rules to determineCauseOfDeath() in src/lib/scoring.ts
  • PHP, Ruby, Python, Perl, Java, Go, Rust, C++ each get their own cause when the repo has been inactive for 365+ days
  • Follows the exact same pattern as the existing JavaScript rule

Why

Issue #10 requested language-specific causes. The only language-aware rule was JavaScript ("Lost in dependency hell"). Repos in other languages now get ecosystem-appropriate causes instead of generic fallbacks.

Checklist

  • I tested my change locally (npm run lint and npm test)
  • I kept the scope focused and avoided unrelated refactors
  • I updated docs/screenshots if behavior or UI changed
  • I confirmed no secrets are added

Closes #10

This contribution was developed with AI assistance (Codex).

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

@mvanhorn is attempting to deploy a commit to the Dotsystems 9999 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.

Add language-specific causes of death to scoring

1 participant