rossturk opened a new pull request, #25239: URL: https://github.com/apache/airflow/pull/25239
We've begun using a script to help us sift through all the month's PRs, as part of the voting process for the PR of the Month in the newsletter. This alters the script in a few ways: * Adds `--load` and `--save` flags that serialize/unserialize the PR data retrieved from GitHub. This allows for quicker iteration on the scoring heuristics - you can re-run it with the same data and it will generate new scores. * Captures additional metrics on the body length of the PR, the total length of all the PR comments, and the number of additions/deletions. I reviewed all of the PRs in this month's date range and noticed that the PRs I found most interesting had *lengthy* descriptions and comments. * Splits out metrics that were previously used in scoring functions but not persisted (like num_reviewers) into separate properties so they can be `--save`d. * Adjusts the heuristics to incorporate new metrics & adjust weighting. * Adds some more verbose output, i.e.: <img width="1141" alt="Screen Shot 2022-07-22 at 1 35 46 PM" src="https://user-images.githubusercontent.com/1434475/180493932-7586ea07-ead4-41a4-895e-c5c762a0539b.png"> This also contributes a notebook that I used to inspect the contents of the `--save` file and export it to CSV. Sometimes a pivot table is just the tool we need; this makes it easy to create one. --- **^ Add meaningful description above** Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)** for more information. In case of fundamental code changes, an Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed. In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x). In case of backwards incompatible changes please leave a note in a newsfragment file, named `{pr_number}.significant.rst` or `{issue_number}.significant.rst`, in [newsfragments](https://github.com/apache/airflow/tree/main/newsfragments). -- 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]
