Skip to main content

Sprint forecast (exact-state, simulation-first)

This repository contains a reference implementation of the amended model:

  • Supply / capacity: daily capacity is a product of planned hours, Bernoulli availability, an enumerated blocked/disruption state, and an unbounded lognormal productivity multiplier.
  • Demand / workload: remaining work is modelled from three-point estimates with global + per-engineer bias correction on the log scale, then mapped to unbounded lognormal item-effort distributions.
  • AI attribution: AI usage can be introduced as a covariate in both the demand-side (bias model / workload) and the supply-side (focus multipliers). The implementation computes counterfactual success probabilities with AI turned off.
  • Bayesian pooling: conjugate pooling utilities (Beta--Binomial, Dirichlet--Multinomial) and linear-Gaussian shrinkage estimators for bias and focus parameters.

The core API is SprintSuccessForecaster.

Quickstart

Install:

python -m pip install sprint-forecast

Run the demo:

python -m sprint_forecast.demo

Zenhub sprint forecast

run_forecast.py supports pulling per-issue three-point estimates for the current open Zenhub sprint:

  • Set workload_source.type to zenhub_sprint_issues (see config.example.json)
  • Provide ZENHUB_API_TOKEN
  • Export .scarf/pert-hours.json from the PERT Hours Tracker (or disable workload_source.pert.require_*)

Sprint process

See docs/sprint-process.md for the recommended workflow (assignments, PERT in effective hours, actual tracking, required fields, and AI assumptions).

Structure

  • sprint_forecast/ – library code
  • examples/ – runnable example
  • tests/ – unit tests (python -m unittest)

Notes

  • The implementation targets Python 3.11+.
  • Randomness is handled via NumPy's Generator.

Metadata

Release files for sprint-forecast 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sprint-forecast 0.1.0
File Size Uploaded Provenance Actions
sprint_forecast-0.1.0.tar.gz 44.7 kB Without provenance Details for sprint_forecast-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sprint-forecast 0.1.0
File Interpreter ABI Platform Actions
sprint_forecast-0.1.0-py3-none-any.whl Python 3 none any Details for sprint_forecast-0.1.0-py3-none-any.whl

Total release size: 89.7 kB

Release files / sprint_forecast-0.1.0.tar.gz

Download URL sprint_forecast-0.1.0.tar.gz
Size 44.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a4ece3e31d6bcb53cb51ad8eda9386e8a03c3c0c33d146562e758c278088cf3f
BLAKE2b-256 checksum
How to use checksums
fc8d7a85ae2867f994ee375d507cc19796b28a0510d05cf28ffb2f3a4be77256
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.8

Release files / sprint_forecast-0.1.0-py3-none-any.whl

Download URL sprint_forecast-0.1.0-py3-none-any.whl
Size 45.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5525a24b68b0af398fd4a39f3a2d9edb7c1047138c3ccb69de029dcc79ca4e7f
BLAKE2b-256 checksum
How to use checksums
41d726310f2a57302b6f3570724a75866dac8cbdc9c59ca4d918805f2758eabf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.8

Security for sprint-forecast 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page