← Back to Pull requests

Flexible configuration syntax #107

Open
benwebber opened this pull request with 1780 lines diff across 24 files
View on GitHub
benwebber benwebber commented on Nov 28, 2017 08:02 UTC
Author

Changes:

Replaces role variable interface with a flexible, map-based interface. Refer to the README for how we parse role variables.
Eliminates individual templates in favour of single haproxy.cfg template.

  • Adds support for mailers and peers sections.
  • This changeset will significantly reduce maintenance work and user frustration, since users will not need to hack the role or submit pull requests to add new options.

    This is a breaking change and will require a major release.

    Resolves: #54, #56, #77, #87
    Obsoletes: #105, #106

    Diff: 1780 lines (+689 / -1091) across 24 files Reviewer: None requested Review duration: 4740556m
    All Vouch review confidence checks passed
    Residual risk 0.54 = Change Risk (0.96) × (1 − Review Confidence (0.44)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.96 · 1780 lines diff across 24 files
    0.96
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.07 · 1 substantive comment(s)
    0.07
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    44%
    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
    Diff Size diff_size
    0.400
    Shallow Review Depth shallow_review_depth
    0.326
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Sensitive Paths sensitive_paths
    0.096
    Mass File Touch mass_file_touch
    0.080
    Real PR Conversation Timeline
    1 comments
    "Review active on #107"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    benwebber benwebber
    Labels
    risk: medium confidence: 44.2% reviewed sensitive_module
    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: 96% (HIGH) · Higher = larger blast radius
    96%
    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: 44.2% · Lower = rushed or shallow review
    44.2%
    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: 53.5% · Moderate risk
    53.5%