← Back to Pull requests

Fix warning about signed->unsigned conversion #161

Merged
moinakb001 merged 1 files (2 lines) on Nov 08, 2022 11:11 UTC
View on GitHub
moinakb001 moinakb001 commented on Nov 08, 2022 10:39 UTC
Author

https://github.com/besser82/libxcrypt/pull/160 didn't fix the sign truncation warning, the wrong set of tests were run. Sorry for the churn, this actually fixes the issue.

Diff: 2 lines (+1 / -1) across 1 files Reviewer: besser82 Review duration: 32m
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.57 · 5 substantive comment(s)
0.57
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
68%
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
6 items
codecov[bot] codecov[bot] commented on Nov 08, 2022 10:41 UTC
Bot

Codecov Report


Base: 88.58% // Head: 88.58% // Increases project coverage by +0.00% :tada:
Coverage data is based on head (17cf4ce) compared to base (239664b).

Patch coverage: 100.00% of modified lines in pull request are covered.

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

@@           Coverage Diff            @@
##           develop     #161   +/-   ##
========================================
  Coverage    88.58%   88.58%           
========================================
  Files           32       32           
  Lines         3618     3619    +1     
  Branches       690      690           
========================================
+ Hits          3205     3206    +1     
  Misses         228      228           
  Partials       185      185           

| Impacted Files | Coverage Δ | |
|---|---|---|
| lib/alg-yescrypt-opt.c | 86.07% <ø> (ø) | |
| lib/alg-sha256.c | 98.21% <100.00%> (+<0.01%) | :arrow_up: |

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

</details>

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

besser82 besser82 commented on Nov 08, 2022 11:11 UTC
Contributor

Don't mind! LGTM!

solardiz solardiz commented on Nov 08, 2022 13:19 UTC
Contributor

@moinakb001 Thanks. What compiler/version were you seeing these warnings with?

moinakb001 moinakb001 commented on Nov 08, 2022 17:58 UTC
Author

GCC version 11.3.0 compiled with -march=znver3 and -D__AVX__

besser82 besser82 commented on Nov 13, 2022 18:59 UTC
Contributor

Fixed in release v4.4.31.

Reviewers
Assignees
moinakb001 moinakb001
Labels
risk: low confidence: 68.9% 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: 68.9% · Lower = rushed or shallow review
68.9%
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: 3.0% · Safe to merge
3.0%