Skip to main content

Evidence-first reference package for the QuantumScalar Dark Matter Simulation Suite with canonical simulation showcase artifacts.

Project description

QS-DMSS

QS-DMSS is a deterministic, evidence-first reference build of the QuantumScalar Dark Matter Simulation Suite. This repository now ships the productization spine needed to move from prototype scripts into a reproducible package:

QS-DMSS is beta for reproducible package/evidence workflows; it is not peer-reviewed scientific validation.

  • Installable Python package
  • Bundled demo assets for installed-package smoke testing
  • Config-driven simulation CLI
  • Local-first run cockpit and JSON API
  • Parameter sweeps and multi-run comparison in the cockpit
  • Experiment registry with saved comparison reports and bundles
  • Objective-driven decision profiles with ranked recommendations
  • Template-defined decision campaigns across multi-parameter search grids
  • Run ledger with stable run IDs and config digests
  • Evidence bundle with artifacts, metrics, manifest, and HTML report
  • Replay and verification commands for reproducibility checks
  • GitHub Actions CI and containerized runtime

What This Build Includes

The current reference implementation focuses on the backbone needed for productization:

  • A NumPy-based split-step Schrodinger-Poisson solver
  • YAML configuration loading with explicit validation
  • Structured run outputs under runs/<run_id>/
  • Structured experiment outputs under experiments/<experiment_id>/
  • A local cockpit for launch, inspection, verification, replay, and bundle download
  • Sweep support for exploring one parameter across multiple deterministic runs
  • Decision campaign support for expanding a template into a multi-parameter grid automatically
  • Comparison tooling for energy drift, norm drift, density, and runtime deltas
  • Decision profiles that score runs against an explicit objective, constraint set, and ranking policy
  • Durable experiment exports with copied run evidence, comparison JSON, report HTML, manifest, and bundle ZIP
  • Evidence artifacts:
    • config.yaml
    • run.json
    • metrics.json
    • energy.csv
    • environment.lock.json
    • artifacts/final_density.npy
    • artifacts/final_state.npz
    • report.html
    • manifest.sha256.json
    • evidence_bundle.zip
  • Verification tooling for manifests and config digests
  • Replay support for deterministic reruns

Quickstart

Install the published package from PyPI:

python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install qs-dmss

Run the bundled demo config from the installed package:

qs-dmss run-demo

Launch the bundled installed-package demo campaign:

qs-dmss campaigns run-demo

Run the benchmark validation spine:

qs-dmss benchmarks validate --scenario demo-baseline

This writes benchmark-validation/benchmark-validation.json plus a reviewer-readable benchmark-validation/benchmark-validation.md summary.

Run the canonical simulation showcase:

qs-dmss showcase run --output-root simulation-showcase

This writes a reviewer-facing simulation-showcase/simulation-showcase.md walkthrough, CSV tables, SVG plots, verified run evidence, and replay evidence for the packaged canonical simulation scenario.

For source development, install the checked-out repository in editable mode:

python -m pip install -e .[dev]
qs-dmss run configs/demo.yaml

Reviewers who want to validate the published release without a source checkout can use the wheel-first path in docs/reviewer-wheel-quickstart.md.

Reviewers who want the shortest overview of what to inspect, what QS-DMSS claims, and where to file feedback can start with docs/reviewer-packet.md.

External reviewers and contributors can start with the active review sprint in issue #37, opt into review coordination through GitHub Discussion #44, use the reviewer opt-in issue form, then use the circulation funnel in docs/circulation-funnel.md, or the copyable outreach asks in docs/external-review-outreach.md.

Active post-v0.3.0 development is tracked in issue #49 and docs/post-v0.3-active-roadmap.md.

Start the local cockpit:

qs-dmss cockpit --host 127.0.0.1 --port 8001

Then open http://127.0.0.1:8001 in a browser.

Inside the cockpit you can:

  • Launch a single run from a checked-in or edited config
  • Launch a parameter sweep across interaction strength, timestep, step count, amplitude, width, or seed
  • Launch a template-defined decision campaign that expands into a reproducible multi-parameter run matrix
  • Compare multiple runs side by side with shared experiment metadata
  • Save a comparison into the experiment registry and reopen it later with report and bundle downloads
  • Load an objective-driven template and see the recommended winner directly in the comparison view

Verify the generated evidence bundle:

qs-dmss verify runs\<run_id>

Replay a prior run using the captured config:

qs-dmss replay runs\<run_id>

Persist a saved experiment bundle from two or more runs:

qs-dmss experiments export <run_id> <run_id> --label "comparison bundle"

List saved experiment artifacts:

qs-dmss experiments list

Launch the decision campaign defined by a template:

qs-dmss campaigns run configs/demo.yaml

Or launch the bundled installed-package demo campaign:

qs-dmss campaigns run-demo

The checked-in demo template now includes a decision profile:

  • objective
  • constraints
  • ranking
  • campaign

That means sweeps, experiment exports, and template-driven campaigns can now return a replayable recommendation instead of only raw metric tables.

The packaged showcase command adds a reviewer-facing simulation inspection path on top of that loop:

run packaged scenario -> export CSV/SVG artifacts -> verify evidence -> replay -> compare final density

