Release Readiness Baseline

At a glance

What calibrated model: P(more than half of a release's open issues slip)
Good for a readiness signal for go/no-go reviews
Part of How much of this release will ship? Β· all MA-PMO datasets and models
ν•œκ΅­μ–΄ 릴리슀 쀀비도 λͺ¨λΈ
from huggingface_hub import hf_hub_download
from skops.io import load, get_untrusted_types
p = hf_hub_download("ma-pmo/release-readiness-baseline", "classifier_v2_k14.skops")
clf = load(p, trusted=get_untrusted_types(file=p))

Models that read a Jira release as it stood 14 or 28 days before its release date and answer two questions: what share of its open issues will slip, and how likely is it that more than half slip. Trained on ma-pmo/jira-release-readiness; the release-level companion of ma-pmo/release-slip-baseline.

ν•œκ΅­μ–΄ μš”μ•½: 릴리슀 D-14/D-28 μ‹œμ μ˜ μƒνƒœλ‘œ "과반이 밀릴 ν™•λ₯ "을 λ‚΄λŠ” λ³΄μ •λœ λΆ„λ₯˜κΈ°(v2 ꢌμž₯)와, μ§€μ—° λΉ„μœ¨ μΆ”μ • 방법을 μ œκ³΅ν•©λ‹ˆλ‹€. μ§€μ—° λΉ„μœ¨μ€ ν•™μŠ΅ ꡬ간 μ•ˆμ˜ κ²€μ¦μ—μ„œ νšŒκ·€ λͺ¨λΈλ³΄λ‹€ 이슈 μœ„ν—˜λ„μ˜ 평균(issue_risk_mean)이 더 μ •ν™•ν•΄μ„œ, v2μ—μ„œλŠ” κ·Έ 값을 쓰도둝 κΆŒν•©λ‹ˆλ‹€.

file what
classifier_v2_k14.skops, classifier_v2_k28.skops v2 (recommended): P(mostly_slipped), gradient boosting + sigmoid calibration on v1 + v2 release features
classifier_k14.skops, classifier_k28.skops v1 classifier, v1 features
regressor_k14.skops, regressor_k28.skops v1 regressor of slip_rate (clip to [0, 1])
metrics_v2.json, metrics.json every estimator and reference on the test split; v2 βˆ’ v1 paired differences; the slip-rate selection
train_readiness_v2.py, train_readiness.py training and evaluation (with the modules they import)

Slip rate in v2: use issue_risk_mean. It is a column of the dataset: the mean slip risk of the release's scheduled issues from an as-of issue model (see the dataset card). A v2 regressor was trained too, but on the latest 20% of training releases its MAE was worse (0.115 against 0.108 at k = 14, 0.114 against 0.113 at k = 28), so it is not shipped. On test the choice holds.

Use

import numpy as np
from datasets import load_dataset
from huggingface_hub import hf_hub_download
from skops.io import get_untrusted_types, load

path = hf_hub_download("ma-pmo/release-readiness-baseline", "classifier_v2_k14.skops")
print(get_untrusted_types(file=path))   # review before trusting
clf = load(path, trusted=get_untrusted_types(file=path))

test = load_dataset("ma-pmo/jira-release-readiness", "k14", split="test").to_pandas()
test["p_mostly_slipped"] = clf.predict_proba(test[clf.feature_names_in_])[:, 1]
test["expected_slip_rate"] = test.issue_risk_mean.clip(0, 1)

Results (test split, later releases than any training release)

k slip rate MAE [95% CI] Spearman RΒ²
14 A4 flagged share 0.180 [0.167, 0.194] 0.41 βˆ’0.11
14 regressor v1 0.129 [0.121, 0.139] 0.69 0.39
14 issue_risk_mean (v2) 0.107 [0.098, 0.116] 0.76 0.53
28 A4 flagged share 0.186 [0.174, 0.198] 0.37 βˆ’0.06
28 regressor v1 0.128 [0.119, 0.136] 0.72 0.45
28 issue_risk_mean (v2) 0.114 [0.106, 0.122] 0.77 0.56
k mostly made it PR-AUC [95% CI] ROC-AUC Brier ECE
14 base rate 0.132 0.50 0.120 0.070
14 classifier v1 0.516 [0.419, 0.618] 0.89 0.084 0.048
14 classifier v2 0.586 [0.485, 0.690] 0.91 0.077 0.045
28 base rate 0.182 0.50 0.154 0.066
28 classifier v1 0.627 [0.542, 0.715] 0.88 0.100 0.036
28 classifier v2 0.667 [0.587, 0.749] 0.90 0.094 0.030

v2 against v1, paired bootstrap over the same test releases (95% intervals):

k slip-rate MAE (issue_risk_mean βˆ’ regressor v1) made-it PR-AUC (classifier v2 βˆ’ v1)
14 βˆ’0.023 [βˆ’0.030, βˆ’0.016] +0.071 [+0.018, +0.120]
28 βˆ’0.014 [βˆ’0.021, βˆ’0.008] +0.040 [+0.009, +0.067]

All numbers, references included, are in metrics_v2.json.

Calibration of the v2 classifier

Reliability diagram of the readiness classifier v2 on the k = 14 test split: close to the diagonal above 0.5, noisy below it where bins hold few releases

Above 0.5, where most releases fall (667 of 711), predicted probabilities match the observed share closely. Below 0.5 each bin holds 1 to 17 releases, so the curve moves a lot with a single release; read those bins as noise, not as a pattern.

Numbers behind the chart
predicted bin mean predicted observed test rows
0.1–0.2 0.194 0.000 1
0.2–0.3 0.255 0.300 10
0.3–0.4 0.348 0.412 17
0.4–0.5 0.450 0.250 16
0.5–0.6 0.553 0.500 42
0.6–0.7 0.654 0.673 52
0.7–0.8 0.756 0.759 58
0.8–0.9 0.854 0.923 117
0.9–1.0 0.954 0.992 398

Training

Train on the earliest 70% of releases (up to 2017), test on the latest 30% (2017–2021). Classifiers: 200 iterations, learning rate 0.05, at least 20 samples per leaf, sigmoid calibration with 5 folds. v1 regressor: 300 iterations, same settings. scikit-learn 1.9, seed 0.

pip install "ma-pmo[benchmark]==0.9.0" pandas pyarrow skops
python train_readiness.py <jira-release-readiness folder> --out .
python train_readiness_v2.py <jira-release-readiness folder> --out .

Retraining with MA-PMO 0.9.0 reproduces both metrics files exactly (tested). Revision v1 of this repository holds only the v1 models.

Limits

Trained on open-source Jira history (mostly Red Hat and Apache); check calibration on your own releases before using the probabilities. About 700 test releases, so intervals are wide. It predicts; it does not say what would prevent a slip.

Provenance, license and privacy

Source: the Public Jira Dataset (Montgomery, LΓΌders, Maalej; Zenodo v7, 10.5281/zenodo.15719919), licensed CC BY 4.0. This repository is an adapted version: what was kept, dropped and computed is in DATA_PROVENANCE.md. The Python scripts in this repository are part of MA-PMO and licensed AGPL-3.0-or-later, not CC BY 4.0.

People. The models are numeric tree ensembles; they hold no rows and no ids. Their training data holds no user ids. Details in PRIVACY.md.

Jira is a trademark of Atlassian; the instance names belong to their owners and are used only to say where the data comes from.

License

CC BY 4.0, following the training data (Public Jira Dataset, MSR 2022). MA-PMO is AGPL-3.0 with a commercial license available (mjinttt@gmail.com).

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train ma-pmo/release-readiness-baseline

Collections including ma-pmo/release-readiness-baseline

Evaluation results