feat(cpp): add functions related to system #3102
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 190 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.314
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3102"
general
weight: 0.35
amlel-el-mahrouss
Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and enhancements. You can link an issue to this PR using the GitHub syntax. For example
Closes #123indicates that this PR will close issue #123.-->
Works toward completion of #2100
Rationale
This PR adds functions related to the system, and tests for previously untested functions.
What changed?
This PR adds:
- get_stats
- get_me
- get_client
- get_clients
- ping
- heartbeat_interval
- snapshot
The places labelled TODO will be completed after merging of #3046.
Local Execution
<!--
You must run your code locally before submitting.
"Relying on CI" is not acceptable - PRs from authors who haven't run the code will be closed.
Did you have
prekinstalled? It runs automatically on commit and covers all project languages. See CONTRIBUTING.md.-->
AI Usage
If AI tools were used, please answer:
1. Which tools? (e.g., GitHub Copilot, Claude, ChatGPT) codex
2. Scope of usage? (e.g., autocomplete, generated functions, entire implementation) code generation based on explicit instructions given by me.
3. How did you verify the generated code works correctly? ran the tests, read through and understood the generated code
4. Can you explain every line of the code if asked? yes