Changelog#

All notable changes to dynG are documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning from 0.1.0. Before 0.1.0 anything may change.

Unreleased#

0.4.0 - 2026-11-28#

Summary#

dynG 0.4.0: two more stable algorithms, label_propagation (DynLP), exact against the original LabelPropagation-CUDA code, and hyper_sssp (H-SOSP), exact against the original MOSP_ESCHER code, with the graph and hypergraph additions they need. Install it from PyPI (Python >= 3.12, Linux x86-64):

pip install dyng            # the sequential and OpenMP backends
pip install "dyng[cu13]"    # with the CUDA backend, for an NVIDIA driver of CUDA 13 ("dyng[cu12]": CUDA 12)

Upgrading from 0.3.0, 0.2.0 or 0.1.0: pip install -U "dyng[cu13]" (or -U dyng without the plugin). Without -U, pip keeps an installed 0.3.0 or 0.2.0 (with its own plugin, which has no label_propagation and no hyper_sssp) or 0.1.0 (which has no cu12 / cu13 extras: pip only warns); pip install -U dyng alone upgrades the core and leaves an installed plugin at its older version, which the 0.4.0 core does not load.

0.4.0 is the release candidate 0.4.0rc1 (tag v0.4.0rc1, published on TestPyPI only and smoke-tested from there) with the final-release changes below and no change to the library. Nothing of 0.3.0 changes incompatibly: sssp, cycle_count, mosp, triad_count and the hypergraph keep their API; the frozen graph, hypergraph and I/O headers gain additions, and the few documented behaviour changes (for example triad_count refusing the new slack_csr storage) are listed below. The entries below the summary are the detailed record of milestones M10a, M10b, M11a and M11b, of the ADR 0120 fix and of the release preparation (R040, R041).

  • label_propagation is stable (SemVer applies from 0.4.0): binary harmonic label propagation (DynLP) under vertex batches. Some vertices of a similarity graph are seeds with a class 0 or 1; every other vertex gets a label in [0, 1] that update() keeps a delta-approximation of the harmonic solution while vertices arrive with their edges and leave; compute() is the static IrLP baseline. On the sequential and CUDA backends (no OpenMP backend in 0.4). The CUDA default is LabelPropagation-CUDA@a276a3a’s pipeline, ported verbatim: its damped labels are byte-identical to the original’s on the golden configurations, its in-place schedule stays within tolerances calibrated on the original’s own runs, and both meet the harmonic oracle; it is within the paper’s gates against the original (the update per batch, end to end and device memory, 50k to 5m vertices, and the 50m update at the release). A second CUDA engine, engine::operators, is written with dynG’s operators (binned_frontier, neighbor_reduce, connected_components) and gives the fused engine’s bits on the damped schedule. Besides the published setup, a streaming mode grows the rows as vertices arrive (slack rows) and takes the similarity threshold from the current graph.

  • hyper_sssp is stable (SemVer applies from 0.4.0): dynamic single-source shortest hyperpaths (H-SOSP) of a weighted hypergraph: the distance and the parent of every hyperedge and the distance of every vertex, kept exact while hyperedges are deleted and inserted and vertices leave and join hyperedges, with a work budget that falls back to a recompute. On the sequential and CUDA backends, with two CUDA engines: MOSP_ESCHER@4b86159’s kernels ported as they are (the default) and dynG’s shared shortest-path engine (engine::operators), which gives the same results. Exact against MOSP_ESCHER on every update and recompute of its golden set (its make test sessions and the 16 paper configurations; distances and parents by id, on both CUDA engines) and within the paper’s timing and memory gates against it.

  • Graphs for vertex streams: graph::with_capacity() with slot rows (each vertex’s row has a fixed capacity, LabelPropagation-CUDA’s layout) and slack rows (rows that move and grow, with compaction), vertex batches (edge_batch’s vertex insertions with their seed labels, and vertex deletions with their edges) under batch_semantics::net_effect(), vertex_status and num_active_vertices, and graphs with float weights; in Python Graph.with_capacity, Graph.vertex_status(), the vertex arrays of EdgeBatch and float32 graphs (weight_dtype). All of it is part of the stable graph surface from 0.4.0.

  • The hypergraph’s slack_csr storage and incidence edits (stable from 0.4.0): MOSP_ESCHER’s slack CSR line graph on every backend, and batches that remove a vertex from a hyperedge or add one (incidence edits, on slack_csr storage only: the escher storage refuses them, and triad_count refuses slack_csr storage).

  • New file records and generators (stable, in version 1 of their formats): .dgt vertex records +v u [label] / -v u, float weight tokens and incidence edits +i / -i; .dgb float32 weights (weight code 3) and the flags vertex_records and incidence_edits; the label files io::write_labels / read_labels (LabelPropagation-CUDA’s dynlp_labels.txt, byte for byte); the vertex-arrival generators generate_vertex_arrival_stream() (bit-exact per seed everywhere) and generators::legacy::dynlp_vertex_arrival_stream() (the original’s generator, byte for byte). Files of 0.3 read and are written as before.

  • Python and the command line: dyng.label_propagation (the labels a read-only array, handed to PyTorch or NumPy without a copy through DLPack), dyng.hyper_sssp, the vertex-arrival generators and the label files in Python, dyng label_propagation compute|update, dyng hyper_sssp compute|update and dyng generate vertex_arrival_stream / dynlp_vertex_arrival_stream; the kNN recipe datasets/preprocess/knn_graph.py turns feature vectors into a similarity graph.

  • Tutorials and docs: “Streaming label propagation” (the paper’s setup byte for byte, then your own data in the streaming mode, with PyTorch) and “Shortest hyperpaths” (C++ and Python); the algorithm pages of both algorithms with their “paper vs fixed code” sections, the concept page “Row layouts”, and the history page of LabelPropagation-CUDA.

  • Kernel groups: on CUDA each algorithm’s kernels are loaded when the process first uses them, so under CUDA_MODULE_LOADING=EAGER a process loads only the kernels of the algorithms it runs (DYNG_DEFER_KERNEL_GROUPS, default on; the dyng-cu12 plugin, with CUDA 12’s static runtime, loads every kernel at start-up).

  • Fixed: a CUDA graph’s update released the device copy of the previous version on the stream it was built on, so a program that built the graph on one stream and updated it on another could read freed memory (present since 0.1.0; ADR 0120).

  • Stability: besides the two algorithms, the graph and hypergraph additions and the formats above, the vertex-arrival generators and the label files are stable from 0.4.0 (the author’s decision of 2026-11-18). The testing oracles of label_propagation (dyng::testing::harmonic_solution, union_find, lp_host_model) are frozen but outside the stable tier, like the testing oracles of 0.1-0.3.

  • The plugins: dyng-cu13 is built with CUDA 13.5 (13.4 in 0.3.0), dyng-cu12 with CUDA 12.9.

  • The release certificate benchmarks/results/0.4.0/ (PLAN 8.3 and 8.6): as for 0.3.0, and new: the suites ics26_dynlp (label_propagation against LabelPropagation-CUDA@a276a3a, with the release-only 50m reading) and ia3_hsosp (hyper_sssp against MOSP_ESCHER@4b86159); the label_propagation golden replays (generator, stage traces, damped bytes, hub, IrLP, the in-place schedule under its rate rule and the harmonic oracle); hyper_sssp’s replays by id on both CUDA engines and on sequential, and the slack_csr store check; MOSP_ESCHER’s sessions replayed whole on slack_csr storage on every backend; and the stable algorithms of 0.3.0 read against 0.3.0 itself (ADR 0024).

Known limitations of 0.4.0: Linux x86-64 only (the aarch64 wheels and the conda-forge packages are deferred beyond 0.4.0); the plugins need a GPU of compute capability 7.5 or newer; label_propagation and hyper_sssp have no OpenMP backend; the in-place schedule of label_propagation is reproducible within its tolerance, not bitwise (the damped schedule is bitwise per backend and build); incidence edits only on slack_csr storage, and triad_count not on it; MOSP_ESCHER’s own H-SOSP batch generator is not ported (the gates replay its exported batches); the hypergraph store’s offsets are 32-bit; on CUDA the memory pool keeps, between batches, what an update reached (recorded beside the memory gates, not gated); no DOI (Zenodo is not connected). Against 0.3.0 (ADR 0024’s reading, acknowledged by the author; fixes planned after 0.4.0, docs/roadmap.md): cycle_count’s OpenMP update reads up to 2.5 % slower on large batches under set semantics (a cost of the graph additions of 0.4 in the host graph apply, about 2 ms per 50,000-edge batch), and on CUDA the sssp and mosp updates on roadNet-PA’s 50,000-edge batches read about 4 % slower (where the kernel groups of 0.4 place device memory); the other regions read within 2 % of 0.3.0, or above it where the code’s placement in memory differs, located region by region (docs/developer/retrospectives/R040.md, with the author’s decisions in GOVERNANCE.md). label_propagation does not check that the weights are positive (a weight <= 0 gives labels that are not the harmonic solution).

Final release (R041)#

  • Changed: VERSION 0.4.0, CITATION.cff version: 0.4.0 and date-released: 2026-11-28 (the planned tag day); this section, the release candidate’s [0.4.0rc1], renamed [0.4.0] - 2026-11-28 with its link references, its summary with the install lines from PyPI and the upgrade line.

  • Docs: the status texts of the release candidate brought to the release (README, the documentation’s start page, the getting-started and install pages, SECURITY.md with its supported versions, CONTRIBUTING.md, SUPPORT.md, docs/citing.md, the roadmap, the developer plan and the PyPI project page python/README.md): pip install dyng and pip install "dyng[cu13]" / "dyng[cu12]" from PyPI, pip install -U "dyng[cu13]" for users of 0.3.0, 0.2.0 and 0.1.0; the tutorials “Streaming label propagation” and “Shortest hyperpaths” no longer send readers to the release candidate’s TestPyPI lines; both, and “Hypergraph triads”, clone the tag v0.4.0 (“Streaming label propagation” gets the clone command it lacked; the files “Hypergraph triads” quotes are unchanged since v0.3.0, so a 0.3.0 user clones that tag); “Your first dynamic algorithm” pins the latest release v0.4.0. The pages of 0.4’s content (label_propagation, hyper_sssp, slack_csr and the incidence edits, the vertex-arrival generators, the label files, the kNN recipe, the format extensions, the two tutorials) already describe them as stable from 0.4.0, as the author decided on 2026-11-18, with the three testing oracles frozen outside the stable tier.

  • Fixed (tests only): the cuda case of the hyper_sssp example’s test (python/tests/test_examples.py) had no gpu marker, so pytest -m gpu, the GPU test of the published plugin wheels, did not select it; it is marked, and python/tests/test_gpu_marker.py fails on any backend="cuda" case without the marker. The case passed on the published 0.4.0rc1 wheels; no library code changed.

  • Added: benchmarks/results/0.4.0/, the certificate of the release, carried over from 0.4.0rc1 (docs/developer/release.md, step 9): the library did not change since the measured commits, so the gates, the golden replays and the golden mutations stand; the checks of the packaging and repo scopes (the distributions as release.yml builds them for v0.4.0, ci/check.sh --parity, ci/api_check.sh, one ci/gpu_local.sh --preset parity-cuda run) and of the tests scope (the sanitizer presets and the mutation CTests: README.md changed) were run again on the final tree. The smoke test of 0.4.0rc1 from TestPyPI (the CPU package and both CUDA plugins, on GPU 1) is recorded there and in docs/developer/retrospectives/R041.md.

  • Governance: the author’s decisions of 2026-11-26: 0.4.0rc1 gets no GitHub pre-release (as 0.1.0rc1, 0.2.0rc1 and 0.3.0rc1), and the planned tag day of 0.4.0 is 2026-11-28 (UTC).

Changed#

  • The documented find_package(dyng 0.4 REQUIRED) (README.md, docs/getting_started/install.md and the tutorial’s Op consumer ci/consumer/op.CMakeLists.txt) follows the development version, which ci/cmake_consumer.sh requires; a build of 0.3.0 asks for 0.3.

  • An empty block for each milestone of 0.4 where a merge of the two could silently drop the other’s entries (the author’s decision of 2026-10-28 on the 0.4.0 plan, sheet A3; GOVERNANCE.md, approvals log): parity/certify.py (the one GPU_LOCAL_STEPS key (0, 4), REQUIRED_SUITES and the EQUIVALENCE_TARGETS / EQUIVALENCE_FILES lists, one entry per line), parity/mutate.py (SUITES and MUTATIONS), ci/gpu_local.sh, this file and GOVERNANCE.md’s Open decisions. M10 (label_propagation) and M11 (slack_csr, hyper_sssp) are developed in parallel, and each adds its entries to its own block.

M10: label_propagation (0.4)#

  • The parity harness of label_propagation against LabelPropagation-CUDA@a276a3a (M10a step 1; ADRs 0063-0066; no library change): the reference in parity/references.toml and its link-time recording twin (parity/export_patches/LabelPropagation-CUDA, parity/exporters/dynlp, parity/dynlp_trace.py); the timed-region map parity/timed_regions/label_propagation.toml with M10’s region keys first_batch and sum_gate in parity/perf_ab.py and parity/bench_suite.py; perf_ab.py label_propagation (parity/label_propagation_perf.py: the pre-port baseline and the memory readings of the original); the golden sets label_propagation_{generator,damped,trace,hub,irlp,inplace} and the in_place calibration (parity/label_propagation_goldens.py, through export_goldens.py label_propagation and compare.py label_propagation --verify), with the thresholds frozen in parity/goldens.toml; the build-flags go/no-go (parity/label_propagation_sass.py); the records under parity/results/ (M10a.md).

  • M10a step 2 (api-change, additive; provisional until M10b’s freeze): the DynLP legacy generator (ADR 0067): <dyng/generators/vertex_arrival.hpp> (added to <dyng/dyng.hpp>) with generators::vertex_arrival_options, vertex_arrival_batch, vertex_arrival_stream and generators::legacy::dynlp_vertex_arrival_stream(), byte-identical to LabelPropagation-CUDA’s generator for a seed (every corpus case, build and thread count); libstdc++ 12’s std::shuffle with std::mt19937 and std::uniform_real_distribution<float> reproduced by the library and compared with std:: at run time; standard_library_matches_legacy_streams() also compares those draws (its description gains a sentence).

  • M10a step 2 (api-change, additive, dyng::testing): the label_propagation oracles (ADR 0068): testing::harmonic_solution (with harmonic_options, harmonic_result, label_error_against, class_agreement_with), testing::union_find and testing::lp_host_model (with lp_model_batch, lp_model_report), standard library only, validated against the original’s traces and its --check; the replay tool dyng_lp_replay and compare.py label_propagation generator|model|check-runs|oracle|margin|subset (parity/label_propagation_replay.py); the recorder’s check_labels record; the committed digests under cpp/tests/data/goldens/label_propagation (19.6 KB).

  • M10a step 3 (api-change, additive, the frozen graph/ headers; ADR 0069): slotted rows and vertex batches on the host. graph<int32, int32, float> and graph<int32, int64, float> are instantiated; graph::with_capacity(res, vertex_capacity, row_capacity, props) builds a graph with row_layout::slotted (fixed per-vertex slot ranges, a row end and a vertex_status per vertex, all inactive), which takes vertex batches under the new batch_semantics::net_effect() (with the appended field batch_semantics::as_net_effect): Ins \ Del become active, every id of Del ends deleted, ids are single-use, the edges are appended to both rows in batch order, and every contract violation (an id out of range, listed twice, re-inserted, a labelled vertex deleted in its batch, a row overflow) is refused before anything changes. New: enum class vertex_status {active, deleted, inactive}, graph_view::status and graph_view::row_end (appended; empty for compact rows), graph::num_active_vertices(), apply_summary::dropped_insertions (appended), edge_batch::insert_vertex(v, label = -1), delete_vertex(v) and their accessors (empty(), clear() and view() cover them), and generators::vertex_arrival_batch::view(). The 0.1-0.3 instantiations and compact rows are unchanged; a vertex batch on compact rows still raises not_supported_error, now naming with_capacity().

  • M10a step 3 (api-change, documentation only, the frozen algorithm headers; ADR 0070): the compact-only guard (AD11). sssp, mosp, cycle_count, dynamic_bfs and triangle_delta (compute, update, from_arrays), dyng::update() through them, the upload of the device copy and the device merge refuse a graph whose rows are not row_layout::compact with a not_supported_error that names the layout and the fix (graph::from_csr(res, g.to_csr(res).view(), props) with the properties the message lists), before anything changes. Their headers and update.hpp gain the @throws line; nothing else in those algorithms changes, and triad_count (hypergraphs) is untouched.

  • M10a step 3 (api-change, additive; provisional until M10b’s freeze; ADRs 0071-0073): label_propagation (experimental), <dyng/label_propagation.hpp> (added to <dyng/dyng.hpp>): schedule {in_place, damped}, on_limit {error, report, fallback_recompute}, options (similarity_threshold, tolerance, max_iterations, on_iteration_limit, update_schedule, cuda_engine), stats (batch, components, sparsified_edges, initial_frontier = |V_aff|), result<vertex_t> (labels(), seed_labels(), reserve(), …), compute() (IrLP, the published baseline) and update() (DynLP, one vertex batch on slotted rows) for graph<int32, int32 | int64, float>, on the sequential backend (cuda in M10a step 4; no OpenMP backend in 0.4: OpenMP resources raise not_supported_error naming sequential and cuda). Its deterministic stages equal LabelPropagation-CUDA@a276a3a’s trace on the whole corpus P+, and its labels meet the harmonic oracle. The profiler counter label_propagation.irlp_iterations; the stage trace of the original’s recorder format when DYNG_DYNLP_TRACE_DIR is set (a parity diagnostic).

  • M10a step 3 (api-change, documentation only, core/stats.hpp; AD20): the last paragraph of the update_stats comment: “An algorithm’s stats documentation may state a weaker level (deterministic per backend, or schedule-dependent) for an inherited field; that statement governs for that algorithm.” (label_propagation’s affected, converged and fallback_used: deterministic per backend under damped, schedule-dependent under in_place).

  • M10a step 3: dyng-compat-dynlp (tools/compat/dynlp; ADR 0073), the original’s dynLP command line on dynG (public headers only; built against the install tree by ci/cmake_consumer.sh; C8’s refusals of --tau 0, a NaN --tau and --maxIter <= 0); compare.py label_propagation container|trace|oracle-port|determinism (parity/label_propagation_port.py) and the mode dyng_lp_replay container; perf_ab.py mosp --baseline-exe/--baseline-label/--layouts (the dynG-against-dynG reading of ADR 0024).

  • M10a step 4 (api-change, documentation only, the frozen graph/graph.hpp; ADR 0074): slotted rows on the device. A slotted graph built with CUDA resources keeps its rows on the device (LabelPropagation-CUDA’s device graph): with CUDA resources of its device a vertex batch is checked on the host (Step 0), copied to the device (pinned arrays directly) and applied there, and the host copy of the rows is downloaded on the next host read; the row capacity is checked on the device instead of before the batch, so an overflow raises capacity_error after the batch was applied and poisons the graph (the basic guarantee; the with_capacity(), apply() and reserve() descriptions say so). graph::reserve(res, edge_capacity) sizes the device scratch of vertex batches of up to edge_capacity edges for such a graph.

  • M10a step 4 (provisional until M10b’s freeze; ADR 0075): label_propagation on cuda, the fused engine (the verbatim port of LabelPropagation-CUDA@a276a3a’s pipeline, SASS-identical kernels, compiled with --use_fast_math on this target only): update() and compute() (IrLP) on resources::cuda(), the result’s labels in device memory (result::space()), results moving between the backends with result::clone(); options::cuda_engine = engine::operators raises not_supported_error until M10b. Damped labels bitwise the original’s on the corpus, in_place inside the frozen calibration, the harmonic oracle met. The profiler counters label_propagation.hook_rounds and label_propagation.persistent_iterations.

  • M10a step 4: dyng-compat-dynlp --backend cuda (page-locked batches, CUDA-event times of each update(), --phases), compare.py label_propagation damped|irlp|inplace|hub and dyng_lp_replay container --backend cuda, parity/label_propagation_sass.py port (the kernels’ SASS against the original’s objects), perf_ab.py label_propagation run and memory --side port (the A/B gates and the port’s nsys peak), ci/fast_math_scope.py (--use_fast_math on label_propagation’s CUDA TUs only).

  • M10a step 5 (ADR 0076): the conformance kit’s float slotted axis (container_axis, slotted_axis: DynLP graphs of at least 5,000 vertices with vertex batches, the mixes arrival_with_labels, departure, mixed, insert_and_delete_same_batch and edges_between_present, a model with vertex states, C7 and C9 of vertex batches) and label_propagation’s kit traits on sequential and cuda (near_reference = the harmonic solution with AD7’s bound and class rule, compare damped bitwise and in_place by its exact parts and the mean, AD20’s counter levels, C5 skipped with its reason); the near_reference documentation of test_traits.hpp fixed; the original’s checker oracles as GoogleTests on both backends (5k5 and 50k, both schedules).

  • M10a step 5 (ADR 0077): label_propagation’s six recorded mutations (AD9) in parity/mutate.py and as the CTests label_propagation.mutation.*; mutate.py run waits before each GPU-1 job while another track’s GPU-1 quiet window is open, when DYNG_GPU1_QUIET_OK names the caller.

  • M10a step 5: the label_propagation step of ci/gpu_local.sh (its CUDA tests, the kit, the replays of P, the in_place cloud, the oracle and compute-sanitizer), required by the 0.4 certificate (GPU_LOCAL_STEPS[(0, 4)]); the weekly hosted workflow oracle.yml (the harmonic oracle at delta 1e-4 on sequential 50k, AD7; ci/oracle_weekly.sh).

  • M10a step 5 (ADR 0078): the suite benchmarks/paper/ics26_dynlp.yaml (readings with a schedule key, AD4’s release-only 50m reading with its release-gate state and reason; bench_suite.validate extended for these keys) and the 0.4 certificate rules of label_propagation in parity/certify.py (REQUIRED_SUITES['ics26_dynlp'], LABEL_PROPAGATION_REPLAYS_SINCE, the frozen-tolerance check of the calibrated kinds, the per-case gates and the release-only row, dyng-compat-dynlp in the equivalence lists; compare.py label_propagation certificate).

  • M10a step 5 (ADR 0079): Step 0 of a vertex batch (the graph’s checks before a slotted apply) in fewer passes over the batch: the same checks, order, messages and guarantees (the 5m1 gate reading had missed AD2’s bar on the host cost of Step 0). dyng-compat-dynlp’s evaluation reads the page-locked labels, as the original reads h_labels.

  • M10a step 5 (provisional <dyng/label_propagation.hpp>, documentation only): the update’s doc comment and the algorithm page state that after a seed’s departure labels far from it can stay stale until later batches reach them (the author’s decision of 2026-10-30).

  • M10a review fixes (api-change, documentation only: graph.hpp, label_propagation.hpp): a device row overflow’s poison is kept with the graph’s host state, so an apply on any resources and every clone() / to_backend() copy of a poisoned graph raise capacity_error; the device append computes slots and row ends in 64 bits (a row near the end of 2^31 - 1 slots wrote out of bounds); the graph’s device arrays of a vertex batch grow with headroom and graph::reserve(), result::reserve() and options::similarity_threshold say what each sizes or costs; run_update() makes the compact-only guard and label_propagation’s entry checks before it reads the batch of a non-compact graph (an invalid vertex batch now gets the named refusal, a stale result stale_result_error); the guard’s message names the properties its suggested from_csr() copy needs (props.semantics = batch_semantics::upsert_last_wins()); under on_limit::fallback_recompute an update whose IrLP reaches the cap too reports stats::converged = false; compute(), result::reserve() and result::clone() report a host allocation failure as out_of_memory_error; graph::num_edges() documents that a self-loop counts twice on slotted rows.

  • M10a review fixes (parity and certificate): every label_propagation golden set needs all its cases on each required backend; certify.py re-checks the label_propagation gate records with bench_suite.check_lp_record (rounds, samples, guard, clock lock, counted memory with nvidia-smi before, during and after); the oracle’s frozen tolerance is the one its replay applied; the fused engine’s trace replay compares every field the golden records; the SASS port gate compares whole instructions; the IrLP replay checks the snapshot counts; the oracle replay checks the flips and the maximum; the memory sampler polls every 0.25 s and counts a side only when it saw its own process.

  • M10a review fixes (parity and certificate; ADR 0100, the author’s decision of 2026-11-05): the fused engine’s damped replay compares connected_components.hook_rounds, a non-deterministic counter of LabelPropagation-CUDA, against the values the original’s own runs produce for the case and batch (parity/results/M10a-hook-rounds.json, from its recorder twin’s runs), every other field exactly; compare.py label_propagation damped-rejudge judges an existing record again; certify.py checks every accepted value against the committed evidence.

  • M10b step 1 (parity; AD6, ADR 0101): AD6’s c, calibrated and frozen before the refactored engine: compare.py label_propagation calibrate (parity/label_propagation_engines.py) rebuilds the fused engine with only its association (DYNG_CALIBRATION_LP_PERMUTED_REDUCTION, compiled out of every library build) or contraction (-fmad=false) perturbed, through the new cache variable DYNG_LP_CALIBRATION_CUDA_FLAGS (label_propagation’s CUDA sources only; empty in every preset), and runs every batch of P: c = 2^20 (c·ε = 0.125), frozen in parity/goldens.toml [sets.label_propagation_damped.refactored] with its record parity/results/M10b-calibration.json.

  • M10b step 1 (api-change, documentation only: options::cuda_engine; ADRs 0101, 0102): the operators engine of label_propagation on CUDA: options::cuda_engine = engine::operators now runs update() with the framework’s hooks written with label_propagation’s operators binned_frontier, neighbor_reduce and connected_components (in cpp/src/algorithms/label_propagation/operators/ by the rule of two), one kernel per phase, schedule::damped only (compute() and update() under schedule::in_place raise not_supported_error before anything changes; it used to raise for every call); compute() is IrLP on every engine; engine::automatic stays the fused engine. Its labels are the fused engine’s bits with identical per-batch iterations, components and frontier_visits on P+ (compare.py label_propagation operators; the kit’s C4 compares the two engines); the hub golden holds on it; the mutation CTests label_propagation.mutation.cuda_operators.<name> run the mutants on its own cases.

  • M10b step 2 (api-change, additive, the frozen io/ headers; AD13 decided by the author on 2026-10-28, ADRs 0105 and 0106): the batch files of vertex batches and float graphs, and label files. .dgt (still %dgt 1) reads and writes the graph operations +v u [label] and -v u (edge_batch::insert_vertex / delete_vertex; a hypergraph file refuses them) and, for read_batches<V, float> / write_batches<V, float>, float weight tokens (finite; NaN and infinities refused; written in their shortest round-trip form); integer graphs still refuse a non-integer token. .dgb (still version 1) gains batch_dtype::float32 = 3 (a graph file’s weight byte only) and batch_file_flags::vertex_records = 16 (bit 4, graph files only; a 48-byte count block and the inserted vertices, their int8 seed labels and the deleted vertices after the 0.3 arrays); batch_file_flags::known_graph is now vertex_records (it was 0; known stays the union); the header is checked per kind; write_binary_batches sets the flag only when a batch has a vertex operation, and batch_writer raises invalid_argument_error for a vertex batch in a file opened without it. Files of 0.3 read and are written byte for byte as before; a reader of 0.3 refuses the additions with an io_error. read_edge_list<V, float> / write_edge_list<V, float> read and write float weight columns (the integer paths unchanged). New: io::write_labels(path, labels) (LabelPropagation-CUDA’s dynlp_labels.txt bytes, "%.6f") and io::read_labels(path, num_vertices); dyng-compat-dynlp writes its label files with it. The fuzz targets cover the new syntax (docs/api/file_formats.md, “Vertex batches and float weights” and “Labels”).

  • M10b step 2 (api-change, additive, <dyng/generators/vertex_arrival.hpp>; ADR 0107): generators::generate_vertex_arrival_stream(res, opt), the library’s vertex-arrival stream: the legacy generator’s structure (graph model, batches, published threshold) with library-owned draws (std::mt19937_64 with the library’s bounded integers, shuffle and floats), bit-exact per (seed, major version) with every compiler, standard library and thread count (committed digests in the CPU suites); the same vertex_arrival_options (the seed field’s documentation names both seedings) and vertex_arrival_stream. The legacy stream is unchanged.

  • M10b step 2 (api-change, additive, the frozen graph/ headers; ADR 0103; AD16 decided by the author on 2026-10-28): row_layout::slack on the host and CUDA, built by graph::with_capacity() from empty, partial or full capacity hints (each row ceil(k * (1 + graph_properties::headroom)) slots): a row that overflows moves to the tail of the slot arena with its entries in order, a batch compacts the rows when the dead slots outnumber the owned ones (rows rewritten without the entries of deleted vertices), vertex growth under batch_semantics::allow_vertex_growth, capacity_error only at the edge_t limit. For slack rows graph_view::out.row_ptr[v] is row v’s start and is not monotone (documented in graph_view.hpp). New: apply_summary::relocated_rows and apply_summary::compactions (appended). Every compact-only algorithm refuses slack rows (ADR 0070’s guard).

  • M10b step 2 (api-change, documentation and behaviour of options::similarity_threshold = std::nullopt; ADRs 0103, 0104): label_propagation on slack rows (both backends and engines; a batch that would grow the vertex set is refused before anything changes) and the streaming mode’s threshold, now a double sum and a count maintained by the result with a documented accumulation order (bitwise the same on every backend) instead of a sum over the whole graph in every update. The published setup (with_capacity from the stream’s degrees, the stream’s threshold) stays the documented default; the streaming mode is an advanced mode with no gate, checked by the harmonic oracle, the host model and the kit (its float axis gains the preset “slack, net_effect(), half capacities”).

  • M10b step 2 (Python, behaviour): dyng.io.read_batches and dyng.io.BatchReader raise NotSupportedError for a batch file with vertex operations (+v / -v, the .dgb flag vertex_records) or float32 weights instead of returning its batches without them (the Python batches carry them from M10b’s Python step, AD14); dyng.io.write_batches writes a batch’s vertex operations as +v / -v lines.

  • M10b step 3 (Python, additive; ADR 0108; AD14 decided by the author on 2026-10-28): float32 graphs in Python: float32 weights select the float graphs ((int32, int32 | int64, float32)); float64 weights only with an explicit weight_dtype="float32" (Graph.from_edges, Graph.from_csr, EdgeBatch), checked (finite, within float32’s range), never narrowed silently; a float graph’s batch weights other than float32 only when exactly float32 values. Graph.weighted keeps its meaning (int32 weights); new Graph.weight_dtype. Graph.with_capacity(row_capacity, layout="slotted"|"slack", semantics="net_effect", ...), BatchSemantics.net_effect() (field as_net_effect), the vertex arrays of EdgeBatch applied (and read back: insert_vertices, vertex_labels, delete_vertices), ApplySummary’s dropped_insertions, relocated_rows, compactions, Graph.num_active_vertices, Graph.vertex_status() with dyng.VertexStatus.

  • M10b step 3 (Python, additive; ADR 0108): dyng.label_propagation (Options, Stats, Result, compute, update; keywords equal to the C++ fields), dyng.update with its results; Result.labels is a read-only float32 dyng.Array, zero-copy through DLPack (torch.from_dlpack, numpy.from_dlpack), copy-on-write (an export keeps its labels; the next update copies the per-vertex state once: 13 bytes per vertex on the host, 17 on cuda). OpenMP resources raise NotSupportedError naming ‘sequential’, ‘cuda’ and the fix dyng.Resources("sequential") (AD19). dyng.generators.vertex_arrival_stream and dyng.generators.legacy.dynlp_vertex_arrival_stream (VertexArrivalStream, with write_graph_files() in the original’s bytes), dyng.testing.harmonic_solution (HarmonicResult), dyng.io.write_labels / read_labels, and float edge lists and batch files (weight_dtype="float32", the .dgb weight code 3 and flag vertex_records) in dyng.io.

  • M10b step 3 (Python, behaviour): the batch readers return the vertex operations and float32 weights (they refused them since step 2); EdgeBatch accepts floating-point weights at construction (an int32 graph refuses them at use, where 0.3 refused them at construction); write_binary_batches sets the flag vertex_records only when a batch has vertex operations (an edge-only file is 0.3’s, byte for byte).

  • M10b step 3 (CLI; ADR 0108; AD12 with E1): dyng label_propagation compute|update (one kebab-case flag per Options field; update --generate legacy|library or --batches with --capacity auto|FILE; outputs dynlp_labels.txt in the original’s bytes and a results.csv-style stats.csv) and dyng generate vertex_arrival_stream / dynlp_vertex_arrival_stream (batches, capacities, tau, true labels, optionally the original’s graph files); the generate group is no longer legacy-only. The CLI’s damped labels on the legacy 5k5 stream equal dyng-compat-dynlp’s sequential output byte for byte. dyng-compat-dynlp’s tests pass the original’s complete flag set and refuse --maxIter -3.

  • M10b step 3 (datasets; ADR 0108; AD18 decided by the author on 2026-10-28): the kNN recipe datasets/preprocess/knn_graph.py: the symmetric cosine kNN graph (k = 5) of a feature matrix with weights in (0, 1] (negative similarities dropped or shifted), scikit-learn (BSD-3-Clause) an optional import with a NumPy fallback that writes identical files on tie-free inputs, an optional vertex-arrival stream; no vendored code and no dataset.

  • M10b step 3 (examples, CI): examples/cpp/label_propagation_stream.cpp and examples/python/label_propagation_torch.py (at most 60 lines, explicit resources), their labels compared with committed digests (cuda: the original’s own file) in CTest, against the installed package (ci/cmake_consumer.sh) and in test_examples.py; the plugin smoke test runs label_propagation’s 5k5 damped stream on cuda under the oracle; parity/wheel_vs_parity.py has a reported label_propagation row.

  • M10b step 4 (CUDA, behaviour; ADR 0109 part B; the author’s decisions of 2026-11-03 and 2026-11-05): kernel groups. Each algorithm’s CUDA kernels (and the hypergraph containers’) are registered with the CUDA runtime when the process first uses them instead of when libdyng is loaded, so under CUDA_MODULE_LOADING=EAGER a process loads only the kernels of the algorithms it runs (the core’s and the graph container’s at context creation). Nothing changes in the device or host code; resources::warm_up() still loads every kernel of the library (every group first). New CMake option DYNG_DEFER_KERNEL_GROUPS (default ON; OFF registers every module at load, as before). The compatibility tools warm up only the groups they run. Loading a group loads every kernel of it (cudaFuncGetAttributes per kernel after the registration): the runtime loads the kernels of a fat binary registered after the context exists only at their first use, even under CUDA_MODULE_LOADING=EAGER, which the step’s first version missed (label_propagation’s first timed update paid about 7.6 ms for its modules; the final re-read caught it). A call that hands the runtime a kernel of a group that is not loaded goes to a loaded group’s kernel of the same device name when there is one (the linker keeps one copy of a CUB or Thrust dispatch function that several groups define, so one algorithm can run another group’s copy), instead of loading that group: label_propagation’s first update no longer loads the hypergraph containers’ kernels (about 8 ms at 50k; the resumed final re-read caught it). The groups cover hyper_sssp’s kernels after M11b’s merge.

  • M10b step 4 (api-change: the freeze; ADR 0109; AD15 decided by the author on 2026-10-28): <dyng/label_propagation.hpp>, dyng.label_propagation and dyng label_propagation are frozen, with <dyng/generators/vertex_arrival.hpp> and the oracle headers <dyng/testing/harmonic_solution.hpp>, union_find.hpp and lp_host_model.hpp (ci/api_snapshot.py’s FROZEN_BEFORE_STABLE; the API baseline lists their sections as frozen; the frozen command-line flags are pinned by a test). No signature changed. The maturity stays experimental until the author confirms stable at the 0.4.0 release.

  • M10b step 4 (docs): docs/algorithms/label_propagation.md in the ten sections of the algorithm pages (differences from the paper and “paper vs fixed code” quoting the original’s CHANGES.md and README, AD17; every DynLPConfig field mapped); the C++ and Python API pages; the history page docs/history/label_propagation_cuda.md; the concept page docs/concepts/row_layouts.md (compact, slotted and slack rows, vertex status, net-effect batches, the published and streaming setups, the compact-only algorithms); the tutorial docs/tutorials/streaming_label_propagation.md (quoting examples/python/label_propagation_torch.py and python/tests/test_label_propagation_tutorial.py); the sketch marked frozen.

  • M10b review fixes (fixed): the dyng-cu12 plugin’s CUDA backend works again: CUDA 12’s static runtime cannot use a fat binary registered after the context exists, so a CUDA 12 build with the static runtime registers every module at load (DYNG_DEFER_KERNEL_GROUPS off; the cu13 plugin and the shared-runtime builds keep the kernel groups; ADR 0109); ci/gpu_local.sh builds and tests the cu12 plugin too when a CUDA 12 toolkit is found. The legacy vertex-arrival generator and io::write_labels regain M10a’s speed (the legacy stream’s integer draw out of line again; the label lines formatted in chunks; the same bytes). A slack-row compaction keeps the capacity of an active vertex’s empty row (ADR 0103). The edge offset flag of dyng generate vertex_arrival_stream / dynlp_vertex_arrival_stream is --edge-type int32|int64, as the 0.3 commands spell it (renamed from --edge-dtype before the freeze, the author’s decision of 2026-11-14; Python keeps edge_dtype). knn_graph.py --method sklearn without scikit-learn ends in a message, not a traceback.

  • M10b review fixes (api-check): ci/api_snapshot.py’s FROZEN_DECLARATIONS guards the frozen io declarations (io::write_labels, read_labels, batch_dtype::float32, batch_file_flags::vertex_records, known_graph) inside the tracked io headers; the frozen command-line flags keep their choices and defaults (a test); ci/docs.sh fails on an unreplaced *_PLACEHOLDER token.

  • M10b review fixes (docs): the algorithm page’s gate table and a checked Python snippet; the complete error contracts of <dyng/label_propagation.hpp> and dyng.label_propagation (cuda_error, device memory, the operators engine with in_place, CapacityError on cuda); the stats’ determinism levels in Python as in C++ (AD20); a tensor of the labels must not be written; the generators page, the format page’s flags and label normalization.

  • M10b review fixes (parity): every certificate reading taken again on the fixed library (parity/results/M10b.md section 5; records in parity/results/M10b-review/): the gates against LabelPropagation-CUDA within their bars (damped update[sum] 0.987-1.010, end_to_end 1.010-1.045, device memory 1.002-1.012; the 50m damped end_to_end 1.077, down from 1.105), M11’s ia3_hsosp gates (271 / 271) and replays, the LP replays, the mutations (6 / 6), ADR 0024’s LP slotted path (1.002 / 1.004), ci/gpu_local.sh in full and both plugins; the in_place cloud missed by one 50k run at batch 9 in two readings and in the one further reading (a recorded miss, the author’s decisions of 2026-11-14 and 2026-11-18).

  • M10b review fixes (parity): the certificate of the label_propagation_inplace set is judged by a rate rule (the author’s decision of 2026-11-18, ADR 0111): per case 30 fresh port runs and 30 fresh runs of the unpatched original on one GPU; the case fails if the port’s count of runs outside the frozen iteration envelope is significantly higher than the original’s (one-sided Fisher exact test at 5 %); the labels, flips, components, iteration sums and the trace are still judged on every port run; the envelope, thresholds and calibration are unchanged. goldens.toml freezes it, compare.py label_propagation inplace --rate reads it and certify.py recomputes it from the certificate record’s tables. Its reading on the final library code passes every case (50k: 1 against the original’s 3 of 30 runs outside; the other cases 0 / 0), AD9’s plain Jacobi in_place mutation still fails it (30 of 30 outside), and the scoped dry certifies of label_propagation and hyper_sssp pass (parity/results/M10b.md section 5.8).