Container Runtime

Build the container image:

docker build -t qs-dmss .

Run the cockpit in Docker:

docker run --rm -p 8001:8001 qs-dmss

The image installs the built wheel, starts qs-dmss cockpit --host 0.0.0.0 --port 8001, and exposes the health endpoint at http://127.0.0.1:8001/api/health.

Project Layout

configs/                 Checked-in example configs
benchmarks/              Benchmark validation guidance
schemas/                 JSON schema for run configs
src/qs_dmss/             Package source
tests/                   Smoke and reproducibility tests
runs/                    Run ledger outputs (generated)
experiments/             Saved comparison artifacts (generated)

Development

Run the smoke tests:

pytest

CI lives in .github/workflows/ci.yml and validates:

  • the editable install and test suite across Python 3.10 through 3.13
  • static cockpit JavaScript syntax
  • source distribution and wheel build metadata
  • installed-wheel run-demo smoke test
  • Docker build plus live /api/health and /api/configs probes

Fresh-install adoption smoke lives in .github/workflows/fresh-install-smoke.yml and validates PyPI and GitHub release-wheel installs on Linux, macOS, and Windows.

Release-candidate versioning and distribution artifact rules live in RELEASE.md.

PyPI distribution details and Trusted Publishing provenance live in docs/pypi-distribution-readiness.md.

The beta promotion gate lives in docs/beta-readiness.md.

Benchmark validation guidance lives in docs/benchmark-validation.md.

Canonical simulation showcase guidance lives in docs/simulation-showcase.md.

Evidence artifact definitions live in docs/evidence-bundle-glossary.md, demo and benchmark expectations live in docs/demo-benchmark-expectations.md, and decision profile fields are annotated in docs/decision-profile-example.md.

Contributor source-map guidance lives in docs/contributor-map.md, and GitHub social preview setup lives in docs/social-preview.md.

Scholarly indexing readiness and public-launch materials live in docs/ascl-joss-readiness.md and docs/public-technical-launch-post.md.

The JOSS preflight checklist lives in docs/joss-preflight.md.

The post-v0.3.0 active development roadmap lives in docs/post-v0.3-active-roadmap.md.

The next research-grade upgrade slice is defined in docs/research-grade-upgrade-slice.md, with paper strategy notes in docs/research-paper-strategy.md.

Funding And Stewardship

QS-DMSS has been accepted into Open Source Collective. Support can be directed through Open Collective to help sustain transparent maintenance of the reproducible package/evidence workflow, reviewer documentation, benchmark validation, and public research-software readiness work.

Funding support does not imply peer-reviewed scientific validation or endorsement of any physical model. Scientific claims should continue to be reviewed through reproducible evidence, public issues, and formal scholarly review.

Citation

Citation metadata lives in CITATION.cff. GitHub uses this file to populate the repository citation prompt, and Zenodo can use it when archiving GitHub releases.

For formal research references, prefer the Zenodo DOI citation:

Zenodo citation notes live in docs/zenodo-citation.md.

Current Scope

This branch intentionally focuses on the package/evidence/reproducibility spine first. Optional accelerator backends, UI layers, plugin expansion, and broader enterprise modules can now build on a stable execution loop:

configure -> run -> measure -> bundle -> verify -> replay

The cockpit adds the first browser-native product layer on top of that loop:

configure -> launch -> inspect -> verify -> replay -> download

The experiment registry now makes comparison durable too:

select runs -> compare -> save -> report -> bundle -> reopen

The decision layer adds recommendation semantics to that flow:

select template -> launch campaign -> score runs -> recommend winner -> export evidence

The campaign layer now automates the search plan too:

select template -> expand campaign -> run matrix -> score variants -> recommend winner -> reopen bundle

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qs_dmss-0.4.0.tar.gz (124.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qs_dmss-0.4.0-py3-none-any.whl (81.5 kB view details)

Uploaded Python 3

File details

Details for the file qs_dmss-0.4.0.tar.gz.

File metadata

  • Download URL: qs_dmss-0.4.0.tar.gz
  • Upload date:
  • Size: 124.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qs_dmss-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fa2e0836692e5917dfafd0aa479da3e3070b47f53912336bac4dd67266a72244
MD5 ad1098fd5fcde871771598e35370397f
BLAKE2b-256 ba93fdf9d88118ca78632c98e21ff2af16895a414045dbcb08794c2e7d4d376c

See more details on using hashes here.

Provenance

The following attestation bundles were made for qs_dmss-0.4.0.tar.gz:

Publisher: publish-pypi.yml on AI-Bio-Synergy-Holdings-LLC/QS-DMSS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qs_dmss-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: qs_dmss-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 81.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qs_dmss-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce2469accab85d6f04fb9d49fb6387548518ba18475b4752dd39511a6e1fd9d0
MD5 871d233b34540f51c685595a1d9b09fc
BLAKE2b-256 03d467192cc3e13e4bed3c667d8e273935abbd76c1fa3d3215c1dee1419a6b2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for qs_dmss-0.4.0-py3-none-any.whl:

Publisher: publish-pypi.yml on AI-Bio-Synergy-Holdings-LLC/QS-DMSS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page