aarock1234/slopscan
Scores a pull request for slop - hacky, non-idiomatic, non-future-proof TypeScript and Go - and posts the report.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| base | Branch to diff against. Defaults to the pull request's base branch. | — | "" |
| judge | Run the full LLM judge over whole files, the thorough and expensive tier. Needs openrouter-api-key or openai-api-key. | — | false |
| typesafe-api-key | TypeSafe key for Jev, the cheap tier that judges every changed function and type. Without it, syntax rules only. | — | "" |
| openrouter-api-key | OpenRouter key for the judge, and for the verifier that checks Jev's less confident findings. | — | "" |
| openai-api-key | OpenAI key, used the same way as openrouter-api-key. | — | "" |
| comment | Post or update one sticky comment on the pull request. | — | true |
| fail-on-threshold | Fail the check when the score is above failThreshold in .slopscan.yml. | — | true |
| version | Version of the npm package to run. | — | latest |
Outputs
| name | description |
|---|---|
| score | Overall slop score, 0 to 100. |
| grade | Letter grade A to F. |