← Back to Pull requests

chore(release): promote dev to main #2033

Open
unknown opened this pull request with 300 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 29, 2026 04:59 UTC
Author

Promote dev to main.

  • #2020 docs(proposal): add Vietnamese dark-theme proposal for Expert Review (#2019)

  • #2025 fix(web): scale ProductCard expertScore to /10 and harden JReviewsSection (#2021)

  • #2024 feat(importer): add sourced wave 1 tablet and laptop seeds

  • #2023 feat(importer): add wave 1 sourced smartphone seeds (#1993)

  • #2028 fix(web): fix home category grid, inline icon+title, and standardize specs copy
  • Merge with a merge commit, never squash (Docs/Resources/RELEASE.md).

    ---

    <!-- dos-pr-summary -->

    📌 TL;DR


    This PR introduces a comprehensive architectural proposal for implementing a "Verified Expert Review" system on Rate.vn, utilizing a dual-pillar model of international citation aggregation and verified expert validation. It also updates the importer's test suite to include new seed audit tests for Wave 1 tablets, laptops, and smartphones.

    🎯 Type of Change


  • 🚀 New feature

  • 🐛 Bugfix

  • 🧹 Refactor

  • ⚡ Performance

  • 📚 Documentation

  • ⚙️ CI / Configuration
  • 🔍 Changes Walkthrough


    | File | Summary of Changes |
    | :--- | :--- |
    | Docs/Proposals/2026-11-29-de-xuat-diem-chuyen-gia-expert-review.html | Adds a detailed HTML proposal document outlining the "Expert Review" architecture. It defines a 2-pillar model (International Citations + Verified Experts E2/E3), proposes new database schemas (expert_sources, expert_citations, experts), and details a 4-phase implementation roadmap. |
    | apps/importer/package.json | Updates the test script to include new test files: wave1-tablets-laptops-seed-audit.test.ts and wave1-smartphone-seed-audit.test.ts, ensuring new seed data audits are executed during the test phase. |

    📊 Architectural Flow


    flowchart TD
        subgraph "Data Sources"
            A[International Labs<br/>RTINGS, GSMArena]
            B[Verified Experts<br/>E2/E3 via DOS.Me]
            C[Telemetry<br/>VPS, Internet Speed]
        end
    
        subgraph "Rate.vn Database (Schema: rate)"
            D[(expert_sources)]
            E[(expert_citations)]
            F[(experts)]
            G[(items / master_products)]
        end
    
        subgraph "Processing Pipeline"
            H{Citation Aggregator}
            I{Expert Verification}
            J[RPC: refresh_expert_score]
        end
    
        A --> H
        C --> H
        B --> I
        
        H --> D
        H --> E
        I --> F
        I --> E
        
        E --> J
        F --> J
        J --> G
    

    <!-- /dos-pr-summary -->

    Diff: 300 lines (+225 / -75) across 3 files Reviewer: claude[bot] Review duration: 12m
    All Vouch review confidence checks passed
    Residual risk 0.23 = Change Risk (0.40) × (1 − Review Confidence (0.43)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 300 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    42%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.341
    Real PR Conversation Timeline
    1 comments
    "Review active on #2033"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 43.0% 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: 40.1% (MEDIUM) · Higher = larger blast radius
    40.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: 43.0% · Lower = rushed or shallow review
    43.0%
    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: 22.9% · Safe to merge
    22.9%
    Repository