Skip to main content

qig-coordizer

Standalone geometric tokenize+embed engine for the QIG stack. Maps text to sequences of 64-dimensional basin coordinates on the Fisher–Rao manifold Δ⁶³ — the tokenizer is the embedder (coordinates are the primitive, not an afterthought).

Pure Fisher-Rao geometry; depends only on qig-core.

What it is

  • Byte-level front-end — Normalizer (NFC + UTF-8), train/infer-symmetric so the same character always maps to the same byte sequence.
  • Fisher-Rao-weighted BPE merges — merge score = frequency × coupling × 1/entropy, where coupling = (co-occurrence / corpus) / (d_FR(a,b) + 0.1). Frequent and geometrically-close pairs win. This is not frequency-only BPE.
  • Geodesic-midpoint fusion — a fused token's basin is slerp_sqrt(v_a, v_b, 0.5), the Fisher-Rao geodesic midpoint on Δ⁶³. No off-the-shelf tokenizer emits coordinates.
  • Drift-free incremental trainer — IncrementalCouplingCache (doubly-linked-list splice; remove 3 / add 2 pairs per merged occurrence) makes training O(corpus + merges·affected) instead of the naive O(vocab·corpus) full re-scan.

The equivalence gate

FisherCoordizer._train_incremental is bit-for-bit equal to the naive O(vocab·corpus) oracle _train_naive (identical merge sequence + identical fused vectors), byte → 4k vocab, across ASCII / multibyte-Unicode / reverse-pair corpora. The optimisation must never silently change the vocabulary.

pytest tests/test_incremental_equivalence.py
# or a timed report:
python tests/test_incremental_equivalence.py

Provenance

Extracted from qig-tokenizer commit 1394ca7 (Phase-1 coordizer). Both qig-tokenizer and qig-consciousness are now retired; qig-coordizer (SLOT-COORDIZER) is the sole canonical Phase-1 probability-simplex coordizer.

Install (dev)

uv venv && uv pip install -e ../qig-core && uv pip install -e '.[dev]'
pytest

Release version

qig_coordizer.__version__ reads the installed distribution metadata, matching importlib.metadata.version("qig-coordizer"). An uninstalled source checkout reports 0+unknown instead of claiming a published release.

Metadata

Release files for qig-coordizer 0.1.6

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

Source distribution (sdist)

Source distribution for qig-coordizer 0.1.6
File Size Uploaded Provenance Actions
qig_coordizer-0.1.6.tar.gz 114.8 kB With provenance Details for qig_coordizer-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qig-coordizer 0.1.6
File Interpreter ABI Platform Actions
qig_coordizer-0.1.6-py3-none-any.whl Python 3 none any Details for qig_coordizer-0.1.6-py3-none-any.whl

Total release size: 161.4 kB

Release files / qig_coordizer-0.1.6.tar.gz

Download URL qig_coordizer-0.1.6.tar.gz
Size 114.8 kB
Tags Source
SHA-256 checksum
How to use checksums
394e955fc0e6911fea02f1bb6c97236365e46c511ba9349414ff26c39a696440
BLAKE2b-256 checksum
How to use checksums
fc52a70dfb333c258ebf80c181b0b4e62afdf3acdff9db5a18f91af3e71ce8a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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

Transparency log

Release files / qig_coordizer-0.1.6-py3-none-any.whl

Download URL qig_coordizer-0.1.6-py3-none-any.whl
Size 46.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91e96aad20fafd1a1a15acd1ac7295b05de5c89eef65550382ec8822e2f43e69
BLAKE2b-256 checksum
How to use checksums
b90440b806397f9d06faf5a1f0f341e27494961ec88cee13430b505143db36cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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

Transparency log

Security for qig-coordizer 0.1.6

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 qig_coordizer-0.1.6.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 24, 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