PolicyEngine / policyengine.py

[WIP] PolicyEngine's main user-facing Python package, incorporating country packages and integrating data visualization and analytics.
GNU Affero General Public License v3.0
2 stars 4 forks source link

Create separate file for metrics & add docstrings and type hints #12

Closed masterismail closed 1 week ago

masterismail commented 1 week ago

Each metric gets its own folder. Inside, you'll find one .py file which will contain the index on which we measure that metric.

For example, "Inequality Impact" folder contains a file which consists of class for each of the index like Gini, top 10 percent , top 1 percent.

added docstring and type hints for all the functions

closes #10