← Back to Pull requests

chore(kit): re-vendor predictor-ui@213533e42ec1 (canonical headline + ISO HowCounted) #167

Merged
kevinsigey merged 53 files (243 lines) on Nov 03, 2026 00:43 UTC
View on GitHub
kevinsigey kevinsigey commented on Nov 03, 2026 00:02 UTC
Author

Kit sync Phase 2 (NBA) — re-vendor of predictor-ui@213533e42ec1, produced by scripts/sync-ui.mjs from the canonical hub source (predictor-hub PR #176).

What actually changes in content:

  • trackRecord/RecordHeadline.tsx — loses the "NBA local change" header note only; its body is the canonical source now.

  • trackRecord/HowCounted.tsx — swaps to the canonical contract (decision D1): the caller passes the raw ISO timestamp, the component formats it with Intl and renders nothing for absent/unparseable values.

  • The other 48 kit files change only their sync-header version stamp; SYNC.json is updated in this same PR, so the copy is never internally inconsistent.

  • Caller edit: TrackRecordPanel passes the raw snapshot-meta generated_at and drops its local formatAsOf helper. Its stamp test now derives the expected string from Intl — the stamp is viewer-local under the canonical contract, which is D1's accepted cost (was fixed-UTC before).
  • Targeted tests locally: TrackRecordPanel (20) + kit sync test — all pass; typecheck clean. Full suite is CI's gate.

    Diff: 243 lines (+120 / -123) across 53 files Reviewer: None requested Review duration: 41m
    All Vouch review confidence checks passed
    Residual risk 0.31 = Change Risk (0.76) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.76 · 243 lines diff across 53 files
    0.76
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.50 · 1 substantive comment(s)
    0.50
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    59%
    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.329
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Mass File Touch mass_file_touch
    0.080
    Real PR Conversation Timeline
    2 items
    coderabbitai[bot] coderabbitai[bot] commented on Nov 03, 2026 00:02 UTC
    Bot

    <!-- coderabbit-ai-generated:v1 -->

    <!-- This is an auto-generated comment: summarize by coderabbit.ai -->
    <!-- This is an auto-generated comment: skip review by coderabbit.ai -->

    [!IMPORTANT]

    - [ ] <!-- {"checkboxId":"e9bb8d72-00e8-4f67-9cb2-caf3b22574fe"} --> Trigger review

    > This repository does not receive automatic reviews because it has fewer than 10 stars.

    > <details>

    <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary>

    <dl>

    <dd>

    > - Source mode: Auto

    - Repository: Unavailable

    - Branch: Unavailable

    - File: No configuration file from this repository applied

    - Commit: Unavailable

    - Layers: defaults

    - Review profile: CHILL

    - Plan: Advanced

    - Run ID: 5dba9ee8-9fca-4e50-ac13-55ccb67a876d

    > </dd>

    </dl>

    </details>

    <!-- end of auto-generated comment: skip review by coderabbit.ai -->

    <!-- autopilot:start -->

  • <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autofix</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

  • <!-- autopilot:end -->
    <!-- tips_start -->

    Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

    <details>
    <summary><strong>Share</strong></summary>
    <dl>
    <dd>

  • X

  • Mastodon

  • Reddit

  • LinkedIn
  • </dd>
    </dl>
    </details>

    <!-- tips_end -->
    <!-- verify_invitation_start -->

    CodeRabbit Verify

  • <!-- {"checkboxId":"run-qa-agent"} --> Run CodeRabbit Verify to test the changes in this pull request.

  • <!-- verify_invitation_end -->

    Reviewers
    None requested
    Assignees
    kevinsigey kevinsigey
    Labels
    risk: low confidence: 59.7% 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: 76.4% (HIGH) · Higher = larger blast radius
    76.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: 59.7% · Lower = rushed or shallow review
    59.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: 30.8% · Safe to merge
    30.8%