kaxil opened a new pull request, #62438:
URL: https://github.com/apache/airflow/pull/62438

   ## Summary
   
   - **Unreachable branch**: In `quick_score_prs`, the `elif body_len < 20` 
branch was dead code because `body_len < 1000` (checked first) is always true 
when `body_len < 20`. PRs with tiny/empty bodies got a 0.8x penalty instead of 
the intended 0.4x. Reordered to check `< 20` before `< 1000`.
   
   - **Broken linked-issue regex**: The lookbehind `(?<=closes: #|elated: #)` 
matched literal `elated: #` instead of `related: #` (the `r` was consumed by 
the alternation boundary). Also required exactly 5 digits, missing issue 
numbers of other lengths. Replaced with `(?:closes|related): #(\d+)`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to