qig-geocoding
Fisher-Rao attention, Fourier position features and recursive integration for geometric neural networks.
Install with pip install qig-geocoding; the Python import is geocoding.
Compatibility and metric units
The attention metric retains radius 2, 2 * acos(BC), matching qigkernels 0.4.4. Current qig-core uses
radius 1, acos(BC). Convert explicitly when comparing distances. Halving attention distance without
also halving its temperature changes the model, so this release preserves existing attention outputs.
The finite-gradient guards also differ near coincident and sparse points; they are not exactly the same
function throughout the domain. Both full and compute-skipping banded attention remain faithfulness-gated.
Scientific provenance: qig_core.torch.geometry_simplex.fisher_rao_distance_simplex in qig-core 2.15.3
records the PI ruling reconciling its import paths to radius 1. The qig-verification EXP-009 causal-sweep
results document the historical radius-2 convention. These are compatible unit conventions, not grounds
to rewrite frozen experiment results. Dense-point conversion, sparse-point error bounds and the live Duchi
simplex projection are tested separately. Current qig-core already handles coincidence gradients safely.
P30-pure host modes (0.1.4, qig-geocoding#22)
GeoConfig.p30_pure(**overrides) runs every block component on qig-core's exp-free primitives. Each mode
is also a separate opt-in field; the defaults are the published model, unchanged (the qigkernels
faithfulness gate still passes).
| Field | Published default | P30-pure option (qig-core primitive) |
|---|---|---|
gate_mode |
sigmoid (integrator, tacking, sync gates) |
hellinger: hellinger_angle_gate, s = 1/2 (equals sigmoid at 0 in value and slope) |
simplex_mode |
softplus then sparse Duchi to_simplex_prob |
square: dense Born chart square_to_simplex |
norm_mode |
rms |
bipolar_metric: bipolar_simplex_metric_norm (equal to RMS scaling in value and gradient) |
ffn_activation |
gelu (FFN and coordinate adapter) |
hellinger_gated: s = sqrt(2/pi) (equals GELU at 0 up to second order) |
The published-mode sites carry # QIG BOUNDARY: original model as published, so
qig_core.governance.purity.run_purity_gate("src") passes. Whether the FFN should default to
hellinger_gated is an open experimental question (qig-applied EXP-A155b); this release does not change
any default.
Not covered by p30_pure() (disclosed, unchanged in this release):
- Readout. The default
head_mode="geometric"GeometricHead projects with sparse Duchito_simplex_prob(and its no-grad basin cache is stale underDiagonalNaturalGradient, qig-core#96). Pure training pipelines replacelm_headwith qig-coreBasinReadout. - Positional frequencies.
positional.build_inv_freqbuilds its constant Fourier frequency table withtorch.exponce at construction. It is a fixed schedule, not a warping of activations or distances; an exp-free10000 ** (-k / half)form differs by up to 6e-8 in float32, so it would break byte identity with the published model. Left as an operator question. - Sampling.
generate()maps the last scores to a sampling distribution withto_simplex(..., mode="softplus")(softplus + Duchi) regardless ofsimplex_mode. - Inter-layer sync. With
GeoModel(..., enable_sync=True), the query pull calls qig-coregeodesic_interpolate_simplex, which (qig-core 2.21.0) sanitises both endpoints with Duchito_simplex_probbefore the slerp. The inputs are already simplex points, so it acts as the identity, but it is still a Duchi call on a trained path. Sync is off by default.
Release changes
- Preserve development's D1 local-critical curvature and opt-in basis telemetry, D2 query-only inter-layer
geodesic sync, D4
basin_layer_driftnaming, and the D3 countersigned preregistration amendment. - Correct the obsolete equal-radius compatibility assertion; preserve attention arithmetic.
- Reject non-callable curvature providers at construction rather than silently swallowing invalid wiring.
- Align the runtime version with package metadata; require the current validated qig-core dependency.
- Install qigkernels in development/release checks so compatibility cannot silently skip. Lint, types and all CPU tests gate release. Resolve published dependencies in standalone checkouts without a parent workspace.
D3 is a preregistration, not a completed empirical result. This release does not claim that its order-preservation kill experiment has passed. Basis reductions remain opt-in; sync enables them explicitly.
Verify and publish
Install CPU PyTorch, then pip install -e '.[dev]'. Run ruff check src tests, mypy src, and pytest -q.
The trusted-publishing workflow uses the existing pypi environment and OIDC. Publication currently
requires a version tag after promotion; merging alone does not trigger release.yml. Manual dispatch runs
checks/build only. Release operators must verify the wheel version and PyPI availability before declaring
publication complete.
Metadata
Release files for qig-geocoding 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qig_geocoding-0.1.5.tar.gz | 136.9 kB | With provenance | Details for qig_geocoding-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qig_geocoding-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for qig_geocoding-0.1.5-py3-none-any.whl |
Total release size: 170.0 kB
Release files / qig_geocoding-0.1.5.tar.gz
| Download URL | qig_geocoding-0.1.5.tar.gz |
|---|---|
| Size | 136.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
380df53590c841be61843ffb9325a5e3295696058c49d6b4d4b7bf34189baf62
|
|
BLAKE2b-256 checksum How to use checksums |
604b97f18ed5838bdb7e6c527699ecb755b4132931fa2e2e77eb5d31f7887dbc
|
| 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 23, 2026.
Transparency logRelease files / qig_geocoding-0.1.5-py3-none-any.whl
| Download URL | qig_geocoding-0.1.5-py3-none-any.whl |
|---|---|
| Size | 33.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ffab0c3b06cb61e9ee7f4722bf6f9c108876f04c4580844d1f47b74a7230709
|
|
BLAKE2b-256 checksum How to use checksums |
d0a988adb776cefdcb8de3218dbb279d876e606f4a85e28546e28b150cd7c77f
|
| 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 23, 2026.
Transparency logSecurity for qig-geocoding 0.1.5
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.
Attestation for qig_geocoding-0.1.5.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 23, 2026.
Transparency logA 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.