policyengine-core
OfficialThe engine powering all policy simulations.
Software Engineering#python#software architecture#core platform#policy modeling#microsimulation#vectorization#simulation engine
AuthorPolicyEngine
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Building a robust, high-performance microsimulation engine capable of handling complex tax and benefit rules across multiple entities and time periods is a significant engineering challenge. PolicyEngine Core provides this foundational engine, ensuring accuracy, consistency, and performance for all calculations.
Core Features & Use Cases
- Simulation Engine: Processes tax rules, manages variables, parameters, and entity relationships (person, family, household, tax unit).
- Vectorized Operations: Designed for high performance by processing many households simultaneously.
- Automatic Dependency Resolution: Automatically resolves variable dependencies, ensuring calculations are performed in the correct order.
- Formula Caching: Caches calculation results to speed up repeated requests.
- Use Case: Understand how a country package (like
policyengine-us) defines a variable likeincome_tax, and how PolicyEngine Core automatically resolves its dependencies onadjusted_gross_incomeandstandard_deduction.
Quick Start
Use the policyengine-core skill to understand how the Variable class is implemented in the core engine.
Dependency Matrix
Required Modules
numpy
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: policyengine-core Download link: https://github.com/PolicyEngine/policyengine-claude/archive/main.zip#policyengine-core Please download this .zip file, extract it, and install it in the .claude/skills/ directory.