Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: rename "gil"

gilfit (Python)

gilfit suggests the judged fields of a form from the documents people have already settled, and chooses — by replaying them in the order they were settled — how far each suggestion can be trusted and how often a trusted one will be right.

This package binds its Rust decision core: replay settled documents to choose how far each layer's suggestions for a form field can be trusted, and get back the decision records the choice rests on.

pip install gilfit
import gilfit

form = gilfit.Form.from_dict(
    {
        "name": "ticket",
        "fields": [
            {"name": "product", "role": "observed"},
            {"name": "summary", "role": "observed"},
            {"name": "team", "role": "judged"},
        ],
    }
)
documents = gilfit.read_records(
    "settled.jsonl"
)  # one JSON object per line, in settlement order
thresholds, records = gilfit.select_layers(
    form, "team", documents, target_precision=0.8
)
print(thresholds["key"]["chosen"], len(records))

Status: early. The API may change within 0.x — each change is listed in CHANGELOG.md with what to do about it.

Apache-2.0 — see LICENSE.

Metadata

Release files for gilfit 0.1.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 gilfit 0.1.0
File Size Uploaded Provenance Actions
gilfit-0.1.0.tar.gz 59.7 kB Without provenance Details for gilfit-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for gilfit 0.1.0
File Actions
gilfit-0.1.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for gilfit-0.1.0-cp311-abi3-win_amd64.whl
gilfit-0.1.0-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details for gilfit-0.1.0-cp311-abi3-musllinux_1_2_x86_64.whl
gilfit-0.1.0-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for gilfit-0.1.0-cp311-abi3-manylinux_2_28_x86_64.whl
gilfit-0.1.0-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for gilfit-0.1.0-cp311-abi3-manylinux_2_28_aarch64.whl
gilfit-0.1.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for gilfit-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
gilfit-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for gilfit-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 3.8 MB

Release files / gilfit-0.1.0.tar.gz

Download URL gilfit-0.1.0.tar.gz
Size 59.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6146de20298d837dd506b58a8cbf5fd04137dc2ec55b52c995adff06f155341a
BLAKE2b-256 checksum
How to use checksums
b91d417927a957ffaf8221ce21b23ff2d8eb0787b98ecd3846dd51a9bcd0d0a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / gilfit-0.1.0-cp311-abi3-win_amd64.whl

Download URL gilfit-0.1.0-cp311-abi3-win_amd64.whl
Size 467.4 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
1c453ace5517d17043d09aea589d4204e06221d3352df75b801e964495df5b9b
BLAKE2b-256 checksum
How to use checksums
7a83bde47f6291fdcf58356473d2e7671ea4727a7ae4a971a24b3bda2ea42494
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / gilfit-0.1.0-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL gilfit-0.1.0-cp311-abi3-musllinux_1_2_x86_64.whl
Size 841.7 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
8d39ebf4fabdd03a8263a5c8df85d4fdf65e5825983e9ade99fa432c6a77e08d
BLAKE2b-256 checksum
How to use checksums
6ac60ae694c9a646ade1e3444001f100219badbc342174bec1931fa39547b2f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / gilfit-0.1.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL gilfit-0.1.0-cp311-abi3-manylinux_2_28_x86_64.whl
Size 639.0 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
a31da45c97fac39827a97458f06def1eec02c407ad5322c11c09573925e0e7e8
BLAKE2b-256 checksum
How to use checksums
b3c17780211abc088c6c471dbd7e4926ecb5613b01ae8d0f842b9f7614494227
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / gilfit-0.1.0-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL gilfit-0.1.0-cp311-abi3-manylinux_2_28_aarch64.whl
Size 607.0 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
8de0b4622a1276014bb8ab7ff0bd22ca50b19fc422d9cf37350a59ba72dd4393
BLAKE2b-256 checksum
How to use checksums
7b820f7e7912f6e6bc724c33ef51c4545031e9ddf1bf9ac1194b69668a671609
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / gilfit-0.1.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL gilfit-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
Size 560.4 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8e455d7374c728a80ee905b2bd5223698daa94945513ca861bd499a6bd93f878
BLAKE2b-256 checksum
How to use checksums
96b7d2e49562ce55c71723eab581985cc79094bfabcf765117cf1b0be6a2a67a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / gilfit-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL gilfit-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 590.6 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
52adfe4a8657e4157d6520704675f17f98c6ef1a04064b147eb6cf8aaf6072e0
BLAKE2b-256 checksum
How to use checksums
70dbf7eb51d6e58e23abf9e2b0c98eec5a500ebd3c4a9f63fed60ccb3be424a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for gilfit 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.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

7 release files No 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