Skip to main content

About the project

PRism is an AI-powered pull request triage dashboard for open-source maintainers.

The problem

Popular repositories receive hundreds of pull requests. Mixed in with genuine contributions are low-effort edits, duplicate work, and dummy PRs opened just to boost contribution counts. This “triage spam” costs maintainers hours, and good contributions get buried.

What PRism does

Paste a public GitHub repository URL and PRism loads its open pull requests. For each PR it gives:

  • A clear category: Likely legitimate, Needs review, or Potentially suspicious, with a 0–100 quality score and confidence level
  • Reasons, potential concerns, and positive signals based on the actual diff, commits, and PR description
  • Signals such as docs-only or whitespace-only changes, generic titles, empty descriptions, missing linked issues, and adding one’s own name to a contributors list
  • Filtering by category, so maintainers can start with the most promising PRs

PRism is advisory only. It never merges, closes, or labels PRs, and it uses read-only GitHub access. Maintainers always make the final call.

How it works

  • Backend: Python + FastAPI fetches PR data, changed files, and commits from the GitHub REST API, computes heuristic signals, and sends a bounded, source-first diff to an LLM
  • AI: Groq-hosted openai/gpt-oss-20b (open-weight) is the primary reviewer; Gemma 4 (gemma-4-26b-a4b-it) via the Gemini API is the fallback. Model output must match a strict JSON schema, and PR text is treated as untrusted data (prompt-injection hardening)
  • Honest fallback: with no API key, or if both models fail, PRism returns a clearly labelled heuristic-only result instead of pretending AI ran
  • Frontend: React + TypeScript + Vite, with Three.js/GSAP on the landing page, light/dark themes, and a mobile-friendly layout
  • Quality: 54 Python tests, 22 UI tests, Ruff, TypeScript, and a GitHub Actions CI pipeline; deploys as one Docker container (Render blueprint included)

What’s next

Wire the existing rule-based overlap detection (PRs touching the same files) into the dashboard, publish a labelled accuracy evaluation, and add private-repo support.

The demo video uses an illustrative example repository with invented contributors.

Built with

pythonfastapipydanticHTTPXuvicornvitethree.jsgithubREST APIgroqgemini-apiopenai-sdkdockerrenderGitHub Actionspytestvitestgemmagrok

AI tools

Coded withCodexGemma 4 26B A4BGrok 4.7

Prize Categories Entered

  • DigitalOcean

    Best Open-Source AI Project

    Submitted