← Back to Pull requests

Sample harness: vhscaleupload scenario (large synthetic scenes uploaded as reports) #302

Open
unknown opened this pull request with 175 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 30, 2026 14:59 UTC
Author

What


Harness-only (Samples~): new scenario vhscaleupload. For each N (bugsee_vh_counts / BUGSEE_E2E_VH_COUNTS, default 2000,5000,20000) it builds the synthetic scene of vhscale in front of the main camera (objects spread, kept at their drawn size under nested groups), waits for 60 calm frames, takes one managed view hierarchy capture and uploads ONE manual report e2e-vhscale-<N>-<runId>. bugsee_vh_slice_ms (default 1000) because with the SDK's 5% slices a phone spends the whole window on the tree and the scene block comes back with skipped: time_budget and no objects. bugsee_scene_graph=namesonly gives the NamesOnly comparison.

Verified


  • WrapperPolicy tests: 2622 passed. Sample builds (Unity 2021.3.45, Android IL2CPP release and iOS export) compile without errors. compile-check does not cover Samples~.

  • Device runs (release builds, staging apidev): HONOR and iPhone XS; reports read back with the staging tools (viewtree: managed tree nodes, scene objects, cameras, truncation).

  • Fresh Opus review: two minor findings (count fallback, README WAIT hint), both fixed.
  • Known gaps


    On the HONOR N=20000 the scene block was missing or nearly empty even unsliced; iPhone gives 5000 objects (truncated). That is SDK behaviour, not changed here.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01WeiJxQSiPP4vp79ZPpBsqf

    Diff: 175 lines (+131 / -44) across 2 files Reviewer: krassx Review duration: 306m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.35) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.35 · 175 lines diff across 2 files
    0.35
    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%
    46%
    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.309
    Real PR Conversation Timeline
    1 comments
    "Review active on #302"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.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: 35.4% (MEDIUM) · Higher = larger blast radius
    35.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: 46.7% · Lower = rushed or shallow review
    46.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: 18.9% · Safe to merge
    18.9%