|
| 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%2Fopenspp--modules-lightgray.png?logo=github |
| 24 | + :target: https://github.com/OpenSPP/openspp-modules/tree/19.0/spp_simulation |
| 25 | + :alt: OpenSPP/openspp-modules |
| 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 |
| 49 | + strategies |
| 50 | +- **Scenario Comparison**: Side-by-side comparison of multiple |
| 51 | + targeting approaches with overlap analysis |
| 52 | +- **Custom Metrics**: Define CEL-based aggregate, coverage, and ratio |
| 53 | + metrics |
| 54 | + |
| 55 | +Privacy |
| 56 | +------- |
| 57 | + |
| 58 | +Only aggregated counts, percentages, and metrics are stored. No |
| 59 | +individual beneficiary records are persisted in simulation results. |
| 60 | + |
| 61 | +Models |
| 62 | +------ |
| 63 | + |
| 64 | ++----------------------------------+----------------------------------+ |
| 65 | +| Model | Description | |
| 66 | ++==================================+==================================+ |
| 67 | +| ``sp | Pre-built targeting scenario | |
| 68 | +| p.simulation.scenario.template`` | templates | |
| 69 | ++----------------------------------+----------------------------------+ |
| 70 | +| ``spp.simulation.scenario`` | Targeting scenario definitions | |
| 71 | ++----------------------------------+----------------------------------+ |
| 72 | +| ``s | Amount calculation rules | |
| 73 | +| pp.simulation.entitlement.rule`` | | |
| 74 | ++----------------------------------+----------------------------------+ |
| 75 | +| ``spp.simulation.run`` | Aggregated simulation results | |
| 76 | +| | (non-deletable) | |
| 77 | ++----------------------------------+----------------------------------+ |
| 78 | +| ``spp.simulation.comparison`` | Side-by-side run comparisons | |
| 79 | ++----------------------------------+----------------------------------+ |
| 80 | +| ``spp.simulation.metric`` | Custom evaluation metrics | |
| 81 | ++----------------------------------+----------------------------------+ |
| 82 | + |
| 83 | +Security Groups |
| 84 | +--------------- |
| 85 | + |
| 86 | +================== =============================================== |
| 87 | +Group Access |
| 88 | +================== =============================================== |
| 89 | +Simulation Viewer Read-only access to all simulation data |
| 90 | +Simulation Officer Create/edit scenarios, run simulations |
| 91 | +Simulation Manager Full access including comparisons and archiving |
| 92 | +================== =============================================== |
| 93 | + |
| 94 | +Menu Path |
| 95 | +--------- |
| 96 | + |
| 97 | +Social Protection > Simulation > Scenarios / Results / Comparisons |
| 98 | + |
| 99 | +Configuration: Social Protection > Simulation > Configuration > |
| 100 | +Templates / Custom Metrics |
| 101 | + |
| 102 | +.. IMPORTANT:: |
| 103 | + This is an alpha version, the data model and design can change at any time without warning. |
| 104 | + Only for development or testing purpose, do not use in production. |
| 105 | + `More details on development status <https://odoo-community.org/page/development-status>`_ |
| 106 | + |
| 107 | +**Table of contents** |
| 108 | + |
| 109 | +.. contents:: |
| 110 | + :local: |
| 111 | + |
| 112 | +Bug Tracker |
| 113 | +=========== |
| 114 | + |
| 115 | +Bugs are tracked on `GitHub Issues <https://github.com/OpenSPP/openspp-modules/issues>`_. |
| 116 | +In case of trouble, please check there if your issue has already been reported. |
| 117 | +If you spotted it first, help us to smash it by providing a detailed and welcomed |
| 118 | +`feedback <https://github.com/OpenSPP/openspp-modules/issues/new?body=module:%20spp_simulation%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
| 119 | + |
| 120 | +Do not contact contributors directly about support or help with technical issues. |
| 121 | + |
| 122 | +Credits |
| 123 | +======= |
| 124 | + |
| 125 | +Authors |
| 126 | +------- |
| 127 | + |
| 128 | +* OpenSPP.org |
| 129 | + |
| 130 | +Maintainers |
| 131 | +----------- |
| 132 | + |
| 133 | +.. |maintainer-jeremi| image:: https://github.com/jeremi.png?size=40px |
| 134 | + :target: https://github.com/jeremi |
| 135 | + :alt: jeremi |
| 136 | + |
| 137 | +Current maintainer: |
| 138 | + |
| 139 | +|maintainer-jeremi| |
| 140 | + |
| 141 | +This module is part of the `OpenSPP/openspp-modules <https://github.com/OpenSPP/openspp-modules/tree/19.0/spp_simulation>`_ project on GitHub. |
| 142 | + |
| 143 | +You are welcome to contribute. |
0 commit comments