M11: slack_csr and hyper_sssp (0.4)#

  • Added: dyng::testing::hyper_sssp_reference, check_hyper_sssp_tree and line_graph_delta (<dyng/testing/hyper_sssp_reference.hpp>), the independent oracle of hyper_sssp: node-weighted shortest paths over the line graph rebuilt from the hyperedges, from a source hyperedge or a source vertex, the canonical parents, and the line-graph change of a batch (MOSP_ESCHER@4b86159’s test oracle; the names decided by the author on 2026-10-28, HD12; ADR 0082). It reproduces MOSP_ESCHER’s distances, parents and pair lists on its own dumps.

  • Parity harness: the timed-region map of hyper_sssp against MOSP_ESCHER@4b86159 (parity/timed_regions/hyper_sssp.toml; the per-batch gate rows of HD3; ADR 0080) and its loader in parity/perf_ab.py; the H-SOSP dump of the recording twins (parity/exporters/hsosp, additive) and the golden kind hyper_sssp with the set hyper_sssp_mosp_escher (parity/hsosp_goldens.py; ADR 0081); the clock probe and quiet pre-read of MOSP_ESCHER (parity/hsosp_perf.py probe); parity/certify.py requires the hyper_sssp replays of every backend and parity mode of the set from the 0.4 series (HYPER_SSSP_REPLAYS_SINCE), and earlier certificates list the set without a verdict.

  • Datasets: Benson’s coauth-MAG-Geology archives and H-SOSP’s geology.hg, re-derived and pinned in datasets/registry.toml (HD15).

  • Fixed: an exception thrown by the work of operators::openmp_exec::for_each (the host executor of the operators, used by the tutorial algorithms dynamic_bfs and triangle_delta) left its OpenMP region and ended the process; it is now rethrown on the calling thread after the region (the carried item (b) of 0.4, the D13 class of ADR 0061; ADR 0083).

  • Fixed: a host allocation failure inside an OpenMP region of sssp’s OpenMP engine (a per-thread list that grew in identify_affected, the pull pass or the near-far loop, or a gathered list resized inside omp single) left the region and ended the process; it is now kept in a region_exceptions carrier, every thread still reaches every barrier, and it is rethrown after the region as out_of_memory_error with sssp.hpp’s guarantee; mosp’s OpenMP compute and update, which run that engine per objective, inherit it. The fast path of a push is unchanged (the carried item (a) of 0.4, the D13 class of ADR 0061; ADR 0094).

  • Internal: escher::flatten_rows (the port of ESCHER-GPU’s flatten2DVector), which no library code called and whose OpenMP region ignored the resources’ thread count, moved from the library to a test helper (cpp/tests/support/escher_flatten.hpp; the carried item (c) of 0.4; ADR 0084).

  • Changed (internal): a batch of a weighted hypergraph updates the weights by id in place, in O(batch), instead of copying all of them (O(id bound)) per batch; the guarantees of apply() are unchanged (ADR 0088).

  • Added (api-change: documentation of the frozen hypergraph headers): slack_csr storage (hypergraph_storage::slack_csr, line_graph_policy::slack_csr; the property matrix of HD9, decided by the author on 2026-10-28) on the sequential and OpenMP backends: MOSP_ESCHER’s host incidence model, the best-fit ids of its ESCHER H2V tree, and its slack CSR line graph (slots with headroom, swap-remove deletions, appended insertions, relocations, a rebuild when the tail is full) kept from every batch’s pair delta, computed inside the commit from the incidence changes, exact and independent of the order of the operations (ADR 0086). h2h() sorts each row on request; overlaps is empty. (From Python since M11b, below.)

  • Added (api-change: documented behaviour of apply()): incidence edits on slack_csr storage (hyperedge_batch::delete_incidence / insert_incidence): applied after the batch’s deletions and before its insertions, in MOSP_ESCHER’s order, an edit that cannot apply skipped and counted in skipped_ops, the summary’s inserted_incidences / deleted_incidences filled; escher storage keeps refusing them (not_supported_error, the message names slack_csr); id_reuse documents the store order of both values with edits (ADR 0085).

  • Changed (api-change: documented behaviour): triad_count and the experimental count_local_patterns refuse slack_csr storage (not_supported_error, strong guarantee; HD9), in compute() and in update(), where the storage is checked before the result’s identity (no result can match a slack_csr hypergraph; M11b review).

  • Added (api-change: appended enumerators, HD12): seven incidence-edit mixes of generators::hyperedge_batch_mix (incidence_removals, incidence_additions, incidence_mixed, incidence_emptying, incidence_same_batch, incidence_repeats, incidence_out_of_range); every 0.3 stream is unchanged (ADR 0085).

  • Added (api-change: batch_io, HD10): the batch files hold incidence edits: .dgt -i h v / +i h v (reserved by version 1 for 0.4) and the .dgb flag batch_file_flags::incidence_edits (bit 3, format version 1 kept), with known_graph and known_hypergraph (known is their union); the writers set the flag only when a batch needs it, so every 0.3 file is written byte for byte as before; batch_writer::write raises invalid_argument_error (was not_supported_error) for an edit in a file opened without the flag, and the text writers write edits instead of refusing them. A 0.3 reader refuses the new files (ADR 0087). docs/api/file_formats.md states the rule for additions to version 1 (a reserved addition that every earlier reader refuses with an io_error is not a silent change) and reserves bit 4 and weight code 3 of graph files for label_propagation in 0.4 (documentation, also of batch_file_flags::known_graph).

  • Internal: the id allocator models ESCHER’s H2V fills and unfills (the tail occupancy), in lockstep with testing::cbst_host_model and MOSP_ESCHER’s recorded trees (ADR 0085).

  • Conformance kit: the hypergraph axis gains the slack_csr presets and the incidence mixes, with a test_traits::accepts hook for algorithms that take some storages only.

  • Added (api-change: documentation of the frozen hypergraph headers): slack_csr storage on the cuda backend (HD9, decided by the author on 2026-10-28): MOSP_ESCHER@4b86159’s device graph (the incidence mirror, the slack CSR line graph with per-node weights, the order-free device pair delta deriveDelta, the warp-per-row CSR apply and its rebuild when the tail overflows) transplanted as is with parity/escher_port/transplant.py and a committed rename map, kept from every batch inside the commit; the host incidence model and the ids stay authoritative on the host, as in MOSP_ESCHER. h2h(), h2v(), v2h(), check_integrity(), store_stats(), clone() and to_backend() across all three backends (ADR 0089); from_hyperedges() no longer documents a not_supported_error for slack_csr storage on the cuda backend (documentation only).

  • Changed (internal, faster): the host side of a slack_csr batch runs one pass per list: Step 0 groups the incidence edits by hyperedge and evaluates the groups in parallel, the commit groups the v2h changes by vertex once and merges the record’s rows instead of reading them back, the id allocator keeps its deleted keys as a bitset (an insert no longer scans every key; escher storage’s host model gets the same ids faster), a deleted row keeps its capacity, and every host region of slack_csr storage runs on one fixed team of at most 16 threads (ADR 0089 section 8). The results are unchanged on every thread count.

  • Parity harness: dyng-compat-hsosp replay --backend cuda --line-graph and dyng-compat-hsosp bench --maintain-only (hsospBench’s --hg options on the cuda backend, the golden’s batches, the per-round digests); parity/hsosp_perf.py run (reached through perf_ab.py hyper_sssp) with the round guards; the slack_csr steps of ci/gpu_local.sh (the four compute-sanitizer tools on the store’s tests and a forced-overflow session, the make-test replays on cuda), required by 0.4 certificates (GPU_LOCAL_STEPS).

  • Parity harness: MOSP_ESCHER’s sessions are replayed whole on slack_csr storage, its vertex-kind batches included (dyng_hsosp_replay, parity/compare.py hyper_sssp --part delta; dyng_hypergraph_ids --storage slack_csr); dyng-compat-hsosp to-dgb converts the H-SOSP dumps to .hg / .dgb files (tools/compat/hsosp; the digests in parity/goldens.toml).

  • Added (api-change: a new tracked header, a draft until the freeze at the end of M11b, HD17): hyper_sssp (<dyng/hyper_sssp.hpp>, included by <dyng/dyng.hpp>): dynamic single-source shortest hyperpaths on a weighted slack_csr hypergraph (weights in [1, 2^28]), kept exact under hyperedge and incidence batches; compute() / update() from a source vertex, options (work_budget, max_iterations, on_budget, cuda_engine, validate_inputs), budget_action, fallback_reason, stats (batch, line_graph_insertions, line_graph_deletions, invalidated, relaxations, fallback_reason) and result (hyperedge_distances, int32 hyperedge_parents, distance_to and vertex_distances: the minimum of D(h) over the vertex’s hyperedges, D(h) already holding w(h), HD11); on sequential (MOSP_ESCHER@4b86159’s host emulation) and cuda (its kernels transplanted as is, engine::fused); openmp resources raise not_supported_error (HD14). Exact against MOSP_ESCHER on its golden set in the three parity modes (ADRs 0090-0092).

  • Changed (api-change: documentation of the frozen <dyng/core/stats.hpp>, HD7 jointly with M10’s AD20): update_stats says that an algorithm’s stats documentation may state a weaker determinism level for an inherited field, which governs for that algorithm; hyper_sssp states that fallback_used is schedule-dependent on cuda near the budget.

  • Changed (api-change: an include added to the frozen umbrella header <dyng/dyng.hpp>): <dyng/hyper_sssp.hpp>.

  • Internal: the framework’s problems may provide over_budget(ctx), a work budget asked after every loop call of an update (ADR 0092); a fixed-point hypergraph fake checks the update path.

  • Parity harness: --part results of parity/compare.py hyper_sssp and dyng_hsosp_replay --algorithm (every update and recompute of MOSP_ESCHER’s sessions against hyper_sssp’s: by_id, by_id_public, by_key; update == compute; repeats and backends by digest), dyng-compat-hsosp replay --algorithm and the full bench (the update and static rows, the 44-column CSV, the [e2e] line), parity/hsosp_perf.py run over every row and sass; the hyper_sssp steps of ci/gpu_local.sh (GPU_LOCAL_STEPS); the mutation CTests hyper_sssp.mutation.* of sites #1 and #2 (the pull adds the neighbour’s weight; a non-tight parent) in both engines.

  • Parity harness (M11a step 5): the suite benchmarks/paper/ia3_hsosp.yaml (hyper_sssp against MOSP_ESCHER@4b86159: a 3-round boost probe per dataset, the gated per-batch rows of the 16 paper configurations, end to end, the nsys peak and the graph-scope accounting of HD6, the ncu kernel table) with parity/bench_suite.py’s hyper_sssp rules; parity/hsosp_perf.py memory and kernels; dyng-compat-hsosp bench --nvtx and its [memory] lines; the mutation suite hyper_sssp of parity/mutate.py (MOSP_ESCHER’s sites #1-#4, #6-#8 in the CUDA code and their host twins, each detected on its own executables; #5 and the CBST unfill re-run in the cbst suite), which, like ci/gpu_local.sh, waits for the shared calendar before a GPU job; parity/sass_identity.py and parity/experiments/escher_store_bytes.py (the 0.3 objects and store bytes against a base build), parity/experiments/hypergraph_host_ab.py on cuda and with --all-stages; compare.py hyper_sssp --certificate and hypergraph_ids.py --storage slack_csr --certificate write the certificate’s replay records (ADR 0093).

  • Release certificate: from the 0.4 series parity/certify.py requires the suite ia3_hsosp (REQUIRED_SUITES), the slack_csr store check of the hyper_sssp set on cuda, and MOSP_ESCHER’s sessions replayed whole on slack_csr storage (HYPERGRAPH_ID_REPLAYS, with a per-entry and a per-feature since; the 0.3 requirements unchanged); EQUIVALENCE_TARGETS / EQUIVALENCE_FILES compare dyng-compat-hsosp and dyng-compat-escher too, which widens the equivalence check of every version’s certificate (ADR 0093).

  • Added: hyper_sssp’s engine::operators on cuda, the shared sssp engine (O12; ADR 0095): sssp’s CUDA operators over the slack line graph (node weights, one symmetric view, the public mode’s base offers, a work counter in MOSP_ESCHER’s units, one warp per row), the host loop of sssp’s operators engine with MOSP_ESCHER’s budget triggers, and a static solve on sssp’s near-far loop. Its results equal engine::fused’s and MOSP_ESCHER’s bit for bit on every batch of the golden set; it is not the default: by HD13’s rule (decided by the author on 2026-10-28) engine::automatic keeps MOSP_ESCHER’s kernels (engine::fused), because four sosp_update rows of coauth-DBLP’s hyperedge batches read 1.051-1.061 of MOSP_ESCHER’s against the 1.05 bar (its static solve reads 0.69-0.74; the numbers are on the algorithm page).

  • Internal: sssp’s CUDA operators engine reads its graph through compile-time policies (row access, weight source, base offers, a work counter, neighbour loads, one warp per row; cpp/src/util/slack_rows.cuh for slack rows); their defaults compile to the same machine code: every sssp and mosp kernel and host object is identical before and after (parity/sssp_sass.py, which also shows that a planted one-instruction change is caught).

  • Parity harness: compare.py hyper_sssp --cuda-engine operators, dyng_hsosp_replay --cuda-engine and dyng-compat-hsosp --cuda-engine read the shared engine; hsosp_perf.py ab (ADR 0024’s A/B of the two engines) and memory --port-arg; the mutation twins of sites #1 and #2 in the shared engine and sssp’s “skipped subtree invalidation” against hyper_sssp’s suite (parity/mutate.py); ci/gpu_local.sh’s hyper_sssp step on both CUDA engines.

  • Changed (api-change: the freeze; ADR 0096): <dyng/hyper_sssp.hpp> is frozen (the API baseline lists it as frozen, ci/doxygen_coverage.py holds it to the freeze’s rules) and its manifest says maturity stable, so the algorithm tables and the registry say stable: stable from 0.4.0 only on the author’s confirmation (HD17, pending; without it the release says experimental and the header stays frozen). The API review changed documentation only: both CUDA engines’ limits on fallback_reason::distance_width and invalidation_depth, the thread-safety rule of distance_to() and vertex_distances() (they fill caches and read the hypergraph: they may not overlap another call on the result or a change of the hypergraph), engine::operators’ static solve, update()’s @sync. No signature changed.

  • Added (api-change: Python): dyng.hyper_sssp (ADR 0097): compute(hypergraph, source, *, options, resources, **kwargs), update(), Options, BudgetAction, FallbackReason, INFINITE_DISTANCE, Stats (with fallback_used, fallback_reason, relaxations and the line-graph counters) and Result (hyperedge_distances / hyperedge_parents as read-only dyng.Arrays, distance_to(), vertex_distances(), source, options, set_options(), graph_version, space, clone()); errors mapped as for sssp, openmp resources refused with the fix dyng.Resources("sequential") (HD14); dyng.update() over a hypergraph takes hyper_sssp results, several at once; dyng.citation("hyper_sssp"); dyng.testing.hyper_sssp_reference() and check_hyper_sssp_tree(). Frozen with the header.

  • Changed (api-change: Python, the 0.3 refusals lifted): dyng.HypergraphProperties(storage= "slack_csr", line_graph="slack_csr") (and "automatic") build a slack_csr hypergraph, and dyng.HyperedgeBatch’s delete_incidences= / insert_incidences= apply on it (escher storage still raises NotSupportedError); added the batch properties delete_incidences, insert_incidences and num_incidence_edits; dyng.io reads and writes the .dgt and .dgb incidence edits (BatchFileHeader.incidence_edits; write_binary_batches sets the flag only when a batch has an edit); dyng.generators.random_hyperedge_batch takes the seven incidence mixes (typed dyng.generators.IncidenceBatchMixName); dyng.testing’s hypergraph model and Hypothesis strategies (max_incidence_edits) draw and apply incidence edits.

  • Added (api-change: the command line): dyng hyper_sssp compute|update (ADR 0097): the option fields as flags (--work-budget, --max-iterations, --on-budget, --cuda-engine, --validate-inputs), a weighted .hg input on slack_csr storage (--random-weights, --read-options hsosp), --source, .dgt / .dgb batches with incidence edits, the distances and parents by hyperedge id in sssp’s file formats (--out, --vertex-distances), --compare-recompute; the sequential backend by default.

  • Documentation: docs/algorithms/hyper_sssp.md in the ten sections of the algorithm pages (Differences from the paper: MOSP_ESCHER’s README items 1-7 and the speedups that do not reproduce, 0.08-1.28 against the paper’s 1.3-12.1; Paper vs fixed code, HD19: S1, S3, S4, S5, P3; Mapping from the original code; the gate table; the O12 decision); the tutorial docs/tutorials/shortest_hyperpaths.md (C++ and Python, quoted from tested code); the examples examples/cpp/hyper_sssp_update.cpp and examples/python/hyper_sssp.py (run against the installed package and the oracle-derived expected output); docs/history/mosp_escher.md; the concepts page’s storages, incidence edits and ids with edits; the sketch marked frozen.

  • Packaging: the plugin smoke test runs hyper_sssp compute and update on the GPU (both engines) and on the CPU wheel’s sequential backend.

  • Parity harness (M11b): a 0.4 certificate needs hyper_sssp’s replays on both CUDA engines: every cuda requirement of the golden set’s parity modes holds for engine::automatic (the as-is kernels) and for the shared engine engine::operators (parity/certify.py, HYPER_SSSP_CUDA_ENGINES).

Fixed (ADR 0120)#

  • A CUDA graph’s commit (graph::apply(), and the commit of dyng::update()) releases the device copy of the previous version in the order of the stream of the call’s resources, after the work already queued there. It was released on the stream the copy was built on, so with the copy built on one stream and the update run on another, cycle_count’s delete phase (an asynchronous kernel on G_t’s copy before the commit) could read memory the pool had already reused (compute-sanitizer memcheck: use after free in cycle_count’s C12 on parity-cuda; present since 0.1.0, hidden by DYNG_CUDA_DEBUG_SYNC). Programs on one stream are unaffected; no result, synchronization or allocation changes. A deterministic test, GraphStreamOrder.* in dyng_graph_cuda_tests, catches it with and without the sanitizer, on debug-sync builds too (ADR 0120).

  • The same rule for slack rows on CUDA (new in this release, ADR 0103): a vertex batch that grows the graph or moves a row to the tail of a full arena releases the replaced row arrays on the stream of the call’s resources, after the copies of them it queued there (memcheck: a use after free per replaced array when the rows were uploaded on another stream; GraphStreamOrder.SlackDeviceApplyReleasesReplacedRowsAfterTheCallsStream, ADR 0120’s amendment on the merged code).

R040: the tag day (0.4, branch release-0.4.0)#

  • Changed: the release date is 2026-11-26, the planned UTC day of the tag v0.4.0rc1: the heading of this section and CITATION.cff’s date-released (written 2026-11-21; docs/developer/release.md, “A tag day later than the final-release pull request”), set in the release pull request before the merge by the author’s decision of 2026-11-24 (GOVERNANCE.md); the certificate’s checks of the packaging and repo scopes run again on that tree (the library and tests records stand: no path of their scopes changed).

R040: review fixes (0.4, branch release-0.4.0)#

  • Fixed: the sdist left out examples/data/label_propagation_5k5_damped.sha256, which cibuildwheel’s test-sources name, so wheels.yml’s wheel build from the sdist (and with it release.yml) would have stopped before any test ran; sdist.include keeps it in. ci/cibw_test.py (new) runs cibuildwheel’s test step from the unpacked sdist (the test sources copied into an empty directory, a missing one failing), in ci/wheels.sh and, for the sources, in wheels.yml’s sdist job; a test checks that every test source is in the sdist.

  • Fixed: dyng.sssp, mosp, cycle_count, dynamic_bfs and triangle_delta given a float32 graph (label_propagation’s) raise NotSupportedError naming the algorithm and the fix (sssp and mosp called it “unweighted”, the others raised a bare TypeError).

  • Fixed: dyng.io.read_batches and read_hyperedge_batches given a .dgb file raise FileFormatError naming BatchReader (it was a UnicodeDecodeError), and every error message of the native module escapes bytes that are not UTF-8 instead of failing to decode.

  • Fixed: dyng hyper_sssp’s help names its own default backend, sequential, and no longer offers --threads; its report lines number the batches from 0, as the batch files and the examples; a graph .dgb is refused from its header.

  • Fixed: with a CUDA plugin installed but unusable, Resources.cuda()’s error leads with the plugin’s reason instead of an install command.

  • Changed: the plugins’ PyPI description and the keywords name label propagation and shortest hyperpaths; the upgrade notes address 0.3.0 users (an environment with a 0.3.0 plugin takes the release candidate’s plugin line); install.md says that the plugins’ PTX for GPUs newer than sm_120 needs a driver at least as new as their toolkit; the tutorials’ commands run as written (the clone of v0.4.0rc1, read_edge_list(..., directed=False), the --seeds file, the labels on a GPU); label_propagation’s page says that 0.4 does not check that the weights are positive; stale 0.4 promises of the developer pages corrected.

  • Changed: the release date is 2026-11-21 (CHANGELOG.md, CITATION.cff; 2026-11-26, the planned tag day, from “R040: the tag day” above).

  • Governance: the author’s decision of 2026-11-21 on step 3’s STOP (ADR 0024’s reading against 0.3.0): the cycle_count OpenMP update region acknowledged as a located cost of 0.4’s graph additions, fixed after 0.4.0; the mosp OpenMP region as code placement on the D14 path; the mosp CUDA roadNet-PA combined region within the 2026-11-13 row’s class (GOVERNANCE.md).

  • Added: ADR 0024 rule 3’s longer readings of the regions with a bootstrap interval wider than about 3 % that the first pass had left at 51 / 34 rounds (parity/results/R040/adr0024/; a region still above the bar goes to the author: R040.md step 4).

  • Changed: the certificate’s records of the tests, packaging and repo scopes taken again on fresh clones after these fixes, and parity/certify.py write run last (no library path changed: the gates, the golden replays and the golden mutations stand).

R040: the release certificate (0.4, branch release-0.4.0)#

  • Added: the release certificate of 0.4.0rc1, benchmarks/results/0.4.0rc1/ (parity.json and its README.md), measured on the release’s final library: the golden replays of sssp, cycle_count and mosp on every backend; the CBST trace goldens; the hypergraph container’s replays and MOSP_ESCHER’s sessions replayed whole on slack_csr storage; the triad goldens; the label_propagation golden sets (the in_place set under ADR 0111’s rate rule, the harmonic oracle’s release replay); hyper_sssp’s modes on both CUDA engines and on sequential with the slack_csr store check; the seven performance suites against the unpatched originals (ics26_dynlp and ia3_hsosp new, ics26_dynlp with AD4’s release-only 50m gate); the sanitizer presets and compute-sanitizer; every golden mutation and the mutation CTests; the distributions as release.yml builds them for v0.4.0rc1; and ci/check.sh --parity, ci/api_check.sh and one run of ci/gpu_local.sh --preset parity-cuda on the release tree. The summary, with ADR 0024’s reading of the stable algorithms against 0.3.0, is in docs/developer/retrospectives/R040.md (parity/results/R040/adr0024/).

  • Changed: the test subset that cibuildwheel runs in the installed wheel includes the label_propagation and hyper_sssp tests with their command lines (test_label_propagation.py, test_label_propagation_cli.py, test_hyper_sssp.py, test_hyper_sssp_cli.py; the surfaces stable from 0.4.0, as 0.3 added the hypergraph and triad_count), with the digest file of examples/data that label_propagation’s tests read.

R040: the release changes (0.4, branch release-0.4.0)#

  • Changed: VERSION 0.4.0rc1 (it was 0.4.0.dev0, the development version after 0.3.0); CITATION.cff version: 0.4.0rc1, date-released: 2026-11-26 (2026-11-20, then 2026-11-21 when the review fixes moved it to the day they were made, then set to the planned tag day); this section [0.4.0rc1] with the summary above: everything that was under Unreleased (M10a, M10b, M11a, M11b, the ADR 0120 fix and R040) moved here, an empty Unreleased above it, and the link references.

  • Changed (packaging; ADR 0113): the dyng-cu13 plugin is built with CUDA 13.5 (nvcc 13.5.37), the newest 13.x of NVIDIA’s RHEL 8 repository (it was 13.4); dyng-cu12 stays CUDA 12.9 (nvcc 12.9.86). ci/cuda_toolkits.toml is re-pinned (every RPM’s signature verified). CUDA 13.5 has no documentation package (its EULA.txt, which the plugin ships, comes with the runtime package), so ci/cuda_toolkit.py lock takes that package only where the release has one and extract fails without <root>/EULA.txt.

  • Docs: the status texts for the release candidate: the status blocks of README.md and the documentation’s start page (“Alpha: 0.4 release candidate”), the install lines of the release candidate from TestPyPI (dyng==0.4.0rc1; with a plugin, NumPy from PyPI first and dyng==0.4.0rc1 with dyng-cu13==0.4.0rc1 or dyng-cu12==0.4.0rc1 from TestPyPI alone) in README and docs/getting_started, SECURITY.md (0.4.0rc1 supported until 0.4.0), SUPPORT.md, CONTRIBUTING.md, the roadmap, the developer plan, docs/citing.md, the tutorials’ prerequisites (dyng>=0.4, from the release candidate’s lines until 0.4.0 is on PyPI) and label_propagation’s maturity line. The PyPI description (python/README.md) names label_propagation and hyper_sssp, with a tested example and the command line.

  • Docs: docs/developer/release.md: who does what for 0.4.0 (the author merges the release pull requests and approves pypi-cu12 and pypi-cu13, then pypi; the AI assistant pushes the signed tags v0.4.0rc1 / v0.4.0 and creates the GitHub Release on the author’s behalf), the 0.4 certificate in steps 1-3 and the checklist (ics26_dynlp with AD4’s release-only 50m reading, ia3_hsosp, their memory readings in GPU1-QUIET windows, the label_propagation replays and their two-step certificate records, hyper_sssp’s modes on both CUDA engines and the slack_csr store check, the whole slack_csr sessions, ci/gpu_local.sh --preset parity-cuda), and the release candidate’s smoke test covers label_propagation and hyper_sssp; benchmarks/README.md (the suites and the certificate of 0.4).

R040: the 0.4 stability records and the carry-overs (0.4, branch release-0.4.0)#

  • Stable from 0.4.0 (the author’s decision of 2026-11-18 on AD15 and HD17; ADR 0110): label_propagation (<dyng/label_propagation.hpp>, dyng.label_propagation, dyng label_propagation; maturity stable) and hyper_sssp (<dyng/hyper_sssp.hpp>, dyng.hyper_sssp, dyng hyper_sssp) follow PLAN 5.9’s stable tier (SemVer), with the graph additions of 0.4 (graph::with_capacity, slot and slack rows, vertex_status, graph_view::status / row_end, num_active_vertices, net_effect(), the vertex operations of edge_batch, the new apply_summary fields, the float graphs, and their Python counterparts), the vertex-arrival generators (<dyng/generators/vertex_arrival.hpp>, Python, dyng generate vertex_arrival_stream / dynlp_vertex_arrival_stream), io::write_labels / read_labels, the slack_csr hypergraph storage and its incidence edits; and so do the format extensions of 0.4, in version 1 of their formats: .dgt +v / -v, float weight tokens and +i / -i, .dgb weight code 3 (float32) and the flags vertex_records and incidence_edits, and the label files (docs/api/file_formats.md). The testing oracles dyng::testing::harmonic_solution, union_find and lp_host_model stay frozen but outside the stable tier, like the testing oracles of 0.1-0.3 (docs/api/cpp/testing.md).

  • ci/api_snapshot.py: FROZEN_BEFORE_STABLE is replaced by STABLE_HEADERS (the vertex-arrival generators) and FROZEN_OUTSIDE_STABLE (the three oracles); label_propagation’s header is frozen through its manifest. The API baseline’s sections are unchanged.

  • ci/gpu_local.sh: the label_propagation step judges the in_place cloud at 5k5 and 50k by the certificate’s rate rule (compare.py label_propagation inplace --rate: per case 30 port runs and 30 runs of the unpatched original on the step’s GPU, every port run still checked run by run; ADR 0111, carried out here by the author’s decision of 2026-11-18, ADR 0110), instead of requiring every one of 3 port runs inside the frozen envelope; “partial” without the original’s build. The step’s summary row is unchanged.

  • ci/gpu_local.sh: a racecheck run that ends with compute-sanitizer’s “process didn’t terminate successfully” while it reports no hazard, no other error or warning and no failed test is run once more, once (ADR 0112; R031’s open item 6, investigated in R040); any hazard, error, warning or failed test, and a second death, still fail, and the summary lists every retry below its table.

  • Deferred beyond 0.4.0 (the author’s decision of 2026-11-18): the conda-forge packages (checkpoint A4) and the aarch64 wheels (docs/roadmap.md).

0.3.0 - 2026-10-29#

Summary#

dynG 0.3.0: the dynamic hypergraph, and on it a fourth stable algorithm, triad_count, exact against the original ESCHER-GPU code. Install it from PyPI (Python >= 3.12, Linux x86-64):

pip install dyng            # the sequential and OpenMP backends
pip install "dyng[cu13]"    # with the CUDA backend, for an NVIDIA driver of CUDA 13 ("dyng[cu12]": CUDA 12)

Upgrading from 0.2.0 or 0.1.0: pip install -U "dyng[cu13]" (or -U dyng). Without -U, pip keeps an installed 0.2.0 (with the 0.2.0 plugin, which has no hypergraph) or 0.1.0 (which has no cu12 / cu13 extras: pip only warns).

0.3.0 is the release candidate 0.3.0rc1 (tag v0.3.0rc1, published on TestPyPI only and smoke-tested from there) with the final-release changes below and no change to the library. Nothing of 0.2.0 changes incompatibly: sssp, cycle_count and mosp keep their API. The entries below the summary are the detailed record of milestones M8a, M8b, M9a and M9b and of the release preparation (R030, R031).

  • The dynamic hypergraph (stable from 0.3.0): dyng::hypergraph in C++ (<dyng/hypergraph/hypergraph.hpp>) and dyng.Hypergraph in Python, on the sequential, OpenMP and CUDA backends, stored in the ESCHER store (ESCHER-GPU’s CBST, with MOSP_ESCHER’s behaviours merged in). A batch deletes hyperedges by id and inserts new ones, whose ids come from the store’s best-fit reuse (id_reuse::erase_first, ESCHER’s order, or insert_first); the vertex-to-hyperedge and hyperedge-to-vertex views and the line graph (h2h(), kept by a sorted delta merge under every batch) are available after each one. Every backend gives the ids that ESCHER-GPU@abcf9b2 and MOSP_ESCHER@4b86159 gave on their recorded batches, the line graph equals ESCHER-GPU’s after every batch of its recorded runs, and the device memory equals ESCHER-GPU’s own store accounting on coauth-DBLP. dyng::update() (and dyng.update()) keeps several results on one hypergraph with one apply.

  • triad_count is stable (SemVer applies from 0.3.0): the 30 h-motif counts of a hypergraph (ESCHER / ESCHER+) and StatHyper’s triad types 1-3, kept exact under hyperedge batches, with the per-bin change of each batch. The CUDA backend runs ESCHER-GPU’s wedge engine; the sequential and OpenMP backends run the same engine as loops (correct and exact, not yet tuned for speed). It is exact against ESCHER-GPU@abcf9b2 on its 300-case golden set, within the paper’s performance gates against it (update per batch, full count, end to end, device memory), and exact up to 2^64 - 1 (beyond, capacity_error). In C++ (<dyng/triad_count.hpp>), Python (dyng.triad_count) and on the command line (dyng triad_count compute|update, whose --format escher prints ESCHER-GPU’s output byte for byte).

  • Experimental: count your own pattern. dyng::experimental::count_local_patterns<op_t> (<dyng/experimental/local_patterns.cuh>, C++ with nvcc) counts a new local hypergraph pattern, given as a small Op, with triad_count’s engine on every backend, and keeps the count exact under batches; it may change in any minor release.

  • New files and generators: .hg hypergraph files (with the originals’ preprocessing as the option sets escher_gpu() and hsosp()), hyperedge batches in .dgt files, the binary batch format .dgb (DYNGBAT1, CRC-checked, read as a stream) for graph and hypergraph batches, and the triad counts as JSON ("dyng.triad_bins"); all four are stable formats at version 1 (docs/api/file_formats.md). The hypergraph generators uniform_hypergraph() and random_hyperedge_batch() (bit-exact per seed) and ESCHER-GPU’s own generators (generators::legacy).

  • Python and the command line: dyng.Hypergraph, dyng.HyperedgeBatch, the hypergraph readers and writers of dyng.io (with the streaming BatchReader), dyng.generators, dyng.triad_count, dyng.update() over hypergraphs, and dyng triad_count.

  • Tutorials: “Hypergraph triads” (C++ and Python) and “Count a new hypergraph pattern (an Op)”; the algorithm page of triad_count with its “Paper vs fixed code” section; the scaffold scripts/new_algorithm.py --container hypergraph for a new hypergraph algorithm.

  • The release certificate benchmarks/results/0.3.0/ (PLAN 8.3 and 8.6): as for 0.2.0 (sssp, cycle_count and mosp: golden parity on every backend and the release gates against the unpatched originals), and new: the triad_count suites ipdps26_escher and tkde26_escher_plus against ESCHER-GPU@abcf9b2 (CUDA at locked clocks, ADRs 0018 and 0021; the store accounting and the device-memory peak), the CBST trace replays of both ESCHER originals, the hypergraph id, row and line-graph replays, and the triad replays of every backend, by key and by content.

Known limitations of 0.3.0: Linux x86-64 only (aarch64 wheels later); the plugins need a GPU of compute capability 7.5 or newer; a hypergraph batch deletes and inserts whole hyperedges (the incidence edits and vertex operations raise not_supported_error until 0.4); the store’s offsets are 32-bit (a hypergraph of up to about 2^31 member slots); triad_count’s host backends are untuned (their performance is not gated); on CUDA the memory pool keeps, between batches, what the line graph’s merge reached (recorded beside the memory gates, not gated); ESCHER-GPU’s coarse triangles are not ported; label_propagation and hyper_sssp with 0.4.0; no DOI (Zenodo is not connected).

Final release (R031)#

  • Changed: VERSION 0.3.0, CITATION.cff version: 0.3.0 and date-released: 2026-10-29 (the planned tag day); this section, the release candidate’s [0.3.0rc1], renamed [0.3.0] - 2026-10-29 with its link references, its summary with the install lines from PyPI and the upgrade line.

  • Docs: the status texts of the release candidate brought to the release (README, the documentation’s start page, the getting-started and install pages, SECURITY.md with its supported versions, CONTRIBUTING.md, SUPPORT.md, docs/citing.md, the roadmap and the developer plan): pip install dyng and pip install "dyng[cu13]" / "dyng[cu12]" from PyPI, pip install -U for users of 0.2.0 and 0.1.0; the pages of 0.3’s content (the hypergraph, triad_count, the .hg, .dgb and triad-bins formats, the hypergraph tutorials) describe them as released, stable from 0.3.0 as the author confirmed on 2026-10-22 (count_local_patterns stays experimental).

  • Docs (the review of the final-release pull request): the upgrade line pip install -U "dyng[cu13]" also on the PyPI project page (python/README.md) and in the prerequisites of the tutorial “Hypergraph triads” (pip install -U dyng alone leaves a 0.2.0 plugin, which the 0.3.0 core does not load); the Python hypergraph how-to no longer points to the install page’s former TestPyPI lines; the --format escher transcripts of dyng triad_count update show the update_seconds= line of standard error; docs/developer/release.md names the branch release-0.3.0-final and lists python/README.md and the tutorials’ prerequisites among the pages with the upgrade line.

  • Added: benchmarks/results/0.3.0/, the certificate of the release, carried over from 0.3.0rc1 (docs/developer/release.md, step 9): the library did not change since the measured commits, so the gates, the golden replays and the golden mutations stand; the checks of the packaging and repo scopes (the distributions as release.yml builds them for v0.3.0, ci/check.sh --parity, ci/api_check.sh, ci/gpu_local.sh) were run again on the final tree. The smoke test of 0.3.0rc1 from TestPyPI (the CPU package and both CUDA plugins, on GPU 1) is recorded there and in docs/developer/retrospectives/R031.md.

R030: the tag day (0.3, branch release-0.3.0)#

  • Changed: the release date is 2026-10-28, the UTC day the tag v0.3.0rc1 is pushed: the heading of this section and CITATION.cff’s date-released (written 2026-10-22; docs/developer/release.md, “A tag day later than the final-release pull request”); the certificate’s checks of the packaging and repo scopes run again on that tree, and the hosted sanitizers.yml jobs of the release pull request are recorded in it (sanitizers-hosted).

  • Governance: the author’s acknowledgements of 2026-10-23 in the approvals log of GOVERNANCE.md: D14 acknowledged, the two sub-regions above ADR 0024’s bar kept for 0.3.0 (the open decision closes; ADR 0062 and the ADR index say so), and the alignment-flags option deferred beyond 0.3.0 until a CPU without the JCC erratum is available (the roadmap).

  • Fixed (tests): parity/tests/test_release_cert.py’s test of the GoogleTest mutation rows diffs the last commit that changed cpp/tests against its parent only where the history has that parent, so it passes in the hosted harness job’s one-commit checkout.

R030: review fixes (0.3, branch release-0.3.0)#

  • Fixed: io::read_hypergraph (dyng.io.read_hypergraph, dyng triad_count --input) read a Matrix Market file as a hypergraph without an error (its %%MatrixMarket banner is a comment line under the .hg rules, its size line a hyperedge). A .hg file whose first line is a Matrix Market banner or a .dgt header (%dgt ...), or that starts with the .dgb magic DYNGBAT1, is now refused with an io_error that names the format and its reader (ESCHER-GPU’s loader skips the two lines as comments; no file of either original starts with them).

  • Changed: the reader’s messages of the common mistakes name the remedy in C++, Python and the command line (a weighted file read unweighted; a 0-based file read with index_base 1; a .dgt line); a quoted token is cut after 32 bytes and every reader’s message writes its control bytes as \xHH (a binary token put raw bytes, and a NUL that ended what(), into it); a hyperedge .dgt member outside the vertex set, and hypergraph::apply()’s member check (“inserted hyperedge 0 of the batch”, no longer “hyperedge 0”), say that the vertex count is fixed when the hypergraph is built.

  • Fixed: on a release candidate, the CUDA install hints of the Python package (show_config(), Resources.cuda(), the command line’s --backend cuda, the device-array error, the version-mismatch reason) said pip install "dyng[cu13]", which replaced 0.3.0rc1 by 0.2.0 from PyPI; they now give the release candidate’s TestPyPI line (and for a development version, the source build).

  • Docs: the Python hypergraph how-to’s examples run as snippets (the “Apply batches” block applied a batch twice; the Hypothesis example sets deadline=None, which a CUDA plugin’s first device use needs), and it shows dyng.update() over hypergraphs; the hypergraph tutorial asks for dynG 0.3 and clones the repository for its files; docs/how_to/read_and_write_files.md covers the hypergraph files, the hyperedge batches and the triad-bins JSON; OutOfMemoryError with its guarantee in the docstrings of Hypergraph.apply(), from_hyperedges(), h2h(), dyng.triad_count.update() and dyng.update(); coarse triangles are planned for 0.5 (the roadmap lists them); the ADR index records the author’s decisions of 2026-10-22; the example triad_count_update prints its usage, refuses an unknown backend and reports a failed read.

  • Changed: the plugins’ licence notice names the Thrust algorithms compiled into them from 0.3; the distributions’ keywords name the hypergraph and triad counting, and the plugins’ PyPI description the hypergraph and triad_count.

  • Docs (records): ADR 0024’s longer reading of the D13 fix (170 rounds over 85 layouts) on the final library: the apply and update regions read 0.942-0.971; the insert step and the construction on sequential stay above the 1.02 bar, located (the guard’s small cost; code placement) and listed for the author (open decision D14); ADR 0061’s reading of the restructured guard corrected (ADR 0062).

  • Changed (the release process): parity/certify.py requires every step of ci/gpu_local.sh that the release’s series added (from 0.3 the CBST, hypergraph, triad_count and count_local_patterns steps), and the script records a step whose part was skipped for missing inputs as partial; parity/experiments/hypergraph_host_ab.py takes the exclusive lock itself and records it, with each side’s commit and build.

R030: the release certificate (0.3, branch release-0.3.0)#

  • Added: the release certificate of 0.3.0rc1, benchmarks/results/0.3.0rc1/ (parity.json and its README.md), measured on the release’s final library (the D13 fix included): the golden replays of sssp, cycle_count and mosp on every backend; the CBST trace replays of both ESCHER originals under their presets and dynG’s default; the hypergraph id, row and line-graph replays; the triad replays of every backend of the coverage table by key and by content; the five performance suites against the unpatched originals (ipdps26_escher and tkde26_escher_plus new); the sanitizer presets and compute-sanitizer; every golden mutation and the mutation CTests; the distributions as release.yml builds them for v0.3.0rc1; and ci/check.sh --parity, ci/api_check.sh and ci/gpu_local.sh on the release tree. The summary is in docs/developer/retrospectives/R030.md.

  • Changed: the test subset that cibuildwheel runs in the installed wheel includes the hypergraph and triad_count tests (test_hypergraph.py, test_triad_count.py, test_triad_count_cli.py), the surfaces that are stable from 0.3.0.

  • Docs: the ADRs that kept a reservation for the author (0045, 0047-0049, 0051, 0052, 0056, 0058-0060) record the author’s decisions of 2026-10-22, and the coverage table of the triad goldens (parity/goldens.toml) is the accepted D6.

R030: the release changes (0.3, branch release-0.3.0)#

  • Changed: VERSION 0.3.0rc1 (it was 0.3.0.dev0, the development version after 0.2.0); CITATION.cff version: 0.3.0rc1, date-released: 2026-10-28 (written 2026-10-22, then set to the tag day); this section [0.3.0rc1] with the summary above: everything that was under Unreleased (M8a, M8b, M9a, M9b and R030) moved here, an empty Unreleased above it, and the link references.

  • Docs: the status texts for the release candidate: the status blocks of README.md and the documentation’s start page (“Alpha: 0.3 release candidate”), the install lines of the release candidate from TestPyPI (dyng==0.3.0rc1; with a plugin, NumPy from PyPI first and dyng==0.3.0rc1 with dyng-cu13==0.3.0rc1 or dyng-cu12==0.3.0rc1 from TestPyPI alone) in README and docs/getting_started, SECURITY.md (0.3.0rc1 supported until 0.3.0), SUPPORT.md, CONTRIBUTING.md, the roadmap, the developer plan and docs/citing.md; the “Paper vs fixed code” wording of docs/algorithms/triad_count.md is the author’s accepted wording (D10). The PyPI description (python/README.md) names the hypergraph and triad_count, with a tested example and the command line. docs/developer/release.md: who does what for 0.3.0 (the author merges the release pull requests and approves pypi-cu12, pypi-cu13, then pypi; the AI assistant pushes the signed tags v0.3.0rc1 / v0.3.0 and creates the GitHub Release on the author’s behalf), and the release candidate’s smoke test covers triad_count.

  • Governance: the author’s decisions of 2026-10-22 for 0.3.0 in the approvals log of GOVERNANCE.md (the names of ADRs 0049-0052 and 0058-0060, D9; the parity coverage, the gate rows and the suites, D6-D8; the “paper vs fixed code” wording, D10; the host model reported beside the gated update, D12; the publishing of 0.3.0); the open decisions D6-D10 and D12 close.

  • The pinned CUDA toolkits of the plugins (12.9, nvcc 12.9.86; 13.4, nvcc 13.4.92) are still the newest 12.x and 13.x of NVIDIA’s RHEL 8 repository (2026-10-22): a fresh lock reproduces ci/cuda_toolkits.toml byte for byte, and the cached RPMs pass verify --signatures, so nothing is re-pinned.

R030: the 0.3 stability records and the D13 fix (0.3, branch release-0.3.0)#

  • Stable from 0.3.0 (the author’s decision of 2026-10-22): the hypergraph surface (dyng/hypergraph/*.hpp, dyng.Hypergraph; frozen at M8b, ADR 0047) and triad_count (<dyng/triad_count.hpp>, dyng.triad_count, dyng triad_count; frozen at M9b, ADR 0060) follow PLAN 5.9’s stable tier (SemVer); so do the file formats .hg, .dgb (DYNGBAT1) and the triad bins ("dyng.triad_bins"), each at version 1 (docs/api/file_formats.md). experimental::count_local_patterns stays experimental (it may change in any minor release).

  • Fixed (D13, ADR 0061): a host allocation failure inside one of the hypergraph container’s OpenMP loops ended the process with std::terminate instead of throwing the documented out_of_memory_error, in every build with OpenMP (the default builds and the wheels), on the sequential backend as on openmp and with any thread count: the vertex-to-hyperedge rows that hypergraph::apply() changes (so dyng::update(), triad_count::update() and count_local_patterns::update() over a hypergraph) and the line graph’s build (from_hyperedges() with a line graph, the first h2h() or compute() under line_graph_policy::automatic). The loops now keep the first exception, stop, and raise it after the loop on the calling thread, so the documented error and guarantee hold (the hypergraph poisoned when the failure is inside the store phase; unchanged before it). The same for the oracle testing::triad_reference (its documented std::bad_alloc). Tests: dyng_hypergraph_allocation_failure_tests and the update() sweep of dyng_triad_count_allocation_failure_tests, each of which ended the process before the fix.

  • parity/certify.py: a golden-mutation record whose rows include a GoogleTest suite of parity/mutate.py (cbst, hypergraph, triad_count, kit, the triad oracle) must also have the release’s cpp/tests (ADR 0061 section 4); parity/experiments/hypergraph_host_ab.py, the dynG-against-dynG reading of the container’s host apply and triad_count’s host update (ADR 0024).

  • CMakeLists.txt: the help text and the warning of DYNG_BUILD_BENCHMARKS say that the micro-benchmark suites and dyng-bench are planned for a later release (R021’s deferred finding). The alignment flags of the 2026-10-08 decision are deferred beyond 0.3.0 (docs/roadmap.md).

Added#

  • M9b: the triad_count docs and examples: docs/algorithms/triad_count.md with every section of PLAN 9.5 (the 30-bin table, tested against the code’s tables by TriadCountDocs.*; the requirements per pattern; the template mapping; complexity and memory; “Differences from the paper”; “Paper vs fixed code” with ESCHER-GPU’s E-C1, E-C3 and E-C7, the wording the author accepted on 2026-10-22, D10; the mapping from the original code; the gate record); the tutorial “Hypergraph triads” (docs/tutorials/hypergraph_triads.md, C++ and Python, quoted from tested code); examples/cpp/triad_count_update.cpp and examples/python/triad_count.py (each at most 60 lines, the same output on every backend, compared with examples/data/triad_count_update.expected.txt in-tree, by python/tests/test_examples.py and, against the installed package, by ci/cmake_consumer.sh); docs/history/escher_gpu.md. ci/tutorial_quotes.py quotes Python files by # [tutorial: <name>] markers. examples/cpp/compare_output.cmake takes the program’s arguments (-DARGS=a|b|c) and a skip code 77.

  • dyng.triad_count (M9b, ADRs 0059 and 0060; Python; stable from 0.3.0 with the C++ API, the author’s decision of 2026-10-22: see Changed): compute(hypergraph, kind="h_motif" | "stathyper_type1" | "stathyper_type2" | "stathyper_type3" | Pattern), update(hypergraph, batch, result), Options (kind, cuda_engine), Result (counts, a read-only uint64 NumPy copy; count(), total, num_bins, kind, options, set_options(), graph_version, space, clone()), Stats (batch with int64 inserted_ids, delta an int64 array of num_bins values, triads_removed, triads_added, deleted_frontier, inserted_frontier), the Pattern StrEnum, MAX_BINS; dyng.citation("triad_count"). dyng.update() over hypergraphs: dyng.update(hypergraph, batch, *results) updates several dyng.triad_count results with one apply. dyng.testing.triad_reference() binds the oracle.

  • Triad bins as JSON (M9b, ADR 0059; tracked): dyng::io::triad_bins, io::write_triad_bins_json(), io::read_triad_bins_json(), io::triad_bins_size() (format "dyng.triad_bins" version 1, docs/api/file_formats.md), with the libFuzzer target fuzz_triad_bins; Python dyng.io.TriadBins, write_triad_bins(), read_triad_bins(), triad_bins_json().

  • The command line dyng triad_count compute|update (M9b, ADR 0059): --kind, --cuda-engine and the .hg read flags generated from the fields and keywords, --batches (.dgt / .dgb files; a recording’s expected ids checked), --format json (the triad-bins JSON) or --format escher (ESCHER-GPU@abcf9b2’s count lines byte for byte, diffed against its unpatched stdout of every make-test case), --compare-recompute.

  • Experimental (M9b, ADR 0058; may change in any minor release, tracked by the API check without failing it): dyng::experimental::count_local_patterns<op_t> (<dyng/experimental/local_patterns.cuh>, needs nvcc): count a new hypergraph pattern, given as an Op (num_bins, a shape of triangles, pairs or keys, DYNG_HD callbacks that see 0-based hyperedge ids and the members as opaque ascending codes with hyperedge_rows::decode()), with triad_count’s wedge engine on cuda, sequential and openmp; compute(res, h[, op]), update(res, h, batch, result) (the exact delta: the engine owns the frontier, the sign and the exactly-once rule), local_patterns_result<op_t> (counts(), count(), total(), op(), clone()), local_patterns_stats (removed, added, delta); its results compose with triad_count and the other hypergraph results in one dyng::update(). The host-compilable <dyng/experimental/local_patterns.hpp>: shape, max_pattern_bins (1024), member_span, hyperedge_rows, the set helpers intersect_size(), venn3(), intersects3(), and experimental::access_rows(h), the rows the engine reads (compiled into libdyng for both hypergraph instantiations). From the M9b review: max_op_size (4,096 bytes, checked by its own static_assert), and DYNG_EXPERIMENTAL_CHECK_HOST_CALLBACKS(op_t), which makes nvcc report a __device__-only callback (nvcc does not report it at the engine’s call, and the host backends would end the process with exit status 1); the documentation states that the ids of a callback come in no particular order, so an Op must be symmetric in them. The .cuh headers are installed. triad_count’s four patterns are four built-in Ops of the same engine and driver (their kernels’ machine code unchanged).

  • Docs: the tutorial “Count a new hypergraph pattern (an Op)” (docs/tutorials/ count_a_new_hypergraph_pattern.md; its code in examples/tutorial_algorithms/local_patterns/, tested on every backend and both instantiations, the host half in the CPU jobs), the API page docs/api/cpp/experimental.md; ci/tutorial_quotes.py (run by ci/docs.sh) pins every quote of the tutorials, so a quoted line that moves or changes without its page fails the docs check.

  • CI: the API snapshot’s experimental tier (dyng/experimental/*: listed, a difference reported, never failed); Doxygen reads *.cuh and ci/doxygen_coverage.py holds the group experimental and its banner; ci/cmake_consumer.sh also builds a host-only consumer of the experimental header and, from a CUDA build, a user Op compiled by nvcc against the installed package (ci/gpu_local.sh step experimental, with compute-sanitizer memcheck, racecheck and synccheck over the tutorial’s CUDA run); parity/compare.py triad_count --counter local_patterns (the built-in Ops through count_local_patterns, bit for bit against triad_count and against ESCHER-GPU’s goldens).

  • triad_count (M9a; stable from 0.3.0, ADR 0060 and the author’s decision of 2026-10-22: see Changed; aggregate delta; <dyng/triad_count.hpp>): the 30 h-motif counts and StatHyper’s triad types 1-3 of a hypergraph, kept exact under hyperedge batches (options::kind; stats::delta, triads_removed / triads_added; several patterns in one dyng::update()). The cuda backend runs ESCHER-GPU@abcf9b2’s wedge engine (exact against ESCHER-GPU on every golden case); the sequential and OpenMP backends run the same engine as loops (an incremental host engine, untuned; the author’s decision D3, ADR 0054), exact against ESCHER-GPU on the golden cases of the coverage table, with identical results on every OpenMP thread count. dyng-compat-escher run counts and prints ESCHER-GPU’s output; parity/compare.py triad_count --counter algorithm.

  • Internal (internal-stable, ADR 0055): operators::count_delta / count_owned, the signed count of one aggregate-delta phase with a required ownership rule (I2), on every executor (host: private bins per thread added in thread order; cuda: atomic bins read once); triangle_delta and triad_count’s host engine count with it (the rule of two). The executors gain download() and threads().

  • Benchmarks (M9a, ADR 0056): the paper suites benchmarks/paper/ipdps26_escher.yaml (the timing gates of triad_count against ESCHER-GPU@abcf9b2: update per batch, full count, end to end on coauth-DBLP and syn1M / syn2M) and tkde26_escher_plus.yaml (the store accounting and the Nsight Systems peak; the StatHyper types and other batch sizes recorded); parity/certify.py requires both, and the triad golden replays of every backend of the coverage table by key and by content, from the 0.3 series (compare.py triad_count --certificate; certify.py write --dry-run <algorithm>); perf_ab.py triad_count kernels (the update’s kernels under ncu at the base clocks) and the contamination audit of the triad readings.

  • Tests: ESCHER-GPU’s make test replayed on the host backends in hosted CI (dyng_triad_count_make_test_tests), exact against 3.7 KB of committed counts (parity/triad_goldens.py fixture); the committed test-data budget is 1.25 MB (the author’s decision D5, ADR 0013 amended), checked by ci/test_data_budget.py (ci/check.sh step testdata, a pre-commit hook). The recorded triad mutations of PLAN 8.4 (CTests triad_count.mutation.*, parity/mutate.py run --suites triad_count).

  • M8b (api-change, tracked until the hypergraph headers are frozen at the end of M8b): the hypergraph container dyng::hypergraph<vertex_t, weight_t> (dyng/hypergraph/*.hpp, ADR 0041) on the ESCHER CBST store, for (int32, unweighted) and (int32, int32) on the sequential, openmp and cuda backends: from_hyperedges(), apply() of a hyperedge_batch (deletions by id and insertions; the ids of the inserted hyperedges from the store’s best-fit reuse in hyper_apply_summary::inserted_ids), the views h2v() and v2h() (sorted CSR, built once per version), clone() / to_backend() that keep ids, deleted slots and payload accounting, store_stats(), check_integrity(), weights by id; hypergraph_properties with hypergraph_storage, line_graph_policy, id_reuse (erase_first, ESCHER’s order, the default; insert_first, H-SOSP’s) and capacity_policy with the presets escher_gpu() and mosp_escher(extra); hyperedge_list, hyperedge_batch (incidence edits raise not_supported_error until 0.4), incidence_view, line_graph_view, storage_stats. The host backends use a best-fit id allocator written independently of the CBST host model, so every backend gives the same ids; the batch records of ESCHER-GPU@abcf9b2’s and MOSP_ESCHER@4b86159’s CBST traces replay through the container with the originals’ ids (parity/compare.py hypergraph_ids).

  • M8b: the line graph of the hypergraph (ADR 0042): line_graph_policy::sorted_merge (built with the hypergraph, kept by every apply() with ESCHER-GPU@abcf9b2’s sorted delta merge, ported in stages; a host form of the same merge on the CPU backends, with the same layout) and automatic (built by the first h2h(), then kept); hypergraph::h2h() (sorted rows by id, out the first neighbour above the row’s id, the weights by id), the stage hypergraph.apply.line_graph; store_stats().device_bytes in ESCHER-GPU’s DynamicHypergraph::deviceBytes() scope (the trees and the row views kept per commit), equal to ESCHER-GPU’s on coauth-DBLP after the build and every batch; the line graph equals ESCHER-GPU’s after every batch of its make test, coauth-DBLP 50K and synthetic 1M runs (parity/compare.py hypergraph_ids --line-graph). dyng::testing::rebuild_line_graph (dyng/testing/line_graph_oracle.hpp, tracked): the line graph rebuilt from the hyperedges by MOSP_ESCHER@4b86159’s HypergraphOracle algorithm. parity/perf_ab.py hypergraph memory and maintain: the memory gate and the maintain reading against ESCHER-GPU.

  • M8b (api-change, tracked until the hypergraph headers are frozen at the end of M8b): dyng::update() and update_each() over hypergraphs (ADR 0043): <dyng/hypergraph/ hypergraph.hpp> specializes detail::participant_of<hypergraph<V, W>> with the participant interface detail::hyper_update_participant<V, W> and the hypergraph’s detail::run_update() (one Step 0 and one commit for every result: the batch staged and normalized once, every before-apply on G_t, one commit, every after-apply on G_{t+1} with the applied record, a failing result poisoned while the others complete), and adds detail::is_hypergraph_v; update.hpp and the graph headers are unchanged. Internally, the hypergraph’s two-phase transaction (begin, before() with the old view valid until the commit, commit, after()), the framework’s adapter for problems on hypergraphs, the conformance kit’s container axis (container_traits: the hypergraph presets {erase_first, insert_first} x {escher_gpu, mosp_escher, default}, model and twelve batch mixes) with test-only aggregate-delta fakes run through C0-C12 on every backend and a planted bug the kit catches.

  • M8b: scripts/new_algorithm.py --container hypergraph (ADR 0044): a hypergraph algorithm of either family from cpp/src/algorithms/_template_hypergraph, green on the first build; graph_requirements of a hypergraph manifest names the requirements on hypergraph_properties (line_graph, store_v2h, reuse, storage), checked by scripts/regen.py; ci/scaffold_check.sh scaffolds, builds and checks a hypergraph algorithm of each family.

  • M8b (api-change, tracked): hypergraph files and batch files (ADR 0045): <dyng/io/hypergraph_io.hpp> with read_hypergraph() / write_hypergraph() for .hg files (one hyperedge per line; dedupe_hyperedges, max_cardinality, relabel = none, dense_sorted, first_appearance, random_weights, and the originals’ preprocessing as the option sets hypergraph_read_options::escher_gpu() and hsosp(), which reproduce ESCHER-GPU@abcf9b2’s and MOSP_ESCHER@4b86159’s loaded hypergraphs of coauth-DBLP bit for bit); hypergraph batches in .dgt files (+h v1 .. [; w], -h id; read_hyperedge_batches(), write_hyperedge_batches(); the first line may name the container kind, %dgt 1 graph or %dgt 1 hypergraph, and a file holds the batches of one kind); the binary batch format .dgb (version 1: magic DYNGBAT1, a CRC32-checked header with the container kind, dtypes, K and flags, length-prefixed records with CRC32; batch_writer, the streaming batch_reader, which stages records through pinned buffers to the device with CUDA resources, and whole-file helpers), whose reader checks every size field against the file before allocating; fuzz targets fuzz_hg and fuzz_batch_binary; datasets/preprocess/benson_to_hg.py, which writes the originals’ coauth-DBLP .hg byte for byte; dyng-compat-escher (ESCHER-GPU’s batch dumps as .hg + .dgb, and their replay by id and by content).

  • M8b (api-change, tracked): hypergraph generators (ADR 0045): <dyng/generators/ hypergraphs.hpp> with uniform_hypergraph() and random_hyperedge_batch() (thirteen mixes: insertions, deletions, delete-then-reuse, heavy deletion, delete-all, re-insert, larger than the hypergraph, duplicate members, dead ids, a skewed hyperedge of 1,100 members, ids at the index limits, empty), with distributions owned by the library (bit-exact per seed and major version on every platform; golden hashes); generators::legacy::escher_hypergraph() and escher_batch_generator (ESCHER-GPU@abcf9b2’s generators, reading the live state of a dynG hypergraph: they reproduce its make test, coauth-DBLP and synthetic 1M hypergraphs and batches) and standard_library_matches_legacy_streams(). The conformance kit’s hypergraph mixes come from these generators.

  • M8b (api-change): the hypergraph headers frozen (ADR 0047; the pull request needs the api-change label): every declaration of dyng/hypergraph/*.hpp is part of the frozen API baseline after the hypergraph API review (io/hypergraph_io.hpp, io/batch_io.hpp, generators/* and testing/* stay tracked); a removal or change now fails ci/docs.sh and ci/api_check.sh without the label. Stable from 0.3.0 (the author’s decision of 2026-10-22). The review added hyperedge_batch:: delete_incidence_hyperedge(), delete_incidence_vertex(), insert_incidence_hyperedge() and insert_incidence_vertex() (the owning batch reports its incidence edits) and declared hyperedge_batch’s default constructor noexcept; ci/doxygen_coverage.py holds the frozen hypergraph headers to the group, @throws and @sync / @async rules; compile-only fitness skeletons (cpp/tests/api/fitness) pin what M9 and M11 need.

  • M8b: the hypergraph in Python (ADR 0046): dyng.Hypergraph (from_hyperedges(offsets, members, ...), from_lists([[...], ...]), apply(), h2v(), v2h(), h2h() as host copies, weights, to_hyperedge_list(), clone(), to_backend(), store_stats(), check_integrity()), dyng.HyperedgeBatch(delete_hyperedges=..., insert_hyperedges=...), dyng.HypergraphProperties and dyng.CapacityPolicy (the C++ names and defaults; the presets escher_gpu() / mosp_escher(); id_reuse=, capacity= and the enumerations as strings), dyng.HyperApplySummary (inserted_ids an int64 array), dyng.StorageStats; dyng.io.read_hypergraph() (options="escher_gpu" | "hsosp", dedupe_hyperedges, max_cardinality, relabel, random_weights=(lo, hi, seed) and the property keywords) and write_hypergraph(), read_hyperedge_batches() / write_hyperedge_batches() (.dgt), write_binary_batches(), read_binary_batches() and the streaming BatchReader (.dgb, graph and hypergraph batches with their annotations); dyng.generators.uniform_hypergraph() and random_hyperedge_batch(), dyng.generators.legacy.EscherEngine, escher_hypergraph() and EscherBatchGenerator; dyng.testing.rebuild_line_graph(), dyng.testing.oracles.HypergraphModel and the Hypothesis strategies hypergraphs() / hyperedge_batches(). int64 member arrays are never narrowed silently (vertex_dtype="int32" converts them with a range check); every native call releases the GIL. dyng.update() over hypergraphs arrives with triad_count (M9; python_gaps.md).

  • M8a (internal, not public API): the ESCHER CBST store (cpp/src/hypergraph/escher, dyng::detail::escher::cbst_store, ADR 0038), the port of ESCHER-GPU@abcf9b2’s store in the new module dyng_hypergraph: construct, rebuild from the device, best-fit insert with surplus rows and the rebuild, append (fill) with overflow segments and payload growth, erase, remove_values (unfill), the row locator and the integrity checker, on the resources’ stream and memory resource, with exceptions instead of process exits; dynG additions: the empty tree, clone(), download(), allocated_bytes(), poisoning after a failed operation, the payload policy store_policy::escher_gpu(). It replays ESCHER-GPU’s CBST traces in every recorded field but one documented divergence (construct_below_payload: the targeted construct whose capacity is below its payload throws instead of keeping a tree without nodes) and the 57 operations that cannot be replayed (the 3 H2H rebuilds of coauth50k, whose inputs are recorded as hashes only, and the 54 operations of the batches-mode set syn1m) (parity/compare.py cbst_trace --store device); parity/escher_port/transplant.py regenerates its first commit from the original.

  • M8a (internal): MOSP_ESCHER@4b86159’s CBST behaviours merged into the store (ADR 0039): construct validation, the fill clamps, caller row counts as a fast path of construct, one bounded chain walk for every reader and the unfill writer (bounded by the used payload; a broken chain raises the store’s device error word, internal_error at the next read point), its integrity checks and dynG’s checks of the index arrays, rows(), the scratch growth rule, an explicit compact(), storage counters (stats()), check_errors(), and a defined rule for appends and removals on dead or absent keys; the staging preset mosp_escher_staged() of the merge steps.

  • M8a (internal): MOSP_ESCHER’s automatic compaction and the store presets (ADR 0040): store_policy::mosp_escher() (compaction at MOSP_ESCHER’s fill and insert trigger points, then capacity_error; flat * 1.3 + extra, at most 2.0e9) replaces the staging preset, and dynG’s default store_policy::dyng_default() compacts first and then grows (capacity_error only beyond max_payload, the int32 offsets; out_of_memory_error on an allocation failure). MOSP_ESCHER’s CBST traces replay in every recorded field under mosp_escher() but the documented divergences construct_without_row_counts (31 constructs of make test without row counts, whose occupancy 0 the store does not take over; ADR 0039 (c)) and construct_below_payload (one targeted construct); every set replays under the default with the field set policy, its documented divergences pinned per set and rule (parity/cbst_documented.toml), and the store’s layout under every preset is checked in lockstep with the host model on the traces’ operations. Tests: MOSP_ESCHER’s 9 CBST scenarios and its smoke test under every preset in lockstep with the host model, random operation sequences, the graph-on-CBST test (PLAN 6.1 D8), the partial-failure rule, and the 7 CBST mutations (ctest -L mutation, parity/mutate.py run --suites cbst); parity/perf_ab.py cbst early, the early-warning table of the store against ESCHER-GPU.

  • M8a: dyng::testing::cbst_host_policy::max_payload, the largest payload a growth reaches (tests lower it), and cbst_host_policy::dyng_default() no longer provisional.

  • M8a review: dyng::testing::cbst_host_policy::compaction_headroom, the hysteresis of an automatic compaction (dyng_default(): 8, also the store’s default preset: after a compaction at a trigger point the payload grows when fewer than 1/8 of its slots are free).

  • M8a: dyng::testing::cbst_host_model (dyng/testing/cbst_host_model.hpp, ADR 0037), a sequential host model of the ESCHER CBST store of ESCHER-GPU@abcf9b2 and MOSP_ESCHER@4b86159 (best-fit reuse, surplus keys and the rebuild, fill overflow segments, unfill, A’s growth, B’s compaction and exceptions) with the policy presets cbst_host_policy::escher_gpu(), mosp_escher() and the provisional dyng_default(), and the layout helpers cbst_rank_of_position and check_cbst_layout (ESCHER-GPU’s cbst_test sizes). It replays every replayable operation of both originals’ CBST traces with 100% agreement; the oracle of the store port. Parity harness: the trace replay comparator (cpp/tests/parity/escher/cbst_compare), the tool dyng_cbst_replay and parity/compare.py cbst_trace --store host_model.

  • M8a (parity harness, not part of the library): the CBST trace recorders of ESCHER-GPU@abcf9b2 and MOSP_ESCHER@4b86159 (ADR 0036): the originals’ unchanged objects relinked into recording twins with -Xlinker --wrap (parity/exporters/escher), the trace format 1 and its readers (parity/escher_trace.py, the host-only cpp/tests/parity/escher/cbst_trace.hpp), the trace goldens of both originals’ suites, coauth-DBLP, DBLP and targeted scenarios (parity/export_goldens.py cbst_trace), datasets/registry.toml with the coauth-DBLP pins, the cross-check of the two ESCHER cores (parity/escher_crosscheck.py) and the timed-region map parity/timed_regions/hypergraph.toml.

  • M9a (parity harness, not part of the library): the reference side of triad_count (ADR 0048), before any port code: the timed-region map parity/timed_regions/triad_count.toml (update gated per batch as update[b1..b3], full_count, end_to_end; perf_ab.py and bench_suite.py read per-batch rows and refuse unknown region keys); the golden set triad_count_escher_gpu of ESCHER-GPU@abcf9b2’s triad counts and batches on its make test and PLAN 6.4.6’s grid, 300 cases exported twice with identical manifests (parity/triad_goldens.py, parity/export_goldens.py triad_count, parity/compare.py triad_count --verify); ESCHER-GPU checked against its own CPU reference (90 runs agree).

  • M9a (tracked): dyng::testing::triad_reference (dyng/testing/triad_reference.hpp, ADR 0049): brute-force triad counts of a hypergraph, the 30-bin h-motif counts and StatHyper’s types 1-3, following ESCHER-GPU@abcf9b2’s CPU reference (64-bit, sequential or OpenMP), with the h-motif classes derived from the permutations of the Venn regions (equal to ESCHER-GPU’s table on all 128 ids), removed() / added() per bin, and a test that it shares no code with triad_count or the container.

  • M9a (tracked): generators::legacy::escher_host_model and escher_batch_generator::next(model) (ADR 0051): ESCHER-GPU’s batches drawn from host rows the caller keeps in step with the hypergraph (apply(batch, summary)), the same draws as next(res, hypergraph) without reading the hypergraph’s views.

  • M9a (parity harness, not part of the library): the triad replays (ADR 0050): the tool dyng_triad_replay and parity/compare.py triad_count --backend B --mode by_key|by_content|both --counter oracle|algorithm (each golden case’s batches replayed through the hypergraph, the counter after the build and every batch, integrity after every batch, the expected ids by key, every deleted row resolved by content; planted defects must fail it); the port driver dyng-compat-escher run (ESCHER-GPU’s argv, the batches drawn from the host model; counting arrives with triad_count); parity/perf_ab.py triad_count run|memory (parity/triad_perf.py: A/B rounds under the clock lock and the contamination monitor, the Nsight Systems peaks of both whole processes, the store accounting); parity/triad_replay.py singles and draws (the oracle against ESCHER-GPU on one triad per bin; the driver’s batches against the goldens).

Changed#

  • triad_count is stable and frozen (M9b, ADR 0060; the plan’s default D4, confirmed by the author on 2026-10-22): <dyng/triad_count.hpp> (frozen in the API baseline; ci/doxygen_coverage.py holds it to the freeze’s rules), dyng.triad_count and dyng triad_count follow PLAN 5.9’s stable tier from 0.3.0. api-change: the header moves from tracked to frozen; no signature changed. Documentation amendments of the review: the stats’ triads_removed / triads_added for the types 1-3 (contributions, not weights), compute()’s shape per pattern, max_bins bounds every later pattern; the Python docstrings list every documented exception. experimental::count_local_patterns stays experimental.

  • The generated CLI flags (ADR 0059): a keyword typed X | None is the flag of X (a bool | None keyword is a --x / --no-x pair), and a union with one Literal takes its choices; no existing flag changes. The fuzz workflow’s dispatch limit is 660 s per target (nine targets; was 750 s for eight).

  • The documented find_package(dyng 0.3 REQUIRED) (README.md, docs/getting_started/install.md) follows the development version, which ci/cmake_consumer.sh requires; a build of 0.2.0 asks for 0.2.

  • Merging 0.2.0 into M8a: datasets/ (the parity harness’s dataset registry) is excluded from the sdist, whose members stay those of 0.2.0; and parity/certify.py reads the replays of a GoogleTest mutation suite (the CBST mutations of parity/mutate.py) without a golden manifest, while every golden-suite replay still needs one.

  • M8b: io::write_batches() rejects a negative vertex id with invalid_argument_error (such a .dgt file did not read back); io::read_batches() names read_hyperedge_batches() when it meets a hyperedge operation or a %dgt 1 hypergraph line, and reports the incidence edits +i / -i and the vertex operations as reserved for 0.4.

  • M8b: the release certificate needs the hypergraph container’s replays from 0.3 (parity/certify.py): the batch records of every CBST trace set with hypergraph batches replayed through dyng::hypergraph with the originals’ ids and rows on sequential, openmp and cuda, and ESCHER-GPU’s sets with the line graph on cuda (parity/compare.py hypergraph_ids --certificate, the hypergraph-id record schema; ci/gpu_local.sh writes the CUDA records of the small sets). The memory reading of the hypergraph (perf_ab.py hypergraph memory) loads coauth-DBLP through io::read_hypergraph(..., escher_gpu()). The vertex-operation fields of the Python bindings’ batch and the good-first-issue:op label name 0.4 and 0.3.

  • M8b review (api-change; the hypergraph headers are frozen, not yet stable): the frozen headers’ documentation says what the code does: hyper_apply_summary::skipped_ops counts every skipped operation (in 0.3 ignored_deletions + dropped_members; the incidence edits of 0.4 add theirs), capacity_policy::row_alignment describes the allocator’s reservation, line_graph_view::weights is host memory, apply()’s batch-size capacity_error and staging out_of_memory_error leave the hypergraph unchanged, and on CUDA apply() / dyng::update() order the store’s work with the stream of their resources. Behaviour fixes: weights() of a poisoned hypergraph throws; hyperedge_batch(_view)::empty() sees the incidence vertex arrays; add_hyperedge raises out_of_memory_error, not std::bad_alloc; a huge initial_slack / initial_headroom saturates at the payload limit; an allocation failure while h2h() builds the line graph leaves it buildable. The API baseline lists the hypergraph’s detail contract (hyper_update_participant, run_update(), is_hypergraph(_v)), frozen by ADR 0047.

  • M8b review (io, tracked): batch_reader stops at its first error (later calls throw instead of returning the record after a damaged one); a .dgb file of the other kind given to read_binary_batches / read_binary_hyperedge_batches is an io_error naming the right reader; the text readers reject a directory or a device with io_error (a directory gave out_of_memory_error); .hg is documented as unversioned. Python: BatchReader may be shared by threads and raises InvalidArgumentError when closed; an integer argument outside int64 (a seed: uint64) is an InvalidArgumentError, not a TypeError.

  • M8b review (parity tooling): the hypergraph-id replays compare the by-content ids up to the first ambiguous resolution, check the line graph against testing::rebuild_line_graph on both originals’ sets, and count B’s vertex-kind batches; certificates count only full replays.

  • Merge policy: every pull request is merged with a merge commit; squash merging is off since 2026-10-14 (the author’s decision after M8a was squash-merged as 2de6ebe; ADR 0019 amended, GOVERNANCE.md, CONTRIBUTING.md, the pull request template). ci/gpu_local.sh runs the hypergraph container’s two-host-thread C12 test under synccheck and memcheck, not racecheck.

Fixed (M9b)#

  • triad_count::compute(), update() and result::clone() (and count_local_patterns’ compute, update and clone) report a host allocation failure as out_of_memory_error, as their documentation says; a std::bad_alloc of the host work left the library (ADR 0060 finding 7; dyng_triad_count_allocation_failure_tests).

Fixed (M9a review)#

  • triad_count at the 64-bit limit (ADR 0057): C(|e|, 3) is exact for every hyperedge size (it was n (n - 1) (n - 2) / 6 in signed 64-bit, wrong from 2,097,152 members, as in ESCHER-GPU); the type-2 and type-3 products and every sum are checked on both engines, and a count past 2^64 - 1 throws capacity_error on cuda as on the host backends (it wrapped on cuda, and for types 2 and 3 everywhere); a batch that removes and adds 2^63 or more triads of a bin is exact (the signed phase bins refused it), and a net change of a bin outside stats::delta’s signed 64-bit range throws capacity_error on every backend. testing::triad_reference counts in 128-bit and throws std::overflow_error past 2^64 - 1.

  • triad_count::update: the scratch of an update keeps headroom (scratch_buffer::reserve_with_headroom), so a growing hyperedge id bound no longer frees and reallocates the frontier flags in nearly every batch (ADR 0053 amendment); the documented guarantee names the outcome of a failure inside the commit (the hypergraph poisoned, the result unchanged with the counts before the batch).

  • generators::legacy::escher_host_model::apply grows its rows geometrically (an exact reservation moved every row when the id bound grew).

  • Parity harness and certificate: the triad golden set hashes no run parameter (the GPU and the raw trace’s digest move to unhashed provenance files; content is hashed, a .zst file decompressed; export --twice --second-gpu); the replay comparator checks the hyperedges the container deleted against A’s batch; certify.py requires every gated row of every case of a triad reading, recomputes the medians and round counts from the samples, checks the protocol fields of the triad records and refuses a --version of another release series than VERSION; the memory readings guard the counts of every measured process; the oracle’s isolation check preprocesses with the build’s flags; the triad phase’s compile-failure test matches its static_assert; the host-model asymmetry of the gated update is recorded and update_with_host_model[b<N>] reported beside the gate.

  • CI: the host triad mutants run on the cases that kill them; cpu.yml runs its tests on 4 jobs.

0.2.0 - 2026-10-14#

Summary#

dynG 0.2.0: a third stable algorithm, the CUDA backend from Python, and the hardening planned after 0.1.0. Install it from PyPI (Python >= 3.12, Linux x86-64):

pip install dyng            # the sequential and OpenMP backends
pip install "dyng[cu13]"    # with the CUDA backend, for an NVIDIA driver of CUDA 13 ("dyng[cu12]": CUDA 12)

Upgrading from 0.1.0: pip install -U "dyng[cu13]" (or -U dyng). Without -U, pip keeps the installed 0.1.0, which has no cu12 / cu13 extras, and only warns.

0.2.0 is the release candidate 0.2.0rc1 (tag v0.2.0rc1, published on TestPyPI only and smoke-tested from there) with the final-release changes below and no change to the library. Nothing of 0.1.0 changes incompatibly: sssp and cycle_count keep their API. The entries below the summary are the detailed record of milestones M7, M6a and M6b and of the release preparation (R020, R021).

  • mosp is stable (SemVer applies from 0.2.0): dynamic multi-objective shortest paths, the MOSP update of DynaMOSP (the K single-objective trees, the combined graph of the preferences, its shortest-path tree and the path costs), on the sequential, OpenMP and CUDA backends, in C++ (<dyng/mosp.hpp>), Python (dyng.mosp) and on the command line (dyng mosp, the original tools’ files byte for byte). It is byte-identical to MOSP-OpenMP@c352151 and MOSP-CUDA@e220ee2 on their golden corpus and on 20 paper-scale cases, and its API was reviewed before the freeze (ADR 0035); dyng.update() keeps mosp, sssp and cycle_count results on one graph.

  • The sssp operators engine: CUDA sssp (and so mosp) also runs on GPUs and drivers without cooperative launch, byte-identical to the fused engine; cuda_engine chooses (automatic, fused, operators).

  • CUDA from Python: the plugin wheels dyng-cu13 and dyng-cu12, installed with pip install "dyng[cu13]" (NVIDIA driver 580 or newer, CUDA 13) or "dyng[cu12]" (driver 525 or newer, CUDA 12). They bring their own CUDA runtime (no toolkit needed) and code for sm_75 to sm_120 (Turing to Blackwell). import dyng picks the plugin of the driver’s CUDA major and falls back to the CPU backends with one dyng.BackendWarning that says why; results stay in device memory and go to PyTorch or CuPy through DLPack or __cuda_array_interface__ without a copy; dyng.show_config() says what was chosen.

  • The tutorial “Your first dynamic algorithm” and the teaching algorithms dynamic_bfs and triangle_delta (maturity tutorial, not under the stability promise): from a fresh clone to a new algorithm that passes the conformance kit on every backend.

  • The documentation site https://dyng-dev.github.io/dyng/, built from main.

  • Robustness: libFuzzer targets for every file reader (the reader bugs they found are fixed), the recorded bug mutations of sssp, cycle_count and mosp checked against their golden suites, long Hypothesis runs, and ASan + UBSan and TSan (with OpenMP and Archer) on every pull request, now required checks.

  • The release certificate benchmarks/results/0.2.0/ (PLAN 8.3 and 8.6): golden parity of sssp, cycle_count and mosp on every backend, the release performance gates of all three against the unpatched originals (mosp’s for the first time, the new suite benchmarks/paper/ipdps25_dynamosp_mosp.yaml; CUDA at locked clocks, ADRs 0018 and 0021), the sanitizers and the mutation checks.

Known limitations of 0.2.0: Linux x86-64 only (aarch64 wheels later); the plugins need a GPU of compute capability 7.5 or newer; cycle_count counts simple cycles only (no time-window or temporal modes, no approximate TruCy mode); the hypergraph and triad_count come with 0.3.0, label_propagation and hyper_sssp with 0.4.0; no DOI (Zenodo is not connected).

Final release (R021)#

  • Changed: VERSION 0.2.0, CITATION.cff version: 0.2.0 and date-released: 2026-10-14 (the planned tag day); this section, the release candidate’s [0.2.0rc1], renamed [0.2.0] - 2026-10-14 with its link references, its summary with the install lines from PyPI.

  • Docs: the status texts of the release candidate brought to the release (README, the documentation’s start page, the getting-started and install pages, SECURITY.md with its supported versions, CONTRIBUTING.md, SUPPORT.md, docs/citing.md, the roadmap and the developer plan): pip install dyng and pip install "dyng[cu13]" / "dyng[cu12]" from PyPI.

  • Docs (the review of the final-release pull request): the upgrade line pip install -U "dyng[cu13]" for users of 0.1.0 (README, the start page, the install guide, this summary); the maturity lines of sssp, mosp, dynamic_bfs and triangle_delta and the tutorial no longer call 0.2.0’s content unreleased; the roadmap’s “Where we are” opens with 0.2.0; CONTRIBUTING.md no longer promises micro-benchmarks for 0.1; docs/developer/release.md step 9 names those pages and widens its grep, its local-build block reads the tag from VERSION; the certificate’s README says which of the release candidate’s check records were replaced.

  • Governance: the author’s decisions of 2026-10-09 in the approvals log of GOVERNANCE.md: the plugin names dyng-cu12 / dyng-cu13 stay unreserved on PyPI until 0.2.0 creates both projects, without placeholder releases (the open decision R020 added is closed); and the state of the trusted publishers (TestPyPI’s re-created for the plugins, PyPI’s checked). docs/developer/release.md records the lesson of the release candidate’s failed publish jobs (a plugin’s pending publisher needs the project name dyng-cu<N> and its own environment); docs/developer/repository_settings.md the publishers’ state.

  • Added: benchmarks/results/0.2.0/, the certificate of the release, carried over from 0.2.0rc1 (docs/developer/release.md, step 9): the library did not change since the measured commits, so the gates, the golden replays and the golden mutations stand; the distributions (as release.yml builds them for v0.2.0), ci/check.sh --parity, ci/api_check.sh, ci/gpu_local.sh and the C++ test suites (the sanitizer presets, the mutation CTests; README.md changed) were run again on the final tree, and the hosted sanitizers.yml jobs of the release candidate’s pull request are recorded. The smoke test of 0.2.0rc1 from TestPyPI (the CPU package and both CUDA plugins, on GPU 1) is recorded there and in docs/developer/retrospectives/R021.md.

R020: the release changes (0.2, branch release-0.2.0)#

  • Changed: VERSION 0.2.0rc1 (it was 0.2.0.dev0, the development version after 0.1.0); CITATION.cff version: 0.2.0rc1, date-released: 2026-10-09 (written 2026-10-07, set to 2026-10-08 when the review fixes were certified, then to the tag day); this section [0.2.0rc1] with the summary above: everything that was under Unreleased (M7, M6a, M6b and R020) moved here, an empty Unreleased above it, and the link references.

  • Docs: the status texts for the release candidate: the status blocks of README.md and the documentation’s start page (“Alpha: 0.2 release candidate”), the install lines of the release candidate from TestPyPI ("dyng[cu13]==0.2.0rc1", "dyng[cu12]==0.2.0rc1", dyng==0.2.0rc1) with the plugins’ driver and GPU requirements (README, docs/getting_started), SECURITY.md (0.2.0rc1 supported until 0.2.0), SUPPORT.md, CONTRIBUTING.md, the roadmap and the developer plan. The documentation site’s banner names a release candidate as such (TestPyPI only; docs/conf.py).

  • Governance: the author’s decisions for 0.2.0 in the approvals log of GOVERNANCE.md: the AI assistant pushes the signed tags v0.2.0rc1 / v0.2.0 and creates the GitHub Release on the author’s behalf (2026-10-06); the author merges the release pull requests and approves the three PyPI deployments, pypi-cu12 and pypi-cu13 together, then pypi (2026-10-07); the sanitizer checks asan / gcc-13, tsan / gcc-13 and tsan-openmp / clang-18 are required checks of main (2026-10-07; 27 required checks); and the repository state of 2026-10-07 (M6b merged, the first Pages deployment, the website field). docs/developer/release.md says who does what for 0.2.0; docs/developer/repository_settings.md lists the 27 required checks.

  • CI: the pinned CUDA toolkits of the plugin wheels were checked against NVIDIA’s RHEL 8 repository on 2026-10-07: CUDA 12.9 (nvcc 12.9.86) and 13.4 (nvcc 13.4.92) are still the newest 12.x and 13.x, and a fresh ci/cuda_toolkit.py lock of both reproduces ci/cuda_toolkits.toml byte for byte (no re-pin; the cached RPMs pass verify --signatures).

  • Docs: two informational investigations in docs/developer/retrospectives/R020.md (record parity/results/R020-investigations.json; no gate applies, nothing in the library changed): (a) the CUDA 13.4 cu13 wheel’s cycle_count update is not slower than the CUDA 13.1 builds (0.965-0.986x over 8 processes per side; the update kernels within 1 % under Nsight Compute): M6a’s 8.8 % was the process mode of the host stage cycle_count.normalize, so the wheel keeps CUDA 13.4; (b) a measured proposal for the open decision on layout control (function, loop and branch alignment against the originals and dynG against dynG), attached to the decision in GOVERNANCE.md, which stays open; the certificate uses the accepted one-layout protocol.

R020: the mosp API review and freeze (0.2, branch release-0.2.0)#

  • Changed: mosp is stable from 0.2.0 (the author’s decision of 2026-10-07, GOVERNANCE.md): <dyng/mosp.hpp>, the Python module dyng.mosp and the command line dyng mosp follow the stable tier of the stability policy, as sssp and cycle_count since 0.1.0. The API review before the freeze (ADR 0035) changed no signature, so existing code needs no change. The manifest, the registry (dyng::algorithms(), dyng.algorithms()), the algorithm tables and docs/algorithms/mosp.md say stable; dynamic_bfs and triangle_delta stay tutorial.

  • Docs: the review’s amendments of <dyng/mosp.hpp>: what the inherited update_stats counters mean for mosp and which are deterministic; the exceptions result::from_arrays() inherits from sssp’s import; clone() sizes the pooled workspace; path_costs() stays host memory by default; max_objectives and max_preference_scale may be raised, never lowered; set_options() allocates nothing after its checks (its strong guarantee, pinned by the new dyng_mosp_allocation_failure_tests).

  • CI: ci/api_snapshot.py marks an algorithm’s header frozen exactly when its manifest says maturity stable (sssp, cycle_count, mosp) and tracked otherwise (the tutorial algorithms); the baseline’s header comment says so. New tests: the label follows the manifest, a changed mosp signature fails the C++ check, and ci/tests/test_api_check.py shows that griffe (the Python check of ci/api_check.sh) reports changes of dyng.mosp signatures, defaults and names as breaking.

R020: the mosp benchmark suite (0.2, branch release-0.2.0)#

  • Added: the benchmark-suite record benchmarks/paper/ipdps25_dynamosp_mosp.yaml: the MOSP update of DynaMOSP (IPDPS 2025) on roadNet-PA, roadNet-CA, rgg_n_2_20_s0 and road_usa (K = 3, the 50K safe, 50K unsafe and 10K local batches of seed 777, the sssp suite’s inputs and digests), “(a) compute” and “(b) end to end” against the unpatched bin/mosp of MOSP-OpenMP@c352151 and MOSP-CUDA@e220ee2 (CUDA at the boost clock lock, the default-clock reading recorded, not gated), the device memory against MOSP-CUDA’s; the gates M7 took.

  • Parity tools: parity/bench_suite.py runs a mosp suite through parity/perf_ab.py mosp and perf_ab.py memory --mosp, and refuses a record that is not of mosp or not of the suite’s K, batches, preferences, CUDA engine and output scope, or whose invalidated counts differ between the two sides; --batches narrows an sssp or mosp execution (a partial one), and --keep-contaminated makes a diagnostic one for a busy machine (rounds with foreign load kept and flagged, never a gate reading: a record that kept them is refused otherwise).

  • Parity tools: parity/certify.py write requires the suites of each release series (REQUIRED_SUITES: the sssp and cycle_count suites from 0.1, the mosp suite from 0.2: a 0.2 certificate without the mosp gates fails), and a gated reading of every gated metric of each suite on every backend it is gated on.

R020: the release certificate (0.2, branch release-0.2.0)#

  • Added: the release certificate of 0.2.0rc1, benchmarks/results/0.2.0rc1/ (parity.json and its README.md): the golden replays of sssp, cycle_count and mosp (the paper-scale mosp_scale set included) on every backend, the three performance suites against the unpatched originals, the sanitizer presets and compute-sanitizer, the mutation checks, the distributions as release.yml builds them for v0.2.0rc1, and ci/check.sh --parity and ci/gpu_local.sh on the release tree; the summary is in docs/developer/retrospectives/R020.md.

  • Parity tools: the generated-metadata exception of parity/certify.py (METADATA_PATHS) covers the manifest of every algorithm (mosp and the tutorial algorithms too, not only sssp and cycle_count); no build reads a manifest.

R020: review fixes (0.2, branch release-0.2.0)#

  • Changed (documentation of the frozen mosp API; no signature changed): options:: compute_path_costs takes effect at the next compute() or update() (set_options() changes it for the next update(); path_costs() follows the option of the last one), as path_costs() documented; it is no longer called a tunable. mosp::update() documents the backend-mismatch and copy-policy errors it shares with sssp::update(). The Python module and Stats docstrings state the determinism exception for trees imported without canonicalization and the meaning of converged, fallback_used and engine_used (ADR 0035, amendment A1).

  • Changed: the API check enforces the C++ freeze: ci/api_check.sh (api-check.yml) compares the frozen sections of the C++ API baseline with the base branch (ci/api_snapshot.py --against) and fails on a breaking change without the api-change label and a CHANGELOG entry, as it does for Python; the freeze tests of ci/tests/test_api_check.py run in CI (griffe installed, DYNG_REQUIRE_GRIFFE=1) (ADR 0035, amendments A2 and A3).

  • Changed: parity/certify.py requires every release check of the version’s series (REQUIRED_CHECKS: the sanitizer presets, the mutation CTests and golden mutations, the distributions, check-parity, api-check, gpu_local with its compute-sanitizer steps), reads the golden-mutation record against parity/mutate.py list, recomputes every gate row from the records and the suite’s tolerance instead of copying its flags, names each measured commit once as a full SHA, and its packaging and tests scopes cover the CUDA plugins’ build inputs, every file the sdist ships and the fuzzers’ regressions.

  • Fixed: find_package(dyng 0.2 REQUIRED) in README.md and the install guide (0.1 refuses an installed 0.2, SameMinorVersion before 1.0); ci/cmake_consumer.sh (ci/check.sh, cpu.yml) builds a consumer with the documented block against an installed build.

  • Changed: the release candidate’s plugin install takes dyng and the plugin from TestPyPI alone (--no-deps, NumPy from PyPI first), because the names dyng-cu12 / dyng-cu13 are not on PyPI before 0.2.0.

  • Fixed: dyng.show_config() no longer suggests pip install "dyng[cu13]" when a plugin is installed but unusable, and the selection reason says whether a plugin of the driver’s CUDA major is installed; the dyng command prints a BackendWarning as dyng: warning: ... instead of naming the console-script wrapper’s line.

  • Changed: the PyPI description (python/README.md) names mosp and runs it; the wheel’s test subset runs test_mosp.py; the getting-started next steps name mosp and the tutorial algorithms. The benchmark suites and benchmarks/README.md say that rgg’s unsafe50k batch is byte-identical to its safe50k batch (no deletion disconnects a vertex there).

  • Changed: docs/developer/release.md for 0.2 (every packaging- and repo-scope check is re-run on a later tag day, api-check included; the record of the hosted sanitizer jobs; wheels.yml green before the merge; mosp in the smoke test; the final-release checklist in version-neutral terms); GOVERNANCE.md: the author’s decision on layout control (2026-10-08: the one-layout protocol stays for the gates, ADR 0024 for dynG-against-dynG bars, the alignment flags are a performance option for 0.3) closes that open decision, and the PyPI names of the plugins are a new open decision.

  • Changed: io::read_csr_triplet() parses a plain decimal token while it scans it and writes each weight straight into its objective’s column. The release candidate’s first certificate showed dynG’s end-to-end readings of sssp and mosp 5-12 % slower than 0.1.0’s, all of it in reading the graph (the reader’s source was unchanged, so code placement: the hot loop of the text reader moved). Reading rgg_n_2_20_s0 now takes about 507 ms (0.1.0: 578 ms; the first certificate’s build: 692 ms); values and errors are exactly those of the general path, which every other token still takes, and the fuzz guards are unchanged.

  • The release certificate was measured again on the reviewed code (R020 retrospective, step 5).

Added (M6b)#

  • M6b: the tutorial algorithms (teaching material, maturity tutorial; ADR 0033), created with scripts/new_algorithm.py and completed on the sequential, OpenMP and CUDA backends (Tier A), each with hand cases, an independent oracle and the conformance kit C0-C12 on every backend: dynamic_bfs (fixed point: BFS levels from a source; the subtrees under deleted BFS-tree edges are invalidated and re-seeded, a frontier propagates the improvements) and triangle_delta (aggregate delta: the triangle count of an undirected graph; count(-) on the old graph, count(+) on the new one, ownership::min_member). Python: dyng.dynamic_bfs, dyng.triangle_delta (not in dyng.update(), no CLI command).

  • M6b: the tutorial “Your first dynamic algorithm” (docs/tutorials): from a fresh clone to a green conformance kit with scripts/new_algorithm.py and the fixed-point template. Its reference solution is examples/tutorial_algorithms/my_bfs/, which ci/scaffold_check.sh builds and tests.

  • M6b: maturity_level::tutorial (appended; "tutorial" in the manifests, the registry and the generated tables).

  • M6b: the framework operators’ executors (cpp/src/operators/): sequential_exec, openmp_exec and cuda_exec run a DYNG_HD functor per element on their backend, with the atomics of such functors, so one source serves the three backends (the two tutorial algorithms use them; PLAN 4.5.3’s rule of two).

  • M6b: the conformance kit generates undirected graphs for an algorithm that requires them (graph_properties::directed = false); its edge and batch counters count each stored direction.

  • M6b: reader fuzzers (cpp/fuzz, ADR 0034): libFuzzer targets for every file reader (Matrix Market, edge lists, the MOSP CSR triplet, MOSP batches, .dgt batches, distance and parent files) with ASan and UBSan, checking the documented exceptions, the consistency of accepted input and write/read round trips; the CMake option DYNG_BUILD_FUZZERS and the preset fuzz (Clang), ci/fuzz.sh, a seed corpus, and .github/workflows/fuzz.yml (pull requests that touch a reader: 60 s per target; weekly: 10 minutes). Every test build replays the seed corpus and the reproducers of fixed findings (ctest -L fuzz).

  • M6b: parity/mutate.py covers the cycle_count and mosp golden suites (CycleEnumeration-GPU’s double-counted 5-cycles and weakened ownership rule, host and device; a combined-graph edge weight from one tree only and path costs from one objective’s weights, on each backend), next to sssp’s; --suites selects them.

  • M6b: the Hypothesis profile full (10,000 examples per property, not derandomized; DYNG_HYPOTHESIS_EXAMPLES) and .github/workflows/property.yml (weekly, on demand); property tests of dynamic_bfs and triangle_delta over chains of batches.

  • M6b: the documentation is published on GitHub Pages, https://dyng-dev.github.io/dyng/: docs.yml deploys the site of every push to main (actions/configure-pages, upload-pages-artifact, deploy-pages; environment github-pages); README, CITATION.cff (url) and the Sphinx canonical URL name it. docs/developer/robustness.md describes the fuzzers, the mutation checks and the long property runs.

  • M6b: sanitizer jobs on every pull request (.github/workflows/sanitizers.yml, not a required check yet): the CPU tests under ASan + UBSan (asan, GCC 13), under TSan with OpenMP off (tsan, GCC 13) and under TSan with the OpenMP backends (the new preset tsan-openmp: Clang and libomp, whose OMPT tool Archer tells TSan about OpenMP’s synchronization). The script ci/sanitizers.sh runs the same presets locally.

  • M6b: the author’s re-grouping of the releases after 0.1.0 (2026-10-02) is recorded in GOVERNANCE.md, docs/roadmap.md and docs/developer/plan.md: 0.2.0 = mosp + the hardening planned as 0.1.x (CUDA plugin wheels, tutorials, GitHub Pages, fuzzers, mutation checks, sanitizers); 0.3.0 = the hypergraph and triad_count; 0.4.0 = label_propagation and hyper_sssp. The planned versions in the documentation, the docstrings and the messages of features that are not there yet follow it.

Changed (M6b)#

  • M6b: configuring DYNG_SANITIZE=thread with DYNG_ENABLE_OPENMP=ON and a compiler other than Clang is an error (GCC’s libgomp is not instrumented, so every parallel region would be reported as a race); use the preset tsan (OpenMP off) or tsan-openmp (Clang with Archer).

  • M6b review: configuring with a DYNG_ALGORITHMS name that no algorithm has is an error (a stale name such as the tutorial’s my_bfs after new_algorithm.py --remove used to skip every other algorithm quietly); scripts/new_algorithm.py takes the default of --since from VERSION; scripts/regen.py --check rejects the scaffold line in a manifest whose maturity is not experimental.

  • M6b review: the conformance kit also runs every check with deletions_first = false (a third property preset) and the batch mix cancel (edges inserted and deleted, or deleted and re-inserted, in one batch) in C2, C3, C4, C9 and C10.

  • M6b review: the reader fuzzers treat any exception in the write -> read round trip as a finding (a rejected copy used to count as a rejected input); fuzz.selftest.<target> plants a writer bug and checks that the replay reports it; the corpus replay of the libFuzzer build runs with a 256 MB allocation limit and the third finding’s reproducer; fuzz.yml sets vm.mmap_rnd_bits=28, accepts at most 1000 s per target on demand and uploads the reproducers of a cancelled run.

  • M6b review: the documentation site (built from main) shows a banner naming the development version and the latest release; the README and the landing page name 0.1.0 as the latest release; the algorithm pages name releases instead of milestones; M6b’s ADRs are 0033 and 0034 (M6a has 0030-0032); ADR 0029 is accepted (the author, option A).

Fixed (M6b)#

  • M6b, found by the reader fuzzers (and the review their memory use prompted): io::read_matrix_market() reserved memory for the number of entries the size line announced (up to 3 GB for a 74-byte file), and io::read_csr_triplet() for the edge count of RowPtr.txt (4 GB for a 13-byte RowPtr.txt) and for edges x weights of Values.txt before counting its lines. The reservations are now bounded by what the file can hold; the errors are unchanged (cpp/tests/io/fuzz_regression_test.cpp).

  • M6b, found by python/tests/test_reader_robustness.py: the command line’s text batches (--batch) raised OverflowError for an integer beyond 64 bits and UnicodeDecodeError for a file that is not UTF-8; both are now dyng.FileFormatError with the path and line.

  • M6b: the cycle_count kernel tests did not build with Clang’s ASan or TSan (their counting operator new collided with the sanitizer runtime’s); they now detect Clang’s sanitizers too.

  • M6b review: dynamic_bfs (every backend) and the tutorial’s my_bfs returned levels that were too low when batch_semantics::deletions_first = false and a batch inserted an edge and deleted it again: the seed offered a level along the requested insertion, which is not in the graph. It now offers only along an edge of G_{t+1}. applied_batch::delta is documented as what it is, the requested changes, not the net change.

  • M6b review: dynamic_bfs and triangle_delta kept the scaffold line in their manifests, so new_algorithm.py <name> --remove deleted them without --force.

  • M6b review: the tutorial “Your first dynamic algorithm”: step 4.2 now replaces the scaffold’s reads_prepared_graph() (adding a second one did not compile), the clean-up resets DYNG_ALGORITHMS, the prerequisites follow the install page (no compiler in the conda environment), and the reference solution’s comments describe the incremental algorithm.

M7: the sssp operators engine (0.2, branch m7-mosp)#

  • Added: the CUDA operators engine of sssp (decision O24, ADR 0026; cpp/src/algorithms/sssp/operators.{cuh,cu}): MOSP_ESCHER@4b86159’s multi-kernel host loop with MOSP-CUDA@e220ee2’s semantics, one framework hook per phase (Tier A), byte-identical to the fused engine on every input (the same trees, invalidated and affected; conformance check C4). It needs no cooperative launch and synchronizes 3 + iterations + epochs times per update.

  • Changed (behaviour, no signature change): on CUDA, sssp::options::cuda_engine = engine::automatic runs the operators engine on a device without cooperative launch (it threw not_supported_error), and engine::operators runs the operators engine (it threw everywhere); engine::fused still throws not_supported_error without cooperative launch, and its message now names engine::operators. stats::engine_used reports operators for it. ADR 0017 item 2 is superseded by ADR 0026.

  • Changed: the device building blocks the two CUDA engines share (packed words, stamp claims, the warp-aggregated append, the warp reductions) moved unchanged from fused.cuh to kernels.cuh; the fused kernel’s SASS is identical for all three instantiations.

  • Changed: the conformance kit’s C4 compares the two engines after compute() and after three consecutive batches for every preset, the small and medium sizes and every batch mix (it compared one batch); it runs for sssp on CUDA.

  • Tests: the CUDA sssp suites run both engines: the MOSP fixtures, the packing boundary (n = 2^17 - 1), the distance-only fallback (320 x 320 grid, weights 2 * 10^9), the input checks (an out-of-range distance, a parent cycle), the steady-state allocations, the budget with strict budgets, and the randomized chains, where the CUDA executable compares the operators engine with the fused engine and the host backends on every chain; a larger engine-equality test (30K-40K vertices, many near-far rounds).

  • Parity tools: dyng-compat-mosp --cuda-engine automatic|fused|operators (also in init; the per-objective report line names the engine), parity/compare.py --configs cuda-fused[:d],cuda-operators[:d], and parity/perf_ab.py engines (the operators engine against the fused one, A/B/A/B at locked clocks; reported, not gated).

M7: mosp (0.2, branch m7-mosp)#

  • Added: dyng::mosp (<dyng/mosp.hpp>, ADR 0027), dynamic multi-objective shortest paths (DynaMOSP; MOSP-CUDA@e220ee2 mospUpdate.cu / combinedGraphGpu.cu, MOSP-OpenMP@c352151 mospUpdate.cpp / combinedGraphCpu.cpp) on the sequential, OpenMP and CUDA backends: compute(res, g, source, options), update(res, g, batch, result), options{preferences (lcm <= 2^20), delta, cuda_engine, compute_path_costs, validate_inputs, num_objectives}, result with the K sssp trees, the combined distances (units of 1/L), the MOSP tree, the path costs (host memory) and from_arrays() over K trees, stats with the K sssp stats, combined_edges, preference_scale and affected (vertices whose combined distance or MOSP parent changed). mosp is a composition: the batch is applied once, the K objectives are sssp problems updated one after the other on one workspace, then the combined graph (weights L (K + 1) - sum L / Pref_i; count, scan, fill) is solved with sssp’s engine through the static enactor, and the path costs are recomputed; dyng::update() composes it with other results. The conformance kit passes C1-C12 on every backend (K = 3, preferences {2, 1, 3}).

  • Added: io::write_path_costs() (MOSP’s mospCosts.txt), <dyng/testing/mosp_oracle.hpp> (testing::combined_graph_reference(), testing::mosp_path_costs_reference()), and <dyng/mosp.hpp> in the umbrella header.

  • Changed (behaviour, no signature change): sssp::update() accepts a batch without insertions whatever its num_weights (as graph::apply()); before, an empty or deletion-only batch built with the default one weight column was rejected on a graph with several weight columns.

  • Changed (tests): the conformance kit’s graphs can have several weight columns (test_traits::num_weights), C7 checks a batch with one column more than the graph, and C10 builds its graph with the larger column count of the pair.

  • Parity tools: dyng-compat-mosp --mosp [--pref p1,..,pK] [--no-path-costs], the whole mosp driver (combinedGraph/{distancesCsr,SSSPTreeCsr,mospCosts}.txt, the comb report line, RESULT compute_ms=); the default mode (SOSP only, which the sssp gates measure) is unchanged. parity/compare.py replays the corpus with --mosp and compares combined/ too; parity/fixtures/mosp/make_mosp_fixtures.sh writes the preference cases of cpp/tests/data/mosp_combined (the thesis example with Pref {4, 1, 4} and {4, 4, 1}, K = 2..4, -k below the graph’s columns) after MOSP-OpenMP and MOSP-CUDA agreed on them.

M7: parity and gates of mosp (0.2, branch m7-mosp)#

  • Changed (performance, same values): on the openmp and cuda backends mosp’s path costs run on the host threads of the resources handle (a level-synchronous traversal of the MOSP tree; the sequential port of mospPathCosts stays on the sequential backend and reports a missing tree edge for the other two). On cuda the download of the MOSP tree for the path costs is timed in mosp.path_costs, not mosp.finalize, and is one more synchronization of an update with compute_path_costs (ADR 0027, amendment).

  • Parity tools: parity/perf_ab.py mosp (the MOSP update against MOSP-OpenMP@c352151’s and MOSP-CUDA@e220ee2’s mosp, both writing every output file as the originals’ bench/run.sh; regions in the new parity/timed_regions/mosp.toml: “(a) compute” and “(b) end to end” gated, the per-objective updates, the combined step and the path costs reported; -k, --pref, --cuda-engine, --no-output), parity/perf_ab.py prepare --widen BASE:K (the K sweep’s input: mospPrep widen, its trees and its 50K safe batch), and the paper-scale goldens parity/export_goldens.py mosp_scale / parity/compare.py mosp_scale (parity/mosp_scale_goldens.py: the SHA-256 of every output file of MOSP-OpenMP’s mosp on 20 benchmark cases, cross-checked with MOSP-CUDA, in [sets.mosp_scale] of parity/goldens.toml). dyng-compat-mosp --mosp --timing writes the setup’s stages as setup rows.

  • Changed (device memory, same values): on cuda the combined solve of mosp overwrites the previous MOSP tree in place and counts affected in its unpack pass (the fused and the operators engine count the changed vertices of a static solve on request, as an update’s affected), so a cuda result no longer keeps a second pair of combined arrays (12 bytes per vertex): mosp’s peak device memory went from 1.068-1.075x to 1.015-1.019x of MOSP-CUDA’s on the road graphs (PLAN 8.6: <= 1.05x); one synchronization less per update (K + 3 with the path costs and the fused engine; ADR 0027, amendment).

  • Parity tools: parity/perf_ab.py memory --mosp (the device memory of the whole MOSP update); perf_ab.py waits for the perf lock in the kernel instead of polling it once a second; perf_ab.py mosp leaves the path-cost region out when the port computes none (-k below the graph’s columns, --no-output).

  • Records: parity/results/M7.md sections 4-10 (the paper-scale parity, the K sweep, the mosp gates on both backends, the combined step, the device memory, the sssp gate re-check).

M7: mosp in Python and on the command line (0.2, branch m7-mosp)#

  • Added: dyng.mosp (ADR 0028): compute(graph, source, *, options=None, resources=None, **kwargs), update(graph, batch, result, *, resources=None), Options (preferences, delta, cuda_engine, compute_path_costs, validate_inputs, num_objectives), Stats (with the K dyng.sssp.Stats in objectives, combined_edges, preference_scale) and Result (distances(k), parents(k), combined_distances, combined_parents, path_costs as a zero-copy (n, K) int64 array, preference_scale, from_arrays() over lists of K arrays, clone()), and MAX_OBJECTIVES / MAX_PREFERENCE_SCALE. dyng.update() accepts mosp results next to sssp and cycle_count results.

  • Added: dyng.io.write_path_costs() (MOSP’s mospCosts.txt), dyng.testing.combined_graph() and dyng.testing.mosp_path_costs() (the C++ references).

  • Added: the command line dyng mosp compute|update, MOSP’s files in and out byte for byte as the mosp driver writes them (obj<k>/, combinedGraph/{distancesCsr,SSSPTreeCsr, mospCosts}.txt); --preferences 4,1,4 is the driver’s --pref, --num-objectives its -k. List-valued option fields become comma-separated flags.

  • Added: examples/cpp/mosp_update.cpp and examples/python/mosp_update.py (the thesis example’s combined files, compared with the originals’ in CTest and pytest).

  • Changed: dyng.Array.ndim and .shape report the array’s dimensions (2 for the path costs; every other result array is 1-D as before), and len() is the length of the first dimension.

  • Changed (build): DYNG_BUILD_PYTHON=ON needs mosp in the build (DYNG_ALGORITHMS=all).

  • Docs: the mosp page’s Python and command-line sections and its performance table, the sssp page’s engine table (operators against fused) and engine choice from Python and the command line, the command-line and Python API references, ADR 0028.

  • CI: ci/gpu_local.sh replays the golden corpus with both CUDA engines (--configs cuda,cuda-operators, the whole MOSP update per case) and runs synccheck on the CUDA mosp suite.

M7: review fixes (0.2, branch m7-mosp)#

  • Fixed: on CUDA, a mosp::update() that added vertices went one host synchronization over its I9 budget (the release of the old pinned copy of the MOSP tree), which a Debug build logged and strict budgets turned into internal_error and a poisoned result; the reserving run now counts it. The budget of mosp’s combined solve on the operators engine is a static solve’s, 2 + iterations + epochs (it was the update’s 3 + …, one too many).

  • Fixed (tests): conformance check C8 runs with engine::automatic and, where a backend has a second engine, engine::operators, against the budget of the engine that ran (test_traits::host_sync_budget(backend, stats), optional); it failed on a device without cooperative launch, where engine::automatic runs the operators engine. The mosp test executables run every test with strict budgets.

  • Docs: the packing window (ADR 0029, proposed, for the author): for non-canonical imported trees inside (n - 1) * W <= max_distance < n * W the host backends (MOSP-OpenMP’s packing rule) and cuda (MOSP-CUDA’s) return different tie parents, each byte-identical to its original; pinned by SsspPackingWindow.NonCanonicalTreesFollowEachOriginalsPackingRule. The @sync contracts of sssp::compute() / update() give the operators engine’s counts; mosp.hpp’s determinism and error texts corrected; the gate record lists PLAN 8.6’s noisy flags; the .dgb batches move to M8.

  • Merged main at 0.1.0rc1 (pull request #5); the release certificate (parity/certify.py) knows mosp’s paper-scale goldens and fixtures.

M6a: the CUDA plugin wheels (0.2, branch m6a-cuda-wheels)#

  • Added: the CUDA plugin distributions dyng-cu12 and dyng-cu13 (ADR 0030; PLAN 5.4, 7.7, 7.8), built from the core sdist: ci/plugin_pyproject.py renders a plugin’s pyproject.toml from the root one (name, dyng==<same version>, the dyng.backends entry point, DYNG_ENABLE_CUDA=ON, the static CUDA runtime, the release architectures of cmake/cuda_architectures.cmake: SASS for sm_75-sm_120 and PTX for sm_120), and ci/plugin_wheels.sh builds, repairs (manylinux_2_28, libgomp bundled, libcuda never), checks and install-tests them locally. The import packages dyng_cu12 / dyng_cu13 come from one source, python/plugin/dyng_plugin (a ctypes probe of the driver: status(), available(); the extension module native imported on first access). About 5.5 MB per wheel.

  • Added: the extras cu12 / cu13 of dyng (pip install "dyng[cu13]"), pinned to the same version through scikit-build-core’s dynamic metadata, and cupy-cu12 / cupy-cu13.

  • Added: the CMake option DYNG_PYTHON_PLUGIN (empty, cu12, cu13): the Python module of a plugin (dyng_cu<N>._core, nanobind domain dyng_cu<N>); the module’s build_config reports plugin, cuda_toolkit, cuda_architectures and cuda_runtime, and dyng.show_config() prints them for a CUDA module.

  • Changed: CMAKE_CUDA_RUNTIME_LIBRARY=Static now links the static CUDA runtime everywhere (libdyng, its modules and the tests linked the shared CUDA::cudart explicitly) and needs BUILD_SHARED_LIBS=OFF (a shared libdyng would put two CUDA runtimes into one process); Shared stays the default.

  • Changed: ci/wheel_check.py checks plugin wheels (contents, entry point, dependency, licence files, no libcuda / libcudart needed or bundled, read from the module’s ELF dynamic section) and the CPU wheel’s pinned extras; the sdist must contain the plugin sources.

  • Changed: the messages of Resources.cuda() and show_config() in the CPU module name pip install "dyng[cu13]" instead of “the 0.1.x releases”.

  • Licences: THIRD_PARTY_LICENSES_CUDA.txt (the CUDA runtime, CUB, Thrust, libcu++, NVTX) and the CUDA toolkit’s EULA (NVIDIA_CUDA_EULA.txt, copied from the toolkit at build time) are licence files of the plugin wheels. Their licence expression stays the CPU wheel’s until the author decides (GOVERNANCE.md, open decisions).

  • Added: the choice of the CUDA plugin in dyng (ADR 0031; PLAN 5.4): of the installed plugins of the same version that can run here, the one of the driver’s CUDA major wins (else the newest older major); a plugin of another version than dyng is never loaded; a plugin whose module fails to load passes to the next. With plugins installed but none usable, dynG runs on dyng._core and issues one dyng.BackendWarning (new; a UserWarning) naming each plugin’s reason and the remedy; without plugins nothing changes. DYNG_CPU_ONLY=1 and dyng.use_cpu_only() choose the CPU module without the warning. dyng.show_config() prints why the module was chosen and every plugin’s state; dyng.config() has selection and plugins; Resources.cuda() in the CPU module says why no plugin is used.

  • Added: dyng.Array in device memory (ADR 0031; PLAN 5.4 rule 4): __cuda_array_interface__ (version 3, read-only, with the stream of the call that last wrote the result), DLPack >= 1.0 exports ordered on the consumer’s stream with a CUDA event (__dlpack__(stream=...); to_torch() / to_cupy() use it), shape / dtype without reading elements, to_numpy() as a host copy, and to_numpy(copy=None) (new: the read-only view of host memory or a kept read-only host copy of device memory). Inputs in CUDA device memory (CuPy, PyTorch, JAX, a device dyng.Array) are accepted and copied to the host once. A Resources.cuda(stream=...) keeps its stream object alive, and so do the graphs, results and arrays made with it.

  • Added: the GPU tests of the Python package, python/tests/test_cuda.py (marker gpu): sssp, cycle_count and mosp on CUDA equal the sequential backend element by element, a subset of the goldens on CUDA (MOSP’s files byte for byte, CycleEnumeration-GPU’s CUDA histograms), device arrays, device inputs, PyTorch / CuPy round trips, the fallback; they run in ci/plugin_wheels.sh (and in a venv with PyTorch / CuPy via DYNG_PLUGIN_INTEROP_PYTHON) and in the new step plugin of ci/gpu_local.sh. test_backend_selection.py checks the choice with fake plugins on any machine.

  • Docs: the install guide’s section on the CUDA plugin wheels (which plugin for which driver, troubleshooting the fallback warning); the Python API page’s rules for the native module and device arrays.

  • Added: the CUDA plugin wheels in CI (ADR 0032; PLAN 7.7, 7.8, 8.8): wheels.yml builds dyng-cu12 and dyng-cu13 from the run’s sdist with cibuildwheel in the manylinux_2_28 image (ci/cibuildwheel-plugin.toml; before-all = ci/cibw_plugin.sh installs the CUDA toolkit, checks it and renders the plugin’s tree), checks them (twine check --strict, ci/wheel_check.py with the 90 MB budget), and install-tests each with the CPU wheel in fresh venvs on Python 3.12 and 3.13 without a GPU: ci/plugin_smoke.py --expect fallback (one dyng.BackendWarning, “no CUDA driver”, the plugin’s module importing without a driver) and the whole pytest suite. Artifacts wheel-cu12-... and wheel-cu13-...; the input plugins turns the plugin jobs off.

  • Added: ci/cuda_toolkits.toml, the CUDA toolkits of the CI builds pinned file by file (every RPM of NVIDIA’s RHEL 8 repository the build installs, with its SHA-256): CUDA 12.9 for cu12 and CUDA 13.4 for cu13, the latest of each major. ci/cuda_toolkit.py re-pins them from the repository’s metadata (lock), downloads and verifies them (download, verify; the runner caches the files), and unpacks them without root (extract), so the CI toolkits can be used locally (DYNG_CUDA13_ROOT=... ci/plugin_wheels.sh).

  • Changed: release.yml publishes the CUDA plugins from v0.2.0 (release candidates included): select names the distributions of the tag (ci/wheel_check.py --release-distributions), wheels.yml builds the plugins too, collect checks that the files are exactly those distributions (--release-set) and sorts them into one directory each (--split), and the publish jobs run once per distribution, each in its own environment: dyng through testpypi / pypi, dyng-cu12 through testpypi-cu12 / pypi-cu12, dyng-cu13 through testpypi-cu13 / pypi-cu13. TestPyPI first; PyPI only for final versions, after every TestPyPI upload, with the author’s approval of each pypi* environment (three for 0.2.0). v0.0.x and v0.1.x tags publish dyng alone, as before.

  • Added: ci/plugin_smoke.py (the smoke test of an installed plugin wheel: --expect cuda on a GPU machine, --expect fallback without a driver or device), used by wheels.yml and ci/plugin_wheels.sh, and ci/without_cuda_driver.sh (runs a command with the NVIDIA driver hidden in a user and mount namespace, no root), with which ci/plugin_wheels.sh also runs the hosted runners’ smoke test.

  • Added: parity/wheel_vs_parity.py, the informational “wheel vs parity build” row of PLAN 7.7: the same CUDA work (sssp’s update on roadNet-CA, cycle_count on DD) timed from Python through the plugin wheel and through the parity-cuda build, under the exclusive perf lock with locked clocks; recorded in parity/results/M6a-wheel-vs-parity.json, never gated.

  • Docs: docs/developer/wheels.md (the plugins in CI, the pinned toolkits and how to re-pin them, the CI toolkits locally, CI vs local builds, the per-distribution environments), docs/developer/release.md (three approvals for a final release with the plugins, the local rehearsal with the plugins), docs/developer/repository_settings.md (the protection rules of the four plugin environments, for the author), and the install guide (which plugin for which driver, the requirements, a GPU-less machine).

M6a: review fixes (0.2, branch m6a-cuda-wheels)#

  • Fixed: DYNG_CPU_ONLY is read as a boolean: 1, true, yes, on (any case) choose the CPU module; 0, false, no, off and empty leave the choice to dynG (before, every value but 0 and empty forced the CPU module, false included); any other value is ignored with a dyng.BackendWarning.

  • Fixed: choosing the CUDA plugin no longer initializes CUDA in the process (ADR 0031, amendments): the plugin reads the driver’s version with cuDriverGetVersion and the devices through NVML (or a short child process when NVML cannot tell which devices CUDA will see), so a process that used dynG (even dyng.__version__ or CPU work) can still fork workers that use CUDA. Before, every first use called cuInit, and a forked child’s CUDA calls failed with a misleading “no CUDA device is visible”. A child forked after its parent really used CUDA now gets an error that names fork and the remedy (spawn / forkserver).

  • Fixed: a plugin is used only when a visible GPU has compute capability 7.5 or newer (the plugins’ oldest architecture); on Volta, Pascal and older GPUs dynG falls back to the CPU module with a dyng.BackendWarning that names the GPU’s architecture, instead of choosing the plugin and failing every default call with cudaErrorNoKernelImageForDevice. That CUDA error now names the device’s compute capability.

  • Fixed: Resources.cuda(stream=0) is the legacy default stream, as cudaStream_t 0 is in CUDA and in C++ (stream_ref(0)), and so are torch.cuda.default_stream() and cupy.cuda.Stream.null; stream=None (the default) is the per-thread default stream. Before, 0 and the frameworks’ default streams were silently mapped to the per-thread default stream.

  • Fixed: a graph or result used with other resources (resources=Resources.cuda(stream=s) in the algorithms’ compute and update, dyng.update or Graph.apply) keeps the stream object of every such resources alive as long as itself and its Arrays (memory a call adds is released on the call’s stream); before, dropping the stream left __cuda_array_interface__ naming a destroyed stream, and to_numpy(), freeing the graph or dropping an Array failed with a CUDA error or crashed the process.

  • Fixed: dyng.config() / dyng.show_config() no longer initialize CUDA when a plugin is chosen (the CUDA entry comes from the plugin’s probe), so printing the configuration does not stop the process from forking workers that use CUDA.

  • Changed (release): release.yml uploads the CUDA plugins before dyng on each index, and dyng only when every plugin upload succeeded, so pip install "dyng[cu13]" never meets a dyng whose plugin is missing (pip would fall back to an older dyng without the extra with only a warning). ci/tests/test_release_select.py tests the select step for every kind of tag. The release checklist runs the GPU tests on the CI-built wheels of both plugins before their PyPI environments are approved.

  • Changed (CI): the plugin wheels are checked for exactly the SASS and PTX of their toolkit’s release list (ci/wheel_check.py --code-objects with cuobjdump, in the container; the smoke test checks the architectures the module reports), their module is linked with -Wl,--exclude-libs,ALL as in the local build and may export only its init function and std / nanobind / type_info symbols; the pinned CUDA RPMs are checked against NVIDIA’s OpenPGP signature (key fingerprint pinned; gpg on the runner, rpm -K and localpkg_gpgcheck in the container); wheels.yml builds the plugins for pull requests that change the library or the licence files too.

M6a: acceptance fixes (0.2, branch m6a-cuda-wheels)#

  • Fixed: ci/plugin_wheels.sh checks every plugin’s CUDA toolkit for bin/nvcc and bin/cuobjdump before anything is built (or the output directory cleared) and names what is missing; before, a toolkit without cuobjdump failed the code-object check only after the build.

  • Docs: docs/developer/wheels.md: the conda-forge CUDA 12.9 recipe for the local cu12 build installs cuda-cuobjdump (it could not pass the code-object check without it). docs/developer/repository_settings.md and release.md: a final release with the plugins is approved in two “Review deployments” dialogs (pypi-cu12 and pypi-cu13, then pypi), as release.yml orders them.

M6a: the plugins’ licence expression (0.2, branch m6a-cuda-wheels)#

  • Changed: the License-Expression of dyng-cu12 / dyng-cu13 names what the plugins add to the CPU wheel’s contents: ... AND Apache-2.0 WITH LLVM-exception AND LicenseRef-NVIDIA-End-User-License-Agreement (libcu++ and NVTX; the statically linked CUDA runtime under NVIDIA’s CUDA Toolkit EULA). The author’s decision of 2026-10-06 (GOVERNANCE.md; ADR 0030 item 9). The CPU wheel dyng and the sdist keep their expression. ci/wheel_check.py refuses a plugin wheel with any other expression.

  • Docs: docs/developer/repository_settings.md item 11b is done: the four plugin environments have the protection rules of testpypi / pypi.

0.1.0 - 2026-10-02#

Summary#

The first release of dynG: two dynamic algorithms, each ported from a pinned research code and proved equal to it, with one C++ API, a Python package and a command line. Install it with pip install dyng (Python >= 3.12, Linux x86-64). 0.1.0 is the release candidate 0.1.0rc1 (tag v0.1.0rc1, published on TestPyPI only and smoke-tested from there) with the final-release changes below and no change to the library. The entries below the summary are the detailed record of milestones M1a to M5 and of the release preparation.

  • Algorithms. sssp (dynamic single-source shortest paths: DynaMOSP’s SOSP update, byte-identical to MOSP-OpenMP@c352151 and MOSP-CUDA@e220ee2 on their 495-case golden corpus) and cycle_count (exact k-bounded directed simple-cycle histograms: the TruCy / DynTruCy update, bit-identical to CycleEnumeration-GPU@0a976ad on its CPU and CUDA corpora), each on the sequential, OpenMP and CUDA backends, within the performance gates against the originals. Both are stable (SemVer applies from 0.1.0).

  • One update model (the template of thesis Chapter 3) in an internal framework, with the conformance kit, the scaffold scripts/new_algorithm.py, and dyng::update(res, g, batch, r1, r2) for several results on one graph.

  • The C++ API of core/*, graph/*, update.hpp, sssp.hpp and cycle_count.hpp, reviewed and frozen for 0.1 (ADR 0023); CMake package dyng::dyng.

  • The Python package dyng (Python >= 3.12; one abi3 manylinux_2_28 x86_64 CPU wheel with the sequential and OpenMP backends; ADR 0011) and the dyng command line (ADR 0025), which reads and writes the originals’ file formats.

  • Documentation: getting started in Python and C++, the update model, the algorithm pages with “Differences from the paper” and “Paper vs fixed code”, the C++, Python and CLI references, the history of the ported codes, and the developer guides.

  • The release certificate benchmarks/results/0.1.0/ (PLAN 8.3 and 8.6): golden parity on every backend (sssp 4950 of 4950 replays byte-equal, cycle_count 144 of 144), the release performance gate of both algorithms against the unpatched originals (sssp 132 of 132 gated regions, ratios 0.63-1.05; cycle_count 78 of 78, ratios 0.23-1.01; CUDA at locked clocks, ADRs 0018 and 0021), the sanitizers and the mutation checks; the benchmark-suite records of the papers in benchmarks/paper/.

Known limitations of 0.1.0: no CUDA backend in the Python wheel (the plugin wheels dyng-cu12 / dyng-cu13 follow in 0.1.x); on CUDA, sssp needs cooperative launch (the operators engine follows in 0.2); cycle_count counts simple cycles only (no time-window or temporal modes, no approximate TruCy mode); Linux x86-64 only. dyng 0.0.1 on PyPI was only the name reservation.

Final release (R011)#

  • Changed: VERSION 0.1.0, CITATION.cff version: 0.1.0; this section, the release candidate’s [0.1.0rc1], renamed [0.1.0] with its link references.

  • Docs: the status texts of the release candidate brought to the release (README, the documentation’s start page and install page, SECURITY.md with its supported versions, CONTRIBUTING.md, SUPPORT.md, the roadmap and the developer plan): pip install dyng from PyPI.

  • Added: benchmarks/results/0.1.0/, the certificate of the release, carried over from 0.1.0rc1 (docs/developer/release.md, step 9): the library did not change since the measured commits, so the gates, the golden replays and the golden mutations stand; the distributions, ci/check.sh --parity, ci/gpu_local.sh and the C++ test suites (the sanitizer presets, the mutation CTests; README.md changed) were run again on the final tree. The smoke test of 0.1.0rc1 from TestPyPI is recorded there.

Tag day (R012)#

  • Changed: the release date 2026-10-02, the day of the tag v0.1.0 (UTC), in this heading and in CITATION.cff’s date-released (docs/developer/release.md, step 10).

  • Docs: the author’s decisions recorded in GOVERNANCE.md: the NOTICE wording confirmed as drafted (O3, 2026-10-01; NOTICE unchanged); Zenodo not connected for 0.1.0, so 0.1.0 has no DOI (2026-10-01); the licence expression of the distributions: no objection by the tag day, the approval of the pypi deployment is the final confirmation. The release guide, the repository settings (Zenodo), the citing page, the roadmap, the developer plan and the R011 retrospective say so.

  • Changed: the certificate’s checks of the packaging and repo scopes (the distributions, ci/check.sh --parity, ci/gpu_local.sh) run again on the tag-day tree and recorded; the certificate written again (benchmarks/results/0.1.0/).

Release preparation (R010)#

  • Added: the benchmark-suite records of PLAN 8.5, benchmarks/paper/ieee_tc_dyntrucy.yaml (cycle_count, the static and update cases of DynTruCy on the TU datasets DD, github_stargazers, twitch_egos and COLLAB; the temporal datasets wait for the time-window mode of 0.4) and benchmarks/paper/ipdps25_dynamosp_sosp.yaml (sssp, the per-objective regions of DynaMOSP on roadNet-PA, roadNet-CA, rgg and road_usa_g, three batches each), with datasets (SHA-256 or recipe), batches, backends, runs, metrics, baselines and tolerances; parity/bench_suite.py (validate, run, summary) runs a suite through the A/B harnesses and writes its results JSON, listing the runs flagged for foreign CPU load (docs/developer/benchmarks.md).

  • Added: parity/certify.py writes the parity certificate benchmarks/results/<version>/parity.json and the tables of its README.md (commit, hardware, driver, CUDA, the originals’ SHAs, every golden set with its result, the gate table, the checks), records the release checks (certify.py check) and compares the builds of a measured commit and of the release when they differ only in the registry’s metadata (certify.py equivalence); parity/mutate.py checks that mutations of sssp fail its goldens on every backend.

  • Added: benchmarks/results/0.1.0rc1/, the certificate of the release candidate.

  • Changed: sssp and cycle_count are stable (their manifests, the registry and the tables generated by scripts/regen.py).

  • Changed: the distributions’ License-Expression names the licences of what the wheel bundles: Apache-2.0 AND BSD-3-Clause AND MIT AND GPL-3.0-or-later WITH GCC-exception-3.1 (dynG’s Apache-2.0, nanobind, robin-map and the GCC runtime; the author’s decision of 2026-09-30). ci/wheel_check.py checks it in pyproject.toml and in every distribution’s metadata.

  • Changed: VERSION 0.1.0rc1; CITATION.cff version 0.1.0rc1, released 2026-10-01; the README and the documentation’s status line say “alpha: 0.1 release candidate”.

  • Governance: the author lets the AI assistant push the release tags and create the GitHub Release on the author’s behalf, and keeps the approval of the pypi deployment (2026-09-30; docs/developer/release.md says who does what); the main ruleset requires 24 checks (the Python, sdist, scaffold and API checks of M5 added), and the Actions allow-list includes pypa/cibuildwheel (docs/developer/repository_settings.md).

  • Fixed: the dataset parity tests run in builds without OpenMP.

  • Fixed (R010 review): the certificate requires each suite summary to cover the whole committed suite (SHA-256 of the suite file, every reading of its plan once, complete) with verified inputs; it names the driver of the measurements (the harness records it now), every committed fixture set of cpp/tests/data with its digest, original and test results (parity/fixtures/fixtures.toml), and each check’s scope (new: packaging, repo) and evidence (SHA-256 and a committed excerpt). bench_suite.py keeps a narrowed run out of the release results (<suite>.partial.json) and never replaces records without --force; the sssp harness hashes its inputs when a run starts. ci/wheel_check.py --release-metadata checks VERSION, this file and CITATION.cff against each other (in release.yml’s select job and ci/tests); scripts/new_algorithm.py writes its CHANGELOG entry again when Unreleased is empty; the PyPI description names the bundled licences.

Added#

  • The batch text format .dgt of PLAN Section 5.7 (M5 review): dyng::io::read_batches<V, W>() / write_batches<V, W>() with batch_file_options in <dyng/io/batch_io.hpp> (a tracked header; the API baseline gains these three declarations), dyng.io.read_batches() / write_batches(), and .dgt files for dyng cycle_count update --batch. The format: docs/api/file_formats.md. Vertex and hypergraph operations are reserved (0.3, 0.2).

  • Documentation for 0.1 (M5, PLAN Sections 9.2-9.6): the Python API reference generated by sphinx-autoapi from python/dyng and the committed stubs (no compiled module needed; docs/api/python/, with the package-wide rules of dtype dispatch, arrays, stale results, exceptions and threads), getting started in Python (pip install dyng, the ten-line quickstarts, “A first update in Python”), Python and CLI examples on the sssp and cycle_count pages, the “Port research code” how-to (PLAN 6.3), the history pages of MOSP-OpenMP, MOSP-CUDA and CycleEnumeration-GPU, and the release process (docs/developer/release.md, PLAN 10.3). environment.yml pins sphinx-autoapi 3.8.1.

  • The README quickstarts (ten lines of Python and of C++, PLAN 9.6) are executed by the tests: python/tests/test_doc_snippets.py runs every marked Python snippet of the READMEs and the pages and compares its output, the CTest example.readme_quickstart builds and runs the C++ one, and ci/doc_snippets.py --check (in ci/docs.sh) keeps them present and short.

  • examples/python (first_update.py, sssp_update.py, cycle_count_update.py), tested against the originals’ outputs by python/tests/test_examples.py.

  • .github/workflows/api-check.yml and ci/api_check.sh (PLAN 5.9): griffe compares the Python API with the base branch and fails on a breaking change without the api-change label and a CHANGELOG entry; the api step of ci/check.sh. environment.yml pins griffe 2.3.0.

  • Governance: DCO is a required check of the main ruleset (2026-09-30); the maintainer’s commits are SSH-signed.

  • The Python package dyng (M5, PLAN Sections 5.4 and 7.7; ADR 0011): a root pyproject.toml (scikit-build-core, nanobind 3.1.0, one abi3 wheel for CPython >= 3.12, the version from VERSION), the CMake option DYNG_BUILD_PYTHON building the extension module dyng._core (stable ABI, nanobind and libdyng linked statically, the sequential and OpenMP backends), and the typed layer in python/dyng: Resources (sequential, openmp; cuda raises NotSupportedError in the CPU wheel and names the CUDA plugins of 0.1.x) and the default resources, Graph (from_edges / from_csr with dtype dispatch that never narrows ids silently, property presets by name), EdgeBatch, dyng.sssp and dyng.cycle_count (compute / update / Options / Result / Stats), dyng.update(graph, batch, *results), the exception hierarchy (InvalidArgumentError is a ValueError, FileFormatError an OSError with .path / .line, …), dyng.io (edge lists, Matrix Market, MOSP’s CSR, batches, distances, trees, histogram CSV), dyng.generators.legacy, dyng.testing (native oracles, pure-Python oracles, Hypothesis strategies), profile(), citation(), show_config(), algorithms(), __version__. Result arrays are zero-copy dyng.Array views (__dlpack__, __array_interface__, to_numpy()) that keep their result alive and raise StaleResultError once it is updated. The GIL is released around native work. The stubs python/dyng/_core.pyi are committed and checked with python scripts/regen.py --stubs --check; scripts/regen.py also generates python/dyng/_algorithms.py. What 0.1 does not bind is listed in docs/developer/python_gaps.md.

  • The pytest suite python/tests (M5): API surface, dtype dispatch, DLPack / NumPy round trips, exception mapping, stale results, threads, a Hypothesis profile (random graphs and batches against pure-Python Dijkstra and brute-force cycle oracles), and Python-level parity with the committed goldens of MOSP-OpenMP (byte-identical files) and CycleEnumeration-GPU (identical histograms). environment.yml pins nanobind, scikit-build-core and Hypothesis.

  • The dyng command line (M5, PLAN Section 5.6; ADR 0025), a console script of the Python package (also python -m dyng): dyng sssp compute|update (MOSP’s distance and tree files, byte-identical to mospPrep init and mosp), dyng cycle_count compute|update (CycleEnumeration-GPU’s histogram CSV), dyng prep mtx2csr|widen|cache|changes|init|expected (the mospPrep subcommands with their arguments and outputs, the binary cache included), dyng convert (MOSP CSR, Matrix Market, edge lists) and dyng generate mosp_changes|cycle_enum_batch. Option flags are the option fields in kebab case (--max-length). Reference: docs/api/cli.md; tests against the originals’ fixtures in python/tests/test_cli.py.

  • The distributions (M5, PLAN Section 7.7; ADR 0025): [tool.cibuildwheel] and .github/workflows/wheels.yml (the sdist and the manylinux_2_28 x86_64 abi3 CPU wheel with libgomp bundled, a pytest subset in the built wheel under 3.12 and 3.13, install tests of the wheel alone, artifacts), .github/workflows/python.yml (editable install, stubs, pytest; the suite against an installed sdist on 3.12 and 3.13), ci/wheel_check.py (the 90 MB budget, tags, contents), and the local build ci/wheels.sh / ci/check.sh --wheels (docs/developer/wheels.md). release.yml builds the real distributions for tags v0.1.0 and later through wheels.yml (TestPyPI first, PyPI for final versions after the author’s approval); v0.0.1 still builds the name reservation. Nothing has been published.

  • Framework (M3, internal-stable): the update template as code in cpp/src/framework/: problem_base (CRTP hooks with no-op defaults, families fixed_point and aggregate_delta), update_enactor and static_enactor (the fixed hook order, one profiler stage per implemented hook, the convergence cap with on_limit, the device error check), old_view / new_view (invariant I1), context, the policies, the budgets of the algorithm phase (invariant I9, with allocation and host-synchronization counters in DYNG_DEBUG_BUDGETS builds), compile-time conformance checks, and the participant adapter for run_update composition. The guide is docs/developer/framework.md.

  • sssp runs through the framework (M3): detail::sssp_problem with the Tier A hooks on the sequential and OpenMP backends and the fused persistent kernel behind enact_fused (Tier B) on CUDA; migrated one backend per commit with the golden parity (495 / 495 on every backend) and the performance re-checked after each (parity/results/M3.md). No change to the public API, the profiler stages or the results. parity/perf_ab.py run --baseline-exe times dynG against an earlier dynG build.

  • cycle_count runs through the framework (M3): detail::cycle_count_problem, an aggregate-delta problem with the ownership rule ownership::min_member, runs the Tier A hooks on the sequential and OpenMP backends (count on the old view subtracts on G_t, count on the new view adds on G_{t+1}, finalize applies the signed delta) and the ported CUDA kernels behind enact_fused / compute_fused (Tier B), with the resident device graph and Step 0 once per update (ADR 0020) unchanged; migrated one backend per commit with the golden parity (72 / 72 on the CPU and the CUDA corpus) and the performance re-checked (parity/results/M3.md). The public multi-result dyng::update now composes two framework problems. Profiles: under set semantics cycle_count.normalize is called twice per update (the framework’s Step 0 and the hook that takes its lists), and on CUDA the ported code’s stages sit inside a new cycle_count.enact_fused stage; every other stage is unchanged. The CUDA engines of both algorithms and the graph’s device paths count their host synchronizations for the budgets (I9).

  • The conformance kit (M3, PLAN Section 8.2; cpp/tests/conformance/, docs/developer/conformance.md): checks C0-C12 for every registered algorithm on every backend and graph type, from a test_traits specialisation and one line DYNG_CONFORMANCE_SUITE(<name>) (dyng_<name>_conformance_tests, labels cpu;conformance;<name>, and dyng_<name>_conformance_cuda_tests in CUDA builds); sssp and cycle_count pass it on sequential, OpenMP and CUDA. C8 runs in DYNG_DEBUG_BUDGETS builds (the dev presets) and counts host heap allocations too (a counting operator new in the conformance executables).

  • The algorithm registry: dyng::algorithms() / dyng::find_algorithm() in <dyng/core/registry.hpp> (name, title, family, container, maturity, determinism, oracle kind, backends, cite keys of every algorithm built into the library), generated from the manifests; dyng::citation() knows every registered algorithm.

  • scripts/regen.py (the algorithm tables of the README, the landing page and the algorithms index, the CODEOWNERS block, the registries; --check in pre-commit, ci/check.sh and lint.yml; it enforces the registration rules of invariant I8) and scripts/new_algorithm.py with cpp/src/algorithms/_template (a fixed-point or aggregate-delta algorithm on the host backends that builds and passes the kit on the first build; ci/scaffold_check.sh, CTest scaffold.new_algorithm, job scaffold of cpu.yml). The manifests gain computes, paper and since; the planned algorithms are listed in cpp/src/algorithms/planned.toml. The README has the generated algorithm table.

  • The 0.1 API freeze (M3, ADR 0023, accepted under delegation; ADR 0006, the algorithm contract, accepted with it): the review of core/*, graph/*, update.hpp, sssp.hpp, cycle_count.hpp and the top-level headers, and the committed public-API listing cpp/tests/api/api_snapshot/public_api.txt, generated from the Doxygen XML by ci/api_snapshot.py and checked by ci/docs.sh (so by the docs workflow and ci/check.sh): a change of a public signature, default value, field or enumerator fails until it is reviewed and the baseline updated (docs/developer/api_review_checklist.md, “Updating the API baseline”). The frozen headers are marked frozen, io/*, generators/* and testing/* tracked (frozen in M5).

  • to_string() for engine, determinism, memory_space, copy_policy, algorithm_family, container_kind, maturity_level and oracle_kind (the enumerators’ own names, as in the manifests).

  • Reviewed API sketches of the later algorithms, written against the frozen contract: docs/design/sketches/ (mosp, the hypergraph with hyperedge_batch, triad_count, label_propagation, hyper_sssp).

  • The “Add an algorithm” guide outline (docs/how_to/add_an_algorithm.md, PLAN Section 9.4) and the M3 retrospective with the re-estimate (docs/developer/retrospectives/M3.md); the M3 gate suites on the final code in parity/results/M3.md section 4.

  • Governance: ADRs 0020 and 0021 accepted by the author (2026-09-29); technical ADRs may be accepted under delegation; the maintainer’s commits are SSH-signed so that the DCO app exempts them.

  • ADR 0018 accepted (option B): the CUDA performance gate is read with the GPU clocks locked for the whole A/B; default-clock readings are recorded, not gated.

  • Repository bootstrap: Apache-2.0 license, NOTICE, CITATION.cff, AUTHORS, governance and contribution guides, ADRs 0001 (name), 0002 (license and credit), 0004 (naming) and 0014 (approval checkpoints).

  • Project infrastructure (M4): SECURITY.md with the disclosure process, SUPPORT.md, MAINTAINERS.md, a complete CONTRIBUTING.md, eight GitHub issue forms and the issue chooser, the pull request template with the review checklist, CODEOWNERS, the DCO app configuration, the label taxonomy (.github/labels.yml, applied by the labels workflow; docs/developer/labels.md), ci/github_meta_check.py (a pre-commit hook), .readthedocs.yaml (not connected yet) and the repository settings guide (docs/developer/repository_settings.md).

  • Documentation site (M4): Sphinx + MyST + pydata-sphinx-theme + Breathe over the Doxygen XML, in the Diataxis sections (getting started, tutorials, how-to guides, explanation including the update model, reference with the curated C++ API and file formats, developer pages with the ADRs, retrospectives and the parity guide); a landing page, “How to cite” from docs/references.bib, the public roadmap (docs/roadmap.md) and the short plan (docs/developer/plan.md). ci/docs.sh builds it with warnings as errors and checks internal links (--doxygen-only for the Doxygen check alone); the docs workflow builds it on hosted runners from environment.yml (which now pins the Sphinx tools) and uploads the site.

  • Workflow hardening (M4): every actions/checkout sets persist-credentials: false, release.yml passes step outputs to its scripts through env:, dependabot waits 7 days before proposing a new action release; pre-commit runs actionlint (with shellcheck) and zizmor on the workflows, and ci/github_meta_check.py enforces the least-privilege and SHA-pinning rules (--verify-pins checks each SHA against its version tag).

  • Contributor infrastructure after review (M4): a hosted clang-tidy naming job (tidy in lint.yml; DYNG_CHECK_ONLY in ci/check.sh), the action pins verified in CI, timeouts on every job, the first-interaction welcome workflow; ci/docs_links.py checks links to repository files and the site’s anchors; examples/cpp/first_update.cpp (run by CTest, quoted by the docs); DYNG_ORIGINALS_DIR for the parity harness; the API review checklist and the provenance record (docs/developer/); a Code of Conduct escalation path and GOVERNANCE contacts.

  • Build system: CMake >= 3.30 with presets dev, release, relwithdebinfo, cpu-only, asan, tsan and parity; the dyng-dev conda environment (environment.yml) and scripts/dev_env.sh; install and export of dyng::dyng for find_package(dyng).

  • Core: error hierarchy with DYNG_EXPECTS / DYNG_FAIL; backends and resources (sequential, OpenMP with a thread count); stream_ref; memory_resource_ref and the host memory resource; array_view; buffer; host copies; logging with a replaceable sink; an instance-based profiler with <algo>.<hook> stage names; citation().

  • Quality: GoogleTest unit tests with CTest labels, the header self-containment check, ci/check.sh, the Doxygen check, pre-commit (clang-format, REUSE, codespell), and the lint and cpu GitHub workflows.

  • Graph: graph<V,E,W> (pimpl, host storage, compact rows, objective-major weight columns, stored in-edges, version counter), graph_view, csr / csr_view, edge_list / edge_list_view, edge_batch / edge_batch_view, apply_summary, graph_properties with row_order, multi_edges, batch_semantics and the preset mosp_compatible(); graph::apply is MOSP’s applyChangeBatch() ported straight (ADR 0010).

  • I/O: Matrix Market reader and writer (seeded random weights bit-exact with mospPrep mtx2csr), the MOSP text CSR, insert.txt / delete.txt batches, distance and SSSP-tree files; strict parsing with io_error carrying path, line and column (docs/api/file_formats.md).

  • Byte-parity fixtures for the updated CSR, its transposition and the weight-increase flags against MOSP-OpenMP@c352151 (parity/fixtures/graph_io/).

  • sssp: compute() and update() on the sequential backend (MOSP’s sequentialSOSPUpdate adapted into hooks) and the OpenMP backend (MOSP-OpenMP’s sospUpdateCpu / sospFromScratchCpu ported straight); canonical trees identical across backends and byte-identical to MOSP-OpenMP@c352151 on the test corpus; result::from_arrays with canonicalization and validate_inputs; stale_result_error detection (docs/algorithms/sssp.md, ADR 0006).

  • update_stats, and dyng::update(res, g, batch, results...) / dyng::update_each() to apply a batch once for several results.

  • dyng::testing (installed target): dijkstra() with lowest-id ties and check_sssp_tree().

  • tools/compat/dyng-compat-mosp (drop-in clone of the per-objective part of MOSP’s mosp driver and of mospPrep init), the sssp_update example, parity/timed_regions/sssp.toml and the sssp byte-parity fixtures (parity/fixtures/sssp/).

  • The parity harness (parity/, ADR 0013): references.toml (MOSP-OpenMP c352151, MOSP-CUDA e220ee2 and their baseline SHAs), build_reference.sh (verified git archive scratch copies, unpatched and patched, archive-build check), additive export tools, export_goldens.py (the sssp golden corpus, now 495 cases, with the originals cross-checked, reproducible export), goldens.toml, compare.py (CTest label parity), perf_ab.py (A/B/A/B under the perf lock), and the M1a parity certificate parity/results/M1a.md.

  • dyng-compat-mosp --write-graph writes the updated graph in MOSP’s CSR text format.

  • A pure-Python name-reservation package dyng 0.0.1 (tools/name_reservation/) and the Trusted Publishing workflow release.yml.

  • ci/check.sh --parity (the golden replay as part of the local gate) and a clang-tidy step with the naming rules of ADR 0004; ci/doxygen_coverage.py (a @brief on every public entity, every entity in a group, @backends / @determinism / @paper on compute and update) run by ci/docs.sh, also as the CMake target docs-doxygen.

  • CODE_OF_CONDUCT.md (Contributor Covenant 3.0), SECURITY.md and SUPPORT.md.

  • The M1a retrospective with the acceptance record and a re-estimate of the roadmap (docs/developer/retrospectives/M1a.md).

  • legacy_batch_options::mosp_lenient (MOSP’s accept/reject rules for batch files; used by dyng-compat-mosp), sssp::stats::packed_parents on both CPU backends, and the golden group noncanonical (107 cases with perturbed tie parents; 495 golden cases in total).

  • ci/provenance_check.py (provenance headers of ported files), ruff lint and format for the Python harness, smoke tests of the harness (parity/tests), Clang 17/18 jobs in cpu.yml.

  • resources owns a workspace pool: compute() / update() lease the engines’ scratch memory from it, so results run through one handle share one workspace (ADR 0015); resources::release_workspaces() and resources::workspace_bytes().

  • graph::from_csr(res, csr&&, props): takes over the arrays of a CSR that already has the requested form.

  • The OpenMP A/B on roadNet-PA, roadNet-CA, rgg_n_2_20_s0 and road_usa with the PLAN 8.6 gates (parity/results/M1b.md); perf_ab.py gates end_to_end and apply at 1.10x.

  • CUDA core (ADRs 0003 and 0016): DYNG_ENABLE_CUDA=ON builds (cmake/cuda_architectures.cmake: native for development, the release list per toolkit, CUDA >= 12.4), the presets dev-cuda, release-cuda, parity-cuda, sanitize-cuda, ci-cuda12 and ci-cuda13; resources::cuda(device, stream) with the device’s capabilities recorded once, a device guard on every call, synchronize() and warm_up() (context, every library kernel through the kernel registry, stream and pool); cuda_async_memory_resource (own stream-ordered pool, the default through default_device_memory_resource()) and pinned_host_memory_resource; device buffer<T> and copies between every pair of spaces; the private DYNG_CUDA_TRY, DYNG_CUDA_TRY_NO_THROW, DYNG_CHECK_KERNEL, the sticky device error word, the fill kernels, CCCL 3.x memory-resource adapters and device workspaces (scratch_buffer) in the pool of ADR 0015.

  • ci/gpu_local.sh (the local GPU gate: ctest -L gpu on GPU 1, the CPU tests of the CUDA build, compute-sanitizer memcheck, clang-tidy on the CUDA branches), ci/build_cuda.sh and the compile-only workflow cuda-build.yml (CUDA 13.1.1, 13.3.1 and 12.9.2 containers, register and library-size report).

  • sssp on the CUDA backend (ADR 0017): MOSP-CUDA@e220ee2’s persistent cooperative kernel ported verbatim as the fused engine (options::cuda_engine: automatic / fused; not_supported_error without cooperative launch, operators in 0.2); compute(), update(), from_arrays() (host or device arrays) and clone() across host and device; result arrays in device memory. Byte-identical to MOSP-CUDA on all 495 golden cases; the CUDA test executable dyng_sssp_cuda_tests (label gpu) runs the shared sssp suites on cuda and compares cuda with the host backends on randomized inputs.

  • Graphs built with CUDA resources: a resident device copy per graph state (out- and in-edges, objective-major weight columns; the in-edges built on the device as MOSP-CUDA’s uploadDeviceGraph does), uploaded on first use and inside the commit of dyng::update.

  • profiler_options::cuda_events: device times of profiler stages from CUDA events.

  • generators::legacy::mosp_changes(): MOSP’s change generator (mospPrep changes), bit-exact for fixed seeds, with committed fixtures from both originals; dyng-compat-mosp changes.

  • dyng-compat-mosp --backend cuda [--device d] (CUDA-event times in its --timing CSV), compare.py --configs cuda, the CTest golden replay parity.sssp.mosp_cuda_e220ee2, and perf_ab.py run --backend cuda against the unpatched MOSP-CUDA; ci/gpu_local.sh replays the golden corpus on cuda.

  • The M1b parity certificate (parity/results/M1b.md sections 7-12): byte parity with MOSP-CUDA@e220ee2 and MOSP-OpenMP@c352151 on all 495 golden cases for every backend and both edge offset types, and the CUDA and OpenMP performance gates on roadNet-PA, roadNet-CA, rgg_n_2_20_s0 and road_usa; ADR 0018 (the GPU clock state in the CUDA gate, proposed).

  • parity/export_goldens.py --reference MOSP-CUDA --compare-to (the corpus from MOSP-CUDA’s own tools, compared file for file with the committed one); compare.py configurations with /int32 or /int64; dyng-compat-mosp --edge-type; perf_ab.py kernels (the fused kernels of both programs under Nsight Compute at locked clocks) and perf_ab.py edge-type.

  • The sssp_update example takes the cuda backend (CTest example.sssp_update.cuda, label gpu, skipped without a device); the README describes the CUDA build, the CUDA presets and the local GPU gate; the sssp page documents the CUDA engines, the determinism level, the performance against both originals and a “paper vs fixed code” section.

  • The M1b retrospective with the acceptance record and a re-estimate of the roadmap (docs/developer/retrospectives/M1b.md).

  • M2a, CycleEnumeration-GPU graph pieces: graph<V, E, unweighted> ((int32, int32) and (int32, int64)) and is_unweighted_v; batch_semantics::as_sets with the preset batch_semantics::set() and graph_properties::cycle_enum_compatible() (Step 0 is the original’s prepare_batch(), the apply its sorted-row apply_batch(); byte-equal CSR and normalized batches on committed fixtures and on the TUDataset graphs; ADR 0010 amendment); edge_batch::insert_edge(u, v) without weights.

  • io::read_edge_list / io::write_edge_list: the original’s parallel from_chars parser (TUDataset *_A.txt, comments, commas, signs, timestamps, Matrix Market of every symmetry), generalized with weight columns, vertex_ids::as_is, symmetrization, kept duplicates and self- loops and a thread cap (docs/api/file_formats.md).

  • generators::legacy::cycle_enum_batch(): the original’s generate_batch(), bit-exact, with the library-owned reproductions of libstdc++’s 64-bit uniform_int_distribution and shuffle.

  • dyng::testing: oracle_simple_cycles (subset DP), brute_force_simple_cycles and edge_set_after_batch (the recount of a batch).

  • Parity harness: the CycleEnumeration-GPU@0a976ad reference (references.toml, OpenMP and CUDA build as in its RESULTS.md), its exporter export_cycle_enum, the fixture script parity/fixtures/cycle_enum/, and the dataset digest test (CTest label parity).

  • cycle_count on the sequential and OpenMP backends (M2a, <dyng/cycle_count.hpp>, docs/algorithms/cycle_count.md): exact k-bounded directed simple-cycle histograms; compute() is CycleEnumeration-GPU’s sequential Johnson and OpenMP counter, update() its DynTruCy-style update_static_histogram[_openmp] (count(-) on G_t, one apply, count(+) on G_{t+1}, edge-id ownership), ported straight; every batch semantics accepted through Step 0 on G_t (detail::compute_structural_change). Histograms bit-identical to the original’s on the committed fixtures (80 random cases, k = 2..7 and unbounded; fixture graphs and generated batches) and, with --datasets, on the TUDataset graphs (CTest label parity). The two recorded mutations are built into copies of the library and must fail the randomized suite (CTest cycle_count.mutation.*, label mutation). The host port of the original’s pruned lower_bound search of its CUDA kernels (dfs.hpp) is tested for M2b.

  • io::write_histogram_csv(std::ostream&, counts) (the original’s # cycle_size, num_of_cycles … Total, N; PLAN 5.7’s name), tools/compat/dyng-compat-cycle-enum (the original cycle-enum CLI, byte-equal standard output on the committed CLI cases), the cycle_count_update example and parity/timed_regions/cycle_count.toml.

  • update_participant::reads_prepared_graph(): dyng::update builds the in-edges (or the device copy) in the commit only for results that read them.

  • Parity harness for cycle_count (M2a): the golden corpus of CycleEnumeration-GPU@0a976ad (parity/export_goldens.py cycle_count: 24 cases, histograms, update priors, deltas and generated batches, exported twice identically), its replay (parity/compare.py cycle_count, CTest parity.cycle_count.cycle_enum_0a976ad), the OpenMP A/B (parity/perf_ab.py cycle_count run) and dyng-compat-cycle-enum --write-batch. Results in parity/results/M2a.md: 72 of 72 replays byte-identical (sequential, OpenMP 4 and 56 threads); every OpenMP-56 gate met (at 1148d15: static end to end 0.64-0.96x, update 25K+25K 0.76-0.96x of the original).

  • M2a close-out: docs/algorithms/cycle_count.md completed (graph requirements, determinism, the performance table, ‘Differences from the paper’: exact k-bounded enumeration, not the paper’s approximate kappa-truncated TruCy, and the ‘Paper vs fixed code’ table of CycleEnumeration-GPU’s fixes); the README lists cycle_count on the CPU backends (CUDA: M2b); the M2a retrospective. The TruCy / DynTruCy paper is cited as submitted.

  • M2a review fixes (cycle_count, graph, io, tests, harness): the searches keep their paths on explicit stacks (the default unbounded options no longer overflow the thread’s stack; a 300,000-vertex ring is counted and updated in the tests); histograms and engines are sized by min(k, max(n, 2)) and the update’s per-thread counters grow with the cycles found, so an unbounded update costs what its searches cost (it was O(changes x n)); the ownership index is a flat table that allocates nothing in a steady-state update (I9); the OpenMP phase sizes its scratch in the region that uses it; static_assert on unsupported graph types; as_sets combinations that cannot apply a batch are rejected at graph construction; the stats and the unbounded cost per backend are documented; seed replay (DYNG_TEST_SEED, DYNG_TEST_SEEDS) in the randomized cycle_count suites; a third mutation test (skip_workspace_resize); DYNG_STDLIB_ASSERTIONS (_GLIBCXX_ASSERTIONS in Debug builds); the contamination monitor and isolation experiments of the cycle_count performance harness (parity/contamination.py, --baseline-exe, parity/experiments/cycle_enum); the parity certificate parity/results/M2a.md re-measured at 0679ed1 (72 of 72 replays; static end to end 0.53-0.93x, update 0.44-0.65x of the original, COLLAB k = 3 0.29x) with the improvements isolated in their own section.

Fixed (M5 review)#

  • Result arrays exported from Python (np.from_dlpack, np.asarray, to_numpy(copy=False), DLPack consumers) read freed memory after an update that grew the vertex set: the result’s state now lives in reference-counted storage, every export holds a reference to the state it views, and an update copies the state first while an export is alive (copy-on-write). The staleness counter of dyng.Array moved into the native result, so copy.copy(result) can no longer bypass StaleResultError; Result.__copy__ / __deepcopy__ clone (ADR 0011 item 4).

  • EdgeBatch cached converted id arrays but read same-dtype arrays live, so a refilled batch applied a mix of old and new values depending on the id dtype; it now converts its arrays at every use.

  • Scalar arguments and option fields were coerced with int() / bool() (sssp.compute(g, 1.9) ran from vertex 1, max_length=2.7 counted with bound 2); they are checked with operator.index semantics and raise InvalidArgumentError naming the argument.

  • dyng.profile() and Resources.copy_policy changed the shared resources handle while other threads’ calls read it; they now wait until no native call runs (a writer-preferring native-call lock, so the wait ends under load).

  • Buffer-protocol inputs (array.array('q'), memoryview) now declare their element type for the dtype dispatch (int64 buffers no longer select int32 ids).

  • pickle / copy of a used EdgeBatch failed; batches, Resources (rebuilt), Array (a NumPy copy) now pickle, and Graph / results explain the supported path (ADR 0011 item 13).

  • The native module is chosen on first use instead of at import dyng, so dyng.use_cpu_only() works as PLAN 5.4 says and a plugin process never loads dyng._core (ADR 0011 item 14).

  • dyng cycle_count update without --max-length ran an unbounded update that did not finish; it is a usage error, as in the original. sssp CLI errors name the command line’s flags (--random-weights), --source is range-checked with a readable message, and the library’s dyng: prefix is no longer doubled.

  • The typed layer passes mypy --strict (checked in ci/python.sh and python.yml), and dyng.update has overloads for its stats types.

  • Packaging: the wheel carries THIRD_PARTY_LICENSES.txt (nanobind, robin-map, the GCC runtime); the sdist leaves out the repository-only files (the CC-BY-SA-4.0 Code of Conduct, governance, tool configuration); the version uses [[tool.dynamic-metadata]] and scikit-build-core is bounded below 2; release.yml requires a canonical PEP 440 VERSION and derives the pre-release flag from it; wheels.yml builds the wheel from the sdist; the local toolchain pins the GCC 12 runtime; release.md sets VERSION to X.Y.ZrcN for a candidate.

  • ci/python.sh no longer re-points an environment whose dyng is an editable install of another checkout (it uses a throwaway venv); python.yml builds the module with Clang 18 too; DYNG_BUILD_DOCS=ON builds the site (target docs).

  • Documentation: the “add an algorithm” guide’s bindings step, the CLI in the algorithm pages’ mapping tables, the cycle-enum flag table, the MOSP-OpenMP history (the -O3 baseline, the packed-format boundary fix), the CUDA message of the CPU wheel, and a getting-started link.

Changed (M5 review)#

  • dyng.Array.__dlpack__() without max_version >= (1, 0) (the unversioned capsule, which cannot mark an export read-only) returns a copy; copy=False then raises BufferError.

  • dyng sssp compute no longer has --validate-inputs (it only checks trees read with update --init).

Fixed (M3 review)#

  • Budgets (invariant I9) count per calling thread and exclude the profiler’s sync_stages synchronizations; an excess is logged in a Debug build and throws only under strict budgets (DYNG_STRICT_BUDGETS=1, armed by the conformance kit), so a correct update on another thread no longer fails and poisons its result. The half before the commit is measured too (cycle_count’s CUDA budget: 4 host synchronizations).

  • The framework chooses and checks the engine before the commit (an engine that does not exist or cannot run, or fallback_recompute without a recompute hook, leaves the graph and the result unchanged); engine::automatic picks a fused engine only where the problem’s new fused_available(ctx) says it runs.

  • dyng::update() / update_each() dispatch through detail::participant_of<container_t>::run(), so a later container (the hypergraph) needs no change to update.hpp; passing the owning batch or a non-container stops at a plain-English static_assert; update_each() rejects an empty list and a list in device memory (invalid_argument_error, before anything changes).

  • edge_batch::insert_edge / delete_edge and edge_list::add_edge are strong under allocation failure (a failed call leaves the arrays as they were); to_vector() reports allocation failure as out_of_memory_error. Every mutating member of the container, batch and result classes states its guarantee (@guarantee, checked by ci/doxygen_coverage.py).

  • edge_list’s fields are in the order of edge_list_view (num_weights last) (breaking for positional brace-initialization of edge_list; the API baseline is updated).

  • Tooling: regen.py writes a space between long CODEOWNERS paths and their owners and rejects a manifest that omits a backend whose source exists; new_algorithm.py refuses names that cannot compile, removes only scaffolds (restoring their planned.toml entry) and writes the API page; ci/docs.sh --update-api updates the API baseline (the documented && command never could).

  • The kit: C4 is exercised on a fake two-engine algorithm, the registration rules have compile-fail tests, and C0 catches a manifest that drops a backend.

  • Measurement: parity/perf_ab.py memory measures sssp’s device memory against MOSP-CUDA (0.81-0.86x; cycle_count 1.000x); the gate suites, parity replays and the readings against pre-M3 dynG were repeated on the final code (parity/results/M3.md section 5, which also corrects the conclusions of section 4.2); parity/experiments/sssp_stage_ab.py compares two builds stage by stage.

  • sssp::compute() / update() stop at a plain-English static_assert for an unsupported graph type (they failed to link), as cycle_count’s do; sssp::result’s distance_t must be std::int64_t (the only width in 0.1). The scaffold’s template follows the same rule.

  • to_string() for row_layout, row_order, multi_edges, batch_semantics::existing_insert / missing_delete / self_loop and cycle_count::search_method / cycle_mode / cuda_scheduler / cuda_work_items.

  • profiler recording is thread-safe (copies of a resources handle share it and may run concurrently); graphs, results and dyng::update() document their thread safety.

  • The API snapshot also lists the dyng::detail contract of the public signatures (update_traits, participant_of, stats_of, the *_supported_v traits), every macro, and the includes of <dyng/dyng.hpp>; macros need @ingroup.

  • Documentation: no references to the unpublished plan in the public headers; “deterministic per backend” defined for update_stats::engine_used and sssp::stats::packed_parents; the sssp synchronization text and the umbrella header’s description corrected; sketch fixes (mosp stage names, hyper_sssp’s budget guarantee, triad_count, the hypergraph’s hyperedge_list).

Fixed (M3 acceptance)#

  • cycle_count’s CUDA DD 25K + 25K update read 1.02x of the pre-M3 dynG: the redundant host copy of the normalized lists is gone (see “Changed”); 0.989-0.998x now.

  • -DDYNG_ALGORITHMS=<one algorithm> (PLAN 9.4) links: sssp is added to every subset.

  • Measurement (ADR 0024, accepted under delegation): a dynG-against-dynG A/B cycles its rounds through heap layouts (perf_ab.py run --layouts N, cycle_count_perf.py run --layouts N), because the same two builds read 0.99x or 1.10x of each other depending on the length of the --timing file name; parity/ab_modes.py reads bimodal regions mode by mode with a bootstrap interval; parity/experiments/cycle_count_stage_ab.py and sssp_layout_scan.py. Every suite re-measured on the final code (parity/results/M3.md section 6): the gates against the originals hold, and no gated region regresses by more than 2 % against 019ef13.

Changed#

  • Exception guarantees (the 0.1 API review): compute(), update(), from_arrays(), graph::apply(), dyng::update() and dyng::update_each() state them in a new @guarantee paragraph (strong before the commit; basic after it, with the result poisoned; graph::apply() strong), and ci/doxygen_coverage.py requires it. The checker takes the algorithm namespaces from the manifests (it checked only sssp before). dyng::update(), update_each() and dyng::algorithms() report host allocation failures as out_of_memory_error instead of letting std::bad_alloc leave the library; sssp::compute() / update() document cuda_error.

  • The header self-containment targets (cpp/tests/api) also fail when a public header includes a CUDA, CUB, Thrust or libcu++ header.

  • Budgets (I9): a run that grows a reusable array on purpose (detail::note_reservation(): a new workspace, a grown scratch buffer or per-thread list, a grown result) is a reserving run whose allocations are reported, not failed; the graph’s own materializations inside an update (its device copy uploaded on first use, detail::container_scope) are container work and never held against a problem’s budget; run_update() records the commit’s counts. sssp and cycle_count declare their budgets (no allocation once reserved; 0 host syncs on the host backends, 1 and 2 on CUDA), checked by the update enactor in DYNG_DEBUG_BUDGETS builds.

  • OpenMP sssp: list_gather keeps its offsets in an inline array (up to 256 threads) instead of a std::vector per gather, so the near-far rounds allocate nothing (found by C8); the same trees.

  • A build of a subset of the algorithms (-DDYNG_ALGORITHMS=...) configures: the suites of an algorithm are built with it, and the examples and compat tools (sssp and cycle_count) only when both are built. sssp is part of every build (the library’s MOSP batch generator and the shared suites call it): a list without it gets it added, so -DDYNG_ALGORITHMS=<name> builds and links (it failed to link before); ci/scaffold_check.sh builds every target of such a subset.

  • CUDA cycle_count under set semantics reads the framework’s normalized change lists (their device copy and their lengths) instead of copying them into its workspace first; the same histograms and stats (the DD 25K + 25K update: about 0.07 ms less of 3.4 ms).

  • .github/workflows/welcome.yml no longer greets owners, organization members and repository collaborators (the event’s author_association); first-time outside contributors are greeted as before.

  • The default edge offset type is int32: dyng::graph<> is graph<int32, int32, int32>, and building or updating a graph past 2^31 - 1 edges throws capacity_error naming the int64 instantiation (ADR 0009, from the edge_t benchmark).

  • OpenMP sssp: a near-far round passes three barriers instead of six (list_gather::gather_pair(), nowait loops) and the per-thread lists live in the workspace on their own cache lines; the same trees, 0.63-0.89x of MOSP-OpenMP’s time on the 10K local batches.

  • The Doxygen convention check (ci/doxygen_coverage.py) requires @sync or @async on every CUDA-capable public function: those taking resources, a stream_ref or a memory_resource_ref, and the stream-ordered members of buffer and resources; the memory resources, buffer and resources document how they order their work.

  • Placement (PLAN 4.6 rule 5): a graph belongs to the backend of the resources that built it; sssp on resources of the other kind (host backends versus cuda) throws invalid_argument_error instead of copying, and graph::clone(res) / result::clone(res) move a graph or a result. graph::from_*, clone, reserve, apply, to_csr and check_integrity accept CUDA resources; graph::space() is device for a CUDA graph.

  • dyng::testing::check_sssp_tree(g, r) copies a device result to the host first.

  • The host-side work of a call with CUDA resources uses the OpenMP threads; since the M1b review their count is fixed when the handle is created (resources::cuda(device, stream, host_threads)) and reported by num_threads().

  • The CPU presets (dev, release, relwithdebinfo, parity) pin DYNG_ENABLE_CUDA=OFF; a build without a preset enables CUDA when a CUDA compiler is found. With CUDA built and a device visible, default_backend() is cuda.

  • resources::set_memory_resource() on a CUDA handle accepts device and managed resources; the host sanitizer flags apply to host code only.

  • The host transposition runs in parallel on the OpenMP backend (same, deterministic result).

  • io::read_csr_triplet reads its three files concurrently (same result and the same first error as reading them one after the other); dyng-compat-mosp reads and writes its files concurrently, like the original driver. dynG now links Threads::Threads privately.

  • sssp: the sequential backend uses the tie rule of sospUpdateCpu (an improved vertex offers its (distance, id) pair) instead of the re-scan of sequentialSOSPUpdate, so both backends return the same tree also from non-canonical input trees (ADR 0006); the documentation states the tie rule.

  • A failed (poisoned) sssp::result now throws on every use, not only on update(); both backends report a parent cycle of an imported tree.

  • Results also record the identity of the graph state, so a result used with another graph (or a reassigned graph variable) throws stale_result_error (ADR 0006).

  • resources moves share the handle like copies; the log sink is called without the logging lock; host allocation failures leave the library as out_of_memory_error.

  • The OpenMP performance A/B loads its regions from parity/timed_regions/sssp.toml, counts the moved first-touch cost, maps the original’s prepare and end-to-end timers completely, and works under flock(1); build_reference.sh keeps its logs and fingerprints each build.

  • Tests run with OMP_WAIT_POLICY=PASSIVE; the lint workflow uses Doxygen 1.18.0, as environment.yml (now pinned) does.

  • sssp::result no longer owns a workspace; the M1a pre-touch of every result’s frontier lists is removed, and the A/B compares every objective as measured (ADR 0015).

  • Graphs build their in-edges on first use (not at construction, not in graph::apply()); dyng::update() builds them inside the commit, for the updated graph only.

  • OpenMP backend: graph::apply() assembles the new CSR in parallel, from_csr() checks in parallel, sssp::result::from_arrays() imports and validates in parallel (same results and messages).

  • I/O: files are read with one allocation and one read; distance and tree files are parsed in one pass (the strict reader reports errors); CSR weights are parsed straight into their objective-major columns.

Fixed (M1b review)#

  • CUDA sssp: the fused kernel counts invalidated per thread instead of reading the candidate-list counter while other threads append insertion heads to it (a data race inherited from MOSP-CUDA@e220ee2; the trees were never affected). ci/gpu_local.sh runs the CUDA sssp suite under compute-sanitizer --tool synccheck.

  • CUDA sssp: vertex growth releases the old result arrays on the updating stream, after the copies that read them (buffer::set_stream()).

  • Pooled workspaces are ordered across streams (a CUDA event per workspace): copies of a default-stream handle used on two threads run on two per-thread streams, which the docs now state for resources, stream_ref and buffer; release_workspaces() waits for the last use.

  • Inputs in device memory are accepted everywhere and copied to the host once under copy_policy (error refuses, warn logs, allow logs at debug and acts as warn while a profiler is attached): batches of graph::apply(), dyng::update(), update_each() and sssp::update(), graph builds and sssp::result::from_arrays(). A batch with only some arrays in device memory no longer crashes sssp::update().

  • copy(res, src, dst) and update_each() deduce their types from mutable views; to_space() allocates from the resource that matches the requested space; graph::to_backend(res) exists and the placement errors name it.

  • DYNG_WITH_NVTX: profiler_options::nvtx emits NVTX ranges per stage.

  • Documentation: @sync of sssp::compute() / update() names the graph upload; @sync and @throws on the synchronous allocation members and buffer; the Doxygen check covers them.

  • Build and CI: native CUDA architectures without a visible GPU fall back to the release list with a warning; cuda-build.yml builds CUDA 13.4.1 (the latest 13.x) and caches ccache; a GCC 13/14 -Werror false positive in a test is gone; the compat_mosp cuda tests skip without a device (ci/gpu_local.sh requires one); ci/check.sh and the clang-tidy steps run under the shared perf lock.

  • Harness: perf_ab.py records a contamination monitor per round (foreign CPU load, run queue, GPU P-state and clocks, foreign GPU processes) and repeats contaminated rounds; the CUDA apply region includes the host tree copies (sssp.import).

Fixed (M1b acceptance)#

  • Harness: perf_ab.py run --backend cuda locks the GPU’s clocks for the whole A/B without root (--lock-clocks boost|base|none, default boost; Nsight Compute holds the lock through the idle helper parity/clock_lock/clock_holder.cu, neither timed program is profiled), checks every busy GPU sample against the locked clocks and resets the clocks at the end (ADR 0018, rule 4).

  • Build: DYNG_WITH_NVTX defaults to ON only when the toolkit’s nvtx3/nvToolsExt.h exists (CUDA::nvtx3 alone does not guarantee the headers); cuda-build.yml documents the LD_LIBRARY_PATH a conda-forge toolkit needs for the local equivalent.

Integration 1 (M1b and M4 merged)#

  • main merges the project infrastructure (M4, branch m4-infra) with a merge commit on top of the CUDA backend (M1b). ci/check.sh keeps M4’s steps (clang-tidy naming, harness tests, DYNG_CHECK_ONLY, the Sphinx site) under M1b’s shared-lock wrapper; CONTRIBUTING.md and the README describe the CUDA presets and the local GPU gate ci/gpu_local.sh.

  • cuda-build.yml meets the workflow checks of M4 (a job timeout, no persisted credentials).

  • Documentation site: the M1b ADRs (0003, 0009, 0015-0018) and retrospective, an API page for the generators group, the CUDA backend on the install, backend, getting-started, roadmap and tutorial pages, the CUDA parity replay and links to the M1a and M1b parity certificates; the algorithm tables list sssp on sequential, OpenMP and CUDA.

  • examples/cpp/first_update.cpp uses graph<> and runs on the cuda backend (example.first_update.cuda, label gpu).

  • Credit and citations (the author’s facts of 2026-09-27): the ESCHER IPDPS 2026 title and authors; TruCy cited as a submitted manuscript; S M Ferdous’s affiliation (PNNL); the placeholder-identity commits of the originals credited to S M Shovan; no funding line yet.

  • Merge policy (ADR 0019): milestone and integration pull requests are merged with merge commits, external contributions squash-merged, rebase merging disabled. GOVERNANCE.md and the repository settings guide record it, mark the settings already applied, and list the cuda-build and docs jobs among the required checks of the main ruleset (pending the first pull request).

  • The INT1 retrospective (docs/developer/retrospectives/INT1.md).

M2b: M2a merged (branch m2b-cycle-cuda)#

  • The CPU cycle_count of M2a (branch m2-cycle) is merged with a merge commit on top of INT1. The graph keeps both sides: M1b’s int32 default edge_t with checked construction (ADR 0009), the device graph and the copy-policy staging, and M2a’s unweighted instantiations, graph_properties::cycle_enum_compatible() / batch_semantics::set() and the sorted-row set apply. The host batch checks are one function (validate_batch_shape) for both applies; checked_edge_count exists once.

  • Documentation site: an API page for the cycle_count group; the algorithm tables, landing page, README, roadmap and short plan list cycle_count as working on sequential and OpenMP, CUDA in progress. M2a added no ADR (it amended ADR 0010), so no ADR was renumbered.

  • The main ruleset exists since pull request #1 (17 required checks, strict; the Repository admin role bypasses only through pull requests); DCO becomes required once the author’s organization membership is public. GOVERNANCE.md, CONTRIBUTING.md and the repository settings guide say so.

  • Re-verification after the merge: parity/results/M2b.md, section “Merge re-verification”.

M2b: cycle_count on CUDA (branch m2b-cycle-cuda)#

  • The CUDA backend of cycle_count (<dyng/cycle_count.hpp>): the straight port of CycleEnumeration-GPU@0a976ad’s static counters (the work queue with root, edge and implicit two-hop prefix items and its automatic choice; the naive one-thread-per-root counter) and of its update (the delete phase on G_t, the insert phase on G_{t+1}: mark_owners_kernel, item_counts_kernel, count_owned_cycles_kernel), behind compute() and update(). New options: cuda_engine (automatic / fused; operators throws not_supported_error), scheduler (cuda_scheduler::work_queue / naive) and work_items (cuda_work_items). The effective bound is limited to 64 on cuda (invalid_argument_error). Histograms are bit-identical to the original’s CUDA backend on the fixtures and the TUDataset corpus.

  • The resident device graph (ADR 0020): a CUDA graph under batch_semantics::as_sets without weight columns is updated on the device (build_next_rows_kernel and friends, graph/apply_set_device.cu) and stays there across batches; its host CSR is downloaded when something reads it. The device in-edges are built on first use. Under set semantics a batch is normalized once per update (<algo>.normalize), for every result and the commit (the host commit no longer normalizes again).

  • dyng-compat-cycle-enum --backend cuda with the original’s CUDA flags (--cuda-device, --cuda-scheduler, --cuda-work-items, --report-timing from CUDA events) and --scope original|resident, --edge-type; the CLI test compat_cycle_enum.cli.cuda (label gpu).

  • Parity harness: the exporter’s CUDA build (export_cycle_enum_cuda) and the CUDA fixtures (cases/*.cuda, counts/*.cuda, cli/cuda*, each checked equal to the original’s sequential backend when written); the golden set cycle_count_cuda (24 cases from cycle-enum --backend cuda, including the 100K + 100K updates of DD and GitHub and the COLLAB update), replayed by compare.py cycle_count --configs cuda,cuda:resident,cuda:int64 (CTest parity.cycle_count.cycle_enum_cuda_0a976ad); parity/cycle_count_perf.py run --backend cuda (the regions of [reference.cycle_enum_cuda] in both scopes, the clocks locked for the whole A/B, ADR 0018) and kernels (register counts of both sides).

  • Tests: the shared cycle_count suites on cuda (dyng_cycle_count_cuda_tests, label gpu) and the CUDA cases (bounds 2..64 and beyond, schedulers, cross-backend chains of batches, the device apply against the host apply, the lazy host copy, the host-commit fallbacks, corner cases). ci/gpu_local.sh replays the CUDA golden set and runs synccheck and racecheck on the CUDA cycle_count suite.

M2b: the CUDA gates of cycle_count (branch m2b-cycle-cuda)#

  • The CUDA gate of cycle_count against CycleEnumeration-GPU@0a976ad’s CUDA backend (parity/results/M2b.md sections 4-6): ten cases (static k = 4 on DD, GitHub, Twitch, k = 3 on COLLAB; the updates 25K+25K on all four and DD 50K+50K, 100K+100K) in both scopes, clocks locked; every gated reading within its gate (the COLLAB update at the base lock, now pending ADR 0021, see the review entries below). Default-clock readings, the registers, stack and occupancy of all 33 kernels (equal to the original’s) and the peak device memory of every case (equal to the original’s) are recorded.

  • Faster Step 0 under set semantics: std::sort by (source, target, position) instead of std::stable_sort, and no sort for lists already in order (every backend; the DD 100K+100K CUDA update 12.2 -> 8.0 ms). Results unchanged. (Replaced by the review’s bucket sort: the skip helped only the gate’s already sorted batches.)

  • Less device memory in the CUDA cycle_count update: the static-count work items are returned when an update begins, and the deletion marks of G_t are computed once per update and shared by the cycle_count delete phase and the device apply (ADR 0020, point 6).

  • dyng-compat-cycle-enum --scope resident (count task) makes the graph resident with a 2-cycle count, so the timed kernel does not follow a full count (which runs it 5-12 % slower even at locked clocks).

  • Harness: parity/cycle_count_perf.py kernels covers every kernel with its sm_86 occupancy and pairs both sides; run --backend cuda records an unmeasurable case (more rejected rounds than --runs) as incomplete and continues, writes the JSON after every case, keeps the original’s monitor window apart from the port’s and summarizes the GPU clocks per side; memory records the peak device memory of both sides per case (Nsight Systems’ memory trace).

  • A case whose GPU cannot hold the boost lock under its power cap (the COLLAB update, whose prior counts for 6.5 s) is read at the base lock, applied equally to both sides: first written as an update of the accepted ADR 0018, now the Proposed ADR 0021, pending the author.

M2b: close-out (branch m2b-cycle-cuda)#

  • cycle_count works on the sequential, OpenMP and CUDA backends (M2 done). The algorithm page describes the CUDA work items of every scheduler and update phase, determinism on cuda (the claim order of the work queue changes, the sums do not; the device sums are not checked for overflow, as in the original) and the default-clock readings next to the locked-clock gate table.

  • The cycle_count manifest lists the cuda backend and the original’s CUDA sources.

  • The short plan’s estimate is re-estimated after M2 (0.1.0 in about 1-2 weeks of focused work, 3-5 weeks of calendar time); the M2b retrospective has the milestone summary, the M2 summary, the acceptance record and the final verification from a fresh clone.

  • parity/results/M2b.md section 7: the three gate scripts pass in a fresh clone, and the sssp CUDA and OpenMP gates and the cycle_count OpenMP update gate hold on the final code.

M2b: review fixes (branch m2b-cycle-cuda)#

  • Fixed: under batch_semantics::set() with self_loop::keep the cycle_count update counted a spurious 2-cycle through every self-loop of a batch on every backend (the normalized lists keep self-loops as change edges); the phases now skip them.

  • Fixed: a chain of CUDA updates on a resident graph downloaded all of G_t in every update after the first (Step 0 read the stale host copy). Step 0 of such a graph now tests the membership of the changes in G_t on the device (graph_access::normalize); the graph is downloaded only when something reads it on the host, on the stream of the resources that built the state (no longer the legacy default stream), without copying stale content into a regrown vector.

  • Changed: Step 0’s sort under set semantics is a bucket sort (stable, no shortcut for sorted lists; 0.7x of the original’s std::sort on sorted input, 0.3x on shuffled input). The sortedness skip of the gate campaign is gone.

  • Added: cycle_count::result::set_options() for the tunables cuda_engine, scheduler and work_items (max_length, method and mode stay fixed at compute()).

  • Changed: bound() and get_options() of a poisoned cycle_count result throw stale_result_error; compute() on cuda counts an edgeless graph of any size (the zero histogram before the 64-vertex check, as the original); the 32-bit change-id limit of the cuda update raises capacity_error; the documentation says that the device sums wrap at 2^64 on cuda, as the original’s.

  • Fixed: staging errors of cycle_count::update name it instead of dyng::update.

  • The device set apply keeps its scratch in the pooled normalized batch: a steady CUDA update allocates only the arrays of G_{t+1}.

  • Tests: the recorded mutations in the CUDA kernels (cycle_count.mutation.cuda.*, label gpu), the original’s large-graph device test (300,000 vertices), device Step 0 against host Step 0, chained updates, steady-state allocations, kept self-loops on all backends; the host-only kernel tests no longer run in the gpu executable.

  • Harness: dyng-compat-cycle-enum --chain n; the CUDA gate records chained updates on the resident graph (update_chain_steady, update_chain_worst), dynG’s CUDA-event time of the short updates (update_device) and the CPU-load threshold.

  • Docs: the public graph documentation covers the device merge; ADR 0020 is Proposed (it had been marked Accepted without an acceptance) with the review’s amendments; the M2b clock rule that had been appended to the accepted ADR 0018 is ADR 0021 (Proposed), pending the author; README lists the M2b certificate.

M2b: acceptance fixes (branch m2b-cycle-cuda)#

  • Docs: the status pages (the developer plan, the roadmap, README, the algorithm page) no longer say that every CUDA gate is met; they name the COLLAB update, read at the base clock lock and pending the author’s decision on ADR 0021, which the developer plan also lists as an open decision. The certificate and the retrospective point at ADR 0021 instead of the removed “ADR 0018 update”.

0.0.1 - 2026-09-27#

Added#

  • The PyPI name reservation: a pure-Python placeholder package dyng 0.0.1 (tools/name_reservation/), published to PyPI and TestPyPI by release.yml through Trusted Publishing from tag v0.0.1 (commit 15a6051). It contains no library code.