Instructions to use ma-pmo/release-outcome-baseline with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use ma-pmo/release-outcome-baseline with Scikit-learn:
# โ ๏ธ Model filename not specified in config.json
- Notebooks
- Google Colab
- Kaggle
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
openis 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
- -
Dataset used to train ma-pmo/release-outcome-baseline
Collections including ma-pmo/release-outcome-baseline
Evaluation results
- Log loss on Jira Release Sliptest set self-reported0.715
- Macro-F1 on Jira Release Sliptest set self-reported0.444
- Log loss on Jira Release Sliptest set self-reported0.744
- Macro-F1 on Jira Release Sliptest set self-reported0.415