← Back to Pull requests

Default config for MacOS #120

Open
kanha-gupta opened this pull request with 22 lines diff across 1 files
View on GitHub
kanha-gupta kanha-gupta commented on Feb 19, 2023 18:11 UTC
Author

issue:- https://github.com/starfixdev/starfix/issues/109

I have used the macOS "which" command to check if an IDE is installed in the users path.
Please review the code if its appropriate or should i resort to using path_env.contains or Files.exist method
PS- build was successful after changes
Thank you ! :)

Diff: 22 lines (+19 / -3) across 1 files Reviewer: fahad-israr Review duration: 1915076m
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.52) × (1 − Review Confidence (0.66)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 22 lines diff across 1 files
0.52
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.56 · 4 substantive comment(s)
0.56
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
66%
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.188
Sensitive Paths sensitive_paths
0.052
Real PR Conversation Timeline
6 items
fahad-israr fahad-israr approved these changes on Feb 21, 2023 14:09 UTC
Approved Reviewer

Approved these changes.

fahad-israr fahad-israr commented on Feb 21, 2023 14:12 UTC
Contributor

@kanha-gupta did u test this too? if yes what version of macos did u test on?

kanha-gupta kanha-gupta commented on Feb 21, 2023 14:21 UTC
Author

@fahad-israr Nope, i wanted to but Don't have access to MacOS right now,
Does testing on a macOS VM or docker container works ?

fahad-israr fahad-israr commented on Feb 21, 2023 15:02 UTC
Contributor

should be good but just need to make sure it works atleast once on a real system. try if you can else at last I'll test on my machine .

kanha-gupta kanha-gupta commented on Feb 21, 2023 15:07 UTC
Author

I am highly Doubtful if i can arrange a Mac in a short time frame.
Would be alot of help if You can test it :)
Thanks alot !

Reviewers
Assignees
kanha-gupta kanha-gupta
Labels
risk: low confidence: 66.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: 51.9% (MEDIUM) · Higher = larger blast radius
51.9%
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: 66.2% · Lower = rushed or shallow review
66.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: 17.5% · Safe to merge
17.5%