feat(scoring): add language-specific causes of death#19
Merged
dotsystemsdevs merged 2 commits intodotsystemsdevs:mainfrom Apr 22, 2026
Merged
Conversation
|
@mvanhorn is attempting to deploy a commit to the Dotsystems 9999 Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
rulesarray indetermineCauseOfDeath()(src/lib/scoring.ts) covering Ruby, Python, PHP, Perl, CoffeeScript, and Objective-C. The three "still-active but aging" languages (Ruby, Python, PHP) score 4 only whendaysSince > 365; the three "historically fading" languages (Perl, CoffeeScript, Objective-C) score 5 since their decay signal is strong regardless.src/lib/scoring.test.tsverifying the new causes return for the matching language (Ruby Gemfile quip, Perl reader-incredulity quip, Objective-C Swift quip).Why
isArchived(10),fix typo(8),fork(7),isJS(5). Aging languages don't drown out the stronger signals, but they do outrank the generic fallback "Side project syndrome" (score 1) when the repo has a matching language.Checklist
npm run lintandnpm test) — both pass; 35/35 tests green including the 3 new ones.rulesarray and three new test blocks were touched.Screenshots (if UI change)
N/A — scoring logic only, no UI surface touched.
Fixes #10
This contribution was developed with AI assistance (Codex).