Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Free-Model PR Triage: A Working Script for Maintainers

说明与用途

脚本使用免费 LLM 对 PR 进行预分类,标记风险、缺失测试和优先级,简化人工审核流程。

问题

Maintainers are overwhelmed by pull requests; most PRs do not need full review, but current triage consumes hours.

结果

The script reduces manual triage effort by automatically classifying PRs into risk categories and queue priorities, while keeping humans in control for final review.

工作流

  • Collect PR metadata with GitHub CLI and truncate diff to 200 lines
  • Build a structured JSON prompt for the LLM
  • Call a free OpenAI‑compatible endpoint (MonkeyCode) to get risk, missing_tests, summary, questions
  • Apply a decision table to assign triage action (request changes, full review, normal queue, etc.)

证据

Free models fail. They miss subtle logic. They invent file names. They cannot run the test suite.

来源

Never merge based on model output. Never skip human review for security or payment code.

来源

  • 记录日期: 2026-09-07T15:29:34.345Z