|
| 1 | +.. image:: https://odoo-community.org/readme-banner-image |
| 2 | + :target: https://odoo-community.org/get-involved?utm_source=readme |
| 3 | + :alt: Odoo Community Association |
| 4 | + |
| 5 | +============================ |
| 6 | +OpenSPP Targeting Simulation |
| 7 | +============================ |
| 8 | + |
| 9 | +.. |
| 10 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 11 | + !! This file is generated by oca-gen-addon-readme !! |
| 12 | + !! changes will be overwritten. !! |
| 13 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 14 | + !! source digest: sha256:fd3e34b59c516e27a1d09522eca711429d907a328efb7a60b408f4edb71d552f |
| 15 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 16 | +
|
| 17 | +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png |
| 18 | + :target: https://odoo-community.org/page/development-status |
| 19 | + :alt: Alpha |
| 20 | +.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png |
| 21 | + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html |
| 22 | + :alt: License: LGPL-3 |
| 23 | +.. |badge3| image:: https://img.shields.io/badge/github-OpenSPP%2FOpenSPP2-lightgray.png?logo=github |
| 24 | + :target: https://github.com/OpenSPP/OpenSPP2/tree/19.0/spp_simulation |
| 25 | + :alt: OpenSPP/OpenSPP2 |
| 26 | + |
| 27 | +|badge1| |badge2| |badge3| |
| 28 | + |
| 29 | +Targeting Simulation & Fairness Analysis |
| 30 | +======================================== |
| 31 | + |
| 32 | +Simulate targeting scenarios, analyze fairness and distribution, and |
| 33 | +compare different targeting strategies before committing to criteria. |
| 34 | + |
| 35 | +Key Features |
| 36 | +------------ |
| 37 | + |
| 38 | +- **Scenario Builder**: Define targeting criteria using CEL expressions |
| 39 | + with live preview counts |
| 40 | +- **Template Library**: Pre-built templates for common targeting |
| 41 | + patterns (elderly pension, female-headed households, etc.) |
| 42 | +- **Distribution Analysis**: Gini coefficient, Lorenz curve, percentile |
| 43 | + breakdown |
| 44 | +- **Fairness Analysis**: Disparity ratios across gender, disability, |
| 45 | + location with traffic-light status indicators |
| 46 | +- **Targeting Efficiency**: Confusion matrix, leakage rate, |
| 47 | + undercoverage against ideal populations |
| 48 | +- **Budget Simulation**: Fixed cap and proportional reduction strategies |
| 49 | +- **Scenario Comparison**: Side-by-side comparison of multiple targeting |
| 50 | + approaches with overlap analysis |
| 51 | +- **Custom Metrics**: Define CEL-based aggregate, coverage, and ratio |
| 52 | + metrics |
| 53 | + |
| 54 | +Privacy |
| 55 | +------- |
| 56 | + |
| 57 | +Only aggregated counts, percentages, and metrics are stored. No |
| 58 | +individual beneficiary records are persisted in simulation results. |
| 59 | + |
| 60 | +Models |
| 61 | +------ |
| 62 | + |
| 63 | ++--------------------------------------+----------------------------------+ |
| 64 | +| Model | Description | |
| 65 | ++======================================+==================================+ |
| 66 | +| ``spp.simulation.scenario.template`` | Pre-built targeting scenario | |
| 67 | +| | templates | |
| 68 | ++--------------------------------------+----------------------------------+ |
| 69 | +| ``spp.simulation.scenario`` | Targeting scenario definitions | |
| 70 | ++--------------------------------------+----------------------------------+ |
| 71 | +| ``spp.simulation.entitlement.rule`` | Amount calculation rules | |
| 72 | ++--------------------------------------+----------------------------------+ |
| 73 | +| ``spp.simulation.run`` | Aggregated simulation results | |
| 74 | +| | (non-deletable) | |
| 75 | ++--------------------------------------+----------------------------------+ |
| 76 | +| ``spp.simulation.comparison`` | Side-by-side run comparisons | |
| 77 | ++--------------------------------------+----------------------------------+ |
| 78 | +| ``spp.simulation.metric`` | Custom evaluation metrics | |
| 79 | ++--------------------------------------+----------------------------------+ |
| 80 | + |
| 81 | +Security Groups |
| 82 | +--------------- |
| 83 | + |
| 84 | +================== =============================================== |
| 85 | +Group Access |
| 86 | +================== =============================================== |
| 87 | +Simulation Viewer Read-only access to all simulation data |
| 88 | +Simulation Officer Create/edit scenarios, run simulations |
| 89 | +Simulation Manager Full access including comparisons and archiving |
| 90 | +================== =============================================== |
| 91 | + |
| 92 | +Menu Path |
| 93 | +--------- |
| 94 | + |
| 95 | +Social Protection > Simulation > Scenarios / Results / Comparisons |
| 96 | + |
| 97 | +Configuration: Social Protection > Simulation > Configuration > |
| 98 | +Templates / Custom Metrics |
| 99 | + |
| 100 | +.. IMPORTANT:: |
| 101 | + This is an alpha version, the data model and design can change at any time without warning. |
| 102 | + Only for development or testing purpose, do not use in production. |
| 103 | + `More details on development status <https://odoo-community.org/page/development-status>`_ |
| 104 | + |
| 105 | +**Table of contents** |
| 106 | + |
| 107 | +.. contents:: |
| 108 | + :local: |
| 109 | + |
| 110 | +Bug Tracker |
| 111 | +=========== |
| 112 | + |
| 113 | +Bugs are tracked on `GitHub Issues <https://github.com/OpenSPP/OpenSPP2/issues>`_. |
| 114 | +In case of trouble, please check there if your issue has already been reported. |
| 115 | +If you spotted it first, help us to smash it by providing a detailed and welcomed |
| 116 | +`feedback <https://github.com/OpenSPP/OpenSPP2/issues/new?body=module:%20spp_simulation%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
| 117 | + |
| 118 | +Do not contact contributors directly about support or help with technical issues. |
| 119 | + |
| 120 | +Credits |
| 121 | +======= |
| 122 | + |
| 123 | +Authors |
| 124 | +------- |
| 125 | + |
| 126 | +* OpenSPP.org |
| 127 | + |
| 128 | +Maintainers |
| 129 | +----------- |
| 130 | + |
| 131 | +.. |maintainer-jeremi| image:: https://github.com/jeremi.png?size=40px |
| 132 | + :target: https://github.com/jeremi |
| 133 | + :alt: jeremi |
| 134 | + |
| 135 | +Current maintainer: |
| 136 | + |
| 137 | +|maintainer-jeremi| |
| 138 | + |
| 139 | +This module is part of the `OpenSPP/OpenSPP2 <https://github.com/OpenSPP/OpenSPP2/tree/19.0/spp_simulation>`_ project on GitHub. |
| 140 | + |
| 141 | +You are welcome to contribute. |
0 commit comments