tailor-aoi
Python implementation of TAILOR, the age-optimal joint sampling and preemption policy from Taming the Heavy Tail: Age-Optimal Preemption (A. Li, Y. İnce, E. Uysal, IEEE ISIT 2026, DOI 10.1109/ISIT62367.2026.11653616).
Install
pip install tailor-aoi # core
pip install "tailor-aoi[plot]" # with matplotlib helpers
Use
from tailor_aoi import ServiceDist, solve, compare
dist = ServiceDist.pareto2(mean=2.0, variance=40.0) # or lognormal_from_mean, exponential, from_scipy
policy = solve(dist, kappa_s=1.0, kappa_p=1.0) # optimal sampling + preemption policy
print(compare(dist, 1.0, 1.0, policy=policy)) # vs. Update-or-Wait, Zero-Wait, best static
Command line: python -m tailor_aoi --dist lognormal --mean 2 --sigma2 6.
- Repository and MATLAB code: https://github.com/AiminLi-Hi/aoi-preemption-heavy-tail
- Colab quickstart: https://colab.research.google.com/github/AiminLi-Hi/aoi-preemption-heavy-tail/blob/main/python/examples/quickstart.ipynb
- Project page: https://yigiti.github.io/Preemption/
Citation
If you use this package, please cite the paper (python -m tailor_aoi --cite prints the BibTeX):
@inproceedings{li2026taming,
title = {Taming the Heavy Tail: Age-Optimal Preemption},
author = {Li, Aimin and {\.I}nce, Yi{\u{g}}it and Uysal, Elif},
booktitle = {Proc. IEEE International Symposium on Information Theory (ISIT)},
year = {2026},
doi = {10.1109/ISIT62367.2026.11653616}
}
Metadata
Release files for tailor-aoi 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tailor_aoi-0.1.0.tar.gz | 17.0 kB | With provenance | Details for tailor_aoi-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tailor_aoi-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for tailor_aoi-0.1.0-py3-none-any.whl |
Total release size: 34.4 kB
Release files / tailor_aoi-0.1.0.tar.gz
| Download URL | tailor_aoi-0.1.0.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05d2dd37a0408d9c3b2478f05be6333094ef8451f473ab3def4f267506200b95
|
|
BLAKE2b-256 checksum How to use checksums |
1b6b6d20e6215a1960f4f45bb1873d8e3d3e03dd28d3cdc9c2d25b0675198541
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logRelease files / tailor_aoi-0.1.0-py3-none-any.whl
| Download URL | tailor_aoi-0.1.0-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0889fcaa9e73b99bfe82543d404d1d614ea3166ae3f796ca31c6d9faee72162e
|
|
BLAKE2b-256 checksum How to use checksums |
e6c28ff7c42ecdd5649e9e530c89d1228afe11b0cfd3c4fad279c28efd0fe007
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logSecurity for tailor-aoi 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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for tailor_aoi-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logA 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.