← Back to Pull requests

Collect the granules of each platform separately #198

Open
pnuu opened this pull request with 283 lines diff across 4 files
View on GitHub
pnuu pnuu commented on Sep 18, 2026 07:32 UTC
Author

Claude's fix to when granules arrive at the same time for more than one platform with the same topic.

The granules of two satellites can have nearly identical start times, so a granule of one satellite was added to the collection of another when the collection was still waiting for more data. Add a collector that keeps a region collector of its own for every platform, and use it when the collectors are created from the configuration.

Closes #69

Diff: 283 lines (+264 / -19) across 4 files Reviewer: pnuu Review duration: 59895m
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.67) × (1 − Review Confidence (0.75)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.67 · 283 lines diff across 4 files
0.67
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.78 · 1 substantive comment(s)
0.78
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
75%
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.338
Self Review self_review
0.140
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
3 items
codecov[bot] codecov[bot] commented on Sep 18, 2026 07:44 UTC
Bot

Codecov Report


:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 83.30%. Comparing base (19349ba) to head (c4654cb).
:warning: Report is 5 commits behind head on main.

<details><summary>Additional details and impacted files</summary>

@@            Coverage Diff             @@
##             main     #198      +/-   ##
==========================================
+ Coverage   82.73%   83.30%   +0.57%     
==========================================
  Files          42       42              
  Lines        5444     5626     +182     
==========================================
+ Hits         4504     4687     +183     
+ Misses        940      939       -1     

| Flag | Coverage Δ | |
|---|---|---|
| unittests | 83.30% <100.00%> (+0.57%) | :arrow_up: |

Flags with carried forward coverage won't be shown. Click here to find out more.
</details>

:umbrella: View full report in Codecov by Harness.
:loudspeaker: Have feedback on the report? Share it here.
<details><summary> :rocket: New features to boost your workflow: </summary>

  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  • </details>

    pnuu pnuu commented on Sep 18, 2026 08:08 UTC
    Reviewer

    LGTM, but I'll let @mraspaud to have a look before merging

    Reviewers
    Assignees
    pnuu pnuu
    Labels
    risk: low confidence: 75.1% 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: 67.2% (HIGH) · Higher = larger blast radius
    67.2%
    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: 75.1% · Lower = rushed or shallow review
    75.1%
    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: 16.7% · Safe to merge
    16.7%