Repository navigation
Add HIF/Python interoperability and reproducible ecosystem benchmarks - #8
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hyper can exchange scientific datasets through HIF without silently losing metadata or unsupported incidence semantics. A Rust-backed typed Python package supports HIF import/export and launches the native viewer. This PR also adds ecosystem research and reproducible benchmark evidence to guide positioning and roadmap decisions.
--formatfor initial loads and watched reloads, preserving native/legacy behavior.hypergraph-viz(import hyper_viz) core wheels and a standalone source archive that excludes Bevy. Addhypergraph-viz-viewernative wheels through the exact-version[viewer]extra; discover installed executables through RECORD metadata without requiring environment activation. Explicit overrides take priority, then the companion, then PATH.benchmarkfeature, core CPU example, canonical dataset generation and adapters for scientific figures, browser rendering and desktop workflows.docs/ecosystem-comparison.mdand the benchmark archive. Adddocs/NOTEBOOK_ROADMAP.md: a future anywidget Canvas2D transport/selection prototype using a 7-node, 4-edge fixture, followed by a separate Bevy/WASM feasibility probe. No notebook API ships here.Validation
Measurement limits
The tracks perform different work: scientific rasterization, browser callback cadence, native application intervals and Graphia import/save are separate metrics. Display cadence was not locked; these results do not establish a universal speed ranking. Native runs retain 16 timeouts across 120 attempts, including one on a small fixture; their cause remains unresolved. A source audit identified a quadratic hub-status lookup for follow-up profiling. Incorrect early Sigma refresh and clamped-window HyperGodot measurements are excluded diagnostics. Human task accuracy, input-to-visible latency, GPU duration and cross-platform benchmark rendering remain unmeasured.
Release status
hypergraph-viz0.1.0 is published on PyPI. The unpublishedpython-v0.1.1release was canceled after inspecting its Windows runtime dependency; that tag remains unchanged. Both hypergraph-viz 0.1.2 and hypergraph-viz-viewer 0.1.2 are published. The release workflow passed all gates and uploads; PyPI lists four wheels for each package and a core source archive. Its desktop installation command ispython -m pip install --upgrade "hypergraph-viz[viewer]"; there are no downloads duringshow().Related: ATO-2428. See
docs/HIF.md,docs/PYTHON_RELEASE.mdandscripts/benchmarks/README.mdfor integration, releases and reruns.