Skip to content
This repository was archived by the owner on Aug 12, 2026. It is now read-only.

Commit 169c272

Browse files
authored
Merge pull request #157 from acgetchell/docs/90-release-readiness
feat(reproducibility): add initial-state loading and checkpoint resume
2 parents bdb756c + 7e8734f commit 169c272

25 files changed

Lines changed: 3618 additions & 855 deletions

‎.github/CONTRIBUTING.md‎

Lines changed: 315 additions & 52 deletions
Large diffs are not rendered by default.

‎Justfile‎

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ doxygen_version := "1.16.1"
1414
gcc_version := "16"
1515
git_cliff_version := "2.13.1"
1616
graphviz_version := "15.1.0"
17+
initializer_binary := if os_family() == "windows" { "out/build/reference/src/initialize.exe" } else { "out/build/reference/src/initialize" }
1718
just_version := "1.58.0"
1819
lcov_sha256 := "7e5e5a154bd5f3557659c328cab376764e7abd238bb403c424472c296b175126"
1920
lcov_version := "2.5"
@@ -397,6 +398,16 @@ fix: _format-fix python-fix
397398
just --fmt
398399
@echo "Fixes applied."
399400

401+
# Build as needed and generate an initial triangulation.
402+
[group('workflows')]
403+
initialize *args: build
404+
{{ initializer_binary }} {{ args }}
405+
406+
# Load an initialized triangulation and start a new CDT move series.
407+
[group('workflows')]
408+
load input *args: build
409+
{{ primary_binary }} --input {{ quote(input) }} {{ args }}
410+
400411
# Run every non-mutating Python source check.
401412
[group('workflows')]
402413
python-check: python-format-check python-lint python-typecheck python-support-test python-entrypoint-test
@@ -411,22 +422,6 @@ python-entrypoint-test: _sync-python-dev
411422
uv run --no-sync cdt-tag-release --help >/dev/null
412423
uv run --no-sync python scripts/sync_vcpkg_tool_pins.py --help >/dev/null
413424

414-
# Build the opt-in macOS CGAL/Qt viewer and run its noninteractive render smoke test.
415-
[group('workflows')]
416-
viewer-build:
417-
{{ if os() == "macos" { "just _build-viewer-unix" } else if os() == "windows" { "cmd.exe //d //c \"echo The archival viewer is not supported on Windows. 1>&2 & exit /b 2\"" } else if os() == "linux" { "sh -c 'echo The archival viewer is not supported on Linux. 1>&2; exit 2'" } else { "sh -c 'echo The archival viewer is supported only on macOS. 1>&2; exit 2'" } }}
418-
419-
# Validate the tracked viewer fixture, render manifest, and canonical hero image.
420-
[group('workflows')]
421-
viewer-check: _sync-python-dev
422-
uv run --no-sync python scripts/validate_viewer_artifacts.py
423-
424-
# Regenerate the README hero image from the tracked fixture and render manifest.
425-
[group('workflows')]
426-
viewer-render: viewer-build
427-
{{ viewer_binary }} --manifest {{ quote(viewer_manifest) }} --output {{ quote(viewer_image) }}
428-
just viewer-check
429-
430425
# Apply Ruff lint fixes and formatting to Python source.
431426
[group('workflows')]
432427
python-fix: _sync-python-dev
@@ -533,6 +528,11 @@ reference-regenerate: _sync-python-dev
533528
release-check: _sync-python-dev
534529
uv run --no-sync python scripts/release_check.py
535530

531+
# Resume the identical CDT move series from a checkpoint.
532+
[group('workflows')]
533+
resume checkpoint *args: build
534+
{{ primary_binary }} --resume {{ quote(checkpoint) }} {{ args }}
535+
536536
# Build as needed and run the primary CDT++ executable.
537537
[group('workflows')]
538538
run *args: build
@@ -619,3 +619,19 @@ update-actions:
619619
just _yaml-check
620620
just _action-lint
621621
just _zizmor
622+
623+
# Build the opt-in macOS CGAL/Qt viewer and run its noninteractive render smoke test.
624+
[group('workflows')]
625+
viewer-build:
626+
{{ if os() == "macos" { "just _build-viewer-unix" } else if os() == "windows" { "cmd.exe //d //c \"echo The archival viewer is not supported on Windows. 1>&2 & exit /b 2\"" } else if os() == "linux" { "sh -c 'echo The archival viewer is not supported on Linux. 1>&2; exit 2'" } else { "sh -c 'echo The archival viewer is supported only on macOS. 1>&2; exit 2'" } }}
627+
628+
# Validate the tracked viewer fixture, render manifest, and canonical hero image.
629+
[group('workflows')]
630+
viewer-check: _sync-python-dev
631+
uv run --no-sync python scripts/validate_viewer_artifacts.py
632+
633+
# Regenerate the README hero image from the tracked fixture and render manifest.
634+
[group('workflows')]
635+
viewer-render: viewer-build
636+
{{ viewer_binary }} --manifest {{ quote(viewer_manifest) }} --output {{ quote(viewer_image) }}
637+
just viewer-check

‎README.md‎

Lines changed: 295 additions & 566 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)