Instructions to use ma-pmo/sprint-delivery-baseline with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use ma-pmo/sprint-delivery-baseline with Scikit-learn:
# β οΈ Model filename not specified in config.json
- Notebooks
- Google Colab
- Kaggle
Sprint Delivery Baseline
At a glance
| What | calibrated models: P(an issue committed at sprint start is done when the sprint closes), at the start and halfway through |
| Good for | flagging sprint commitments at risk on day one; a baseline for sprint-delivery research |
| Part of | 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/sprint-delivery-baseline", "model.skops")
model = load(p, trusted=get_untrusted_types(file=p))
νκ΅μ΄ μμ½: jira-sprint-deliveryλ‘ νμ΅ν κΈ°μ€ λͺ¨λΈμ λλ€. μ€νλ¦°νΈ μμ μμ μ μ΄μ μνμ 보λμ κ³Όκ±° μλ£μ¨ λ±μΌλ‘ "μ΄λ² μ€νλ¦°νΈ μμ λλ νλ₯ "μ λ λλ€. κ°μ₯ λμ λ¨μ κ·μΉ(보λ κ³Όκ±° μλ£μ¨)λ³΄λ€ νμ€ν λ«μ§λ§, λ¦΄λ¦¬μ€ μ§μ° μ츑보λ€λ μ΄λ €μ΄ λ¬Έμ μ λλ€.
Use
from datasets import load_dataset
test = load_dataset("ma-pmo/jira-sprint-delivery", split="test").to_pandas()
test["p_done"] = model.predict_proba(test[list(model.feature_names_in_)])[:, 1]
Results (test split: sprints starting 2020-05 to 2021-12, never seen in training)
PR-AUC of "done", 95% bootstrap interval over sprints.
| scorer | PR-AUC [95% CI] | ROC-AUC | Brier | ECE |
|---|---|---|---|---|
| base rate | 0.371 | 0.500 | 0.236 | 0.052 |
| work started at sprint start | 0.396 [0.382, 0.408] | 0.548 | 0.250 | 0.110 |
| the board's past completion rate | 0.460 [0.447, 0.476] | 0.609 | 0.226 | 0.022 |
| fewer earlier carry-overs | 0.426 [0.412, 0.441] | 0.598 | 0.342 | 0.235 |
| this model | 0.604 [0.592, 0.618] | 0.730 | 0.203 | 0.058 |
Against the best reference (the board's record), paired over the same sprints: PR-AUC
+0.144 [+0.131, +0.156]. Per organisation (PR-AUC): MongoDB 0.678 (15,950 rows), Red Hat 0.551
(19,363), Qt 0.548 (5,934); the others have under 1,000 test rows and are listed in
metrics.json as small.
- Harder than release slip prediction (ROC-AUC 0.73 against 0.87): what happens inside two weeks depends on things a tracker does not record, such as who is available.
- The test period completes less than training (37% against 42%), so probabilities run slightly high (ECE 0.058); recalibrate on a few of your own sprints before relying on them.
Halfway through the sprint (model_midpoint.skops)
The same question for committed issues still open at the sprint's midpoint, from what was known
then (midpoint config). Test split, PR-AUC of "done" (23.0% were done):
| scorer | PR-AUC [95% CI] | ROC-AUC | Brier | ECE |
|---|---|---|---|---|
| base rate | 0.230 | 0.500 | 0.179 | 0.036 |
| work started | 0.268 [0.255, 0.281] | 0.588 | 0.176 | 0.046 |
| the board's record | 0.310 [0.293, 0.326] | 0.602 | 0.197 | 0.150 |
| the sprint's progress so far | 0.274 [0.259, 0.288] | 0.570 | 0.184 | 0.074 |
| the start model, same issues, as of the start | 0.378 [0.362, 0.394] | 0.691 | 0.188 | 0.155 |
| midpoint model | 0.454 [0.435, 0.471] | 0.733 | 0.155 | 0.028 |
Waiting until the midpoint pays: on the same issues the midpoint model is ahead of the start model by +0.076 [+0.064, +0.089] PR-AUC (paired over sprints), and it is well calibrated.
How much of a sprint will be done (sprints config)
For the share of a sprint's committed issues done at its close, the simplest estimate is also the
best: the mean of the start model's probabilities over the sprint's issues (MAE 0.158
[0.152, 0.164], Spearman 0.49 on 1,536 test sprints). The board's record alone gives 0.159. A
gradient-boosted regressor on the sprint summary did worse (MAE 0.162; paired difference +0.004
[+0.001, +0.008]), so it is not shipped; all numbers are in metrics_sprints.json.
Training
HistGradientBoostingClassifier (learning rate 0.05, 31 leaves, at least 100 samples per leaf,
L2 1.0, 300 iterations) with isotonic calibration (3 folds), scikit-learn 1.9, seed 0, on the
earliest 70% of sprints. Settings were fixed before looking at the test split.
pip install "ma-pmo[benchmark]==0.9.0" pandas pyarrow skops
python train_sprint.py <jira-sprint-delivery folder> --out .
python train_sprint_more.py <jira-sprint-delivery folder> --out . # midpoint model, sprint level
Provenance, license and privacy
Source: the Public Jira Dataset (Montgomery, LΓΌders, Maalej; Zenodo v7, 10.5281/zenodo.15719919), licensed CC BY 4.0, adapted through jira-sprint-delivery: 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 model is a numeric tree ensemble; it holds no rows and no ids, and its training data holds no user ids or free text. 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. MA-PMO is AGPL-3.0 with a commercial license available (mjinttt@gmail.com).
- Downloads last month
- -
Dataset used to train ma-pmo/sprint-delivery-baseline
Collection including ma-pmo/sprint-delivery-baseline
Evaluation results
- PR-AUC (done) on Jira Sprint Deliverytest set self-reported0.604
- ROC-AUC on Jira Sprint Deliverytest set self-reported0.730
- Brier score on Jira Sprint Deliverytest set self-reported0.203