← Back to Pull requests

CI: Simplify chained comparison in sync.py for pylint #1646

Merged
aidannewsome merged 1 files (2 lines) on Oct 06, 2026 16:08 UTC
View on GitHub
aidannewsome aidannewsome commented on Oct 05, 2026 16:34 UTC
Author

pylint 4.1.2 flags pyproj/sync.py:251 with R1716 (chained-comparison), which fails the Conda jobs before their tests run. It fails on main too: https://github.com/pyproj4/pyproj/actions/runs/37177236368

bbox.west > 180 and bbox.east > bbox.west becomes 180 < bbox.west < bbox.east, the same test.

Diff: 2 lines (+1 / -1) across 1 files Reviewer: djhoese Review duration: 1414m
All Vouch review confidence checks passed
Residual risk 0.03 = Change Risk (0.10) × (1 − Review Confidence (0.69)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.10 · 2 lines diff across 1 files
0.10
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.58 · 1 substantive comment(s)
0.58
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
69%
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.066
Real PR Conversation Timeline
2 items
codecov[bot] codecov[bot] commented on Oct 06, 2026 16:06 UTC
Bot

Codecov Report


:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 95.84%. Comparing base (e81e5e5) to head (5900c5a).
:warning: Report is 55 commits behind head on main.

<details><summary>Additional details and impacted files</summary>

@@            Coverage Diff             @@
##             main    #1646      +/-   ##
==========================================
- Coverage   95.85%   95.84%   -0.01%     
==========================================
  Files          20       20              
  Lines        1880     1879       -1     
==========================================
- Hits         1802     1801       -1     
  Misses         78       78              

</details>

:umbrella: View full report in Codecov by Harness.
:loudspeaker: Have feedback on the report? Share it here.
<details><summary> :rocket: New features to boost your workflow: </summary>

  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  • </details>

    Reviewers
    Assignees
    aidannewsome aidannewsome
    Labels
    risk: low confidence: 69.1% 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: 9.6% (LOW) · Higher = larger blast radius
    9.6%
    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: 69.1% · Lower = rushed or shallow review
    69.1%
    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: 2.9% · Safe to merge
    2.9%
    Repository