← Back to Pull requests

Add a kubectl command for displaying the HNC configuration #592

Merged
sophieliu15 merged 4 files (103 lines) on Apr 03, 2020 18:23 UTC
View on GitHub
sophieliu15 sophieliu15 commented on Apr 02, 2020 14:53 UTC
Author

This PR adds a command (kubectl hns config describe) for displaying the HNC configuration.

Specifically, kubectl hns config describe will display current HNC configuration. Following is an example output:

Synchronized types:
* Propagating: Role(rbac.authorization.k8s.io/v1)
* Propagating: RoleBinding(rbac.authorization.k8s.io/v1)
* Ignoring: ConfigMap(v1)

Conditions:
[objectReconcilerCreationFailed] Couldn't create ObjectReconciler for type /v1, Kind=CronTab: no matches for kind "CronTab" in version "v1"


Issue: #454

Diff: 103 lines (+102 / -1) across 4 files Reviewer: tashimi Review duration: 1650m
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.58) × (1 − Review Confidence (0.65)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.58 · 103 lines diff across 4 files
0.58
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.47 · 1 substantive comment(s)
0.47
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
64%
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.278
Sensitive Paths sensitive_paths
0.058
Real PR Conversation Timeline
1 item
"Review active on #592"
general weight: 0.35
Reviewers
Assignees
sophieliu15 sophieliu15
Labels
risk: low confidence: 64.7% 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: 58.4% (MEDIUM) · Higher = larger blast radius
58.4%
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: 64.7% · Lower = rushed or shallow review
64.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: 20.6% · Safe to merge
20.6%