Retrospective: R030 (release preparation for 0.3.0rc1)#

Status: ready for the release candidate on the branch release-0.3.0 (from main at e6f87ed, the merge of pull request #17 with M9b). Release 0.3.0 is M8 + M9 (M8a, M8b, M9a, M9b; PLAN Appendix F); R030 makes its release candidate 0.3.0rc1: the D13 fix and the 0.3 stability records, the release certificate on the final library code, the three distributions, and the release changes. Nothing is published by this milestone: the orchestrator pushes the branch; the author merges the release pull request; the AI assistant pushes the signed tag v0.3.0rc1 and creates the GitHub Release on the author’s behalf (the author’s decision of 2026-10-22, GOVERNANCE.md). Each step has its section here; step 4 fixes the findings of the independent review of the branch and measures the certificate again on the final library (the first certificate of step 3 is superseded); step 5, the tag day, moves the release date to 2026-10-28, records the author’s acknowledgements of 2026-10-23 and the hosted sanitizer jobs, and brings the certificate to that tree.

Step 1: the D13 fix and the 0.3 stability records (d13-and-records)#

Done (R030 acceptance criteria 1 and 2). The library change is one commit (e6e4cce); the rest are tests, the certificate’s mutation rule, a reading tool, records and documentation.

What changed#

Commit

What

e6e4cce

D13 fixed (ADR 0061): util/region_exceptions.hpp keeps the first exception of an OpenMP region’s work and rethrows it after the region; incidence_model::v2h_append and the line graph’s row build (flat_adjacency.cpp) use it, so a host allocation failure there is the documented out_of_memory_error with the documented guarantee (the hypergraph poisoned in the store phase, unchanged before it) instead of std::terminate; the oracle testing::triad_reference the same with its own code (its isolation)

7c2865d, 85a4743

support/failing_allocator.hpp (the n-th allocation of the calling thread or of any thread fails); dyng_hypergraph_allocation_failure_tests (apply, the line graph’s builds, each region directly in parallel); ADR 0060’s triad sweep extended to update() on sequential and openmp (1 and 4 threads, the three documented outcomes), compute() under automatic and the oracle’s regions; every one of them ended the process before the fix; the replacement functions [[gnu::noinline]] (GCC -O3’s -Wmismatched-new-delete)

7cca49e

The cbst question decided: a golden-mutation record with rows of a GoogleTest suite (cbst, hypergraph, triad_count, kit, the oracle) needs the release’s cpp/tests (GTEST_MUTATION_PATHS), with a test (ADR 0061 section 4)

6e2c497

parity/experiments/hypergraph_host_ab.py: the ADR 0024 reading of the host apply and update

49e249a

R021’s deferred finding: DYNG_BUILD_BENCHMARKS’s help text, comment and warning say “planned for a later release”

33b6f1e

The 0.3 stability records: the hypergraph surface and triad_count stable from 0.3.0, .hg, .dgb and "dyng.triad_bins" stable-tier formats at version 1, count_local_patterns experimental (the author’s decision of 2026-10-22): the manifest comment, the API snapshot’s comment, the API, algorithm and format pages, the sketch, README

52da36f

docs/roadmap.md: the alignment flags deferred beyond 0.3.0 (the reason: a reading on a CPU without the JCC erratum, which this machine is not) and the micro-benchmarks planned for a later release; the plan’s next step

3fa96e1

ADR 0061; the CHANGELOG’s R030 entries (the “Known issues” entry of M9b goes); GOVERNANCE: the stability decision and ADR 0061 in the approvals log, D4, D13 and the hypergraph and format item out of the open decisions; the reading’s record

Deviations (each with the same intent)#

  1. The fix’s form. PLAN 4.7.3 and the D13 note ask for “catch inside the region, rethrow after it”; that is what region_exceptions does, per iteration of the two regions. A restructured form (one try block per thread, chunks claimed by hand) was built and measured (ADR 0061, “The reading”) and is not faster, so the simple form stays. (Corrected in step 4, ADR 0062: in the release build the restructured form is faster than the per-row form on sequential and slower than base on 8 threads; the per-row form stays because it is within 0.3 % of base on both with the mitigation flags.)

  2. Two sub-regions read above the 1.02 bar of ADR 0024 and stay so, located, not fixed: the insert step on sequential (+1.5 to +4.1 ms over three batches, 0.1 % of an apply: the guard’s small real cost) and the construction’s line-graph row build (+2 to +8.5 % in the release build, 0.7 % with the JCC-erratum mitigation flags on both sides: code placement on this CPU). The regions the criterion names, apply and update, read 0.996-1.004. The construction is inside triad_count’s CUDA end-to-end gate (on 56 host threads there), which the release certificate (step 2) reads again on this library. (Step 4: ADR 0024’s longer reading confirms both on sequential; listed for the author as open decision D14. Step 5: acknowledged by the author on 2026-10-23 and kept for 0.3.0.)

  3. The update reading uses triad_count’s type 1 on sequential and on coauth-DBLP (the h_motif full count of coauth-DBLP takes more than ten minutes on the host, so 51 rounds were not possible); h_motif is read on syn1M with 8 threads. The changed code is in the apply, which every pattern’s update runs the same way.

  4. The oracle (testing::triad_reference, tracked) is outside “the container and the triad host engine” of the criterion; its regions had the same defect against its documented std::bad_alloc, so it is fixed with them (ADR 0061 section 2).

  5. The GOVERNANCE rows of the author’s decisions of 2026-10-22 that this step carries out (stability, and the D13 fix’s ADR) are recorded here; the other decisions of that day (D6-D10, D12, the names, publishing) are the release-changes step’s (criterion 5).

Found in passing (not changed; for the author and the orchestrator)#

  • sssp’s OpenMP backend pushes into thread-local lists inside its regions (cpp/src/algorithms/sssp/openmp.cpp), which can allocate when a list grows: the same class of defect in a 0.1-stable algorithm, outside D13’s scope (a change there needs sssp’s own gates).

  • operators::openmp_exec::for_each carries no exception out (its users, the tutorial algorithms, do not allocate in their functors).

  • escher::flatten_rows runs its loop with the global OpenMP thread count, not the handle’s (PLAN 4.7.4); it does not allocate in the region.

Measurements and checks#

All on the step’s code (85a4743; the later commits are records), 2026-10-22 UTC, logs in $DYNG_SCRATCH/runs/r030-d13/:

Check

Result

ci/check.sh --parity (check.log)

all checks passed: clang-format; cpu-only 1,286 / 1,286 and dev 1,319 / 1,319 (ctest -L cpu); the consumer; clang-tidy; REUSE; provenance; the test data (1,002,671 B of 1.25 MB); regen; the harness 350 passed; ci/python.sh 722 passed, 81 skipped (mypy strict, the stubs); ci/api_check.sh against origin/main (= e6f87ed): no breaking change of either half; the scaffold; ci/docs.sh (Doxygen, api-snapshot: OK (1355 declarations match public_api.txt), Sphinx with -W, the links); pre-commit; ctest -L parity 71 / 71

ci/gpu_local.sh on GPU 1, the affected steps (DYNG_GPU_SKIP="parity memcheck synccheck racecheck cbst": the sssp and cycle_count corpora, their CUDA sanitizers and the CBST store’s steps, which the change cannot reach; the release certificate runs them all) (gpu_local.log)

all steps passed: build (dev-cuda); ctest -L gpu 866 / 866; ctest -L cpu in the CUDA build 1,319 / 1,319; the hypergraph sanitizers and the cuda replays (ids, rows, line graph, legacy generator); triad_count’s sanitizers and small replays; count_local_patterns; the dyng-cu13 plugin wheel (pytest -m gpu 70 passed; DYNG_CPU_ONLY=1 722 passed); clang-tidy

ci/sanitizers.sh asan (sanitizers-asan.log)

passed, 1,178 / 1,178 (the allocation-failure executables skip under the sanitizer)

ci/sanitizers.sh tsan-openmp

not run locally: the dyng-clang environment’s Archer is libarcher.so.bak (renamed, not mine to change); the release certificate’s sanitizer check (step 2) and the hosted sanitizers.yml run it

The portability pre-checks

Clang 18 -fsyntax-only over the dev database: 430 files, 0 failures; cpu-only with -D_FORTIFY_SOURCE=3: no warning, 1,286 / 1,286 (it found GCC -O3’s -Wmismatched-new-delete in the new test allocator first: 85a4743); GCC 13 (conda) dev preset with -- -k 0: no compile error, only the 68 expected libgomp link errors

The demonstration, the reading, the replays

parity/results/R030.md sections 1.2-1.4

For the author and the orchestrator (step 1)#

  • The construction’s line-graph row build reads 2-8.5 % slower in the release build on this CPU (code placement under the JCC erratum; 0.7 % with the mitigation flags): not an apply or update region and not a host gate; inside triad_count’s CUDA end-to-end gate (at 56 host threads) by an estimated few tenths of a percent, which the certificate of step 2 reads. If the author prefers, a later release can revisit it together with the deferred alignment option.

  • The alignment option deferred beyond 0.3.0 (docs/roadmap.md): the author’s decision of 2026-10-08 named 0.3 for it; its own precondition (a reading on a CPU without the erratum) cannot be met on the reference machine. (Step 5: the author agreed to the deferral on 2026-10-23, GOVERNANCE.md.)

  • Found in passing (above): sssp’s OpenMP regions can let an allocation failure out of a region (a 0.1-stable algorithm; a change needs its gates), and two smaller notes.

  • tsan-openmp was not run locally in this step (the Archer library of the dyng-clang environment is renamed libarcher.so.bak); the certificate needs it.

Step 2: the release changes (release-changes)#

Done (R030 acceptance criterion 5 and the toolkit check of criterion 4). No library, test or build code changed in this step: the version, the release texts and the governance records. The release certificate (criterion 3) and the distributions (criterion 4) follow on this tree. Step 1 calls the certificate “step 2”; in the order the steps ran, it is the step after this one, on the same library.

What changed#

Where

What

ci/cuda_toolkits.toml

unchanged: the newest nvcc of NVIDIA’s RHEL 8 repository is still 12.9.86 (cuda-nvcc-12-9) and 13.4.92 (cuda-nvcc-13-4) on 2026-10-22; a fresh ci/cuda_toolkit.py lock of both plugins reproduces the file byte for byte, and the cached RPMs of both pass verify --signatures ($DYNG_SCRATCH/runs/r030-release/toolkits.log). So nothing is re-pinned, the docs that name the toolkits stay as they are, and the plugins need no rebuild for a toolkit change

VERSION, CITATION.cff

0.3.0rc1; version: 0.3.0rc1, date-released: "2026-10-22" (the UTC day of writing; release.md’s late-tag-day procedure moves it if the tag falls later); cffconvert --validate passes

CHANGELOG.md

## [0.3.0rc1] - 2026-10-22 under an empty ## [Unreleased], with the user-facing summary of 0.3.0 (the hypergraph, triad_count stable and exact against ESCHER-GPU, the experimental count_local_patterns, the files and generators, Python and the command line, the tutorials, the certificate, the known limitations), the R030 entries, then everything of M8a, M8b, M9a and M9b; the link references [Unreleased] and [0.3.0rc1]; the stale “VERSION is 0.3.0.dev0” entry removed, and D10’s entry worded as accepted

Status texts

README.md and docs/index.md (“Alpha: 0.3 release candidate”: 0.2.0 the latest release, 0.3.0rc1 on TestPyPI only), their install lines; docs/getting_started/index.md and install.md (the release candidate’s CPU package, and the plugins from TestPyPI alone after NumPy from PyPI, release.md step 8); SECURITY.md (0.3.0rc1 supported until 0.3.0), SUPPORT.md, CONTRIBUTING.md, docs/citing.md, docs/roadmap.md (“Where we are”; M9b merged as #17), docs/developer/plan.md (the status line, M9b’s row, the 0.3.0 row); the PyPI description python/README.md names the hypergraph and triad_count, with a snippet that ci/doc_snippets.py runs

docs/algorithms/triad_count.md

the “Paper vs fixed code” note: the wording is the author’s accepted D10, no longer “marked for the author’s review”

GOVERNANCE.md

three approvals-log rows of 2026-10-22: D9 (the names), D6-D8, D10 and D12 (accepted as implemented), and the publishing of 0.3.0 (tags and GitHub Release by the AI assistant, merges and the PyPI approvals by the author); the open decisions D6-D10 and D12 removed. The stability decision and ADR 0061 were recorded in step 1

docs/developer/release.md

“Who does what” with a 0.3.0 column; the “Who” cells of steps 7, 10 and 11 name 0.3.0rc1 / 0.3.0; step 8’s reason for the plugin install from TestPyPI alone brought up to date (the plugin names are on PyPI since 0.2.0); step 8’s smoke test runs triad_count; the R030 retrospective as the readiness record of 0.3.0rc1

Deviations (each with the same intent)#

  1. The release candidate’s install lines. For a plugin they keep release.md’s form of 0.2.0rc1 (NumPy from PyPI, then dyng and the plugin from TestPyPI alone with --no-deps), although the reason given then, that the names dyng-cu12 / dyng-cu13 were not on PyPI, no longer holds (0.2.0 created them). The form is kept because it still takes both files of the release candidate from one index; release.md says why. The CPU package keeps the --extra-index-url form of 0.2.0rc1 (its only dependency is NumPy).

  2. D11. The author’s note of 2026-10-22 says “D11 = publishing/licensing stops: nothing to decide”, which is the orchestrator’s numbering; GOVERNANCE.md’s open decision D11 is the pool footprint between batches, which the author did not decide. It stays open (its default: reported only; recorded beside the memory gates), and the CHANGELOG’s known limitations name it.

  3. The PyPI description (python/README.md) is not in criterion 5’s list; 0.2 updated it for mosp (8c06a99), so 0.3 names the hypergraph and triad_count the same way.

Checks#

On this step’s tree, 2026-10-22 UTC, logs in $DYNG_SCRATCH/runs/r030-release/:

Check

Result

python3 ci/wheel_check.py --release-metadata --release-date 2026-10-22

VERSION, CHANGELOG.md and CITATION.cff agree (0.3.0rc1)

cffconvert --validate -i CITATION.cff

valid (schema 1.2.0)

ci/api_check.sh v0.2.0 (api_check_v0.2.0.log)

no breaking change of the frozen C++ API or of the Python API against 0.2.0 (the hypergraph and triad_count additions only), which the CHANGELOG summary’s “nothing of 0.2.0 changes incompatibly” rests on

ci/check.sh (check.log)

all checks passed: clang-format; cpu-only 1,286 / 1,286 and dev 1,319 / 1,319 (ctest -L cpu, with VERSION 0.3.0rc1); the consumer; clang-tidy; REUSE; provenance; the test data; the harness 350 passed (ci/tests includes the release-metadata and release-select tests); ci/python.sh 722 passed, 81 skipped (mypy strict, the stubs; the PyPI description’s snippet among the 10 doc snippets); ci/api_check.sh against origin/main (= e6f87ed): no breaking change of either half; the scaffold; ci/docs.sh (Doxygen, api-snapshot: OK (1355 declarations match public_api.txt), Sphinx with -W, the links); scripts/regen.py --check; pre-commit

The portability pre-checks, GCC 13

not run: no C++ source changed in this step (step 1’s runs cover the library as it stands)

For the author and the orchestrator (step 2)#

  • The release date is 2026-10-22, the UTC day this was written (CHANGELOG heading and CITATION.cff). If the tag v0.3.0rc1 falls on a later day, release.md’s late-tag-day procedure moves both and re-runs the packaging and repo checks.

  • D11 (the pool footprint between batches) stays an open decision in GOVERNANCE.md (see deviation 2); nothing of 0.3.0rc1 waits on it.

  • GOVERNANCE.md’s open decisions left: the co-authors’ code outside git and D11; none is due before the tag.

Step 3: the release certificate, the distributions and the fresh-clone checks (certify)#

Done (R030 acceptance criteria 3, 4 and 6). No library or C++ test code changed in this step; the certificate measures the library of step 1 (e6e4cce, the D13 fix), unchanged since.

What changed#

Commit

What

26fb8e8

The ADRs that kept a reservation for the author (0045, 0047-0049, 0051, 0052, 0056, 0058-0060) say that the author decided it on 2026-10-22 (a “Decided” line; the deciders of 0052, 0058-0060 dated); the coverage table of the triad goldens (parity/goldens.toml and its generator parity/triad_goldens.py) is the accepted D6, no longer “pending the author” (deviation 2)

8c487d0

The test subset cibuildwheel runs in the installed wheel adds test_hypergraph.py, test_triad_count.py and test_triad_count_cli.py, the surfaces stable from 0.3.0, as 0.2 added test_mosp.py (deviation 1)

c77fa94

CHANGELOG: “R030: the release certificate”

4ca456b

This section and the hand-written part of the certificate’s README.md

(this commit)

The first run of ci/gpu_local.sh at 4ca456b (deviation 7)

(the next commit)

The certificate benchmarks/results/0.3.0rc1/: parity.json, README.md, the five suite summaries and their compacted records, the golden replays, mutation-goldens.json, checks.json and the check excerpts under checks/

How it was measured#

Every measured build comes from a clean git clone of the branch, built with the presets parity and parity-cuda. The library scope (the gates, every golden replay, the golden mutations) was measured at 8a7a43a (clone $DYNG_SCRATCH/r030/cert/clone-a, scripts phase-a.sh and phase-a2.sh there, log $DYNG_SCRATCH/runs/r030-cert-phase-a.log, full records in $DYNG_SCRATCH/runs/bench/0.3.0rc1/), 2026-10-22 06:35-14:21 UTC: the five suites from 06:39 to 11:40 (mosp, sssp, cycle_count, ipdps26_escher, tkde26_escher_plus, one after the other, each reading under the exclusive lock), then the replays and the golden mutations under the shared lock. The commits after 8a7a43a change no path of the library scope, nor cpp/tests (the golden-mutation rule of ADR 0061), which certify.py write checks. The tests and packaging checks (the sanitizer presets, the mutation CTests, the distributions) and the portability pre-checks ran from fresh clones of c77fa94, whose tests and packaging paths are the release’s ($DYNG_SCRATCH/r030/cert/run.sh, logs $DYNG_SCRATCH/runs/r030-cert/c/); the sanitizer presets and the pre-checks ran once more from fresh clones of 4ca456b (records replacing those of c77fa94), and the repo checks (ci/check.sh --parity, ci/api_check.sh e6f87ed, ci/gpu_local.sh) from fresh clones of this commit, the last one outside benchmarks/results/ (logs $DYNG_SCRATCH/runs/r030-cert/final/); their records are the certificate’s. CUDA timing on GPU 0 (clocks locked, ADRs 0018 and 0021), the memory readings (the Nsight Systems peak, D1) and every CUDA replay and GPU test on GPU 1. The NVIDIA driver 590.48.01 (CUDA 13.1) for all of them; GCC 12.2, nvcc 13.1.

The machine was quiet: 53 rounds were rejected by the monitors and repeated, as the protocol says (foreign CPU load above 2 cores in a round, at most 3.67 cores, or, in the cycle_count CUDA updates, a GPU clock below the lock during a round); no reading was stopped, none kept or flagged a contaminated round, and the triad contamination audit flagged nothing. The check streams of c77fa94 ran under the shared lock between suite readings (never during one); the only unlocked steps of the scripts are the git clones.

The first certificate (summary; superseded by step 4)#

Golden parity (byte or content equality with the originals; CUDA on GPU 1):

Golden set

Original

Configurations

Result

sssp (495 cases, the whole MOSP update through dyng-compat-mosp)

MOSP-OpenMP@c352151

sequential, openmp:1 / 4 / 16 / 28 / 56, sequential/int64, openmp:4/int64; cuda, cuda-fused, cuda-operators, cuda/int64, cuda-operators/int64

6,435 / 6,435 equal

cycle_count (--full, 24 cases) and cycle_count_cuda (24)

CycleEnumeration-GPU@0a976ad

sequential, openmp:4, openmp:56; cuda, cuda:resident, cuda:int64

72 + 72 equal

mosp_scale (20 cases, paper scale)

MOSP-OpenMP@c352151

sequential, openmp:28; cuda, cuda-operators

80 / 80 equal

The 8 CBST trace sets (M8a)

ESCHER-GPU@abcf9b2, MOSP_ESCHER@4b86159

the device store under the original’s preset (exact fields) and under dyng_default (policy fields)

16 / 16 replays OK (the documented unreplayable ops only: coauth50k’s 3 hash-only H2H rebuilds, syn1m’s 54 batch-mode ops)

The hypergraph id / row replays (M8b), 5 sets

both originals

sequential, openmp (8 threads), cuda, --mode both; the line graph against A’s H2H on cuda for ESCHER-GPU’s 3 sets

18 / 18 runs, 0 mismatches

triad_count_escher_gpu (M9a), by key and by content, the algorithm counter

ESCHER-GPU@abcf9b2

cuda (every case), sequential (make-test + syn100k), openmp at 8 and at 1 thread (+ syn1m_s1, coauth_b50k_s1 type1 / type2)

300 / 300, 120 / 120, 142 / 142, 142 / 142

Performance gates (PLAN 8.6 against the unpatched originals; the protocol of ADRs 0018 / 0021 / 0024’s one-layout rule for gates against the originals). Every gated region of the five suites is within its gate: 326 / 326 (sssp 132, cycle_count 78, mosp 60, ipdps26_escher 45, tkde26_escher_plus 11). The worst (largest) ratio port / original per suite, backend and gate kind (the best in brackets where it says something):

Suite

Backend (clocks)

Compute (gate)

End to end (gate 1.10)

Memory (gate 1.05)

ipdps25_dynamosp_sosp (sssp, 132)

OpenMP (28 threads)

1.010 (1.05; road_usa safe50k obj1) [0.691]

0.901

-

CUDA (boost)

1.002 (1.10, under 10 ms)

0.908

0.858

CUDA (default clocks, not gated)

1.062 (road_usa local10k obj2, ADR 0018’s DVFS effect, as in 0.2.0)

0.944

-

ieee_tc_dyntrucy (cycle_count, 78)

OpenMP (56 threads; COLLAB)

0.934 (1.05) [0.443]

0.869

-

CUDA (boost)

0.996 (1.05) [0.220]

0.988

1.001

CUDA (base, COLLAB update)

0.995 (1.05)

0.989

-

CUDA (default clocks, not gated)

1.004

0.989

-

ipdps25_dynamosp_mosp (mosp, 60)

OpenMP (28 threads)

0.926 (1.05) [0.601]

0.909

-

CUDA (boost)

1.006 (1.05)

0.904

1.019

CUDA (default clocks, not gated)

1.033

0.942

-

ipdps26_escher (triad_count, 45)

CUDA (base): syn1M / syn2M, 21 rounds

1.029 (1.05; syn2m_s3 update[b3]) [0.857]

0.991

-

CUDA (base): coauth-DBLP, 11 rounds

0.999 (full_count) [0.955]

0.921

-

CUDA (default clocks, not gated)

1.033

1.003

-

CUDA (base), 100K / 200K batches (not gated)

1.018

0.954

-

tkde26_escher_plus (triad_count, 11)

CUDA (GPU 1): store accounting and the Nsight Systems peak

-

-

1.002 (device_memory, syn1m) [1.000]

CUDA (base), types 1-3 (not gated)

0.992 (type3 full_count) [0.146]

0.932

-

The full tables are generated at the end of the certificate’s README.md. Every record names the driver and carries the digests of its inputs taken by the measuring harness, all equal to the suites’.

Checks (checks.json):

Check

Scope

Commit

Result

mutation-goldens (parity/mutate.py run, every mutation)

library

8a7a43a

the control passes; 29 / 29 detected (sssp 3, cycle_count 4, mosp 4, cbst 7, hypergraph 3, the kit 1, triad_count 6, the oracle 1)

asan, tsan, tsan-openmp (ci/sanitizers.sh)

tests

4ca456b (first at c77fa94)

1,178 / 1,178, 1,023 / 1,023 and 1,178 / 1,178 (the same at both commits)

mutation-ctests (ctest --preset dev-cuda -L mutation, GPU 1)

tests

c77fa94

34 / 34

distributions (below)

packaging

c77fa94

passed: 4 files, 18 venvs

check-parity, api-check (ci/api_check.sh e6f87ed), gpu_local (every step)

repo

this commit

recorded from the runs at this commit; certify.py write passes only if they passed

The distributions of v0.3.0rc1 (criterion 4), built at c77fa94 exactly as release.yml would build them for that tag (docs/developer/release.md, “Building a release locally”; the whole script under the shared lock; no tag created):

  • select (its run block extracted from release.yml, GITHUB_REF_NAME=v0.3.0rc1): kind=package, version=0.3.0rc1, prerelease=true, plugins=true, the distributions dyng, dyng-cu12, dyng-cu13; v0.3.0, v0.3.0-rc.1, v0.3.0rc2 and v0.2.0 refused. ci/wheel_check.py --release-metadata (and --release-date 2026-10-22) passes.

  • The toolkits: step 2 checked that CUDA 12.9 (nvcc 12.9.86) and 13.4 (nvcc 13.4.92) are still the newest 12.x and 13.x (a fresh lock reproduces ci/cuda_toolkits.toml; verify --signatures passes), so nothing was re-pinned.

  • ci/wheels.sh: dyng-0.3.0rc1.tar.gz (1.61 MB) and dyng-0.3.0rc1-cp312-abi3-manylinux_2_28_x86_64.whl (2.11 MB), the whole Python suite in fresh 3.12 and 3.13 venvs (721 passed, 82 skipped). ci/plugin_wheels.sh with DYNG_PLUGINS="cu12 cu13" from that sdist with CI’s toolkits (the pinned RPMs unpacked): dyng_cu12 (8.67 MB) and dyng_cu13 (9.12 MB), their install tests on GPU 1 (pytest -m gpu 70 passed, the suite with DYNG_CPU_ONLY=1 721 passed) on 3.12 and 3.13.

  • The collect job: twine check --strict on the four files, ci/wheel_check.py on each and --release-set --split on all four.

  • Fresh Python 3.12.14 and 3.13.15 venvs with no development environment on PATH (env -i), from an empty directory: the core wheel alone, core + dyng-cu12, core + dyng-cu13, and pip install "dyng[cu13]==0.3.0rc1" and "dyng[cu12]==0.3.0rc1" from a local simple index laid out like TestPyPI with PyPI as the extra index (pip took dyng and the plugin of the same version from the index; PyPI has 0.2.0), each with the wheel’s test subset (cibuildwheel’s test-command, read from pyproject.toml: 419 passed / 4 skipped for the core, 418 / 5 with a plugin), the README quickstart (its output equal to the README’s), every Python snippet of the documentation (ci/doc_snippets.py --run-python: the README and PyPI quickstarts, the hypergraph and triad_count quickstarts of their pages, outputs compared), dyng --version, and with a plugin ci/plugin_smoke.py --expect cuda and pytest -m gpu with DYNG_REQUIRE_CUDA=1 on GPU 1 (68 passed; the 10 skips are the CuPy / PyTorch round trips and tests that need the repository’s tree); and the release candidate’s documented install lines (the CPU package with PyPI as the extra index; NumPy from PyPI, then --no-deps dyng dyng-cuN from the index): smoke test, quickstart and snippets. SHA-256 of the files (local builds; the tag’s files are CI’s): sdist 4983647a..., CPU wheel b4b268ed..., cu12 94d9975e..., cu13 c34273a5....

Portability pre-checks (at c77fa94 and again at 4ca456b, /home/sskg8/Projects/dyng-work/ci-local/README.txt): the Clang 18 syntax pass over the dev database (430 files) and the DYNG_BUILD_PYTHON=ON database (449): 0 failures; the cpu-only build with -D_FORTIFY_SOURCE=3 and the bindings: no warning, 1,286 / 1,286 tests; GCC 13 (the conda toolchain) dev preset with -- -k 0: 68 lines with error:, every one a libgomp link error or ld returned 1, as expected.

Found while certifying (informational; no gate is near)#

  1. dynG’s end to end grew since 0.2.0, all of it in reading the graph, and it is code placement. Against 0.2.0’s certificate (the same suite files and protocol), dynG’s median end-to-end rows moved +1.4 % to +4.8 % per suite and backend (sssp OpenMP +4.8 %, CUDA +4.0 %; mosp +3.9 % / +3.1 %; cycle_count +3.5 % / +1.4 %), the originals’ -0.3 % to +2.4 %, with the compute rows unchanged (median -0.4 % to +2.2 %). road_usa reads slower for both sides in this session (the originals’ sssp apply +27-46 %), so its rows are not evidence either way. A dynG-against-dynG stage A/B of dyng-compat-mosp, v0.2.0 (cd7d8f0) against 8a7a43a (sssp OpenMP 28 threads, safe50k, 11 alternated processes per side, the exclusive lock; $DYNG_SCRATCH/r030/e2e/, runs/r030-e2e-ab/) puts the whole difference in [graph] read graph, the CSR-triplet reader: rgg 499.8 -> 555.9 ms (+56.1 ms; reading all inputs +58.7 of +62.1 ms end to end), roadNet-PA 115.0 -> 128.4 (+13.4 of +16.7), roadNet-CA 202.8 -> 225.2 (+22.4 of +24.1); every compute stage within 0.6 ms. The reader’s sources are 0.2.0’s (csr_triplet.cpp unchanged; read_file() gained a std::filesystem::status call). With the JCC-erratum mitigation flags of the deferred layout option (-falign-functions=64 -falign-loops=32 -Wa,-mbranches-within-32B-boundaries) on both sides the difference is gone (rgg 455.1 / 454.1 ms, roadNet-CA 184.9 / 185.2; end to end 833.6 / 833.2 and 446.7 / 447.5): the text reader’s hot loop moved with the larger library, the sensitivity R020 measured (finding 12, investigation (b)). The worst gated end-to-end ratio of sssp and mosp is 0.909 (gate 1.10). This is one more reading for the deferred layout option (docs/roadmap.md), not a library change for 0.3.0.

  2. Step 1’s open item on the construction’s row build inside triad_count’s CUDA end-to-end gate: against M9b’s records (the same suite and protocol), dynG’s build stage is 0.7-1.2 % faster on syn1M and syn2M (457-459 against 463 ms, 899-901 against 906-907 ms); on coauth-DBLP both sides’ build read 14-16 % slower in this session (A 1,758-1,769 against 1,536-1,559 ms, dynG 875-877 against 753-760), the ratio 0.496-0.498 (M9b 0.488-0.494). The end-to-end ratios are 0.919-0.991 (M9b 0.920-0.992). So the D13 fix’s guard has no visible cost in a gated reading.

  3. tsan-openmp ran locally (step 1’s open item): as in R020 and R021, with the conda Clang 18.1.8 through the local wrapper and the environment’s Archer, which is named libarcher.so.bak there, passed with DYNG_ARCHER_LIBRARY (nothing in that environment was changed).

Deviations (each with the same intent)#

  1. The wheel’s test subset (pyproject.toml, 8c487d0) is a packaging change in the certificate step: the subset’s own comment lists the stable algorithms, and the hypergraph and triad_count are stable from 0.3.0, as mosp was from 0.2.0 (R020 step 5 made the same change, 2306207). It is in the packaging scope only; the distributions were built after it.

  2. The author’s decisions in the ADRs and in the triad coverage table (26fb8e8): records only (the decisions are step 2’s GOVERNANCE rows); goldens.toml’s manifest digests are unchanged, only the comment and status string of the coverage table.

  3. The triad replays on openmp at 1 thread too (phase-a2.sh): the coverage table names the backend only, but D6 as the author accepted it says “openmp at 1 and 8 threads”, so both are in the certificate (parity-triad_count_escher_gpu-openmp-t1-* and -t8-*).

  4. The tests and packaging checks ran at c77fa94 and the repo checks at this commit; the paths of each scope are the same in all three commits (certify.py write checks it). The sanitizer presets and the pre-checks ran again at 4ca456b for criterion 6 (cheap; their records replace those of c77fa94); the mutation CTests and the distributions were not repeated.

  5. The hosted CI is not in this certificate: the sanitizers.yml jobs and wheels.yml (with the plugins) exist only once the release pull request is open; they are recorded with certify.py check --name sanitizers-hosted and linked in the pull request, as for 0.2.0rc1 (readiness items 2 and 3).

  6. The informational A/B of finding 1 uses scratch builds (git archive of v0.2.0 and of 8a7a43a, with and without the alignment flags) outside the repository; no gate rests on it.

  7. The first run of ci/gpu_local.sh failed one step, transiently. At 4ca456b (ci/check.sh --parity and ci/api_check.sh e6f87ed passed there), every step of ci/gpu_local.sh passed except “triad_count sanitizers”: compute-sanitizer’s racecheck of the kit’s C1, C11 and C12 (dyng_triad_count_conformance_cuda_tests) ended with “process didn’t terminate successfully”, 0 hazards and no failed test in the output (the process ended without gtest’s summary), right after the coauth batch under memcheck, synccheck and initcheck had passed; the same step’s make-test replays under racecheck passed (60 / 60). The same command run alone from the same commit four times (rebuilt in that clone; logs kit-racecheck-rerun1..4.log beside the failed run’s gpu_local-run1-failed.log) passed every time: 24 / 24 tests, 0 hazards. The step passed in step 1’s run and in M9b’s. With no reproduction and no kernel log access (dmesg is not permitted), the cause is not known (a foreign process on GPU 1 or the sanitizer itself are the candidates). Nothing was changed: the whole of ci/gpu_local.sh was run again, with a monitor of GPU 1’s processes (nvidia-smi every 30 s, gpu-monitor-*.log), and with ci/check.sh --parity and ci/api_check.sh again, from fresh clones of this commit; those records are the certificate’s.

Readiness of 0.3.0rc1 (superseded by step 4’s)#

Ready for the release-candidate tag, from the AI assistant’s side: R030’s criteria 1-6 are met and parity/certify.py write --version 0.3.0rc1 passes on the committed tree (the next commit). Waiting for the author or the orchestrator, in order:

  1. The orchestrator pushes release-0.3.0 and opens the release pull request; hosted CI runs the required checks.

  2. wheels.yml with the plugins (manual dispatch on the pull request’s head, or its run on the pull request, which touches VERSION) is green before the author merges, and the run is linked in the pull request (release.md step 4).

  3. The three hosted sanitizers.yml jobs of the pull request’s head are recorded with parity/certify.py check --name sanitizers-hosted --scope tests --commit <head> --result passed --evidence <the job logs> and parity.json written again, in a later commit of the pull request or in the tag-day pull request.

  4. The author merges the pull request (merge commit).

  5. The tag day: if it is later than 2026-10-22 (UTC), release.md’s late-tag-day procedure moves the CHANGELOG heading and CITATION.cff and re-runs the packaging and repo checks (distributions, check-parity, api-check against main as pushed, gpu_local) from fresh clones, then certify.py write again.

  6. The AI assistant tags v0.3.0rc1 on the merge commit and pushes it; release.yml uploads the plugins to TestPyPI, then dyng; then step 8, the smoke install from TestPyPI (triad_count included) and both plugins as CI built them on GPU 1; the GitHub pre-release.

Open items (step 3)#

For the author:

  1. The end-to-end drift of finding 1 (code placement of the text reader, about +11 % on dynG’s graph read since 0.2.0, gone with the alignment flags): one more argument for the deferred layout option, which needs a reading on a CPU without the JCC erratum (docs/roadmap.md).

  2. Still open from steps 1 and 2: sssp’s OpenMP regions can let an allocation failure out of a region (a 0.1-stable algorithm; a change needs its gates); D11 (the pool footprint between batches) and the co-authors’ code outside git in GOVERNANCE.md; the alignment option moved beyond 0.3.0; Zenodo is not connected (no DOI for 0.3.0 unless it is before step 11).

For the orchestrator:

  1. Readiness items 1-3 and 5 above (the push, wheels.yml, the hosted sanitizer record, the tag day).

  2. The scratch work of this step is under $DYNG_SCRATCH/r030/ (the clean clone of the library scope with its builds, about 1.5 GB, kept until the release candidate is tagged in case a part must be taken again; the distributions’ files under r030/cert/dist-work/dist/).

Step 4: the review fixes and the certificate measured again (review-fixes)#

Independent reviewers checked the branch at 75d6940 (the first certificate written) through four lenses (release readiness, the certificate, the hypergraph user, the packaging user); a skeptic confirmed 21 findings, two of them the same gap seen by two lenses (the tutorial’s install line). All are fixed; one leaves a record for the author (the two sub-regions still above ADR 0024’s bar, open decision D14). One finding, the .hg reader that read a Matrix Market file as a hypergraph, led to a library change before .hg becomes a stable-tier format, so the whole certificate was measured again on the final library, as R020 did for 0.2.0rc1.

What changed#

Commit

What (the findings it fixes)

c994195

io::read_hypergraph refuses a .dgb file (the DYNGBAT1 magic), a .dgt file (%dgt header) and a Matrix Market file (%%MatrixMarket banner) at the first line, naming the format and its reader; the weights, index-base and +h messages name the remedy in C++, Python and the command line; a hyperedge .dgt member outside the vertex set says the count is fixed; quoted_token() cuts quoted tokens after 32 bytes and throw_io_error() writes control bytes as \xHH (finding 14); tests HypergraphFile.NamesTheRemedyOfCommonMistakes, HyperedgeBatchText.RejectsMalformedFiles; the format page

c9de41d

hypergraph::apply()’s member check: “inserted hyperedge i of the batch”, and where the vertex count is fixed (finding 14 (e)); the test of hypergraph_test.cpp

7080a97, d803284

parity/experiments/hypergraph_host_ab.py takes the exclusive lock itself and records perf_ab.LOCK_STATUS, records each side’s commit (checked against its source tree), digest and build settings, and puts layouts beyond a file name’s 255 bytes into directories (findings 7 and 2); parity/tests/test_hypergraph_host_ab.py

5ff930a

parity/certify.py GPU_LOCAL_STEPS: a gpu_local record needs every step of its series passed (from 0.3 the CBST, hypergraph, triad_count and count_local_patterns steps); ci/gpu_local.sh records a step with a part skipped for missing inputs as partial; tests (finding 1)

46e56e6

The ADR index and the two ESCHER suite files record the author’s decisions of 2026-10-22 (findings 3 and 9; the suites’ digests change, and their summaries are written again by this step’s certificate)

d631907

Coarse triangles planned for 0.5 on triad_count.md and the ESCHER-GPU history page; the roadmap’s 0.5 lists them (finding 4)

c9e055b

THIRD_PARTY_LICENSES_CUDA.txt names the Thrust algorithms of 0.3 (finding 5)

4212e50

Keywords “hypergraph” and “triad counting” (core and plugins), the plugins’ PyPI description, the [project.scripts] comment, wheels.md’s conda-forge release (findings 6 and 20)

ee8b780

The Python hypergraph how-to: the “Apply batches” block self-contained and a snippet with its output, the Hypothesis example with deadline=None and run as a snippet, a section on dyng.update() over hypergraphs (a snippet), the CUDA line pointing to the install page (findings 10, 11, 12, 13)

dda37cc, 4d2d4ff

The hypergraph tutorial asks for dynG 0.3 (pip install "dyng>=0.3", the install page for the release candidate) and clones the repository at the tag; examples/cpp/triad_count_update.cpp refuses a wrong argument or backend with the usage and reports a failed read (status 1), within PLAN 9.6’s 60 lines; read_and_write_files.md covers the hypergraph files, the hyperedge batches and the triad-bins JSON; the tutorials index; triad_count.md’s C++ block no longer predicts the reused ids (findings 6, 13, 16, 17, 18, 21)

07568b7, 0cf711e

OutOfMemoryError with its guarantee in the docstrings of Hypergraph.from_hyperedges(), h2h(), apply(), dyng.triad_count.update() and dyng.update() (finding 15)

291fd8f

_backend.plugin_install_hint(): the CUDA hints of show_config(), Resources.cuda(), the CLI’s --backend, the device-array error and the version-mismatch reason name a release candidate’s TestPyPI line (a development version: the source build); tests with fake versions (finding 19)

1ded0be, a0f7177

ADR 0062; ADR 0024’s longer reading of the D13 fix on the final library (parity/results/R030-d13-longer-reading.json, R030.md section 4); ADR 0061’s and the record’s sentence on the restructured guard corrected (finding 8); GOVERNANCE (ADR 0062, open decision D14); CHANGELOG “R030: review fixes”; release.md step 3

(this commit)

This section; the first certificate’s sections marked superseded; the certificate’s hand-written README

(the next commit)

The certificate benchmarks/results/0.3.0rc1/, replaced

The findings and where each went#

#

Finding (lens)

Fixed in

1

certify.py required only the 0.1 compute-sanitizer steps of gpu_local (release readiness)

5ff930a; ADR 0062 section 1

2

The D13 reading left two sub-regions above the bar without the longer reading, and did not list them for the author (release readiness)

the longer reading (1ded0be): the apply and update regions 0.942-0.971; the two sub-regions still above on sequential, listed for the author (D14)

3

The ADR index said the author’s decisions were pending (release readiness)

46e56e6

4

Coarse triangles promised for 0.4 (release readiness)

d631907

5

The CUDA licence notice did not name Thrust (release readiness)

c9e055b

6

Small stale release texts: wheels.md, the tutorial’s install line, the keywords, the scripts comment (release readiness)

4212e50, dda37cc

7

hypergraph_host_ab.py wrote the lock without checking it; its sides untraceable (certificate)

7080a97; the longer reading used the fixed tool

8

The diagnostics’ sentence misstated the restructured guard’s numbers (certificate)

1ded0be (the record, ADR 0061 marked, ADR 0062)

9

The suite files said D8 was pending; certify’s digest check blocks a comment edit (certificate)

46e56e6, and the summaries of this step’s certificate carry the new digests

10

The Hypothesis example failed with a CUDA plugin (DeadlineExceeded) (hypergraph user)

ee8b780

11

The how-to said dyng.update() over hypergraphs arrives later (hypergraph user)

ee8b780

12

The how-to’s “Apply batches” block applied a batch twice (hypergraph user)

ee8b780

13, 21

The tutorial and the how-to said pip install dyng (0.2.0 during the release candidate); no clone step (hypergraph user, packaging user)

dda37cc, ee8b780

14

The .hg reader’s messages for common mistakes; a Matrix Market file read silently (hypergraph user)

c994195, c9de41d; ADR 0062 section 3

15

The Python docstrings did not list OutOfMemoryError (hypergraph user)

07568b7, 0cf711e

16

triad_count.md’s C++ block predicted the reused ids wrongly (hypergraph user)

dda37cc (checked: coauth-DBLP gives 17 and 2,467,389)

17

The C++ file how-to had no hypergraph section; the tutorials index (hypergraph user)

dda37cc

18

The tutorial’s example had no usage message and accepted an unknown backend (hypergraph user)

dda37cc, 4d2d4ff

19

The run-time CUDA hints downgraded a release candidate to 0.2.0 (packaging user)

291fd8f

20

The plugins’ PyPI page described a graph-only package (packaging user)

4212e50

How the certificate was measured again#

The library changed after the first certificate (c994195, c9de41d), so every part was taken again, by the scripts of step 3 adapted ($DYNG_SCRATCH/r030/fix/: phase-a.sh, phase-a2.sh, retake.sh, run.sh, record.sh, dist.sh; the first certificate’s full records moved to $DYNG_SCRATCH/runs/bench/0.3.0rc1-cert1/). The library scope (the five suites, every golden replay, the golden mutations) from a clean clone at d803284, whose library is the release’s final one (c9de41d) and whose cpp/tests are the release’s (log $DYNG_SCRATCH/runs/r030-fix-longrun2.log): the suites 2026-10-23 04:32-10:12 UTC, the replays and the golden mutations under the shared lock until 13:39, and three readings taken again alone 13:40-13:56 (deviation 1). The tests and packaging checks and the portability pre-checks from fresh clones of a0f7177 (logs $DYNG_SCRATCH/runs/r030-fix/final/), whose tests and packaging paths are the release’s; the repo checks (ci/check.sh --parity, ci/api_check.sh e6f87ed, ci/gpu_local.sh) from fresh clones of this commit, the last one outside benchmarks/results/. The CUDA toolkits were checked again on 2026-10-23: CUDA 12.9 (nvcc 12.9.86) and 13.4 (nvcc 13.4.92) are still the newest 12.x and 13.x of NVIDIA’s RHEL 8 repository, a fresh lock reproduces ci/cuda_toolkits.toml, and the cached RPMs pass verify --signatures ($DYNG_SCRATCH/runs/r030-fix-toolkits.log). The ADR 0024 reading of the D13 fix on this library came first (23:29-04:32 UTC, the exclusive lock, R030.md section 4).

The certificate (summary)#

Golden parity (byte or content equality with the originals; CUDA on GPU 1), as in the first certificate:

Golden set

Original

Configurations

Result

sssp (495 cases)

MOSP-OpenMP@c352151

sequential, openmp:1 / 4 / 16 / 28 / 56, sequential/int64, openmp:4/int64; cuda, cuda-fused, cuda-operators, cuda/int64, cuda-operators/int64

6,435 / 6,435 equal

cycle_count (--full, 24) and cycle_count_cuda (24)

CycleEnumeration-GPU@0a976ad

sequential, openmp:4, openmp:56; cuda, cuda:resident, cuda:int64

72 + 72 equal

mosp_scale (20 cases, paper scale)

MOSP-OpenMP@c352151

sequential, openmp:28; cuda, cuda-operators

80 / 80 equal

The 8 CBST trace sets

ESCHER-GPU@abcf9b2, MOSP_ESCHER@4b86159

the device store under the original’s preset and under dyng_default

16 / 16 replays OK (the documented unreplayable ops only)

The hypergraph id / row / line-graph replays, 5 sets

both originals

sequential, openmp (8 threads), cuda, --mode both; the line graph on cuda for ESCHER-GPU’s 3 sets

18 / 18 runs, 0 mismatches

triad_count_escher_gpu, by key and by content

ESCHER-GPU@abcf9b2

cuda (every case), sequential, openmp at 8 and at 1 thread

300 / 300, 120 / 120, 142 / 142, 142 / 142

Performance gates (PLAN 8.6 against the unpatched originals; ADRs 0018 / 0021, the one-layout rule of 2026-10-08). 326 / 326 gated regions within their gates (sssp 132, cycle_count 78, mosp 60, ipdps26_escher 45, tkde26_escher_plus 11). The worst (largest) ratio port / original per suite, backend and gate kind (the best in brackets where it says something):

Suite

Backend (clocks)

Compute (gate)

End to end (gate 1.10)

Memory (gate 1.05)

ipdps25_dynamosp_sosp (sssp, 132)

OpenMP (28 threads)

0.986 (1.05) [0.679]

1.024 (apply, roadNet-PA safe50k)

-

CUDA (boost)

1.001 (1.05)

0.902

0.858

CUDA (default clocks, not gated)

1.059 (road_usa local10k obj2, ADR 0018’s DVFS effect, as in 0.2.0)

0.901

-

ieee_tc_dyntrucy (cycle_count, 78)

OpenMP (56 threads; COLLAB)

0.944 (1.05) [0.296]

0.878

-

CUDA (boost)

1.002 (1.05) [0.220]

0.986

1.001

CUDA (base, COLLAB update)

0.996 (1.05)

0.977

-

CUDA (default clocks, not gated)

1.001

0.982

-

ipdps25_dynamosp_mosp (mosp, 60)

OpenMP (28 threads)

0.924 (1.05) [0.652]

0.831

-

CUDA (boost)

1.006 (1.05)

0.918

1.019

CUDA (default clocks, not gated)

1.033

0.916

-

ipdps26_escher (triad_count, 45)

CUDA (base): syn1M / syn2M, 21 rounds

1.015 (1.05; syn2m_s3 update[b3]) [0.852]

0.990

-

CUDA (base): coauth-DBLP, 11 rounds

0.999 (full_count) [0.948]

0.939

-

CUDA (default clocks, not gated)

1.021

1.000

-

CUDA (base), 100K / 200K batches (not gated)

1.016

0.963

-

tkde26_escher_plus (triad_count, 11)

CUDA (GPU 1): store accounting and the Nsight Systems peak

-

-

1.002 (device_memory, syn1m) [1.000]

CUDA (base), types 1-3 (not gated)

0.993 (type3 full_count) [0.117]

0.946

-

Against the first certificate (the same suites and protocol, the library before the review’s change), dynG’s median gated rows moved -2.4 % to +2.8 % per suite, backend and gate kind (one row -11.2 %: cycle_count’s OpenMP COLLAB count), the originals’ -0.8 % to +2.0 %. The largest single change of a worst row is sssp OpenMP’s end to end: the apply of roadNet-PA safe50k reads 1.024 (the first certificate’s worst end-to-end row was 0.901; the gate is 1.10). It is within its gate and was not investigated further; the OpenMP sssp rows are the ones whose code placement moved most since 0.2.0 (step 3, “Found while certifying”, item 1). 47 rounds were rejected by the monitors and repeated (foreign CPU load at most 2.74 cores, or a GPU clock below the lock).

Checks (checks.json):

Check

Scope

Commit

Result

mutation-goldens (parity/mutate.py run)

library

d803284

the control passes; 29 / 29 detected

asan, tsan, tsan-openmp (ci/sanitizers.sh)

tests

a0f7177

1,179 / 1,179, 1,024 / 1,024 and 1,179 / 1,179

mutation-ctests (ctest --preset dev-cuda -L mutation, GPU 1)

tests

a0f7177

34 / 34

distributions

packaging

a0f7177

passed: 4 files, 16 venvs

check-parity, api-check (ci/api_check.sh e6f87ed), gpu_local (every step; the 0.3 steps required, ADR 0062)

repo

this commit

recorded from the runs at this commit; certify.py write passes only if they passed

The distributions of v0.3.0rc1, built at a0f7177 as release.yml would (as in step 3): select gives kind=package, prerelease=true, plugins=true and refuses v0.3.0, v0.3.0-rc.1, v0.3.0rc2 and v0.2.0; dyng-0.3.0rc1.tar.gz (1.61 MB), the CPU wheel (2.11 MB), dyng_cu12 (8.67 MB) and dyng_cu13 (9.13 MB) with CI’s toolkits; twine check --strict, ci/wheel_check.py on each file and --release-set --split; 16 fresh 3.12 / 3.13 venvs (the core alone, core + each plugin, dyng[cu13]==0.3.0rc1 and dyng[cu12]==0.3.0rc1 from a local index laid out like TestPyPI, and the documented release-candidate forms): the wheel’s test subset (419 passed / 4 skipped for the core, 418 / 5 with a plugin), the README quickstart, every Python snippet of the docs (the hypergraph how-to’s new ones included: the Hypothesis example runs on cuda in the plugin venvs), dyng --version, ci/plugin_smoke.py --expect cuda and pytest -m gpu (68 passed) on GPU 1. SHA-256 (local builds): sdist 135b3b73..., CPU wheel 7295f53d..., cu12 22c125bf..., cu13 05f92ef6....

Portability pre-checks at a0f7177: Clang 18 -fsyntax-only over the dev database (430 files) and the DYNG_BUILD_PYTHON=ON one (449): 0 failures; cpu-only with -D_FORTIFY_SOURCE=3: no warning, 1,287 / 1,287; GCC 13 (conda) dev preset -- -k 0: 68 lines with error:, all libgomp link errors or ld returned 1. (Also at c9de41d, right after the library change.)

Deviations (each with the same intent)#

  1. Three readings taken again alone. A pre-check run of ci/gpu_local.sh from the working tree (to find CUDA problems of the library change before the long readings) ran beside phase A under the shared lock. The locks kept it out of every timed reading, but not out of the two memory readings of tkde26_escher_plus, which take the shared lock: they refused to run (GPU 1 had a foreign compute process), and the load average it left made ipdps26_escher’s coauth reading fail the contamination audit (one round, load 17.0 > 16.0). The three were taken again alone at the end of phase A from the same clone and build (retake.sh; the flagged record to superseded/, bench_suite.py run --skip-existing); both suites then pass whole. A GPU-1 job beside a certificate’s memory readings is what the harness refuses, rightly; the lesson is to run no such pre-check during phase A.

  2. The D13 sub-regions (finding 2): the longer reading confirms them on sequential; they are located, not fixed, and listed for the author (open decision D14, ADR 0062). A serial-path fix of the insert step was considered and not made: a library change after the certificate’s library, whose effect on this CPU is again dominated by code placement.

  3. The example’s usage (finding 18) exits with status 1 and the library’s message (a dyng::invalid_argument_error), not 2 as the siblings do: PLAN 9.6’s 60 lines leave no room for a separate usage branch beside the handler. The tutorial says so.

  4. The .hg refusals change the stable-tier format’s rules before 0.3.0 (ADR 0062 section 3): no file of either original, the dataset registry or the goldens starts with the refused lines, so no replay or reading input changes.

Readiness of 0.3.0rc1#

Ready for the release-candidate tag, from the AI assistant’s side: the review’s findings are fixed (D14 the one record left for the author), R030’s criteria 1-6 hold on the final code, and parity/certify.py write --version 0.3.0rc1 passes on the committed tree (the next commit). The orchestrator’s and the author’s items are those of step 3 (“Readiness of 0.3.0rc1”, items 1-6), unchanged: the push and the release pull request; wheels.yml with the plugins green on its head; the hosted sanitizers.yml jobs recorded (sanitizers-hosted); the author’s merge; the tag day (2026-10-22 in the CHANGELOG and CITATION.cff: any later UTC day moves both with release.md’s late-tag-day procedure and re-runs the packaging and repo checks, which this step’s date already makes due); the tag and the GitHub pre-release.

Open items (step 4)#

For the author:

  1. D14 (GOVERNANCE.md, open decisions): acknowledge the two sub-regions above ADR 0024’s bar after the longer reading (the insert step +2.5 / +5.8 ms over three batches on sequential, the guard’s cost; the construction 1.046-1.048 on sequential, code placement), or ask for the serial-path fix in a later release. Please acknowledge it in the release pull request. (Step 5: acknowledged on 2026-10-23, kept for 0.3.0; the approvals log.)

  2. Still open from steps 1-3: the end-to-end drift of the text reader (code placement; the deferred layout option), sssp’s OpenMP regions and an allocation failure, D11, the co-authors’ code outside git, Zenodo.

For the orchestrator:

  1. The release date: the CHANGELOG heading and CITATION.cff say 2026-10-22; this certificate was finished on 2026-10-23 (UTC), so the tag day is later than the written date and the late-tag-day procedure applies as step 3 describes. (Done in step 5, for the tag day 2026-10-28.)

  2. The scratch work of this step is under $DYNG_SCRATCH/r030/fix/ (the clean clone of the library scope with its builds, about 1.5 GB, and the distributions under dist-work/dist/), $DYNG_SCRATCH/runs/r030-fix* and $DYNG_SCRATCH/runs/bench/0.3.0rc1 (the full records; the first certificate’s in 0.3.0rc1-cert1); $DYNG_SCRATCH/r030/cert/ (step 3’s, about 1.6 GB) can be removed once the tag is pushed.

Step 5: the tag day (tag-day)#

The tag v0.3.0rc1 is pushed on 2026-10-28 (UTC), later than the 2026-10-22 that the CHANGELOG heading and CITATION.cff said, so release.md’s late-tag-day procedure (A tag day later than the final-release pull request) ran on this branch, in the release pull request #18 (not merged yet, so no separate pull request is needed), as R020 did for 0.2.0rc1. The same commits record the author’s acknowledgements of 2026-10-23 and the hosted sanitizers.yml jobs of the pull request (release step 3).

What changed#

Commit

What

177df79

The hosted-CI fix. parity/tests/test_release_cert.py’s test_the_gtest_mutation_rows_need_the_release_tests diffed the last commit that changed cpp/tests against its parent (git rev-parse <sha>~1), and the lint workflow’s harness job checks out one commit only, so the parent is not there: the job failed on 5930363 (run 40037680393: 1 failed, 343 passed, 12 skipped). That part of the test now runs only where the parent is in the history; the rest is unchanged. On 177df79 the job passes (run 40568804543: 344 passed, 12 skipped). Only a test of the harness changed (parity/tests, a path of the repo scope alone), so no library, tests or packaging record is affected by it

a4f2724

The release date 2026-10-28: the CHANGELOG heading ## [0.3.0rc1] - 2026-10-28 and its R030 entry, CITATION.cff date-released: "2026-10-28"; cffconvert --validate and python ci/wheel_check.py --release-metadata --release-date 2026-10-28 pass. No other file gives the release date: the other dates of 2026-10-22 are those of the author’s decisions, of measurements or of a status

(this commit)

GOVERNANCE.md: two approvals-log rows of 2026-10-23, D14 acknowledged by the author and kept for 0.3.0 (the two sub-regions above ADR 0024’s bar on sequential; the remedy, the insert’s serial path outside the OpenMP region, a later change with its own reading), moved from the open decisions to the log, and the alignment-flags option deferred beyond 0.3.0 until a CPU without the JCC erratum is available (the author agreed); ADR 0062 (a “Decided” line) and the ADR index; docs/roadmap.md; the CHANGELOG section “R030: the tag day”; this section and the marks in steps 1 and 4

(the next commit)

The certificate benchmarks/results/0.3.0rc1/ brought to this tree

The hosted sanitizer jobs (release step 3)#

sanitizers.yml run 40568804466 on the pull request’s head 177df79 (event pull_request, which tests the merge 8b6fedc of 177df79 into e6f87ed; e6f87ed is an ancestor of the head, so the merge has the head’s tree): asan / gcc-13 1,179 of 1,179 tests passed, tsan / gcc-13 1,024 of 1,024, tsan-openmp / clang-18 1,179 of 1,179, all three green (2026-10-27 19:24-19:43 UTC), the counts of the local presets at a0f7177. They are recorded as sanitizers-hosted with the job logs (gh run view --log, read-only; $DYNG_SCRATCH/runs/r030-tagday/sanitizers-hosted/) and the scope tests, as release step 3 says: no path of the tests scope changed from 177df79 to this branch’s last commit outside benchmarks/results/ (this step changes no test path and not README.md), unlike R021’s record of pull request #11, which needed the scope library. The run on the earlier head 5930363 (40037680435) was green too; the head’s run is the one recorded.

Which records were run again#

parity/certify.py write checks every record against the release commit in the paths of its scope (git diff <measured> <release> -- <paths> must be empty). Against this commit:

  • packaging (CHANGELOG.md and CITATION.cff changed): distributions, run again.

  • repo (the whole tree but benchmarks/results/): check-parity, api-check and gpu_local, run again.

  • tests (the library paths, cpp/tests, cpp/fuzz, examples, README.md): nothing changed since a0f7177, where asan, tsan, tsan-openmp and mutation-ctests ran (177df79 changed parity/tests, which only the repo scope holds, and this step changes no test path and not README.md), so these records stand and were not run again. A dry write of the certificate on a copy of its directory at this commit named exactly the four records above as stale.

  • library: unchanged since d803284 (the gates, the replays, the golden mutations).

From fresh git clones of this commit, with step 4’s scripts adapted ($DYNG_SCRATCH/r030/tagday/: run.sh, dist.sh, record.sh, and toolkits.sh for the check of the pinned CUDA toolkits), under the shared lock and with the GPU work on GPU 1, logs in $DYNG_SCRATCH/runs/r030-tagday/: the distributions of v0.3.0rc1 as release.yml builds them (as in step 4, with --release-date 2026-10-28; both plugins’ GPU tests on GPU 1), ci/check.sh --parity, ci/api_check.sh e6f87ed (main as pushed) and ci/gpu_local.sh (every step). The CUDA toolkits were checked again on 2026-10-27: 12.9 (nvcc 12.9.86) and 13.4 (nvcc 13.4.92) are still the newest 12.x and 13.x of NVIDIA’s RHEL 8 repository, a fresh lock reproduces ci/cuda_toolkits.toml, and the cached RPMs pass verify --signatures. Each check is recorded with parity/certify.py check --version 0.3.0rc1 under its existing name, replacing the old record; then parity/certify.py write --version 0.3.0rc1 on the committed tree. The results are in the certificate (benchmarks/results/0.3.0rc1/README.md, its “Checks” table generated from parity.json; each log named with its SHA-256 in checks.json and excerpted under checks/): certify.py write passes only when every part passed on the release’s code, so a certificate on this branch means they did.

Readiness of 0.3.0rc1#

Ready for the tag on 2026-10-28, from the AI assistant’s side. Waiting, in order: the orchestrator pushes the branch (the hosted checks run on the new head; wheels.yml with the plugins green on it); the author merges pull request #18 (merge commit); on 2026-10-28 (UTC) python ci/wheel_check.py --release-metadata --release-date today passes and the AI assistant pushes the signed tag v0.3.0rc1 on the merge commit; then release step 8 (the smoke install from TestPyPI and both plugins’ GPU tests on GPU 1) and the GitHub pre-release. If the tag slips past 2026-10-28, this procedure runs again for the new day.