feat: refine risk level detection logic in code review results
Improved the accuracy of risk level assessment from LLM responses by implementing a prioritized detection strategy: 1. Matches leading "✅ " for skipped or passed reviews. 2. Specifically searches for an emoji (✅ ,⚠ ️, or🚨 ) within a "Risk Level" line. 3. Implements a fallback that checks for actual list items within the "High Risk" section to avoid false positives triggered by section headers.
Showing
Please register or sign in to comment