Skip to main content

Hunch logo

Hunch

Every hunch, tracked.

CI status PyPI version Python 3.11 or newer License: Apache-2.0

hunch run, then hunch log showing a tree of runs

A journal for your ML experiments. Every training run saves its code, config, environment and metrics, why you ran it, and which run it built on.

pip install sigmoid-hunch

Get the PyCharm plugin

If you know git, you know Hunch

git hunch
git commit -m "why" hunch run -m "why" -- python train.py
git log hunch log
git show a7f3 hunch show a7f3
git diff 9b40 a7f3 hunch diff 9b40 a7f3
git notes add hunch note a7f3 "helps" --keep
git tag hunch milestone "warmup beats baseline"

Why not just git? Twenty runs of the same code with different learning rates are one commit to git. Hunch keeps all twenty, each with its settings and results.

In your code

hunch run already saves the code, command and environment. Add two lines and Hunch also tracks your settings and metrics, so you can see what changed between runs and how each one trained:

import hunch

hunch.init(config=args)                           # your settings: argparse args, a dict or a dataclass
for step in range(steps):
    ...
    hunch.log({"val_loss": val_loss}, step=step)  # your metrics, drawn as curves

Running python train.py without hunch run? hunch.init() records the run on its own; add why="..." to say why. Same names as W&B: import hunch as wandb works.

In your editor

The Hunch tool window in PyCharm: milestones, the tree of runs with their metric curves and conclusions, and one run's details

Hunch for PyCharm: your runs as a tree, keep or drop them, compare any two in the diff viewer, and start runs with one click. In review on JetBrains Marketplace.

VS Code, Cursor and Windsurf: an extension is on the way.

Your disk, your files

No server, no account, no telemetry. Just files in .hunch/.

Guide · File format · Questions · Contributing

Share it

Saved you a "what did I run last month?" moment? Tell one person, or post your hunch log in Show and tell.

Share on X Share on Reddit Share on Hacker News Share on LinkedIn

Tracking a research repo with Hunch? Show it: tracked with Hunch

[![tracked with Hunch](https://img.shields.io/badge/tracked_with-hunch-6E56CF?style=flat-square)](https://github.com/sigmoid-ide/hunch)

Apache-2.0 · Part of Sigmoid IDE · Like it? Give it a star.

Metadata

Release files for sigmoid-hunch 0.3.1

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

Source distribution (sdist)

Source distribution for sigmoid-hunch 0.3.1
File Size Uploaded Provenance Actions
sigmoid_hunch-0.3.1.tar.gz 34.0 kB Without provenance Details for sigmoid_hunch-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sigmoid-hunch 0.3.1
File Interpreter ABI Platform Actions
sigmoid_hunch-0.3.1-py3-none-any.whl Python 3 none any Details for sigmoid_hunch-0.3.1-py3-none-any.whl

Total release size: 73.4 kB

Release files / sigmoid_hunch-0.3.1.tar.gz

Download URL sigmoid_hunch-0.3.1.tar.gz
Size 34.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1d2d0ee3651324e29ae39a913a98c08aeb575a37cf043d22ab7eb88f906ff03a
BLAKE2b-256 checksum
How to use checksums
41728510e68c38e99c939893f95ec692fcf31adfd72f93ea74e553e57224cf39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / sigmoid_hunch-0.3.1-py3-none-any.whl

Download URL sigmoid_hunch-0.3.1-py3-none-any.whl
Size 39.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8188751aff804a4228fea330d9a9d6dd261b8cb1dd268bdca3f724cee6436d7
BLAKE2b-256 checksum
How to use checksums
705a317b54f53fedc364d971a22e99b704eb5a05921fccf32c5ffd49926bb97a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for sigmoid-hunch 0.3.1

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.

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