Skip to content

Commit 87fdaad

Browse files
committed
chore(spp_simulation,spp_statistic,spp_statistic_studio): promote Alpha to Beta with coverage tests
- Update development_status to Beta in all 3 manifests - Add READMEs and app icons - Add test_coverage.py for spp_simulation (40 tests) and spp_statistic (48 tests)
1 parent 839f83e commit 87fdaad

File tree

16 files changed

+1421
-35
lines changed

16 files changed

+1421
-35
lines changed

spp_simulation/README.rst

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ OpenSPP Targeting Simulation
1010
!! source digest: sha256:fd3e34b59c516e27a1d09522eca711429d907a328efb7a60b408f4edb71d552f
1111
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1212
13-
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1414
:target: https://odoo-community.org/page/development-status
15-
:alt: Alpha
15+
:alt: Beta
1616
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
1717
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1818
:alt: License: LGPL-3
@@ -56,23 +56,24 @@ individual beneficiary records are persisted in simulation results.
5656
Models
5757
------
5858

59-
+--------------------------------------+----------------------------------+
60-
| Model | Description |
61-
+======================================+==================================+
62-
| ``spp.simulation.scenario.template`` | Pre-built targeting scenario |
63-
| | templates |
64-
+--------------------------------------+----------------------------------+
65-
| ``spp.simulation.scenario`` | Targeting scenario definitions |
66-
+--------------------------------------+----------------------------------+
67-
| ``spp.simulation.entitlement.rule`` | Amount calculation rules |
68-
+--------------------------------------+----------------------------------+
69-
| ``spp.simulation.run`` | Aggregated simulation results |
70-
| | (non-deletable) |
71-
+--------------------------------------+----------------------------------+
72-
| ``spp.simulation.comparison`` | Side-by-side run comparisons |
73-
+--------------------------------------+----------------------------------+
74-
| ``spp.simulation.metric`` | Custom evaluation metrics |
75-
+--------------------------------------+----------------------------------+
59+
+----------------------------------+----------------------------------+
60+
| Model | Description |
61+
+==================================+==================================+
62+
| ``sp | Pre-built targeting scenario |
63+
| p.simulation.scenario.template`` | templates |
64+
+----------------------------------+----------------------------------+
65+
| ``spp.simulation.scenario`` | Targeting scenario definitions |
66+
+----------------------------------+----------------------------------+
67+
| ``s | Amount calculation rules |
68+
| pp.simulation.entitlement.rule`` | |
69+
+----------------------------------+----------------------------------+
70+
| ``spp.simulation.run`` | Aggregated simulation results |
71+
| | (non-deletable) |
72+
+----------------------------------+----------------------------------+
73+
| ``spp.simulation.comparison`` | Side-by-side run comparisons |
74+
+----------------------------------+----------------------------------+
75+
| ``spp.simulation.metric`` | Custom evaluation metrics |
76+
+----------------------------------+----------------------------------+
7677

7778
Security Groups
7879
---------------
@@ -93,10 +94,6 @@ Social Protection > Simulation > Scenarios / Results / Comparisons
9394
Configuration: Social Protection > Simulation > Configuration >
9495
Templates / Custom Metrics
9596

96-
.. IMPORTANT::
97-
This is an alpha version, the data model and design can change at any time without warning.
98-
Only for development or testing purpose, do not use in production.
99-
10097
**Table of contents**
10198

10299
.. contents::

spp_simulation/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"author": "OpenSPP.org",
1010
"website": "https://github.com/OpenSPP/OpenSPP2",
1111
"license": "LGPL-3",
12-
"development_status": "Alpha",
12+
"development_status": "Beta",
1313
"maintainers": ["jeremi"],
1414
"depends": [
1515
"base",
15.1 KB
Loading

spp_simulation/static/description/index.html

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ <h1 class="title">OpenSPP Targeting Simulation</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:fd3e34b59c516e27a1d09522eca711429d907a328efb7a60b408f4edb71d552f
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OpenSPP/OpenSPP2/tree/19.0/spp_simulation"><img alt="OpenSPP/OpenSPP2" src="https://img.shields.io/badge/github-OpenSPP%2FOpenSPP2-lightgray.png?logo=github" /></a></p>
372+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OpenSPP/OpenSPP2/tree/19.0/spp_simulation"><img alt="OpenSPP/OpenSPP2" src="https://img.shields.io/badge/github-OpenSPP%2FOpenSPP2-lightgray.png?logo=github" /></a></p>
373373
<div class="section" id="targeting-simulation-fairness-analysis">
374374
<h1>Targeting Simulation &amp; Fairness Analysis</h1>
375375
<p>Simulate targeting scenarios, analyze fairness and distribution, and
@@ -403,23 +403,25 @@ <h2>Privacy</h2>
403403
<h2>Models</h2>
404404
<table border="1" class="docutils">
405405
<colgroup>
406-
<col width="53%" />
407-
<col width="47%" />
406+
<col width="50%" />
407+
<col width="50%" />
408408
</colgroup>
409409
<thead valign="bottom">
410410
<tr><th class="head">Model</th>
411411
<th class="head">Description</th>
412412
</tr>
413413
</thead>
414414
<tbody valign="top">
415-
<tr><td><tt class="docutils literal">spp.simulation.scenario.template</tt></td>
415+
<tr><td><tt class="docutils literal">sp
416+
p.simulation.scenario.template</tt></td>
416417
<td>Pre-built targeting scenario
417418
templates</td>
418419
</tr>
419420
<tr><td><tt class="docutils literal">spp.simulation.scenario</tt></td>
420421
<td>Targeting scenario definitions</td>
421422
</tr>
422-
<tr><td><tt class="docutils literal">spp.simulation.entitlement.rule</tt></td>
423+
<tr><td><tt class="docutils literal">s
424+
pp.simulation.entitlement.rule</tt></td>
423425
<td>Amount calculation rules</td>
424426
</tr>
425427
<tr><td><tt class="docutils literal">spp.simulation.run</tt></td>
@@ -465,11 +467,6 @@ <h2>Menu Path</h2>
465467
<p>Social Protection &gt; Simulation &gt; Scenarios / Results / Comparisons</p>
466468
<p>Configuration: Social Protection &gt; Simulation &gt; Configuration &gt;
467469
Templates / Custom Metrics</p>
468-
<div class="admonition important">
469-
<p class="first admonition-title">Important</p>
470-
<p class="last">This is an alpha version, the data model and design can change at any time without warning.
471-
Only for development or testing purpose, do not use in production.</p>
472-
</div>
473470
<p><strong>Table of contents</strong></p>
474471
</div>
475472
</div>

spp_simulation/tests/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@
1414
from . import test_entitlement_rule
1515
from . import test_metric_constraints
1616
from . import test_scenario_convert_to_program
17+
from . import test_coverage

0 commit comments

Comments
 (0)