Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

Implemented Phase 02: Multi-Dimensional Risk Scoring Engine.

This change introduces:

  1. Git Churn Analysis: Uses GitMiner to track file modification frequency.
  2. Coverage Integration: Uses CoverageScorer to penalize files with low test coverage.
  3. Risk Propagation: Uses RiskPropagator to propagate risk from dependencies to dependents.
  4. Enhanced Scoring: RiskScorer now combines all factors using a weighted formula.

The FileRisk model was updated to include detailed sub_scores for explainability.
Integration tests verify the scoring logic and propagation behavior.


PR created automatically by Jules for task 3993153922759474214 started by @turtacn

…overage

- Added `GitMiner` for file churn analysis.
- Added `CoverageScorer` for parsing coverage reports.
- Added `RiskPropagator` for risk propagation through dependencies.
- Updated `RiskScorer` to aggregate static, churn, coverage, and propagation risks.
- Updated `FileRisk` model with `sub_scores`.
- Updated `RiskBaselineConfig` with new weights.
- Added comprehensive unit and integration tests.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

@turtacn turtacn merged commit c4c8044 into master Nov 23, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants