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
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train ma-pmo/sprint-delivery-baseline

Collection including ma-pmo/sprint-delivery-baseline

Evaluation results