This repository contains scripts for computing various engineering metrics for the organization.
- One directory per metric (e.g.,
commit-message-quality/) - One GitHub Actions workflow per metric (in
.github/workflows/) - Each metric directory contains:
requirements.in- Abstract dependenciesrequirements.txt- Pinned dependencies (generated, but committed)<metric-name>.py- The Python script that computes the metric
- Create a new directory with the metric name
- Add a
requirements.infile with your dependencies - Generate
requirements.txt:cd <metric-directory> pip-compile requirements.in
- Create the Python script named
<metric-name>.py - Create a workflow in
.github/workflows/<metric-name>.yml
cd <metric-directory>
pip-compile --upgrade requirements.in