certoutage 0.1.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.
- certoutage-0.1.0/CHANGELOG.md +37 -0
- certoutage-0.1.0/CITATION.cff +45 -0
- certoutage-0.1.0/LICENSE +27 -0
- certoutage-0.1.0/LICENSES.md +71 -0
- certoutage-0.1.0/MANIFEST.in +7 -0
- certoutage-0.1.0/PKG-INFO +242 -0
- certoutage-0.1.0/README.md +212 -0
- certoutage-0.1.0/codemeta.json +61 -0
- certoutage-0.1.0/docs/API.md +111 -0
- certoutage-0.1.0/docs/ARCHIVE_LICENSE.txt +49 -0
- certoutage-0.1.0/docs/CC-BY-4.0.txt +396 -0
- certoutage-0.1.0/docs/CONTRACT.md +112 -0
- certoutage-0.1.0/docs/EXTRACTION.json +590 -0
- certoutage-0.1.0/docs/EXTRACTION.md +95 -0
- certoutage-0.1.0/docs/LOGIC_CHANGES.md +65 -0
- certoutage-0.1.0/docs/REGENERATION.md +77 -0
- certoutage-0.1.0/examples/new_case.py +58 -0
- certoutage-0.1.0/examples/table_ii.py +49 -0
- certoutage-0.1.0/pyproject.toml +43 -0
- certoutage-0.1.0/setup.cfg +4 -0
- certoutage-0.1.0/src/certoutage/__init__.py +12 -0
- certoutage-0.1.0/src/certoutage/_banks.py +45 -0
- certoutage-0.1.0/src/certoutage/_generate.py +91 -0
- certoutage-0.1.0/src/certoutage/_runtime.py +135 -0
- certoutage-0.1.0/src/certoutage/_vendor/__init__.py +1 -0
- certoutage-0.1.0/src/certoutage/_vendor/commun.py +61 -0
- certoutage-0.1.0/src/certoutage/_vendor/nak_grouped.py +27 -0
- certoutage-0.1.0/src/certoutage/_vendor/nak_thermal.py +42 -0
- certoutage-0.1.0/src/certoutage/_vendor/oracles.py +132 -0
- certoutage-0.1.0/src/certoutage/_vendor/ppp.py +33 -0
- certoutage-0.1.0/src/certoutage/_vendor/thermal_backend.py +148 -0
- certoutage-0.1.0/src/certoutage/api.py +284 -0
- certoutage-0.1.0/src/certoutage/data/C_N64.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/C_N8.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/GAMMA_l0p1_e3.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/GAMMA_l0p1_e4.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/GAMMA_l1p0_e3.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/GAMMA_l1p0_e4.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/MANIFEST.json +318 -0
- certoutage-0.1.0/src/certoutage/data/MINORANTS_N20.json +168 -0
- certoutage-0.1.0/src/certoutage/data/MINORANTS_N24.json +168 -0
- certoutage-0.1.0/src/certoutage/data/PPP_l0p1_e3.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/PPP_l0p1_e4.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/PPP_l1p0_e3.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/PPP_l1p0_e4.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_12.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_16.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_20.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_24.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_32.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_48.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_64.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_8.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_C_20.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_C_24.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m2_N12.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m2_N16.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m2_N20.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m2_N24.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m2_N32.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m2_N48.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m2_N64.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m2_N8.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m3_N12.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m3_N16.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m3_N20.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m3_N24.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m3_N32.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m3_N48.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m3_N64.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/SIG_m3_N8.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/commun.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/m1_N64.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/m1_N8.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/m2_N8.npz +0 -0
- certoutage-0.1.0/src/certoutage/data/m3_N8.npz +0 -0
- certoutage-0.1.0/src/certoutage/models.py +206 -0
- certoutage-0.1.0/src/certoutage/notices/ARCHIVE_LICENSE.txt +49 -0
- certoutage-0.1.0/src/certoutage/notices/CC-BY-4.0.txt +396 -0
- certoutage-0.1.0/src/certoutage/py.typed +0 -0
- certoutage-0.1.0/src/certoutage.egg-info/PKG-INFO +242 -0
- certoutage-0.1.0/src/certoutage.egg-info/SOURCES.txt +103 -0
- certoutage-0.1.0/src/certoutage.egg-info/dependency_links.txt +1 -0
- certoutage-0.1.0/src/certoutage.egg-info/requires.txt +11 -0
- certoutage-0.1.0/src/certoutage.egg-info/top_level.txt +1 -0
- certoutage-0.1.0/tests/regression/fixtures/D1.json +110 -0
- certoutage-0.1.0/tests/regression/fixtures/D1_POINTS.csv +78 -0
- certoutage-0.1.0/tests/regression/fixtures/D2.json +110 -0
- certoutage-0.1.0/tests/regression/fixtures/D2_POINTS.csv +78 -0
- certoutage-0.1.0/tests/regression/fixtures/D3.json +111 -0
- certoutage-0.1.0/tests/regression/fixtures/D3_POINTS.csv +36 -0
- certoutage-0.1.0/tests/regression/fixtures/FIGURE_1.csv +9 -0
- certoutage-0.1.0/tests/regression/fixtures/MINORANTS_N20.json +168 -0
- certoutage-0.1.0/tests/regression/fixtures/MINORANTS_N24.json +168 -0
- certoutage-0.1.0/tests/regression/fixtures/TABLE_I_CERTIFICATS.csv +10 -0
- certoutage-0.1.0/tests/regression/fixtures/gamma.json +250 -0
- certoutage-0.1.0/tests/regression/fixtures/nakagami.csv +21 -0
- certoutage-0.1.0/tests/regression/test_central.py +89 -0
- certoutage-0.1.0/tests/regression/test_extended.py +43 -0
- certoutage-0.1.0/tests/regression/test_new_environment.py +23 -0
- certoutage-0.1.0/tests/unit/test_audit_fable.py +182 -0
- certoutage-0.1.0/tests/unit/test_contracts.py +144 -0
- certoutage-0.1.0/tests/unit/test_release.py +90 -0
- certoutage-0.1.0/tools/regenerate_from_archive.py +79 -0
- certoutage-0.1.0/tools/regenerate_ppp.py +44 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Journal des changements
|
|
2
|
+
|
|
3
|
+
## 0.1.0 — 2026-11-24
|
|
4
|
+
|
|
5
|
+
- Première version préparée pour la publication : nom `certoutage`, banques
|
|
6
|
+
embarquées et résultats de la Table II conservés à l'identique.
|
|
7
|
+
- README public en anglais, périmètre explicite et provenance chronologique
|
|
8
|
+
distinguant l'archive ayant produit les résultats de cette extraction ultérieure.
|
|
9
|
+
- Métadonnées PEP 639, notices et répartition BSD-3-Clause AND MIT AND
|
|
10
|
+
CC-BY-4.0 ; CITATION.cff et codemeta.json cohérents.
|
|
11
|
+
- Vocabulaire d'intégrité SHA-256 et fonction interne `verified_bytes` ; tests
|
|
12
|
+
des versions et d'arrêt des calculs lors d'une divergence d'empreinte.
|
|
13
|
+
- Wheel et sdist destinés à une installation autonome, sans téléchargement
|
|
14
|
+
de données à l'exécution. Aucun changement des calculs numériques.
|
|
15
|
+
|
|
16
|
+
## Corrections T28b — 24 novembre 2026 (0.1.0.dev1, non publiée)
|
|
17
|
+
|
|
18
|
+
- Validation exacte de `SNRGrid`, indépendante du contexte `decimal` ;
|
|
19
|
+
affichage extérieur par quotient rationnel exact, sans arrondi intermédiaire.
|
|
20
|
+
- Contrôle de Laplace du générateur PPP rétabli aux trois points de l'archive,
|
|
21
|
+
y compris pour la branche grossière ; erreurs explicites sous `python -O`.
|
|
22
|
+
- Neuf invariants des modules vendored `commun`, `ppp` et `thermal_backend`
|
|
23
|
+
passent de `assert` à `ArithmeticError` ; calculs numériques conservés.
|
|
24
|
+
- Précision réelle des certificats fournis (160 bits), message `fresh` et
|
|
25
|
+
contrat de la borne CDF stockée à B corrigés.
|
|
26
|
+
- Cible conservée dans `SNRDecision.target` ; différences de seuils refusées
|
|
27
|
+
pour des cibles, usagers ou paramètres physiques incompatibles.
|
|
28
|
+
- Comportement `str()` de `np.float32(0.1)` figé par test et signalé au README.
|
|
29
|
+
Tests d'audit, régressions binaires et installation propre vérifiés en T28b.
|
|
30
|
+
|
|
31
|
+
## 0.1.0.dev1 — 24 novembre 2026
|
|
32
|
+
|
|
33
|
+
Première phase locale, non publiée. API typée de modèle, coupure, plancher,
|
|
34
|
+
dimensionnement, comparateurs Gamma/moyenne/Eq. (3), borne J_max et Chernoff.
|
|
35
|
+
Banques v7 dont l'intégrité est vérifiée ; génération PPP locale pour une intensité nouvelle.
|
|
36
|
+
Régression brute des affirmations centrales, Table I, Figure 1 et Nakagami.
|
|
37
|
+
Exemples Table II et cas nouveau ; documentation du contrat et de ses limites.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "Please cite certoutage and acknowledge the original reproducibility archive and submitted Letter listed below."
|
|
3
|
+
title: "certoutage: certified outage bounds for thermal RIS-NOMA"
|
|
4
|
+
type: software
|
|
5
|
+
version: 0.1.0
|
|
6
|
+
date-released: 2026-11-24
|
|
7
|
+
authors:
|
|
8
|
+
- family-names: Rabiet
|
|
9
|
+
given-names: Victor
|
|
10
|
+
orcid: "https://orcid.org/0009-0003-3678-3457"
|
|
11
|
+
license:
|
|
12
|
+
- BSD-3-Clause
|
|
13
|
+
- MIT
|
|
14
|
+
- CC-BY-4.0
|
|
15
|
+
abstract: >-
|
|
16
|
+
Certified outage bounds for RIS-NOMA with source-side thermal energy harvesting.
|
|
17
|
+
Extraction dated 24 November 2026 from the reproducibility archive that produced
|
|
18
|
+
the submitted Letter's results. Reproduces Table II identically. New author
|
|
19
|
+
code is BSD-3-Clause, extracted code retains MIT and numerical data CC-BY-4.0;
|
|
20
|
+
the combined distribution uses BSD-3-Clause AND MIT AND CC-BY-4.0.
|
|
21
|
+
keywords:
|
|
22
|
+
- outage probability
|
|
23
|
+
- RIS
|
|
24
|
+
- NOMA
|
|
25
|
+
- energy harvesting
|
|
26
|
+
- interval arithmetic
|
|
27
|
+
- Poisson point process
|
|
28
|
+
doi: "10.5281/zenodo.24509256"
|
|
29
|
+
repository-code: "https://github.com/HubHubHubHubHub/certoutage"
|
|
30
|
+
references:
|
|
31
|
+
- type: software
|
|
32
|
+
title: 'Reproducibility archive for "Certified Outage Bounds for RIS-Assisted NOMA with Source-Side Thermal Energy Harvesting"'
|
|
33
|
+
authors:
|
|
34
|
+
- family-names: Rabiet
|
|
35
|
+
given-names: Victor
|
|
36
|
+
version: "1.1"
|
|
37
|
+
doi: "10.5281/zenodo.24450534"
|
|
38
|
+
notes: "Archive v7; produced the numerical results of the submitted Letter."
|
|
39
|
+
- type: article
|
|
40
|
+
title: "Certified Outage Bounds for RIS-Assisted NOMA with Source-Side Thermal Energy Harvesting"
|
|
41
|
+
authors:
|
|
42
|
+
- family-names: Rabiet
|
|
43
|
+
given-names: Victor
|
|
44
|
+
url: "https://hal.science/hal-05879102"
|
|
45
|
+
notes: "submitted to IEEE Wireless Communications Letters"
|
certoutage-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Victor Rabiet
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
1. Redistributions of source code must retain the above copyright notice,
|
|
10
|
+
this list of conditions and the following disclaimer.
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
3. Neither the name of the copyright holder nor the names of its contributors
|
|
15
|
+
may be used to endorse or promote products derived from this software
|
|
16
|
+
without specific prior written permission.
|
|
17
|
+
|
|
18
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
19
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
20
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
21
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
22
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
23
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
24
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
25
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
26
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Licenses and attribution
|
|
2
|
+
|
|
3
|
+
The distribution's SPDX expression is **BSD-3-Clause AND MIT AND CC-BY-4.0**.
|
|
4
|
+
These licenses apply together to different components; this is not a choice
|
|
5
|
+
of licenses for the whole package. Copyright (c) 2026 Victor Rabiet.
|
|
6
|
+
|
|
7
|
+
This allocation was checked against the original archive's `LICENSE`,
|
|
8
|
+
`METADATA.json` and the source files identified in
|
|
9
|
+
[EXTRACTION.json](docs/EXTRACTION.json), including their SHA-256 digests.
|
|
10
|
+
The archive explicitly assigns MIT to original executable source and
|
|
11
|
+
CC BY 4.0 to original numerical data and explanatory texts.
|
|
12
|
+
|
|
13
|
+
## Code
|
|
14
|
+
|
|
15
|
+
Paths below are relative to this source distribution. Paths under
|
|
16
|
+
`src/certoutage/` become `certoutage/` in the wheel.
|
|
17
|
+
For mixed files, MIT applies to the extracted portions and BSD-3-Clause to
|
|
18
|
+
new author contributions. See [LOGIC_CHANGES.md](docs/LOGIC_CHANGES.md) for
|
|
19
|
+
numerical guards changed during extraction.
|
|
20
|
+
|
|
21
|
+
| Distributed file | License | Archive source / attribution and modifications |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| `src/certoutage/_vendor/commun.py` | MIT | Victor Rabiet; `ppp/code/commun.py`; relative imports, precision context managed by the API, three assertions replaced by explicit errors |
|
|
24
|
+
| `src/certoutage/_vendor/ppp.py` | MIT | Victor Rabiet; `ppp/code/ppp.py`; relative imports, two assertions replaced by explicit errors |
|
|
25
|
+
| `src/certoutage/_vendor/thermal_backend.py` | MIT | Victor Rabiet; `ppp/code/thermal_backend.py`; relative imports, precision context managed by the API, four assertions replaced by explicit errors |
|
|
26
|
+
| `src/certoutage/_vendor/oracles.py` | MIT | Victor Rabiet; `ppp/code/oracles.py`; relative imports |
|
|
27
|
+
| `src/certoutage/_vendor/nak_thermal.py` | MIT | Victor Rabiet; `nakagami/code/thermal.py`; relative imports, loading replaced by the runtime subclass |
|
|
28
|
+
| `src/certoutage/_vendor/nak_grouped.py` | MIT | Victor Rabiet; `nakagami/code/grouped.py`; relative imports, loading replaced by the runtime subclass |
|
|
29
|
+
| `src/certoutage/_generate.py` | BSD-3-Clause AND MIT | Victor Rabiet; `ppp/code/champ.py`; pure function, configurable DFT size, coarse remainder branch, explicit Laplace guards |
|
|
30
|
+
| `src/certoutage/_runtime.py` | BSD-3-Clause AND MIT | Victor Rabiet; `ppp/code/oracles.py`, `nakagami/code/thermal.py`, `campaigns/t20/code/composer.py`; constructors without chdir, integrity-checked loading, Nakagami grid, locking and caches |
|
|
31
|
+
| `src/certoutage/api.py` | BSD-3-Clause AND MIT | Victor Rabiet; `ppp/code/oracles.py`, `ppp/code/minorants.py`; sizing and largest-interferer composition adapted into the public API, explicit contracts and validation |
|
|
32
|
+
| `src/certoutage/__init__.py`, `src/certoutage/_banks.py`, `src/certoutage/models.py`, `src/certoutage/_vendor/__init__.py`, `src/certoutage/py.typed` | BSD-3-Clause | New package code and typing marker by Victor Rabiet |
|
|
33
|
+
| `examples/*.py`, `tools/*.py`, `tests/**/*.py` | BSD-3-Clause | New examples, wrappers and tests by Victor Rabiet; regeneration tools copy archive programs only when explicitly run, with their archive license still applicable |
|
|
34
|
+
|
|
35
|
+
Thus the complete list of distributed files containing archive MIT code is
|
|
36
|
+
the six named vendor modules plus `_generate.py`, `_runtime.py` and `api.py`.
|
|
37
|
+
The archive's IEEEtran class and MPFR/MPFI source tarballs are not distributed
|
|
38
|
+
in this package; their LPPL/LGPL licenses do not enter its SPDX expression.
|
|
39
|
+
Runtime dependencies are installed separately and retain their own licenses.
|
|
40
|
+
|
|
41
|
+
## Data and documentation
|
|
42
|
+
|
|
43
|
+
For every archive-derived data file, attribution is:
|
|
44
|
+
|
|
45
|
+
> Victor Rabiet (2026), *Reproducibility archive for "Certified Outage Bounds
|
|
46
|
+
> for RIS-Assisted NOMA with Source-Side Thermal Energy Harvesting"*,
|
|
47
|
+
> archive v7 (metadata version 1.1), https://doi.org/10.5281/zenodo.24450534.
|
|
48
|
+
> Licensed under Creative Commons Attribution 4.0 International:
|
|
49
|
+
> https://creativecommons.org/licenses/by/4.0/.
|
|
50
|
+
|
|
51
|
+
The following table records all modifications to those data. Individual
|
|
52
|
+
source paths and source/destination SHA-256 digests are in `EXTRACTION.json`.
|
|
53
|
+
No changes to numerical values were made.
|
|
54
|
+
|
|
55
|
+
| File or pattern | License | Changes / attribution |
|
|
56
|
+
|---|---|---|
|
|
57
|
+
| `src/certoutage/data/SIG_20.npz`, `SIG_24.npz`, `SIG_C_20.npz`, `SIG_C_24.npz`, `PPP_l0p1_e3.npz`, `PPP_l0p1_e4.npz`, `GAMMA_l0p1_e4.npz` (all in the same data directory) | CC-BY-4.0 | Victor Rabiet, archive above; seven banks repacked from archive CSV arrays into NPZ without loss; array digests verified during extraction |
|
|
58
|
+
| Remaining `src/certoutage/data/*.npz` | CC-BY-4.0 | Victor Rabiet, archive above; byte-identical copies, some filenames normalized (`N8.npz`/`N64.npz` become `m1_N8.npz`/`m1_N64.npz`) |
|
|
59
|
+
| `src/certoutage/data/MINORANTS_N20.json`, `src/certoutage/data/MINORANTS_N24.json` | CC-BY-4.0 | Victor Rabiet, archive above; byte-identical copies of final largest-interferer certificates |
|
|
60
|
+
| `tests/regression/fixtures/*.csv`, `tests/regression/fixtures/*.json` | CC-BY-4.0 | Victor Rabiet, archive above; byte-identical regression data, some filenames simplified (`RESULTATS.csv` becomes `nakagami.csv`, `RESULTATS_gain_exact_gamma.json` becomes `gamma.json`) |
|
|
61
|
+
| `src/certoutage/data/MANIFEST.json` | BSD-3-Clause | New generated integrity/provenance inventory by Victor Rabiet; does not relicense the bank contents |
|
|
62
|
+
| `README.md`, `CHANGELOG.md`, `CITATION.cff`, `codemeta.json`, `LICENSES.md`, `docs/*.md`, `docs/EXTRACTION.json`, `pyproject.toml`, `MANIFEST.in` | BSD-3-Clause | New package documentation, metadata and configuration by Victor Rabiet; archive sources credited where used |
|
|
63
|
+
| `LICENSE` | BSD-3-Clause notice | Full terms for the new author contributions |
|
|
64
|
+
| `docs/ARCHIVE_LICENSE.txt`, `src/certoutage/notices/ARCHIVE_LICENSE.txt` | Original archive notice (MIT / CC-BY-4.0 allocation) | Unmodified archive `LICENSE`, including its MIT terms, copyright notice and original third-party exceptions |
|
|
65
|
+
| `docs/CC-BY-4.0.txt`, `src/certoutage/notices/CC-BY-4.0.txt` | CC-BY-4.0 legal text | Unmodified archive `LICENSES/CC-BY-4.0.txt`; full terms, retained verbatim |
|
|
66
|
+
|
|
67
|
+
Build-generated `PKG-INFO`, `*.egg-info/*` and `*.dist-info/*` are metadata
|
|
68
|
+
for this combined distribution; embedded text retains its license above.
|
|
69
|
+
The wheel's `*.dist-info/licenses/` directory carries `LICENSE`, this mapping,
|
|
70
|
+
`docs/ARCHIVE_LICENSE.txt` and `docs/CC-BY-4.0.txt`. The runtime notice copies
|
|
71
|
+
are also present in the wheel and source distribution.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
include LICENSE LICENSES.md CITATION.cff codemeta.json CHANGELOG.md README.md
|
|
2
|
+
recursive-include docs *.md *.json *.txt
|
|
3
|
+
recursive-include examples *.py
|
|
4
|
+
recursive-include tools *.py
|
|
5
|
+
recursive-include tests *.py *.json *.csv
|
|
6
|
+
recursive-include src/certoutage/data *.npz *.json
|
|
7
|
+
recursive-include src/certoutage/notices *.txt
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: certoutage
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Certified outage enclosures for the thermal RIS-NOMA model
|
|
5
|
+
Author: Victor Rabiet
|
|
6
|
+
License-Expression: BSD-3-Clause AND MIT AND CC-BY-4.0
|
|
7
|
+
Project-URL: Preprint, https://hal.science/hal-05879102
|
|
8
|
+
Project-URL: Reproducibility archive, https://doi.org/10.5281/zenodo.24450534
|
|
9
|
+
Project-URL: Repository, https://github.com/HubHubHubHubHub/certoutage
|
|
10
|
+
Project-URL: Software DOI, https://doi.org/10.5281/zenodo.24509256
|
|
11
|
+
Keywords: outage probability,RIS,NOMA,energy harvesting,interval arithmetic,Poisson point process
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Intended Audience :: Science/Research
|
|
14
|
+
Classifier: Topic :: Scientific/Engineering
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
License-File: LICENSES.md
|
|
20
|
+
License-File: docs/ARCHIVE_LICENSE.txt
|
|
21
|
+
License-File: docs/CC-BY-4.0.txt
|
|
22
|
+
Requires-Dist: python-flint==0.9.0
|
|
23
|
+
Requires-Dist: numpy<3,>=2.0
|
|
24
|
+
Provides-Extra: test
|
|
25
|
+
Requires-Dist: pytest>=8; extra == "test"
|
|
26
|
+
Requires-Dist: tomli>=2; python_version < "3.11" and extra == "test"
|
|
27
|
+
Provides-Extra: regenerate
|
|
28
|
+
Requires-Dist: scipy<2,>=1.14; extra == "regenerate"
|
|
29
|
+
Dynamic: license-file
|
|
30
|
+
|
|
31
|
+
# certoutage
|
|
32
|
+
|
|
33
|
+
[](https://doi.org/10.5281/zenodo.24509256)
|
|
34
|
+
|
|
35
|
+
Certified outage bounds for RIS-NOMA with source-side thermal energy harvesting
|
|
36
|
+
|
|
37
|
+
`certoutage` provides deterministic, two-sided outage bounds for the Letter's
|
|
38
|
+
thermal RIS-NOMA model with two users and Poisson interference. Every result
|
|
39
|
+
carries an explicit mathematical and numerical contract. Version **0.1.0** is
|
|
40
|
+
available from https://github.com/HubHubHubHubHub/certoutage.
|
|
41
|
+
|
|
42
|
+
## Installation
|
|
43
|
+
|
|
44
|
+
Python >= 3.10 is required; the tested environment is **Python 3.11**,
|
|
45
|
+
python-flint 0.9.0 and NumPy 2.4.6 on macOS arm64. Install the supplied wheel:
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
python -m venv .venv
|
|
49
|
+
.venv/bin/python -m pip install dist/certoutage-0.1.0-py3-none-any.whl
|
|
50
|
+
.venv/bin/python examples/table_ii.py
|
|
51
|
+
.venv/bin/python examples/new_case.py
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
The examples are included in the source distribution. For development, from
|
|
55
|
+
the extracted source directory:
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
.venv/bin/python -m pip install -e '.[test]'
|
|
59
|
+
.venv/bin/python -m pytest
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
The only runtime dependencies are **python-flint 0.9.0 and NumPy**. Normal
|
|
63
|
+
execution makes no network requests, does not access the original archive,
|
|
64
|
+
and does not write numerical banks. All banks are bundled in both the wheel
|
|
65
|
+
and source distribution. Calculation caches live in memory; `clear_cache()`
|
|
66
|
+
releases them. SciPy is optional for historical regeneration tools, through
|
|
67
|
+
`.[regenerate]`.
|
|
68
|
+
|
|
69
|
+
## Reference example: Table II
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
from certoutage import Model, floor, required_snr, outage_enclosure
|
|
73
|
+
|
|
74
|
+
model = Model(N=24, lam="0.1", eta=4, convention="C-TX")
|
|
75
|
+
print(floor(model, 1).format(scale="1e-5"))
|
|
76
|
+
print(required_snr(model, 1, "1e-5").status)
|
|
77
|
+
p = outage_enclosure(model, 1, snr_db=5)
|
|
78
|
+
print(p.contract.source)
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Expected output:
|
|
82
|
+
|
|
83
|
+
```text
|
|
84
|
+
[1.7136, 1.7478]
|
|
85
|
+
excluded
|
|
86
|
+
provided-banks
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
`examples/table_ii.py` reproduces the four Table II entries for C-TX,
|
|
90
|
+
N=24, lambda=0.1, eta=4, user 1 and target 1e-5. Floor values below are in
|
|
91
|
+
units of **1e-5**:
|
|
92
|
+
|
|
93
|
+
| Model or bound | Floor value | Decision | Diagnostic |
|
|
94
|
+
|---|---|---|---|
|
|
95
|
+
| Exact gain + PPP | [1.7136, 1.7478] | excluded | — |
|
|
96
|
+
| Exact gain + Gamma | [0.5629, 0.5757] | falsely feasible | falsely feasible |
|
|
97
|
+
| Eq. (3) + Gamma | [1.639, 1.668] | excluded | masked |
|
|
98
|
+
| E F_W(d_i J_max) | < 0.9784 | inconclusive | — |
|
|
99
|
+
|
|
100
|
+
The exact-gain/Gamma required-SNR interval is **[4.50, 4.75] dB**. The example
|
|
101
|
+
also prints two mean-interference comparisons in raw probability units:
|
|
102
|
+
|
|
103
|
+
```text
|
|
104
|
+
Exact gain + mean: [3.716491105435498e-15, 3.888988626422534e-15]; falsely feasible
|
|
105
|
+
Eq. (3) + mean: [9.039202781939247e-08, 9.116853495842469e-08]; falsely feasible
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Use `--json` for full, unrounded results and contracts. Execution time varies.
|
|
109
|
+
|
|
110
|
+
`snr_db` means **10 log10 rho in dB**, never linear rho. `N` is the number of
|
|
111
|
+
RIS elements **per user** (2N in total); `user` is 1 or 2. Numerical precision
|
|
112
|
+
is selected per calculation with `numerics=Numerics(precision_bits=192)`;
|
|
113
|
+
this does not turn a supplied 160-bit bank into a 192-bit bank. Real inputs
|
|
114
|
+
are read through `str()`: for example, `np.float32(0.1)` selects the lambda=0.1
|
|
115
|
+
bank. Use a string to specify the intended decimal exactly.
|
|
116
|
+
|
|
117
|
+
## Scope
|
|
118
|
+
|
|
119
|
+
The supported model is deliberately limited:
|
|
120
|
+
|
|
121
|
+
- Exactly **eight sizes N: 8, 12, 16, 20, 24, 32, 48, 64**. Useful fading is
|
|
122
|
+
Rayleigh (`m=1`) or Nakagami **m=2,3**, with elementary powers following a
|
|
123
|
+
Gamma distribution of shape m and rate m.
|
|
124
|
+
- A planar Poisson point process outside the disk **R0=1**, with unit-mean
|
|
125
|
+
exponential marks, **eta in {3,4}** and **lambda in [0,10]**. Lambda=0 gives
|
|
126
|
+
the case without PPP interference. Small intensities or a coarse
|
|
127
|
+
discretization can yield wide bounds and an `inconclusive` decision.
|
|
128
|
+
- Thermal source `(10+Z)^2/101`, with standard normal Z; ideal alignment,
|
|
129
|
+
independent amplitudes, no direct path, and fixed NOMA and useful-link
|
|
130
|
+
parameters: p1=0.3, p2=0.7, theta=1, ell1=1/8, ell2=1/64,
|
|
131
|
+
d1=80/3 and d2=160.
|
|
132
|
+
- Two power conventions: **C-INR**, E F_W(d_i(1+J)/rho), and **C-TX**,
|
|
133
|
+
E F_W(d_i(J+1/rho)). The C-INR floor is zero; the C-TX floor is evaluated
|
|
134
|
+
at 1/rho=0.
|
|
135
|
+
- Propagated Chernoff bounds for Rayleigh N=20,24 with PPP interference,
|
|
136
|
+
and also N=8,64 without PPP interference. These give **sufficient designs**,
|
|
137
|
+
not impossibility proofs.
|
|
138
|
+
|
|
139
|
+
Arbitrary N, arbitrary real m, other eta, variable R0, Rice fading, 3GPP
|
|
140
|
+
channels, correlation, phase errors and RIS without thermal harvesting are
|
|
141
|
+
not implemented. Unsupported inputs raise an explicit error (`ValueError`
|
|
142
|
+
for unsupported model parameters). This is **not `inconclusive`** and no
|
|
143
|
+
unsupported value is rounded to a supported case.
|
|
144
|
+
|
|
145
|
+
Certificates are **two-sided bounds for the specified model**, conditional
|
|
146
|
+
on its mathematical assumptions, the Arb/Acb arithmetic engine, the archive's
|
|
147
|
+
analytical bounds and bank integrity. They do not guarantee physical-model
|
|
148
|
+
validity, packet latency, a universal relative width or a maximum computation
|
|
149
|
+
time. Higher precision does not repair an unsuitable physical model.
|
|
150
|
+
|
|
151
|
+
## What is computed and what is supplied
|
|
152
|
+
|
|
153
|
+
`result.contract.source` distinguishes:
|
|
154
|
+
|
|
155
|
+
| Source | Meaning |
|
|
156
|
+
|---|---|
|
|
157
|
+
| `provided-banks` | Composition computed on demand from integrity-checked signal and interference banks |
|
|
158
|
+
| `mixed` | Supplied useful-gain bank; PPP, Gamma or J_max distribution computed locally for the requested case |
|
|
159
|
+
| `provided-certificate` | Final J_max bounds for N=20/24 read from archived certificates, explicitly without a new integration |
|
|
160
|
+
| `analytic` | An exact result such as the zero C-INR floor |
|
|
161
|
+
|
|
162
|
+
Bank contents and the manifest are checked with SHA-256 **before loading**.
|
|
163
|
+
The manifest's reference digest is pinned in the code. A mismatch raises
|
|
164
|
+
`IntegrityError` and stops the calculation using that data; it never becomes
|
|
165
|
+
an `inconclusive` result. A bank already loaded is reused from memory; every
|
|
166
|
+
new read verifies it again. SHA-256 checks **integrity against a reference
|
|
167
|
+
digest**, not provenance or mathematical correctness. A purely analytical
|
|
168
|
+
result that uses no bank does not depend on bank contents.
|
|
169
|
+
|
|
170
|
+
For lambda=0.1 or 1 and eta=3 or 4, supplied PPP/Gamma banks are used. For a
|
|
171
|
+
new lambda, the PPP inversion is computed on demand with Fourier, aliasing
|
|
172
|
+
and tail remainder bounds; the default is M=2^18. The useful-gain bank is
|
|
173
|
+
still supplied: this is not full regeneration of the case. The contract
|
|
174
|
+
records bank filenames, SHA-256 digests, parameters and precision.
|
|
175
|
+
|
|
176
|
+
## Decisions and approximations
|
|
177
|
+
|
|
178
|
+
`required_snr(model, user, target, grid=SNRGrid())` returns `feasible` (a
|
|
179
|
+
threshold enclosed by certified grid points), `excluded` (a floor lower bound
|
|
180
|
+
strictly above the target), or `inconclusive`. The default grid is [-40,96] dB
|
|
181
|
+
with step 1/16. Left censoring uses -infinity as the threshold's lower bound;
|
|
182
|
+
exhausting the grid never proves exclusion at every SNR.
|
|
183
|
+
|
|
184
|
+
**Approximations are non-certified substitutes for the exact PPP outage.**
|
|
185
|
+
`compare_approximations(model, user, target)` reports exact gain + PPP,
|
|
186
|
+
exact gain + **moment-matched Gamma-distributed interference**, **Eq. (3)** +
|
|
187
|
+
Gamma, two mean-interference comparisons and the **largest-interferer bound**.
|
|
188
|
+
Intervals rigorously enclose the comparator models; they do not by themselves
|
|
189
|
+
bound the exact PPP outage or certify the substitution error. The
|
|
190
|
+
`falsely feasible` and `masked` diagnostics follow decision rules, not
|
|
191
|
+
recognition of a predefined example.
|
|
192
|
+
|
|
193
|
+
The J_max result is a **floor lower bound**. Its upper endpoint below the
|
|
194
|
+
target remains `inconclusive`. In Table II, only the exact PPP floor proves
|
|
195
|
+
impossibility within the PPP model. `masked` explains why exclusion under
|
|
196
|
+
Eq. (3) + Gamma does not validate replacing PPP interference by Gamma.
|
|
197
|
+
|
|
198
|
+
[Detailed API](docs/API.md) · [Mathematical contract](docs/CONTRACT.md) ·
|
|
199
|
+
[Regeneration](docs/REGENERATION.md) · [Logic changes](docs/LOGIC_CHANGES.md) ·
|
|
200
|
+
[Extraction inventory](docs/EXTRACTION.json). These technical documents are
|
|
201
|
+
currently in French.
|
|
202
|
+
|
|
203
|
+
## Provenance
|
|
204
|
+
|
|
205
|
+
The results in Victor Rabiet's *Certified Outage Bounds for RIS-Assisted NOMA
|
|
206
|
+
with Source-Side Thermal Energy Harvesting* were produced by the
|
|
207
|
+
[reproducibility archive](https://doi.org/10.5281/zenodo.24450534) (archive v7,
|
|
208
|
+
metadata version 1.1). The Letter is [available on HAL](https://hal.science/hal-05879102),
|
|
209
|
+
submitted to IEEE Wireless Communications Letters.
|
|
210
|
+
|
|
211
|
+
`certoutage` is a **subsequent extraction, dated 24 November 2026**. It
|
|
212
|
+
reproduces Table II identically, as verified against the archived reference
|
|
213
|
+
results, but it was not the software used to produce the submitted results.
|
|
214
|
+
The original archive remains read-only. Banks are copied byte for byte or
|
|
215
|
+
repacked without loss; code changes are documented file by file. The archive
|
|
216
|
+
DOI identifies the original reproducibility archive, not this software.
|
|
217
|
+
|
|
218
|
+
## Citation
|
|
219
|
+
|
|
220
|
+
See [CITATION.cff](CITATION.cff) and [codemeta.json](codemeta.json). Cite this
|
|
221
|
+
extraction as:
|
|
222
|
+
|
|
223
|
+
> Victor Rabiet (2026). certoutage: certified outage bounds for thermal
|
|
224
|
+
> RIS-NOMA. Version 0.1.0, 24 November 2026. https://doi.org/10.5281/zenodo.24509257
|
|
225
|
+
|
|
226
|
+
Also acknowledge the original [archive](https://doi.org/10.5281/zenodo.24450534)
|
|
227
|
+
and the [Letter](https://hal.science/hal-05879102). Software DOI: [10.5281/zenodo.24509256](https://doi.org/10.5281/zenodo.24509256)
|
|
228
|
+
(all versions); version 0.1.0 is [10.5281/zenodo.24509257](https://doi.org/10.5281/zenodo.24509257).
|
|
229
|
+
|
|
230
|
+
## Licenses
|
|
231
|
+
|
|
232
|
+
The distribution uses **BSD-3-Clause AND MIT AND CC-BY-4.0**. New author code
|
|
233
|
+
is under [BSD-3-Clause](LICENSE), Copyright (c) 2026 Victor Rabiet. Extracted
|
|
234
|
+
code retains its MIT notice; numerical banks and regression data retain
|
|
235
|
+
CC BY 4.0. [LICENSES.md](LICENSES.md) maps files to licenses, attribution and
|
|
236
|
+
modifications. The [original archive notice](docs/ARCHIVE_LICENSE.txt) and
|
|
237
|
+
[full CC BY 4.0 terms](docs/CC-BY-4.0.txt) are included in both distributions.
|
|
238
|
+
|
|
239
|
+
## Roadmap — not implemented
|
|
240
|
+
|
|
241
|
+
Possible future extensions are RIS without thermal harvesting, Rice fading
|
|
242
|
+
and 3GPP channel models. None is implemented or certified in version 0.1.0.
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
# certoutage
|
|
2
|
+
|
|
3
|
+
[](https://doi.org/10.5281/zenodo.24509256)
|
|
4
|
+
|
|
5
|
+
Certified outage bounds for RIS-NOMA with source-side thermal energy harvesting
|
|
6
|
+
|
|
7
|
+
`certoutage` provides deterministic, two-sided outage bounds for the Letter's
|
|
8
|
+
thermal RIS-NOMA model with two users and Poisson interference. Every result
|
|
9
|
+
carries an explicit mathematical and numerical contract. Version **0.1.0** is
|
|
10
|
+
available from https://github.com/HubHubHubHubHub/certoutage.
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
Python >= 3.10 is required; the tested environment is **Python 3.11**,
|
|
15
|
+
python-flint 0.9.0 and NumPy 2.4.6 on macOS arm64. Install the supplied wheel:
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
python -m venv .venv
|
|
19
|
+
.venv/bin/python -m pip install dist/certoutage-0.1.0-py3-none-any.whl
|
|
20
|
+
.venv/bin/python examples/table_ii.py
|
|
21
|
+
.venv/bin/python examples/new_case.py
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The examples are included in the source distribution. For development, from
|
|
25
|
+
the extracted source directory:
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
.venv/bin/python -m pip install -e '.[test]'
|
|
29
|
+
.venv/bin/python -m pytest
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The only runtime dependencies are **python-flint 0.9.0 and NumPy**. Normal
|
|
33
|
+
execution makes no network requests, does not access the original archive,
|
|
34
|
+
and does not write numerical banks. All banks are bundled in both the wheel
|
|
35
|
+
and source distribution. Calculation caches live in memory; `clear_cache()`
|
|
36
|
+
releases them. SciPy is optional for historical regeneration tools, through
|
|
37
|
+
`.[regenerate]`.
|
|
38
|
+
|
|
39
|
+
## Reference example: Table II
|
|
40
|
+
|
|
41
|
+
```python
|
|
42
|
+
from certoutage import Model, floor, required_snr, outage_enclosure
|
|
43
|
+
|
|
44
|
+
model = Model(N=24, lam="0.1", eta=4, convention="C-TX")
|
|
45
|
+
print(floor(model, 1).format(scale="1e-5"))
|
|
46
|
+
print(required_snr(model, 1, "1e-5").status)
|
|
47
|
+
p = outage_enclosure(model, 1, snr_db=5)
|
|
48
|
+
print(p.contract.source)
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Expected output:
|
|
52
|
+
|
|
53
|
+
```text
|
|
54
|
+
[1.7136, 1.7478]
|
|
55
|
+
excluded
|
|
56
|
+
provided-banks
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
`examples/table_ii.py` reproduces the four Table II entries for C-TX,
|
|
60
|
+
N=24, lambda=0.1, eta=4, user 1 and target 1e-5. Floor values below are in
|
|
61
|
+
units of **1e-5**:
|
|
62
|
+
|
|
63
|
+
| Model or bound | Floor value | Decision | Diagnostic |
|
|
64
|
+
|---|---|---|---|
|
|
65
|
+
| Exact gain + PPP | [1.7136, 1.7478] | excluded | — |
|
|
66
|
+
| Exact gain + Gamma | [0.5629, 0.5757] | falsely feasible | falsely feasible |
|
|
67
|
+
| Eq. (3) + Gamma | [1.639, 1.668] | excluded | masked |
|
|
68
|
+
| E F_W(d_i J_max) | < 0.9784 | inconclusive | — |
|
|
69
|
+
|
|
70
|
+
The exact-gain/Gamma required-SNR interval is **[4.50, 4.75] dB**. The example
|
|
71
|
+
also prints two mean-interference comparisons in raw probability units:
|
|
72
|
+
|
|
73
|
+
```text
|
|
74
|
+
Exact gain + mean: [3.716491105435498e-15, 3.888988626422534e-15]; falsely feasible
|
|
75
|
+
Eq. (3) + mean: [9.039202781939247e-08, 9.116853495842469e-08]; falsely feasible
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Use `--json` for full, unrounded results and contracts. Execution time varies.
|
|
79
|
+
|
|
80
|
+
`snr_db` means **10 log10 rho in dB**, never linear rho. `N` is the number of
|
|
81
|
+
RIS elements **per user** (2N in total); `user` is 1 or 2. Numerical precision
|
|
82
|
+
is selected per calculation with `numerics=Numerics(precision_bits=192)`;
|
|
83
|
+
this does not turn a supplied 160-bit bank into a 192-bit bank. Real inputs
|
|
84
|
+
are read through `str()`: for example, `np.float32(0.1)` selects the lambda=0.1
|
|
85
|
+
bank. Use a string to specify the intended decimal exactly.
|
|
86
|
+
|
|
87
|
+
## Scope
|
|
88
|
+
|
|
89
|
+
The supported model is deliberately limited:
|
|
90
|
+
|
|
91
|
+
- Exactly **eight sizes N: 8, 12, 16, 20, 24, 32, 48, 64**. Useful fading is
|
|
92
|
+
Rayleigh (`m=1`) or Nakagami **m=2,3**, with elementary powers following a
|
|
93
|
+
Gamma distribution of shape m and rate m.
|
|
94
|
+
- A planar Poisson point process outside the disk **R0=1**, with unit-mean
|
|
95
|
+
exponential marks, **eta in {3,4}** and **lambda in [0,10]**. Lambda=0 gives
|
|
96
|
+
the case without PPP interference. Small intensities or a coarse
|
|
97
|
+
discretization can yield wide bounds and an `inconclusive` decision.
|
|
98
|
+
- Thermal source `(10+Z)^2/101`, with standard normal Z; ideal alignment,
|
|
99
|
+
independent amplitudes, no direct path, and fixed NOMA and useful-link
|
|
100
|
+
parameters: p1=0.3, p2=0.7, theta=1, ell1=1/8, ell2=1/64,
|
|
101
|
+
d1=80/3 and d2=160.
|
|
102
|
+
- Two power conventions: **C-INR**, E F_W(d_i(1+J)/rho), and **C-TX**,
|
|
103
|
+
E F_W(d_i(J+1/rho)). The C-INR floor is zero; the C-TX floor is evaluated
|
|
104
|
+
at 1/rho=0.
|
|
105
|
+
- Propagated Chernoff bounds for Rayleigh N=20,24 with PPP interference,
|
|
106
|
+
and also N=8,64 without PPP interference. These give **sufficient designs**,
|
|
107
|
+
not impossibility proofs.
|
|
108
|
+
|
|
109
|
+
Arbitrary N, arbitrary real m, other eta, variable R0, Rice fading, 3GPP
|
|
110
|
+
channels, correlation, phase errors and RIS without thermal harvesting are
|
|
111
|
+
not implemented. Unsupported inputs raise an explicit error (`ValueError`
|
|
112
|
+
for unsupported model parameters). This is **not `inconclusive`** and no
|
|
113
|
+
unsupported value is rounded to a supported case.
|
|
114
|
+
|
|
115
|
+
Certificates are **two-sided bounds for the specified model**, conditional
|
|
116
|
+
on its mathematical assumptions, the Arb/Acb arithmetic engine, the archive's
|
|
117
|
+
analytical bounds and bank integrity. They do not guarantee physical-model
|
|
118
|
+
validity, packet latency, a universal relative width or a maximum computation
|
|
119
|
+
time. Higher precision does not repair an unsuitable physical model.
|
|
120
|
+
|
|
121
|
+
## What is computed and what is supplied
|
|
122
|
+
|
|
123
|
+
`result.contract.source` distinguishes:
|
|
124
|
+
|
|
125
|
+
| Source | Meaning |
|
|
126
|
+
|---|---|
|
|
127
|
+
| `provided-banks` | Composition computed on demand from integrity-checked signal and interference banks |
|
|
128
|
+
| `mixed` | Supplied useful-gain bank; PPP, Gamma or J_max distribution computed locally for the requested case |
|
|
129
|
+
| `provided-certificate` | Final J_max bounds for N=20/24 read from archived certificates, explicitly without a new integration |
|
|
130
|
+
| `analytic` | An exact result such as the zero C-INR floor |
|
|
131
|
+
|
|
132
|
+
Bank contents and the manifest are checked with SHA-256 **before loading**.
|
|
133
|
+
The manifest's reference digest is pinned in the code. A mismatch raises
|
|
134
|
+
`IntegrityError` and stops the calculation using that data; it never becomes
|
|
135
|
+
an `inconclusive` result. A bank already loaded is reused from memory; every
|
|
136
|
+
new read verifies it again. SHA-256 checks **integrity against a reference
|
|
137
|
+
digest**, not provenance or mathematical correctness. A purely analytical
|
|
138
|
+
result that uses no bank does not depend on bank contents.
|
|
139
|
+
|
|
140
|
+
For lambda=0.1 or 1 and eta=3 or 4, supplied PPP/Gamma banks are used. For a
|
|
141
|
+
new lambda, the PPP inversion is computed on demand with Fourier, aliasing
|
|
142
|
+
and tail remainder bounds; the default is M=2^18. The useful-gain bank is
|
|
143
|
+
still supplied: this is not full regeneration of the case. The contract
|
|
144
|
+
records bank filenames, SHA-256 digests, parameters and precision.
|
|
145
|
+
|
|
146
|
+
## Decisions and approximations
|
|
147
|
+
|
|
148
|
+
`required_snr(model, user, target, grid=SNRGrid())` returns `feasible` (a
|
|
149
|
+
threshold enclosed by certified grid points), `excluded` (a floor lower bound
|
|
150
|
+
strictly above the target), or `inconclusive`. The default grid is [-40,96] dB
|
|
151
|
+
with step 1/16. Left censoring uses -infinity as the threshold's lower bound;
|
|
152
|
+
exhausting the grid never proves exclusion at every SNR.
|
|
153
|
+
|
|
154
|
+
**Approximations are non-certified substitutes for the exact PPP outage.**
|
|
155
|
+
`compare_approximations(model, user, target)` reports exact gain + PPP,
|
|
156
|
+
exact gain + **moment-matched Gamma-distributed interference**, **Eq. (3)** +
|
|
157
|
+
Gamma, two mean-interference comparisons and the **largest-interferer bound**.
|
|
158
|
+
Intervals rigorously enclose the comparator models; they do not by themselves
|
|
159
|
+
bound the exact PPP outage or certify the substitution error. The
|
|
160
|
+
`falsely feasible` and `masked` diagnostics follow decision rules, not
|
|
161
|
+
recognition of a predefined example.
|
|
162
|
+
|
|
163
|
+
The J_max result is a **floor lower bound**. Its upper endpoint below the
|
|
164
|
+
target remains `inconclusive`. In Table II, only the exact PPP floor proves
|
|
165
|
+
impossibility within the PPP model. `masked` explains why exclusion under
|
|
166
|
+
Eq. (3) + Gamma does not validate replacing PPP interference by Gamma.
|
|
167
|
+
|
|
168
|
+
[Detailed API](docs/API.md) · [Mathematical contract](docs/CONTRACT.md) ·
|
|
169
|
+
[Regeneration](docs/REGENERATION.md) · [Logic changes](docs/LOGIC_CHANGES.md) ·
|
|
170
|
+
[Extraction inventory](docs/EXTRACTION.json). These technical documents are
|
|
171
|
+
currently in French.
|
|
172
|
+
|
|
173
|
+
## Provenance
|
|
174
|
+
|
|
175
|
+
The results in Victor Rabiet's *Certified Outage Bounds for RIS-Assisted NOMA
|
|
176
|
+
with Source-Side Thermal Energy Harvesting* were produced by the
|
|
177
|
+
[reproducibility archive](https://doi.org/10.5281/zenodo.24450534) (archive v7,
|
|
178
|
+
metadata version 1.1). The Letter is [available on HAL](https://hal.science/hal-05879102),
|
|
179
|
+
submitted to IEEE Wireless Communications Letters.
|
|
180
|
+
|
|
181
|
+
`certoutage` is a **subsequent extraction, dated 24 November 2026**. It
|
|
182
|
+
reproduces Table II identically, as verified against the archived reference
|
|
183
|
+
results, but it was not the software used to produce the submitted results.
|
|
184
|
+
The original archive remains read-only. Banks are copied byte for byte or
|
|
185
|
+
repacked without loss; code changes are documented file by file. The archive
|
|
186
|
+
DOI identifies the original reproducibility archive, not this software.
|
|
187
|
+
|
|
188
|
+
## Citation
|
|
189
|
+
|
|
190
|
+
See [CITATION.cff](CITATION.cff) and [codemeta.json](codemeta.json). Cite this
|
|
191
|
+
extraction as:
|
|
192
|
+
|
|
193
|
+
> Victor Rabiet (2026). certoutage: certified outage bounds for thermal
|
|
194
|
+
> RIS-NOMA. Version 0.1.0, 24 November 2026. https://doi.org/10.5281/zenodo.24509257
|
|
195
|
+
|
|
196
|
+
Also acknowledge the original [archive](https://doi.org/10.5281/zenodo.24450534)
|
|
197
|
+
and the [Letter](https://hal.science/hal-05879102). Software DOI: [10.5281/zenodo.24509256](https://doi.org/10.5281/zenodo.24509256)
|
|
198
|
+
(all versions); version 0.1.0 is [10.5281/zenodo.24509257](https://doi.org/10.5281/zenodo.24509257).
|
|
199
|
+
|
|
200
|
+
## Licenses
|
|
201
|
+
|
|
202
|
+
The distribution uses **BSD-3-Clause AND MIT AND CC-BY-4.0**. New author code
|
|
203
|
+
is under [BSD-3-Clause](LICENSE), Copyright (c) 2026 Victor Rabiet. Extracted
|
|
204
|
+
code retains its MIT notice; numerical banks and regression data retain
|
|
205
|
+
CC BY 4.0. [LICENSES.md](LICENSES.md) maps files to licenses, attribution and
|
|
206
|
+
modifications. The [original archive notice](docs/ARCHIVE_LICENSE.txt) and
|
|
207
|
+
[full CC BY 4.0 terms](docs/CC-BY-4.0.txt) are included in both distributions.
|
|
208
|
+
|
|
209
|
+
## Roadmap — not implemented
|
|
210
|
+
|
|
211
|
+
Possible future extensions are RIS without thermal harvesting, Rice fading
|
|
212
|
+
and 3GPP channel models. None is implemented or certified in version 0.1.0.
|