← Back to Pull requests

docs: use nominal-sphinx-theme's docstring_fences #1293

Closed
unknown closed this pull request without merging on Nov 13, 2026 21:43 UTC
View on GitHub
unknown unknown commented on Nov 13, 2026 18:32 UTC
Author

<!-- This is a public repo: reminder to abide by the Nominal Public Repo Handbook. -->

<!--
Keep this proportional to the change. A small fix may need only a few sentences.
Describe the final change, not a file-by-file inventory or the history of your attempts.
Replace these prompts with concrete information; omit anything that does not help review.
Do not include credentials, customer data, private links, or local filesystem paths.
-->

What and why


Sphinx mis-handles code blocks inside of docstrings. This was fixed here but it applies in other repos with python code, so I've moved it to the shared theme. This removes it from the python repo. It is optional, but better to have one source of truth.
<!--
What problem does this solve, and what happens differently afterward?
For a behavior change, give a concrete before/after example when useful.
Link a relevant public issue if it supplies context; the description should still stand alone.
For a refactor, identify the complexity removed and the behavior preserved.
-->

Validation


Tests updated, re-rendered website
<!--
Give the checks actually run and their outcomes, including relevant failures or gaps.
Name the behavior covered by tests; "tests added", "CI green", or "AI reviewed" alone
does not explain what was validated. For prose/config-only work, relevant inspection is enough.
For visible or rendered-doc changes, include representative before/after images when useful.
Label sample data and the revisions shown; screenshots do not prove runtime behavior.
-->

<!--
When relevant, add a short Compatibility or Review notes section:

  • Public signature/default/return/exception changes, deprecations, and migration impact.

  • Dependencies on other PRs, deliberate convention exceptions, or unresolved decisions.

  • New runtime dependencies or exact pins: capability gained, installation scope, and rationale.

  • Dependency upgrades: relevant behavior changes, not only old/new version numbers.

  • For shared-policy changes: rationale, scope, exceptions, and adoption cost.

  • Do not leave empty sections, generic assurances, or checkboxes asserting everything is fine.
    -->

    Diff: 268 lines (+201 / -67) across 3 files Reviewer: stefanv Review duration: 190m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 268 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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.335
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1293"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    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: 39.4% (MEDIUM) · Higher = larger blast radius
    39.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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 15.6% · Safe to merge
    15.6%