Guide/Evidence
Quality Gates
2 min readFrom the README
The only quality, build and release authority for this repository is DSR (Doodlestein Self-Releaser): dsr quality --tool franken_networkx, dsr build franken_networkx, dsr release franken_networkx <version>. The GitHub Actions workflows under .github/workflows/ are kept for reference only and are not run.
The quality run executes these checks in order. dsr quality reads them from the franken_networkx entry of ~/.config/dsr/repos.yaml on the host; .dsr/repos.d/franken_networkx.yaml in this repository mirrors that entry's checks and is the reviewed copy (dsr quality --tool franken_networkx --dry-run lists what will actually run):
| # | Check | Command |
|---|---|---|
| 1 | fmt | cargo fmt --all -- --check |
| 2 | check | cargo check --workspace --all-targets |
| 3 | clippy | cargo clippy --workspace --all-targets -- -D warnings |
| 4 | Rust tests | cargo test for fnx-classes, fnx-views, fnx-dispatch, fnx-convert, fnx-algorithms, fnx-generators, fnx-readwrite, fnx-durability, fnx-runtime, fnx-conformance (including the CGSE complexity-bound gate) and fnx-cgse |
| 5 | fuzz smoke | scripts/fuzz_corpus_replay.py --budget-seconds 10: the 33 fuzz targets are built on an rch worker with cargo-fuzz's coverage instrumentation (no sanitizer), each replays every committed corpus input and every reproducer under fuzz/artifacts/<target>/, then fuzzes for 10 seconds. A panic, an input over 60 s or over 4 GB RSS fails it, and the failing input is written to fuzz/artifacts/<target>/ for later runs to replay. |
| 6 | docs | scripts/verify_docs.py: README/docs links, every Python block in the Markdown and every examples/*.py script executed, docs/coverage.md drift |
| 7 | Python parity (subset) and generated reports | scripts/run_pytest_guarded.sh on test_instance_dict_memory_leak.py, test_error_messages.py, test_thread_safety.py; the drift checks of docs/coverage.md (test_coverage_gaps.py) and docs/unused_raw_exposures.md (test_unused_raw_exposures.py); and the generator tests test_delegation_ledger.py, test_raw_vs_public_audit.py, test_upstream_divergence_ledger.py, test_api_ergonomics_audit.py, which run those generators and check their output's contracts but do not compare the committed ledgers |
| 8 | NetworkX's own test suite | scripts/run_upstream_networkx_suite.py: NetworkX 3.6.1's suite with fnx as the test backend (about 7 minutes), held to artifacts/upstream_suite/ratchet_v1.json. It fails on any failure the ratchet does not name with a reason, or when the pass count drops below the ratchet's floor. |
| 9 | Full Python parity suite | scripts/run_python_parity_suite.py --workers 4: every tests/python/test_*.py file in shards of explicit file lists, each through scripts/run_pytest_guarded.sh; fails on any failed, errored or timed-out shard and refuses to start with less than 20 GB free disk. On 2026-09-24: 1,101 files, 68,318 passed, 0 failed, 28 minutes with 4 workers. |
The conformance fixture replay runs inside check 4 (fnx-conformance's smoke_report_is_stable replays every fixture against the current build and requires 0 mismatches); the committed reports under artifacts/conformance/latest/ are refreshed on demand with cargo run -p fnx-conformance --bin run_smoke, and scripts/verify_conformance_freshness.py checks their age, not their correctness. Not gated, and run on demand: the performance harnesses (their measurement substrate is br-r37-c1-rc0923-epic-honest-measurement-vbneu.4), UBS, fuzzing campaigns longer than the smoke budget or under a sanitizer, and the RaptorQ scrub (br-r37-c1-rc0923-epic-crown-jewels-csmqh.2).