[Samples] 10-StreamliningAIWorkflows: Python SDK 2.x for lab2-lab4 #1252
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 126 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.290
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #1252"
general
weight: 0.35
skytin1004
Part 20 of 22 of the split of #1225, #1226 and #1227, which were too large to review. Each new PR changes only the files in its own folder, so none of them conflict, and together they make exactly the same changes as those three PRs.
What changed
weather_mcp) and lab4 (github_mcp_server):mcp.server.fastmcp→MCPServer(host/portmoved from the constructor torun(...)),mcp[cli]>=2.3.0,<3inpyproject.toml,uv.lockregenerated (mcp 2.3.0). SSE is still supported in 2.x, so both labs keep SSE.agent.py: snake_case result fields of the 2.x client (input_schema); the install command is pinned (mcp[cli]>=2.3.0,<3,openai>=3.44.0,<4).Testing
uv lock --checkreports both lockfiles in sync.Note: AGENTS.md's Python validation command (
pytest -qin lab3weather_mcp) finds no tests (exit 5); that's unchanged here.🤖 Generated with Claude Code