Luminary Research Archive
Luminary Research ArchiveIndependent scholarship
Explore
Luminary Portal

Kernel Changes in Graph-Distance Magnitude Computation

Original PDF · First-page preview

Loading original first page…

Abstract

A numerical method can return a scalar successfully while changing the matrix that defines the intended statistic. We examine this issue for Magnipy 1.0.0 at commit 7d49b90f110db42fe666ada2964fea020d2cb1dd. Its default Cholesky path catches a solver exception, prints a warning, adds 0.01I to the similarity kernel and retries. In the original source-function audit of 1,136 graph/scale cases, 76 successful retries differed from exact original-kernel magnitude, while an unperturbed symmetric solve agreed in all 1,135 nonsingular cases. This edition adds a completed installed public-API reproduction of selected graph fixtures under the package’s declared dependency constraints. It then determines exactly how positive diagonal penalties interact with duplicated observations: uniform replication changes a fixed per-copy ridge to a smaller quotient ridge. A two-site Euclidean fixture produces a strict ranking reversal through the pinned precomputed-distance API, while default coordinate deduplication prevents it. A replication-invariant penalty convention and a classical variational residual enclosure provide explicit remedies for different intended targets; the enclosure certifies the original ranking in the displayed example. These results distinguish kernel preservation, regularized scores, duplicate handling and diversity interpretation. The algebra uses standard aggregation and quadratic-form arguments, and the unregularized duplicate-invariance theorem is credited to prior work. The contribution is a reproducible, scoped audit with exact decision consequences and certificates, without an empirical biodiversity or machine-learning performance claim.

You are reading edition 2. The latest edition is edition 3 (2026-12-03).

Read the full paper in the original PDF.

Edition files

Available editions

  1. Edition 3 · 2026-12-03
  2. Edition 2 · 2026-12-02
  3. Edition 1 · 2026-12-02

Research details

Subjects
Mathematics · Computer Science & Software Systems · Numerical Analysis · Software Engineering
Keywords
metric space magnitude, graph distances, numerical linear algebra, regularization, duplicate observations, ranking certification, reproducible software audit
Manuscript date
2026-12-01
DOI
10.5281/zenodo.24736870
Reader reuse
CC BY 4.0

Anyone may share and adapt this work, including commercially, if they credit the authors.

Original manuscript and original supporting material: CC BY 4.0. Files under vendor/magnipy retain their upstream BSD-3-Clause license and copyright notices; see LICENSE.md and vendor/magnipy/LICENSE.

Scope

Pinned Magnipy 1.0.0 commit 7d49b90f110db42fe666ada2964fea020d2cb1dd. Edition 1 source-function graph audit is retained; Edition 2 adds selected installed public-API CPU replays, exact replication identities and a certified original-kernel ranking example. Default coordinate deduplication protects the tested coordinate path; the replication issue concerns precomputed distances or explicitly disabled deduplication. The raw-concatenation example is labelled misuse, not a public distance-API claim. No fresh dependency installation, full-atlas public-API rerun, GPU test, or empirical biodiversity/ML performance claim.

Disclosures

AI assistance was used for literature retrieval, source analysis, computational implementation and independent checks, and manuscript preparation. Scott Schubr assumes responsibility for the content. Scott Schubr owns Luminary Oddities, which operates this Archive. The audit identifies a pinned code version and reports the warning printed by the fallback.

Reproduction

Complete Markdown/TeX manuscript and identical PDF, preserved Edition 1 audit and its manifest, exact 27-case multiplicity verifier, two installed public-API replay programs, pinned source/dependency manifests, certificates, build instructions and outer SHA-256 manifest. Fresh extraction checked all 80 inventoried files and all 35 historical entries before execution. Exact checks and selected API replays passed in the recorded pinned environment (15 installed source identities and seven dependencies). The replication replay covered 16 calls across six cases. Two-pass TeX compilation had no warnings; all 12 PDF pages passed visual review. Original material is CC BY 4.0; bundled Magnipy code retains its upstream BSD license. Internal AI-assisted review is not external peer review.

References and related resources

  1. Magnipy pinned source commit · references