Skip to main content

MIC-50-90 1.0.3

Version 1.0.3 publishes a container image with each release; its computations and results are those of 1.0.2 (see 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. A local browser form, a Windows application, the command line and the Python interface 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==1.0.3
mic-50-90 gui

To install from a source checkout, run python -m pip install . from its root directory. The guided form opens in your local browser; use Quit application to stop it.

A portable Windows application is part of a release only when the release workflow attaches it together with its build and browser-test receipts. Earlier releases keep their own files and validation records.

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:1.0.3 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 application and 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. Written proofs, independent numerical checks and 29 Lean-checked algebraic declarations have distinct roles; the Lean development does not certify the entire program or all statistical assumptions.

Documentation and checks

What the repository contains

Folder Purpose
src Calculation engine, CLI, Windows application and report resources
tests Automated checks of calculations, input handling and interfaces
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 Windows application and CLI 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 and Windows packages, 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 supports research and reporting audits. It does not infer clinical breakpoints, classify individual susceptibility or recommend treatment. Results depend on correct metadata and the assumptions attached to the chosen inference layer.

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 1.0.3

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 1.0.3
File Size Uploaded Provenance Actions
mic_50_90-1.0.3.tar.gz 9.7 MB With provenance Details for mic_50_90-1.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 13.3 MB

Release files / mic_50_90-1.0.3.tar.gz

Download URL mic_50_90-1.0.3.tar.gz
Size 9.7 MB
Tags Source
SHA-256 checksum
How to use checksums
09519f4fe63b0c1af04800a2e8ca25579001eb3a40c4f9b63ca4420bc783559c
BLAKE2b-256 checksum
How to use checksums
0015477959d60dd89a4d466565b78a3ab2a3ec4835c7874714008b3a453ffecb
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 19, 2026.

Transparency log

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

Download URL mic_50_90-1.0.3-py3-none-any.whl
Size 3.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
44ec9338645baf262a9fed9a8523e4a058b9b61db783c05111d6da1ba8b8c158
BLAKE2b-256 checksum
How to use checksums
637ce6869d2d3c8d6a74852270928ca2791039b8b178b6d5e0ccc293d44feda4
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 19, 2026.

Transparency log

Security for mic-50-90 1.0.3

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-1.0.3.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 19, 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