Skip to main content

Development records and generated results

User-facing documentation, small regression fixtures, reproduction scripts and curated guide figures stay in Git. Development logs, detailed qualification reports, raw measurements and historical plot collections live outside the checkout. Building these docs and running ordinary tests does not require the development archive.

Research sources​

The core checkout contains maintained library code, focused regression tests, reusable documented benchmarks/diagnostics and public documentation. Exploratory kernels, one-off troubleshooting scripts, campaign coordinators and parameter sweeps start outside this checkout. Disposable work belongs in /tmp; retained research source is tracked in a separate Git repository.

The local native research repository is:

$WARPSPH_DEVELOPMENT_ROOT/core/research/native-backend/

Here the shared root is /home/lu26029/dev/warpSPHDevelopment. That workspace is not itself a Git repository; only the research child has independent source history. No remote or automatic backup has been configured. Simulation output, measurements and profiler captures stay outside both source repositories, under core/experiments/<study>/<run>/ in the shared workspace.

The 2026-11-03 migration preserves all 102 tracked experiment files from core commit 58a1062 in core/archives/research-migration-20261103/. Its manifest records original paths, sizes and SHA-256 checksums verified before removal. The initial research commit is 0892905. One hundred source/input files are tracked in the research repository; the two generated inventory/measurement JSON files remain in the immutable archive. The manually reviewed operator assessments remain with the research source. Existing measured-run archives were not modified.

Historical report commands and research README files describe their original layout and source revision. For exact replay, use the pinned revision/runtime in a disposable checkout. New research should explicitly select its target core checkout and output directory; do not restore experiments into the maintained core checkout to satisfy old relative-path assumptions.

Before promoting a research result, extract the maintained implementation and minimal regression or a reusable documented tool. Leave the exploratory variants, raw evidence and campaign scripts in the research/evidence workspace. Record both source commits, configuration and runtime with important results. Preserve failed controls alongside passing runs; do not overwrite prior evidence.

AGENTS.md applies this rule to agent work. .gitignore discourages local run directories, and python scripts/check_repository_layout.py checks the Git index in CI without loading Torch/Warp. The guard checks notebook contents in the index and rejects tracked experiment paths, generated builds, logs and simulation/profiler files. Maintained fixtures have explicit exceptions. It is a layout check, not a substitute for reviewing whether a new script has a maintained consumer. Tests, builds and public examples need no research checkout.

Local archive​

The default layout is a sibling of the source repository:

dev/
warpSPHCore/
warpSPHDevelopment/
README.md
core/
README.md
REPOSITORY_PLAN.md # detailed plan at the time of migration
docs/development/ # reports and generated figures
docs/regression/ # raw results and workload fixtures
research/native-backend/ # independent Git repo for exploratory source
archives/ # immutable migration snapshots
experiments/ # experiment results and reports
higherOrderSPH/ # generated harness reports
logs/2026-10-16/ # captured development runs
manifests/ # migration inventory and SHA-256 checksums

Other projects can use separate children such as plotting/ under the same warpSPHDevelopment root. Backup of that shared folder is manual; no cloud upload, synchronization or retention service is configured by this repository.

scripts/development_paths.py resolves the core artifact directory. To use a different location, set the shared root (not its core child):

export WARPSPH_DEVELOPMENT_ROOT=/path/to/warpSPHDevelopment

This is also useful for worktrees whose immediate parent is not dev/. The helper only resolves paths. Producers create directories when writing; imports and --help do not create an archive.

Regeneration​

Run commands from the source checkout, with the appropriate package/runtime installed. Set output paths explicitly for tools requiring them:

export WARPSPH_DEVELOPMENT_ROOT="$(cd .. && pwd)/warpSPHDevelopment"
CORE_DEV="$WARPSPH_DEVELOPMENT_ROOT/core"

python scripts/diagnostics/qualify_mfm.py --suite wave --n 32 --device cpu \
--precision float64 --backend warp --modes MFM MFV --closures project \
--tend 0.001 --output "$CORE_DEV/docs/regression/mfm-short-new.json"

python scripts/diagnostics/qualify_reconstruction.py --help
python scripts/diagnostics/qualify_mfm_geometry.py --help
python scripts/benchmarks/plot_work_scaling.py --help

Development plotting/frontend tools with default result paths now use the external core directory. Explicit CLI output arguments remain caller-owned. Historical commands in archived reports preserve the paths used for their original runs; replace those output paths with the external location when rerunning them. Source hashes, configurations and numerical assumptions remain in the original records. Exact historical numbers require compatible sources and dependencies; regeneration on a newer revision creates new evidence. Source-hash guards are retained rather than silently relabeling old results.

The field reconstruction guide is a curated documentation artifact. Its small figures and example dataset intentionally remain in docs/docs/assets/reconstruction/, and its regeneration command continues to update those public assets.

Core capability qualification​

The bounded core pass is recorded by source commit 2034a4e. Its final local checks passed:

GateResult
Full CPU suite2,568 passed, 2,429 skipped; includes 44 isolated float64 derivative scripts
Real-CUDA gate, float324,143 passed, 163 skipped
Real-CUDA gate, float644,163 passed, 143 skipped
Targeted operation matricesAll five passed, including 1D, 2D/both precisions/light jitter and 3D CUDA
Public examplesFourteen configurations per precision on CPU/CUDA
Isolated wheelSame public examples passed on both devices and precisions
DocumentationProduction build passed

The runtime was Python 3.13.14, Torch 2.13.0+cu130, Warp 1.17.0 and NumPy 2.5.2, with an RTX PRO 6000 Blackwell for CUDA. Python >=3.10 is the package metadata range; hosted CPU CI is configured for Python 3.12. Those declarations do not certify every dependency/OS/GPU combination. Skips and exclusions are described in the archived reports. Hosted CUDA CI still requires GPU infrastructure.

Detailed evidence is in core/docs/development/delivery-validation.md and core/docs/regression/capability-delivery-2026-10-16.json inside the shared development folder. Historical reconstruction/MFM reports and raw ladders are there too. The public reconstruction, MFM/MFV, autodiff and linalg pages retain their supported contracts and explicit limitations. The runnable examples are independent of the archive.