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 |
|---|---|
|
D13 fixed (ADR 0061): |
|
|
|
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 |
|
|
|
R021’s deferred finding: |
|
The 0.3 stability records: the hypergraph surface and triad_count stable from 0.3.0, |
|
|
|
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)#
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_exceptionsdoes, 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.)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.)
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.
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 documentedstd::bad_alloc, so it is fixed with them (ADR 0061 section 2).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).
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 |
|---|---|
|
all checks passed: clang-format; cpu-only 1,286 / 1,286 and dev 1,319 / 1,319 ( |
|
all steps passed: build (dev-cuda); |
|
passed, 1,178 / 1,178 (the allocation-failure executables skip under the sanitizer) |
|
not run locally: the dyng-clang environment’s Archer is |
The portability pre-checks |
Clang 18 |
The demonstration, the reading, the replays |
|
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 |
|---|---|
|
unchanged: the newest nvcc of NVIDIA’s RHEL 8 repository is still 12.9.86 ( |
|
|
|
|
Status texts |
|
|
the “Paper vs fixed code” note: the wording is the author’s accepted D10, no longer “marked for the author’s review” |
|
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 |
|
“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 |
Deviations (each with the same intent)#
The release candidate’s install lines. For a plugin they keep release.md’s form of 0.2.0rc1 (NumPy from PyPI, then
dyngand the plugin from TestPyPI alone with--no-deps), although the reason given then, that the namesdyng-cu12/dyng-cu13were 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-urlform of 0.2.0rc1 (its only dependency is NumPy).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.
The PyPI description (
python/README.md) is not in criterion 5’s list; 0.2 updated it formosp(8c06a99), so 0.3 names the hypergraph andtriad_countthe same way.
Checks#
On this step’s tree, 2026-10-22 UTC, logs in $DYNG_SCRATCH/runs/r030-release/:
Check |
Result |
|---|---|
|
|
|
valid (schema 1.2.0) |
|
no breaking change of the frozen C++ API or of the Python API against 0.2.0 (the hypergraph and |
|
all checks passed: clang-format; cpu-only 1,286 / 1,286 and dev 1,319 / 1,319 ( |
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) |
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 |
|---|---|
|
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 ( |
|
The test subset cibuildwheel runs in the installed wheel adds |
|
CHANGELOG: “R030: the release certificate” |
|
This section and the hand-written part of the certificate’s |
(this commit) |
The first run of |
(the next commit) |
The certificate |
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 |
|---|---|---|---|
|
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 |
|
CycleEnumeration-GPU@0a976ad |
sequential, openmp:4, openmp:56; cuda, cuda:resident, cuda:int64 |
72 + 72 equal |
|
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 |
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, |
18 / 18 runs, 0 mismatches |
|
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) |
|---|---|---|---|---|
|
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 |
- |
|
|
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 |
- |
|
|
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 |
- |
|
|
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 |
- |
|
|
CUDA (GPU 1): store accounting and the Nsight Systems peak |
- |
- |
1.002 ( |
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 |
|---|---|---|---|
|
library |
|
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) |
|
tests |
|
1,178 / 1,178, 1,023 / 1,023 and 1,178 / 1,178 (the same at both commits) |
|
tests |
|
34 / 34 |
|
packaging |
|
passed: 4 files, 18 venvs |
|
repo |
this commit |
recorded from the runs at this commit; |
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 fromrelease.yml,GITHUB_REF_NAME=v0.3.0rc1):kind=package,version=0.3.0rc1,prerelease=true,plugins=true, the distributionsdyng,dyng-cu12,dyng-cu13;v0.3.0,v0.3.0-rc.1,v0.3.0rc2andv0.2.0refused.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 --signaturespasses), so nothing was re-pinned.ci/wheels.sh:dyng-0.3.0rc1.tar.gz(1.61 MB) anddyng-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.shwithDYNG_PLUGINS="cu12 cu13"from that sdist with CI’s toolkits (the pinned RPMs unpacked):dyng_cu12(8.67 MB) anddyng_cu13(9.12 MB), their install tests on GPU 1 (pytest -m gpu70 passed, the suite withDYNG_CPU_ONLY=1721 passed) on 3.12 and 3.13.The
collectjob:twine check --stricton the four files,ci/wheel_check.pyon each and--release-set --spliton 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, andpip 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 tookdyngand the plugin of the same version from the index; PyPI has 0.2.0), each with the wheel’s test subset (cibuildwheel’stest-command, read frompyproject.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 andtriad_countquickstarts of their pages, outputs compared),dyng --version, and with a pluginci/plugin_smoke.py --expect cudaandpytest -m gpuwithDYNG_REQUIRE_CUDA=1on 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-cuNfrom the index): smoke test, quickstart and snippets. SHA-256 of the files (local builds; the tag’s files are CI’s): sdist4983647a..., CPU wheelb4b268ed..., cu1294d9975e..., cu13c34273a5....
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)#
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) against8a7a43a(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.cppunchanged;read_file()gained astd::filesystem::statuscall). 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.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
buildstage 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’buildread 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.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.bakthere, passed withDYNG_ARCHER_LIBRARY(nothing in that environment was changed).
Deviations (each with the same intent)#
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 andtriad_countare stable from 0.3.0, asmospwas from 0.2.0 (R020 step 5 made the same change,2306207). It is in thepackagingscope only; the distributions were built after it.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 andstatusstring of the coverage table.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-*).The tests and packaging checks ran at
c77fa94and the repo checks at this commit; the paths of each scope are the same in all three commits (certify.py writechecks it). The sanitizer presets and the pre-checks ran again at4ca456bfor criterion 6 (cheap; their records replace those ofc77fa94); the mutation CTests and the distributions were not repeated.The hosted CI is not in this certificate: the
sanitizers.ymljobs andwheels.yml(with the plugins) exist only once the release pull request is open; they are recorded withcertify.py check --name sanitizers-hostedand linked in the pull request, as for 0.2.0rc1 (readiness items 2 and 3).The informational A/B of finding 1 uses scratch builds (
git archiveof v0.2.0 and of8a7a43a, with and without the alignment flags) outside the repository; no gate rests on it.The first run of
ci/gpu_local.shfailed one step, transiently. At4ca456b(ci/check.sh --parityandci/api_check.sh e6f87edpassed there), every step ofci/gpu_local.shpassed 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; logskit-racecheck-rerun1..4.logbeside the failed run’sgpu_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 (dmesgis 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 ofci/gpu_local.shwas run again, with a monitor of GPU 1’s processes (nvidia-smievery 30 s,gpu-monitor-*.log), and withci/check.sh --parityandci/api_check.shagain, 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:
The orchestrator pushes
release-0.3.0and opens the release pull request; hosted CI runs the required checks.wheels.ymlwith the plugins (manual dispatch on the pull request’s head, or its run on the pull request, which touchesVERSION) is green before the author merges, and the run is linked in the pull request (release.md step 4).The three hosted
sanitizers.ymljobs of the pull request’s head are recorded withparity/certify.py check --name sanitizers-hosted --scope tests --commit <head> --result passed --evidence <the job logs>andparity.jsonwritten again, in a later commit of the pull request or in the tag-day pull request.The author merges the pull request (merge commit).
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.cffand re-runs thepackagingandrepochecks (distributions,check-parity,api-checkagainstmainas pushed,gpu_local) from fresh clones, thencertify.py writeagain.The AI assistant tags
v0.3.0rc1on the merge commit and pushes it;release.ymluploads the plugins to TestPyPI, thendyng; then step 8, the smoke install from TestPyPI (triad_countincluded) and both plugins as CI built them on GPU 1; the GitHub pre-release.
Open items (step 3)#
For the author:
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).
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:
Readiness items 1-3 and 5 above (the push,
wheels.yml, the hosted sanitizer record, the tag day).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 underr030/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) |
|---|---|
|
|
|
|
|
|
|
|
|
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) |
|
Coarse triangles planned for 0.5 on |
|
|
|
Keywords “hypergraph” and “triad counting” (core and plugins), the plugins’ PyPI description, the |
|
The Python hypergraph how-to: the “Apply batches” block self-contained and a snippet with its output, the Hypothesis example with |
|
The hypergraph tutorial asks for dynG 0.3 ( |
|
|
|
|
|
ADR 0062; ADR 0024’s longer reading of the D13 fix on the final library ( |
(this commit) |
This section; the first certificate’s sections marked superseded; the certificate’s hand-written README |
(the next commit) |
The certificate |
The findings and where each went#
# |
Finding (lens) |
Fixed in |
|---|---|---|
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 ( |
3 |
The ADR index said the author’s decisions were pending (release readiness) |
|
4 |
Coarse triangles promised for 0.4 (release readiness) |
|
5 |
The CUDA licence notice did not name Thrust (release readiness) |
|
6 |
Small stale release texts: wheels.md, the tutorial’s install line, the keywords, the scripts comment (release readiness) |
|
7 |
|
|
8 |
The diagnostics’ sentence misstated the restructured guard’s numbers (certificate) |
|
9 |
The suite files said D8 was pending; certify’s digest check blocks a comment edit (certificate) |
|
10 |
The Hypothesis example failed with a CUDA plugin (DeadlineExceeded) (hypergraph user) |
|
11 |
The how-to said |
|
12 |
The how-to’s “Apply batches” block applied a batch twice (hypergraph user) |
|
13, 21 |
The tutorial and the how-to said |
|
14 |
The |
|
15 |
The Python docstrings did not list |
|
16 |
|
|
17 |
The C++ file how-to had no hypergraph section; the tutorials index (hypergraph user) |
|
18 |
The tutorial’s example had no usage message and accepted an unknown backend (hypergraph user) |
|
19 |
The run-time CUDA hints downgraded a release candidate to 0.2.0 (packaging user) |
|
20 |
The plugins’ PyPI page described a graph-only package (packaging user) |
|
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 |
|---|---|---|---|
|
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 |
|
CycleEnumeration-GPU@0a976ad |
sequential, openmp:4, openmp:56; cuda, cuda:resident, cuda:int64 |
72 + 72 equal |
|
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 |
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, |
18 / 18 runs, 0 mismatches |
|
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) |
|---|---|---|---|---|
|
OpenMP (28 threads) |
0.986 (1.05) [0.679] |
1.024 ( |
- |
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 |
- |
|
|
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 |
- |
|
|
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 |
- |
|
|
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 |
- |
|
|
CUDA (GPU 1): store accounting and the Nsight Systems peak |
- |
- |
1.002 ( |
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 |
|---|---|---|---|
|
library |
|
the control passes; 29 / 29 detected |
|
tests |
|
1,179 / 1,179, 1,024 / 1,024 and 1,179 / 1,179 |
|
tests |
|
34 / 34 |
|
packaging |
|
passed: 4 files, 16 venvs |
|
repo |
this commit |
recorded from the runs at this commit; |
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)#
Three readings taken again alone. A pre-check run of
ci/gpu_local.shfrom 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 oftkde26_escher_plus, which take the shared lock: they refused to run (GPU 1 had a foreign compute process), and the load average it left madeipdps26_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 tosuperseded/,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.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.
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.The
.hgrefusals 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:
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.)
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:
The release date: the CHANGELOG heading and
CITATION.cffsay 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.)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 underdist-work/dist/),$DYNG_SCRATCH/runs/r030-fix*and$DYNG_SCRATCH/runs/bench/0.3.0rc1(the full records; the first certificate’s in0.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 |
|---|---|
|
The hosted-CI fix. |
|
The release date 2026-10-28: the CHANGELOG heading |
(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; |
(the next commit) |
The certificate |
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.mdandCITATION.cffchanged):distributions, run again.repo(the whole tree butbenchmarks/results/):check-parity,api-checkandgpu_local, run again.tests(the library paths,cpp/tests,cpp/fuzz,examples,README.md): nothing changed sincea0f7177, whereasan,tsan,tsan-openmpandmutation-ctestsran (177df79changedparity/tests, which only thereposcope holds, and this step changes no test path and notREADME.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 sinced803284(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.