Skip to main content

MIC-50-90 2.0.0

Changes between versions are listed in CHANGELOG.md. The release files and their checksums are attached to the GitHub release and archived at Zenodo.

MIC-50-90 is a Python package for bounding MIC distributions from incomplete susceptibility reports. Published antimicrobial susceptibility results often give only MIC50, MIC90, a range and a few percentages. From these, and from exact or rounded counts, MIC-50-90 computes the smallest and largest count the report allows in every MIC category and range, names the count that would narrow an open question most, selects counts a laboratory can publish so that readers can check its conclusions, and gives optional population bounds under stated sampling assumptions. The Python interface, the command line and the Galaxy tools use the same calculation engine.

Use it to interpret an unreported concentration range, distinguish missing counts from measurement censoring, determine which additional counts would resolve a question, or prepare a short laboratory report whose conclusions a recipient can verify. Inputs refer to the same original isolates and retain their denominator, panel, units and reporting convention.

Install and start

Use Python 3.11–3.13 in a separate environment. The release checksums identify the published files; the release workflow records the operating systems and Python versions on which they were tested.

Install from PyPI with the Python interpreter of that environment:

python -m pip install mic-50-90==2.0.0
mic-50-90 --help

To install from a source checkout, run python -m pip install . from its root directory.

For work in a web browser without installing anything, the MIC-50-90 Galaxy tools describe a distribution, audit a laboratory report and check a received certificate. Their wrappers and tests are in galaxy/.

Each release is also published as a container image that already contains Python and all dependencies, so only Docker or another container runtime is needed. On Linux or macOS, this runs the program on files in the current folder:

docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/data" -w /data ghcr.io/maciejkochanowski/mic-50-90:2.0.0 mic-50-90 --help

Started without a command, the container runs the software checks.

To inspect the command-line interface:

mic-50-90 --help
mic-50-90 distribution --help

Download the source archive for the example inputs, schemas and documentation. From its extracted directory, run:

mic-50-90 distribution examples/distribution/summaries.json --precision-pp 10 --output-dir output/distribution

Open the generated report.html. Reports also provide CSV/JSON results and reusable input settings. The wheel installs the command line and the library; the software source release supplies the tests, formal checks, examples and user documentation.

Choose the inference you need

Question Result Requirements
What follows about these isolates? Sharp finite-sample bounds over the distributions compatible with the report Truthful summaries, ranks, panel geometry and category definitions
What follows about the source population? Simultaneous confidence bounds accounting for incomplete reporting and sampling uncertainty Independent observations from the same distribution, a declared population and confidence level
What is covered for a new study unit? Calibrated bounds for the quantities in the declared protocol Exchangeable study units and a matching reference, score, unit and calibration contract

These layers answer different questions. Complete category counts can still leave concentrations uncertain inside measurement intervals. Optional likelihood, Bayesian, entropy and reference-based analyses report their additional assumptions. Incomplete numerical searches retain valid available bounds and their explicit completion status.

Practical workflows

  • Analyse published MIC summaries or counts, including several declared rank interpretations when necessary.
  • Add a count from the original collection and update the analysis while preserving previous truthful information.
  • Select contiguous concentration groups at a requested sample or population precision.
  • Plan one request or successive requests for additional counts, with explicit permitted questions and costs.
  • Select sufficient counts from complete category counts so a recipient can verify the stated sample conclusions.
  • Prepare and assess study-unit calibration with its own reference and sampling requirements.

The main mathematical result gives a checkable P6 endpoint-attainment condition: when it holds, a selected family of compatible count tables attains the same population-range endpoints as considering every compatible table for the fixed confidence construction. The result has a written proof and independent numerical checks, and the algebraic core of the proof is checked in the Lean proof assistant (29 declarations).

Documentation and checks

What the repository contains

Folder Purpose
src Calculation engine, command line and report resources
tests Automated checks of calculations, input handling and interfaces
galaxy Galaxy tool wrappers with their test data
tools and .github/workflows Build, test and publish the software packages
docs and schemas Installation, usage, input formats and output definitions
examples and data Small example inputs, source attribution and data terms
formal and reproducibility Formal algebra and independent checks of the implemented calculations
evaluation Inputs, scripts and result tables of the comparisons reported in the article
scripts Source manifest, source bundle, archive installation check, command reference and document claim check

The command line, the Python interface and the Galaxy tools use the same calculation engine. Article-production files are maintained outside this repository.

The GitHub Actions workflow tests installed packages on Windows and Linux with Python 3.11–3.13. The release workflow builds the Python packages and the container image, checks their contents and attaches only software assets. Consult the completed Actions run and the release checksums for the exact distributed files.

Manuscripts, supplementary appendices and editorial figures are maintained separately. They are not included in this repository, its software release assets, or a software deposit generated from this repository. Distribution policy.

Scientific scope and license

MIC-50-90 is a tool for research, surveillance and reporting audits. Its results describe a collection of isolates or the population from which the collection was sampled, and every result states the reporting convention and the sampling assumption on which it rests.

The software is distributed under MIT. Example data, source publications and bundled fonts retain their own attributed terms; some publication examples have noncommercial source terms. Source URLs, hashes and exclusions are documented in docs/DATA_TERMS.md and data/LICENSES.md. The software license does not relicense third-party material.

Author: Maciej Kochanowski, Department of Bacteriology and Bacterial Diseases, National Veterinary Research Institute, Puławy, Poland. ORCID 0000-0002-9982-3028. Use CITATION.cff for citation metadata. Archived releases: doi:10.5281/zenodo.23297915. Report issues through the GitHub issue tracker.

Metadata

Release files for mic-50-90 2.0.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 mic-50-90 2.0.0
File Size Uploaded Provenance Actions
mic_50_90-2.0.0.tar.gz 9.9 MB With provenance Details for mic_50_90-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mic-50-90 2.0.0
File Interpreter ABI Platform Actions
mic_50_90-2.0.0-py3-none-any.whl Python 3 none any Details for mic_50_90-2.0.0-py3-none-any.whl

Total release size: 13.4 MB

Release files / mic_50_90-2.0.0.tar.gz

Download URL mic_50_90-2.0.0.tar.gz
Size 9.9 MB
Tags Source
SHA-256 checksum
How to use checksums
7ec7ea813da1b082e90462873fb2bdf18c0ea3f9156ee1601e8f2462bb1b2138
BLAKE2b-256 checksum
How to use checksums
e8f5e74ee699b128419918ae21cedfdd5ef4080e3657c05f2f08e256e9f20a66
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 22, 2026.

Transparency log

Release files / mic_50_90-2.0.0-py3-none-any.whl

Download URL mic_50_90-2.0.0-py3-none-any.whl
Size 3.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f55ecf3f1dea3e30fca9e0430522d65ea5e983b2fd746c9782a472d4579662e9
BLAKE2b-256 checksum
How to use checksums
3b68f428a7e20d69dca143cb014600d038f9f6ad36cd25a3197dfcf57c5fd9c0
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 22, 2026.

Transparency log

Security for mic-50-90 2.0.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mic_50_90-2.0.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 22, 2026.

Transparency log

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.

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