Release Outcome Baseline

At a glance

What P(on time / dropped from the release / kept but unfinished)
Good for telling scope cuts from delivery problems
Part of Will this issue make the release? ยท all MA-PMO datasets and models
ํ•œ๊ตญ์–ด ์ œ๋•Œ ๋๋‚ ์ง€, ๋น ์งˆ์ง€, ๋ชป ๋๋‚ผ์ง€ 3๋ถ„๋ฅ˜
from huggingface_hub import hf_hub_download
from skops.io import load, get_untrusted_types
p = hf_hub_download("ma-pmo/release-outcome-baseline", "outcome_k14.skops")
model = load(p, trusted=get_untrusted_types(file=p))

What will happen to this open issue by the release date? Three outcomes, which call for different actions in a PMO:

class what happened what it usually means
on_time resolved in the release nothing to do
moved_out taken out of the release a scope decision: plan it as such, early
open kept in the release but not done a delivery problem: the release goes out without it, or slips

A calibrated gradient-boosted model per offset (14 or 28 days before the release) on the 29 v1 + v2 features of ma-pmo/jira-release-slip. Where release-slip-baseline says whether an issue slips, this one says how.

ํ•œ๊ตญ์–ด ์š”์•ฝ: ์—ด๋ฆฐ ์ด์Šˆ๊ฐ€ ๋ฆด๋ฆฌ์Šค ๋‚ ์งœ๊นŒ์ง€ ์–ด๋–ป๊ฒŒ ๋ ์ง€๋ฅผ 3๋ถ„๋ฅ˜(์ œ๋•Œ ํ•ด๊ฒฐ / ๋ฆด๋ฆฌ์Šค์—์„œ ๋น ์ง / ๋‚จ์•˜์ง€๋งŒ ๋ฏธ์™„๋ฃŒ)๋กœ ์˜ˆ์ธกํ•ฉ๋‹ˆ๋‹ค. "๋ฒ”์œ„์—์„œ ๋บ๋‹ค"์™€ "๋ชป ๋๋ƒˆ๋‹ค"๋ฅผ ๊ตฌ๋ถ„ํ•˜๋ ค๋Š” ๋ชจ๋ธ์ž…๋‹ˆ๋‹ค. ๋‹ค๋งŒ ๋ฏธ์™„๋ฃŒ(open)๋Š” ๊ตฌ๋ณ„์ด ์–ด๋ ค์›Œ ๊ธฐ์ค€์„ ๋ณด๋‹ค ์กฐ๊ธˆ ๋‚˜์€ ์ˆ˜์ค€์ž…๋‹ˆ๋‹ค(์•„๋ž˜ ํ•œ๊ณ„ ์ฐธ๊ณ ).

file model
outcome_k14.skops, outcome_k28.skops HistGradientBoostingClassifier (learning rate 0.03, 15 leaves, at least 200 samples per leaf, L2 1.0, 400 iterations) + isotonic calibration, 3 folds
metrics.json every scorer on the test split, paired differences, classes and features
train_outcome.py training and evaluation (with the modules it imports)

Use

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-outcome-baseline", "outcome_k14.skops")
print(get_untrusted_types(file=path))   # review before trusting
model = load(path, trusted=get_untrusted_types(file=path))

test = load_dataset("ma-pmo/jira-release-slip", "k14", split="test").to_pandas()
p = model.predict_proba(test[model.feature_names_in_])   # columns: on_time, moved_out, open
test[["p_on_time", "p_moved_out", "p_open"]] = p

p_moved_out + p_open is a slip probability; it ranks slips with PR-AUC above 0.93 (tested), close to the binary v2 model.

Results (test split)

References: the train class frequencies (class prior), and progress, the class frequencies of not-started, started and in-review issues on train. 95% intervals are bootstrap over test releases.

k scorer log loss [95% CI] Brier macro-F1 [95% CI] PR-AUC on_time PR-AUC moved_out PR-AUC open
14 class prior 0.859 [0.820, 0.905] 0.494 0.270 [0.261, 0.278] 0.171 0.681 0.148
14 progress 0.829 [0.790, 0.876] 0.473 0.309 [0.295, 0.324] 0.294 0.740 0.145
14 this model 0.715 [0.676, 0.762] 0.410 0.444 [0.428, 0.463] 0.567 0.857 0.236
28 class prior 0.860 [0.818, 0.913] 0.501 0.266 [0.257, 0.274] 0.218 0.665 0.117
28 progress 0.834 [0.791, 0.885] 0.479 0.309 [0.296, 0.321] 0.333 0.719 0.117
28 this model 0.744 [0.698, 0.804] 0.429 0.415 [0.402, 0.425] 0.600 0.799 0.119

Against progress, paired over the same releases: log loss โˆ’0.115 [โˆ’0.129, โˆ’0.101] and macro-F1 +0.135 [+0.115, +0.160] at k = 14; โˆ’0.090 [โˆ’0.105, โˆ’0.069] and +0.106 [+0.093, +0.118] at k = 28. Test shares: on time 17% / moved out 68% / open 15% (k = 14).

Limits

  • open is hard to tell apart. Its PR-AUC is 0.236 against a base rate of 0.148 at k = 14, and no better than its base rate (0.119 against 0.117) at k = 28. The model mainly separates on-time issues from moved-out ones; whether an unfinished issue stays in the release is decided late, often on the release day itself.
  • Trained on open-source Jira history (mostly Red Hat and Apache), where moving issues to a later version is common. Check calibration on your own tracker first.
  • Prediction, not cause; see the dataset card.

Reproduce

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

Retraining with MA-PMO 0.9.0 reproduces metrics.json exactly (tested).

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-outcome-baseline

Collections including ma-pmo/release-outcome-baseline

Evaluation results