implosive-origin-utac 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. implosive_origin_utac-1.0.0/.github/ISSUE_TEMPLATE/bug_report.md +35 -0
  2. implosive_origin_utac-1.0.0/.github/ISSUE_TEMPLATE/feature_request.md +29 -0
  3. implosive_origin_utac-1.0.0/.github/PULL_REQUEST_TEMPLATE.md +31 -0
  4. implosive_origin_utac-1.0.0/.github/workflows/ci.yml +63 -0
  5. implosive_origin_utac-1.0.0/.github/workflows/release.yml +100 -0
  6. implosive_origin_utac-1.0.0/.gitignore +22 -0
  7. implosive_origin_utac-1.0.0/.pre-commit-config.yaml +17 -0
  8. implosive_origin_utac-1.0.0/.zenodo.json +41 -0
  9. implosive_origin_utac-1.0.0/CHANGELOG.md +35 -0
  10. implosive_origin_utac-1.0.0/CONTRIBUTING.md +49 -0
  11. implosive_origin_utac-1.0.0/DISCLAIMER.md +40 -0
  12. implosive_origin_utac-1.0.0/LICENSE +229 -0
  13. implosive_origin_utac-1.0.0/LICENSE-DOCS +167 -0
  14. implosive_origin_utac-1.0.0/PKG-INFO +271 -0
  15. implosive_origin_utac-1.0.0/README.md +231 -0
  16. implosive_origin_utac-1.0.0/README_QUICKSTART.md +52 -0
  17. implosive_origin_utac-1.0.0/RELEASE_GUIDE.md +44 -0
  18. implosive_origin_utac-1.0.0/contracts/example_full.yaml +37 -0
  19. implosive_origin_utac-1.0.0/contracts/example_minimal.yaml +7 -0
  20. implosive_origin_utac-1.0.0/contracts/runtime.schema.yaml +152 -0
  21. implosive_origin_utac-1.0.0/data/bicep_keck_r_bounds.yaml +23 -0
  22. implosive_origin_utac-1.0.0/data/wifi_model_params.yaml +22 -0
  23. implosive_origin_utac-1.0.0/docs/cli.md +88 -0
  24. implosive_origin_utac-1.0.0/docs/index.md +37 -0
  25. implosive_origin_utac-1.0.0/docs/templates.md +111 -0
  26. implosive_origin_utac-1.0.0/mkdocs.yml +43 -0
  27. implosive_origin_utac-1.0.0/pyproject.toml +97 -0
  28. implosive_origin_utac-1.0.0/scripts/validate_runtime.py +211 -0
  29. implosive_origin_utac-1.0.0/src/diamond_setup/__init__.py +4 -0
  30. implosive_origin_utac-1.0.0/src/diamond_setup/_types.py +13 -0
  31. implosive_origin_utac-1.0.0/src/diamond_setup/cli.py +183 -0
  32. implosive_origin_utac-1.0.0/src/diamond_setup/preset.py +84 -0
  33. implosive_origin_utac-1.0.0/src/diamond_setup/templates/__init__.py +15 -0
  34. implosive_origin_utac-1.0.0/src/diamond_setup/templates/genesis.py +84 -0
  35. implosive_origin_utac-1.0.0/src/diamond_setup/templates/implosive_origin.py +87 -0
  36. implosive_origin_utac-1.0.0/src/diamond_setup/templates/minimal.py +171 -0
  37. implosive_origin_utac-1.0.0/src/diamond_setup/validator.py +67 -0
  38. implosive_origin_utac-1.0.0/src/implosive_origin/__init__.py +44 -0
  39. implosive_origin_utac-1.0.0/src/implosive_origin/cmb_predictions.py +58 -0
  40. implosive_origin_utac-1.0.0/src/implosive_origin/constants.py +45 -0
  41. implosive_origin_utac-1.0.0/src/implosive_origin/dark_big_bang.py +94 -0
  42. implosive_origin_utac-1.0.0/src/implosive_origin/dm_power_spectrum.py +69 -0
  43. implosive_origin_utac-1.0.0/src/implosive_origin/entropy_origin.py +60 -0
  44. implosive_origin_utac-1.0.0/src/implosive_origin/inflation_bridge.py +72 -0
  45. implosive_origin_utac-1.0.0/src/implosive_origin/system.py +211 -0
  46. implosive_origin_utac-1.0.0/src/implosive_origin/type6_ode.py +102 -0
  47. implosive_origin_utac-1.0.0/src/implosive_origin/wifi_interface.py +66 -0
  48. implosive_origin_utac-1.0.0/tests/__init__.py +0 -0
  49. implosive_origin_utac-1.0.0/tests/test_cli.py +120 -0
  50. implosive_origin_utac-1.0.0/tests/test_implosive_origin.py +256 -0
  51. implosive_origin_utac-1.0.0/tests/test_preset.py +90 -0
  52. implosive_origin_utac-1.0.0/tests/test_runtime_contract.py +177 -0
  53. implosive_origin_utac-1.0.0/tests/test_validator.py +54 -0
  54. implosive_origin_utac-1.0.0/uv.lock +1222 -0
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: Bug report
3
+ about: Report something that isn't working as expected
4
+ title: "[BUG] "
5
+ labels: bug
6
+ assignees: ""
7
+ ---
8
+
9
+ ## Description
10
+
11
+ A clear and concise description of the bug.
12
+
13
+ ## Steps to reproduce
14
+
15
+ 1. ...
16
+ 2. ...
17
+ 3. ...
18
+
19
+ ## Expected behavior
20
+
21
+ What you expected to happen.
22
+
23
+ ## Actual behavior
24
+
25
+ What actually happened (include full error messages / tracebacks if any).
26
+
27
+ ## Environment
28
+
29
+ - Package version: (`pip show implosive-origin-utac` or `git describe --tags`)
30
+ - Python version:
31
+ - OS:
32
+
33
+ ## Additional context
34
+
35
+ Anything else relevant — logs, screenshots, related issues.
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest a new feature, module, or enhancement
4
+ title: "[FEATURE] "
5
+ labels: enhancement
6
+ assignees: ""
7
+ ---
8
+
9
+ ## Summary
10
+
11
+ A clear and concise description of the feature.
12
+
13
+ ## Motivation
14
+
15
+ Why is this needed? What problem does it solve, or what new capability
16
+ does it enable within the GenesisAeon ecosystem?
17
+
18
+ ## Proposed approach
19
+
20
+ How might this be implemented? (Sketches, pseudocode, references to
21
+ related GenesisAeon packages or Diamond Interface methods are welcome.)
22
+
23
+ ## Alternatives considered
24
+
25
+ Any alternative approaches you've thought about.
26
+
27
+ ## Additional context
28
+
29
+ Links to relevant papers, prior discussion, or related issues/PRs.
@@ -0,0 +1,31 @@
1
+ ## Summary
2
+
3
+ What does this PR do, in one or two sentences?
4
+
5
+ ## Related issue(s)
6
+
7
+ Closes #...
8
+
9
+ ## Type of change
10
+
11
+ - [ ] Bug fix
12
+ - [ ] New feature
13
+ - [ ] Breaking change (Diamond Interface or other public API)
14
+ - [ ] Documentation
15
+ - [ ] Tooling / CI / release process
16
+ - [ ] Dependency update
17
+
18
+ ## Checklist
19
+
20
+ - [ ] Tests added/updated and passing locally (`pytest`)
21
+ - [ ] `CHANGELOG.md` updated under `## [Unreleased]`
22
+ - [ ] Documentation updated (README, docstrings, notebooks if relevant)
23
+ - [ ] If this changes `run_cycle` / `get_crep_state` / `get_utac_state` /
24
+ `get_phase_events` / `to_zenodo_record`: noted as a breaking change
25
+ and version bump plan described above
26
+ - [ ] If this touches scientific claims/predictions: sources cited and
27
+ speculative vs. validated status is clear
28
+
29
+ ## Additional notes
30
+
31
+ Anything reviewers should know.
@@ -0,0 +1,63 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: ["main", "master", "claude/**"]
6
+ pull_request:
7
+ branches: ["main", "master"]
8
+
9
+ concurrency:
10
+ group: ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress: true
12
+
13
+ jobs:
14
+ lint:
15
+ name: Lint (ruff + mypy)
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - uses: actions/setup-python@v5
20
+ with:
21
+ python-version: "3.11"
22
+ - name: Install dev dependencies
23
+ run: pip install -e ".[dev]"
24
+ - name: Run ruff
25
+ run: ruff check src tests
26
+ - name: Run mypy
27
+ run: mypy src
28
+
29
+ test:
30
+ name: Tests (Python ${{ matrix.python-version }})
31
+ runs-on: ubuntu-latest
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ python-version: ["3.11", "3.12"]
36
+ steps:
37
+ - uses: actions/checkout@v4
38
+ - uses: actions/setup-python@v5
39
+ with:
40
+ python-version: ${{ matrix.python-version }}
41
+ - name: Install dependencies
42
+ run: pip install -e ".[dev]"
43
+ - name: Run pytest with coverage
44
+ run: pytest --cov=src --cov-report=xml
45
+ - name: Upload coverage
46
+ if: matrix.python-version == '3.11'
47
+ uses: codecov/codecov-action@v4
48
+ with:
49
+ token: ${{ secrets.CODECOV_TOKEN }}
50
+ files: coverage.xml
51
+
52
+ docs:
53
+ name: Docs (mkdocs --strict)
54
+ runs-on: ubuntu-latest
55
+ steps:
56
+ - uses: actions/checkout@v4
57
+ - uses: actions/setup-python@v5
58
+ with:
59
+ python-version: "3.11"
60
+ - name: Install dev and docs dependencies
61
+ run: pip install -e ".[dev,docs]"
62
+ - name: Build docs
63
+ run: mkdocs build --strict
@@ -0,0 +1,100 @@
1
+ name: Release
2
+ on:
3
+ push:
4
+ tags:
5
+ - "v*.*.*"
6
+ - "v*.*.*-rc*"
7
+ - "v*.*.*-alpha*"
8
+ - "v*.*.*-beta*"
9
+ permissions:
10
+ contents: write
11
+ id-token: write # for PyPI trusted publishing, if configured
12
+ jobs:
13
+ build:
14
+ name: Build distribution
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0
20
+ - name: Set up Python
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version: "3.12"
24
+ - name: Install build tooling
25
+ run: python -m pip install --upgrade pip build
26
+ - name: Build sdist and wheel
27
+ run: python -m build
28
+ - name: Upload build artifacts
29
+ uses: actions/upload-artifact@v4
30
+ with:
31
+ name: dist
32
+ path: dist/
33
+ test:
34
+ name: Run test suite
35
+ runs-on: ubuntu-latest
36
+ steps:
37
+ - uses: actions/checkout@v4
38
+ - name: Set up Python
39
+ uses: actions/setup-python@v5
40
+ with:
41
+ python-version: "3.12"
42
+ - name: Install package with dev/test extras
43
+ run: |
44
+ python -m pip install --upgrade pip
45
+ if python -c "import tomllib" 2>/dev/null; then :; fi
46
+ pip install -e ".[dev]" 2>/dev/null || pip install -e ".[test]" 2>/dev/null || pip install -e "."
47
+ pip install pytest pytest-cov
48
+ - name: Run tests
49
+ run: pytest -q || pytest -q --no-header
50
+ publish-canary:
51
+ name: Publish canary (TestPyPI + pre-release)
52
+ needs: [build, test]
53
+ if: contains(github.ref_name, '-rc') || contains(github.ref_name, '-alpha') || contains(github.ref_name, '-beta')
54
+ runs-on: ubuntu-latest
55
+ environment: testpypi
56
+ steps:
57
+ - uses: actions/download-artifact@v4
58
+ with:
59
+ name: dist
60
+ path: dist/
61
+ - name: Publish to TestPyPI
62
+ uses: pypa/gh-action-pypi-publish@release/v1
63
+ with:
64
+ repository-url: https://test.pypi.org/legacy/
65
+ password: ${{ secrets.TEST_PYPI_API_TOKEN }}
66
+ skip-existing: true
67
+ - name: Create GitHub pre-release
68
+ uses: softprops/action-gh-release@v2
69
+ with:
70
+ files: dist/*
71
+ prerelease: true
72
+ generate_release_notes: true
73
+ publish-production:
74
+ name: Publish production (PyPI + release + Zenodo archive)
75
+ needs: [build, test]
76
+ if: ${{ !contains(github.ref_name, '-rc') && !contains(github.ref_name, '-alpha') && !contains(github.ref_name, '-beta') }}
77
+ runs-on: ubuntu-latest
78
+ environment: pypi
79
+ steps:
80
+ - uses: actions/download-artifact@v4
81
+ with:
82
+ name: dist
83
+ path: dist/
84
+ - name: Publish to PyPI
85
+ uses: pypa/gh-action-pypi-publish@release/v1
86
+ with:
87
+ password: ${{ secrets.PYPI_API_TOKEN }}
88
+ skip-existing: true
89
+ - name: Create GitHub Release
90
+ uses: softprops/action-gh-release@v2
91
+ with:
92
+ files: dist/*
93
+ prerelease: false
94
+ generate_release_notes: true
95
+ # NOTE: Zenodo archival of this GitHub Release happens automatically
96
+ # IF this repo has Zenodo-GitHub integration enabled at
97
+ # https://zenodo.org/account/settings/github/ (a per-repo, per-owner
98
+ # OAuth toggle on zenodo.org — cannot be set from a workflow file).
99
+ # Once enabled, every GitHub Release like this one mints/updates a
100
+ # Zenodo DOI automatically using the .zenodo.json metadata in this repo.
@@ -0,0 +1,22 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *.egg-info/
5
+ .eggs/
6
+ dist/
7
+ build/
8
+ .venv/
9
+ .uv/
10
+
11
+ # Testing
12
+ .coverage
13
+ htmlcov/
14
+ .pytest_cache/
15
+
16
+ # Docs
17
+ site/
18
+
19
+ # Editors
20
+ .vscode/
21
+ .idea/
22
+ *.swp
@@ -0,0 +1,17 @@
1
+ repos:
2
+ - repo: https://github.com/astral-sh/ruff-pre-commit
3
+ rev: v0.6.0
4
+ hooks:
5
+ - id: ruff
6
+ args: [--fix]
7
+ - id: ruff-format
8
+
9
+ - repo: https://github.com/pre-commit/pre-commit-hooks
10
+ rev: v4.6.0
11
+ hooks:
12
+ - id: trailing-whitespace
13
+ - id: end-of-file-fixer
14
+ - id: check-yaml
15
+ - id: check-toml
16
+ - id: check-merge-conflict
17
+ - id: debug-statements
@@ -0,0 +1,41 @@
1
+ {
2
+ "title": "implosive-origin-utac — P33: UTAC Type-6 Implosive Origin Fields, pre-inflationary dark matter cosmology. GenesisAeon Package 33. SPECULATIVE.",
3
+ "description": "<p>UTAC Type-6 Implosive Origin Fields, pre-inflationary dark matter cosmology. GenesisAeon Package 33. SPECULATIVE.</p><p>Part of the <strong>GenesisAeon</strong> ecosystem (P33, domain: cosmology (speculative) / pre-inflation dark matter). </p><p>See <a href=\"https://github.com/GenesisAeon/implosive-origin-utac\">github.com/GenesisAeon/implosive-origin-utac</a> for source, documentation, and reproducibility notebooks.</p>",
4
+ "creators": [
5
+ {
6
+ "name": "Römer, Johann",
7
+ "affiliation": "Independent Researcher / MOR Research Collective"
8
+ }
9
+ ],
10
+ "license": "GPL-3.0-or-later",
11
+ "upload_type": "software",
12
+ "access_right": "open",
13
+ "keywords": [
14
+ "GenesisAeon",
15
+ "P33",
16
+ "cosmology (speculative) / pre-inflation dark matter",
17
+ "UTAC",
18
+ "CREP",
19
+ "open science",
20
+ "inflation",
21
+ "pre-inflation",
22
+ "dark matter",
23
+ "WIFI model",
24
+ "Dark Big Bang",
25
+ "CMB",
26
+ "tensor-to-scalar ratio",
27
+ "speculative physics"
28
+ ],
29
+ "related_identifiers": [
30
+ {
31
+ "identifier": "10.5281/zenodo.19645351",
32
+ "relation": "isPartOf",
33
+ "resource_type": "publication-article",
34
+ "scheme": "doi"
35
+ }
36
+ ],
37
+ "version": "1.0.0",
38
+ "communities": [
39
+ { "identifier": "genesisaeon" }
40
+ ]
41
+ }
@@ -0,0 +1,35 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Changed
11
+ - Relicensed from MIT to dual-license: source code under GPLv3-or-later
12
+ (`LICENSE`), documentation under CC BY 4.0 (`LICENSE-DOCS`).
13
+
14
+ ## [1.0.0] - 2026
15
+
16
+ ### Added
17
+ - Initial v1.0.0 release as part of the GenesisAeon ecosystem-wide 1.0.0
18
+ milestone.
19
+ - Standardized release tooling: `.zenodo.json`, GitHub Actions release
20
+ workflow (`.github/workflows/release.yml`), `RELEASE_GUIDE.md`,
21
+ `CONTRIBUTING.md`, issue/PR templates.
22
+ - Full Diamond Interface implementation: `run_cycle`, `get_crep_state`,
23
+ `get_utac_state`, `get_phase_events`, `to_zenodo_record`.
24
+ - UTAC Type-6 reversed logistic ODE (implosive pre-inflationary collapse).
25
+ - CMB tensor-to-scalar ratio prediction (r ≈ 0.004 via Frame Principle).
26
+ - Dark matter power spectrum suppression (k_RIG ≈ 0.097 Mpc⁻¹).
27
+ - WIFI Model interface (Freese et al. 2023), Dark Big Bang scenario, entropy origin.
28
+ - Diamond scaffold CLI with `implosive-origin` project template.
29
+
30
+ ### Changed
31
+ - Project metadata (`pyproject.toml`) normalized: version 1.0.0, license MIT,
32
+ authors, `requires-python >=3.11`, GenesisAeon-ecosystem dependency pins
33
+ (`utac-core>=1.0.0`, `implosive-genesis>=1.0.0`).
34
+ - `.zenodo.json` updated to ecosystem-standard template format, version 1.0.0.
35
+ - Release workflow expanded with canary/production separation and test suite step.
@@ -0,0 +1,49 @@
1
+ # Contributing
2
+
3
+ Thanks for your interest in contributing to this GenesisAeon ecosystem
4
+ package!
5
+
6
+ ## Getting started
7
+
8
+ 1. Fork and clone the repository.
9
+ 2. Create a virtual environment: `python -m venv .venv && source .venv/bin/activate`
10
+ (or `.venv\Scripts\activate` on Windows).
11
+ 3. Install in editable mode with dev dependencies:
12
+ `pip install -e ".[dev]"` (or `.[test]` if `dev` extras don't exist).
13
+ 4. Run the test suite: `pytest`.
14
+
15
+ ## Code style
16
+
17
+ - Format with `ruff format` and lint with `ruff check`.
18
+ - Type-check with `mypy` where the package uses type hints.
19
+ - Keep functions documented with docstrings (Google or NumPy style,
20
+ whichever this repo already uses).
21
+
22
+ ## Diamond Interface packages
23
+
24
+ If this package implements the GenesisAeon Diamond Interface
25
+ (`run_cycle`, `get_crep_state`, `get_utac_state`, `get_phase_events`,
26
+ `to_zenodo_record`), any change to these methods' signatures or return
27
+ shapes is a **breaking change** and requires a MAJOR version bump (see
28
+ `RELEASE_GUIDE.md`).
29
+
30
+ ## Pull requests
31
+
32
+ - One logical change per PR.
33
+ - Add or update tests for any behavioral change.
34
+ - Update `CHANGELOG.md` under an `## [Unreleased]` section.
35
+ - Fill out the PR template (`.github/PULL_REQUEST_TEMPLATE.md`).
36
+
37
+ ## Reporting issues
38
+
39
+ Please use the issue templates in `.github/ISSUE_TEMPLATE/` — they help us
40
+ triage bug reports vs. feature requests quickly.
41
+
42
+ ## Scientific claims
43
+
44
+ This is part of a research framework. If your contribution touches any
45
+ scientific model, prediction, or benchmark (e.g. CREP `Γ` values, UTAC
46
+ parameters, falsifiable predictions), please:
47
+ - Cite the source (paper, dataset, or prior GenesisAeon Zenodo record).
48
+ - Clearly mark speculative vs. validated claims, consistent with this
49
+ repo's existing `DISCLAIMER.md` (if present).
@@ -0,0 +1,40 @@
1
+ # DISCLAIMER — Speculative Cosmological Module
2
+
3
+ **Status: SPECULATIVE**
4
+
5
+ This module (`implosive-origin-utac`) implements UTAC Type-6 (Implosive Origin Fields),
6
+ a speculative cosmological framework connecting the UTAC logistic ODE to pre-inflationary
7
+ dark matter dynamics.
8
+
9
+ ## What this is
10
+
11
+ - A mathematically self-consistent framework for exploring pre-inflationary cosmology
12
+ through the lens of UTAC Type-6 reversed dynamics
13
+ - A source of **falsifiable predictions** (CMB B-modes, dark matter power spectrum,
14
+ entropy bounds) that can be tested against future observations
15
+ - Part of the GenesisAeon research collective's theoretical physics preprint programme
16
+ (DOI: 10.5281/zenodo.17472834)
17
+
18
+ ## What this is NOT
19
+
20
+ - Established physics — this framework has **not** passed peer review
21
+ - A claim that inflation works this way — it is one of several speculative models
22
+ - A replacement for standard inflationary cosmology (Starobinsky, Higgs inflation, etc.)
23
+
24
+ ## Falsification conditions
25
+
26
+ All predictions in this module are explicitly labeled. The module is **falsified** if:
27
+
28
+ 1. CMB B-mode experiments (BICEP/Keck, LiteBIRD) measure `r > 0.036` or `r < 0.001`
29
+ (our prediction: `r ≈ 0.004`)
30
+ 2. Euclid DR1 dark matter power spectrum shows no suppression at `k ≈ 0.1 Mpc⁻¹`
31
+ 3. The Type-6 ODE fails to produce a well-defined inflationary fixed point H*
32
+
33
+ ## References
34
+
35
+ - WIFI Model: Freese et al. (2023), arXiv:2309.14412
36
+ - Dark Big Bang: Niedermayer (2023)
37
+ - UTAC v1.0: DOI 10.5281/zenodo.17472834
38
+ - BICEP/Keck r < 0.036: BICEP/Keck 2021
39
+
40
+ Please treat all numerical outputs from this module as **hypotheses**, not measurements.