← Back to Pull requests

Project Overview timeline: completed stages shown, Next/Then, one overdue #2724

Open
unknown opened this pull request with 291 lines diff across 3 files
View on GitHub
unknown unknown commented on Oct 22, 2026 04:17 UTC
Author

Summary


Second of three Project Overview polish PRs, the timeline (Pages/Shared/_ProjectTimeline.cshtml). It is independent of #2723: the styles go in timeline.css, not project-portfolio.css.

  • Completed stages are shown by default. The <details> group now renders open, so each completed stage shows its completion date and days taken. "Hide" still folds it away.

  • - Inside the group, each row's "Completed" pill is visually hidden. It stays in the DOM for screen readers and stages.js. Rows sit tighter.
    - This reverses the earlier "starts collapsed" decision; the owner asked for the dates and days to be visible. SettledStages_CollapseIntoOneGroup… now asserts open.
  • Coming up (was "Later stages"). On an active project the next two later stages carry Next / Then tags.

  • - The rest fold into "+N more later stages". The fold only happens when those stages are the last on the timeline, so nothing else gets folded in.
    - The HoD's per-stage ⋮ actions stay inside the fold. revealStage in project-portfolio.js also opens the later-stages fold for deep links.
  • One overdue mention. The current stage's Overdue flag now reads "Overdue 76 days". The separate "76 days overdue" line under Planned completion is gone; "Due today" and "N days remaining" stay.

  • Next action. "Recover Technical Evaluation" becomes "Set a revised PDC or complete Technical Evaluation".

  • "Planned dates may be added when available." now shows only when no later stage has planned dates.
  • Testing


  • New ProjectTimelineUiTests:

  • - LaterStages_TagTheNextTwo_AndFoldTheRestWithTheirActions: tags, fold placement, the HoD menu inside the fold
    - OverdueCurrentStage_SaysHowLateOnce
  • New ProjectPortfolioPresentationVmTests.OverdueCurrentStage_NextActionSaysWhatToDo.

  • npm test passes, including the theme ratchet and portfolio-completed-group.test.js.

  • Full dotnet test passes, except three existing workstation-only failures: two ARPP CSS line-ending tests and UploadRootProviderTests.

  • Checked in the browser:

  • - UX TEST: 5 completed, Overdue 76 days, Next Benchmarking / Then Commercial Bid Opening with planned dates, +7 more.
    - VR Based Know Your Army: 10 completed + 1 skipped, with recorded durations.

    🤖 Generated with Claude Code

    Diff: 291 lines (+218 / -73) across 3 files Reviewer: chatgpt-codex-connector[bot] Review duration: 7m
    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 · 291 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: 99% · 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.340
    Real PR Conversation Timeline
    1 comments
    "Review active on #2724"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 42.9% 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.9% (MEDIUM) · Higher = larger blast radius
    39.9%
    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: 42.9% · Lower = rushed or shallow review
    42.9%
    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.8% · Safe to merge
    22.8%