← Back to Pull requests

merge: adopt fresh 0.12.0-dev into the TypeAdapter migration lane #170

Merged
marlon-costa-dc merged 4 files (70 lines) on Oct 01, 2026 23:27 UTC
View on GitHub
marlon-costa-dc marlon-costa-dc commented on Oct 01, 2026 23:21 UTC
Author

Conflicts:


src/flext_tests/_typings/base.py


src/flext_tests/_typings/make.py

<!-- This is an auto-generated description by cubic. -->
---

Summary by cubic


Adopts the fresh 0.12.0-dev branch into the TypeAdapter migration lane, resolving merge conflicts by finishing the migration.

Refactors

  • Removes the module-level TypeAdapter constants from _typings/base.py and _typings/make.py.

  • Replaces their usages in _files/_reading.py and make_parsing.py with u.type_adapter(...) constructed at call time.
  • Behavior is unchanged; the adapters and their configs are identical.

    <sup>Written for commit c62d0ab567e6b084b98a0a199b41bec43f4e8b66. Summary will update on new commits.</sup>

    <a href="https://cubic.dev/pr/flext-sh/flext-tests/pull/170?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>

    <!-- End of auto-generated description by cubic. -->

    Diff: 70 lines (+8 / -62) across 4 files Reviewer: copilot-pull-request-reviewer[bot] Review duration: 6m
    All Vouch review confidence checks passed
    Residual risk 0.24 = Change Risk (0.71) × (1 − Review Confidence (0.67)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.71 · 70 lines diff across 4 files
    0.71
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.58 · 1 substantive comment(s)
    0.58
    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.255
    Rapid Merge rapid_merge
    0.100
    Sensitive Paths sensitive_paths
    0.071
    Ai Authored ai_authored
    0.050
    Assignees
    marlon-costa-dc marlon-costa-dc
    Labels
    risk: low confidence: 66.6% 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: 71.1% (HIGH) · Higher = larger blast radius
    71.1%
    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.6% · Lower = rushed or shallow review
    66.6%
    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: 23.7% · Safe to merge
    23.7%