← Back to Pull requests

docs: 新增 Bug Report Issue 模板 #245

Open
unknown opened this pull request with 78 lines diff across 1 files
View on GitHub
unknown unknown commented on Nov 24, 2026 12:08 UTC
Author

关联需求

不适用(仓库级 Issue 模板)。

关联 RFC

  • RFC Issue:不适用(本次为缺陷报告表单维护)

  • 方案确认记录:不适用
  • 涉及模块

    仓库级 GitHub Issue 模板。

    改动内容

    新增 .github/ISSUE_TEMPLATE/bug-report.yml,沿用已有报告的 [BugReport] 标题前缀和 bug 标签。参考 #181、#198、#219。

  • 必填问题现象、版本与环境、复现步骤和预期结果。代码检视发现的问题可用触发路径说明。

  • 选填相关日志、原因与引入点、建议修改与验收。
  • 验证

  • 本地校验 YAML、模板名称、字段和必填规则,搜索链接返回 HTTP 200。

  • git diff upstream/main...HEAD --check 通过。

  • 使用 Python 3.12 运行 make check-repo docs-check,通过。

  • make lint 通过。

  • GitHub CI 静态检查通过。
  • 自检

  • 符合 docs/style-guide.md 中适用的要求

  • 已说明需求和 RFC 不适用的原因

  • 模板内链接可访问

  • 接口说明和业务测试用例不适用(本次为 Issue 表单维护)

  • 未包含人员姓名、排期或未经确认的性能数字
  • Diff: 78 lines (+58 / -20) across 1 files Reviewer: github-actions[bot] Review duration: 4m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.29) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.29 · 78 lines diff across 1 files
    0.29
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.261
    Real PR Conversation Timeline
    1 comments
    "Review active on #245"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 29.1% (LOW) · Higher = larger blast radius
    29.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.5% · Safe to merge
    15.5%