Skip to main content

hoimin

hoimin is a mutation testing CLI for Python, designed for AI agents to improve tests locally within explicit resource budgets. It makes small changes to copies of your source and runs your tests to find behavior they do not check.

An agent investigates selected survivors, adds tests grounded in the intended behavior, and verifies the improvement. Humans provide specification decisions and review changes. Mutation scores are diagnostic observations; equivalent mutants and specification-permitted changes make them unsuitable as a standalone quality target. hoimin targets local work and provides no mutation-score or regression CI gate. A completed run exits successfully even when mutants survive; inspect the JSONL events to choose the next test improvement. For repository documentation, start with the user guide or development guide.

See the product principles. See also the documentation for installation, the agent workflow, resource limits, and command references.

Install

Install from PyPI with uv:

uv tool install --python 3.14 hoimin

Wheels support Python 3.14 and 3.15 and support macOS Apple Silicon, Linux x86_64 (glibc), and Windows x86_64. Use --python 3.15 to install with Python 3.15. Python 3.15 lazy imports and unpacking in comprehensions are supported. Import-dependent mutations are conservative when lazy binding identity cannot be established. Run uv tool update-shell if hoimin is not on PATH, then open a new shell.

Quick start

From your project directory, use a Python environment with passing tests and their dependencies installed. Choose the OS memory policy first, then replace src/calc.py with an existing file:

hoimin run --root . --file src/calc.py -- python -m pytest -q

Everything after -- is your project's test command. hoimin runs it once as a baseline, then for each selected mutation. Have your agent investigate a small batch of survivors for missing assertions or test cases; a survivor alone does not establish a test defect. macOS and Linux without delegated cgroups require --allow-best-effort-memory before --; macOS memory is not capped. See the resource limits.

See the usage reference for selectors and configuration, the step-by-step plan/verify workflow for a Git-independent example with a before/after test improvement, and results, or run hoimin --help. For questions and bug reports, see the reporting guide. External Issues and pull requests are not accepted.

Licensed under Elastic License 2.0. See licensing details.

Startup cleanup reports

hoimin run and hoimin verify summarize startup cleanup in disk.janitor (JSON/JSONL schema 10). Output includes bounded ordinary root retention details, failures and unfinished cleanup diagnostics. The summary separates roots from deleted entries and reports bounded scan/detail omissions. It does not estimate remaining roots or freed disk space. See the compatibility notice.

Metadata

Release files for hoimin 0.14.52

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

Built distributions (wheels)

Table of built distributions (wheels) for hoimin 0.14.52
File Interpreter ABI Platform Actions
hoimin-0.14.52-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for hoimin-0.14.52-py3-none-win_amd64.whl
hoimin-0.14.52-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for hoimin-0.14.52-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
hoimin-0.14.52-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for hoimin-0.14.52-py3-none-macosx_11_0_arm64.whl

Total release size: 18.9 MB

Release files / hoimin-0.14.52-py3-none-win_amd64.whl

Download URL hoimin-0.14.52-py3-none-win_amd64.whl
Size 6.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
dc48b6a77ef46ce6394445b20c04da3e0b9c9442ac216b04b9703474daed9e04
BLAKE2b-256 checksum
How to use checksums
4ed53bcab0ad538c0b9b605a14d60d13f012737a8175b32e8b90e9fe6f11f041
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 6, 2026.

Transparency log

SLSA Build Provenance Attestation

PyPI verified that this artifact, at this checksum, originated from the builder listed below.

Built by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / hoimin-0.14.52-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL hoimin-0.14.52-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5e45b0eb871b54ab932258af89b9b663d1750b9a21abede3c1b9cbbf6a0c7ade
BLAKE2b-256 checksum
How to use checksums
237f73eabbb532660f8d660aea2dbaf6c0d3c36a345f55c709cd1033bab2a2e0
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 6, 2026.

Transparency log

SLSA Build Provenance Attestation

PyPI verified that this artifact, at this checksum, originated from the builder listed below.

Built by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / hoimin-0.14.52-py3-none-macosx_11_0_arm64.whl

Download URL hoimin-0.14.52-py3-none-macosx_11_0_arm64.whl
Size 5.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
df6b426c8839e1f915f8542a21d6d85df0d9441d2d83a280883755ac2ec6c338
BLAKE2b-256 checksum
How to use checksums
716d9d9a77627b34b795eac882c4b6106f233c11340b0b8eed9460f67641c720
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 6, 2026.

Transparency log

SLSA Build Provenance Attestation

PyPI verified that this artifact, at this checksum, originated from the builder listed below.

Built by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for hoimin 0.14.52

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 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestations for hoimin-0.14.52-py3-none-win_amd64.whl

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 6, 2026.

Transparency log

SLSA Build Provenance Attestation

PyPI verified that this artifact, at this checksum, originated from the builder listed below.

Built by GitHub Actions, verified by PyPI on Nov 6, 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.

Release history Release notifications | RSS feed

This release

0.14.52 This release

3 release files Full 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