farol 开源 CLI 与 GitHub Action:在 AI 评审后评估 PR 合并风险
GitHub - winnin/farol: Know the risk of merging a pull request, and where it lives. Free, open-source CLI and GitHub Action: after your AI review, farol shows the riskiest files, what they reach, diff coverage and contract breaks. TypeScript/React, Go, Python. · GitHub
AI 导读
farol 是采用 MIT 许可的开源 CLI 和 GitHub Action,在 AI 代码评审之后给出合并风险结论、0–100 风险分和风险最高的文件,并列出改动代码所触及的页面、接口、任务与脚本。它基于 TypeScript 类型检查器、go/types 和 Python ast 做静态分析,不执行也不外传代码,可通过 npx @winninjs/farol 或 winnin/farol/action 运行,只评论不阻断合并。作者称在四个仓库的 662 个历史提交上,fast track 档的 56 个提交未出现问题,风险分 AUC 为 0.72–0.83。
正文
当前公开范围只允许站内摘要。请通过经校验的原文入口继续阅读。