policyengine-reform-patterns
OfficialStandardize and automate PolicyEngine reforms.
Software Engineering#testing#parameters#registration#policyengine#factory-pattern#reform-patterns#in_effect
AuthorPolicyEngine
Version1.0.0
Installs0
System Documentation
What problem does it solve?
PolicyEngine reform patterns provide a standardized, reusable approach to implementing contributed reforms, including the 5-year lookahead mechanism, in_effect toggles, and parameter/variable management inside reform factories.
Core Features & Use Cases
- Inner factory pattern that defines variables within a closure and returns a Reform class.
- Outer lookahead wrapper that activates reforms based on in_effect across a 5-year window.
- Support for parameter modification, nested in_effect sub-features, and comprehensive test patterns for policy proposals.
Quick Start
Import and register a reform from policyengine_us.reforms.states.{st}.{bill_id}, then run the standard tests to validate activation and parameter integration.
Dependency Matrix
Required Modules
None requiredComponents
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-reform-patterns Download link: https://github.com/PolicyEngine/policyengine-skills/archive/main.zip#policyengine-reform-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.