From ce8f770dff1daf6fb7aefb4968acc30c272220c1 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 17 Jan 2026 16:33:55 -0500 Subject: [PATCH 1/4] Add policyengine-claude plugin auto-install Co-Authored-By: Claude --- .claude/settings.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .claude/settings.json diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 00000000..647162e2 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,10 @@ +{ + "plugins": { + "marketplaces": [ + "PolicyEngine/policyengine-claude" + ], + "auto_install": [ + "country-models@policyengine-claude" + ] + } +} From ae053a5e816ba578abe36f6ab039d2209a56ace6 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 18 Jan 2026 15:35:33 -0500 Subject: [PATCH 2/4] Add changelog entry --- changelog_entry.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29b..b4658486 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,4 @@ +- bump: minor + changes: + changed: + - Added policyengine-claude plugin auto-install configuration. From 43d7411270181bf90108e507f64e66a3bd7c862f Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 18 Jan 2026 15:40:13 -0500 Subject: [PATCH 3/4] Trigger CI re-run From 5c07bd28d3387f7bb532a20742907f7ee51a7542 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 18 Jan 2026 15:51:49 -0500 Subject: [PATCH 4/4] Fix black 26.1.0 formatting --- policyengine_core/charts/formatting.py | 1 - policyengine_core/populations/population.py | 8 ++------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/policyengine_core/charts/formatting.py b/policyengine_core/charts/formatting.py index 8fcf536a..182774c0 100644 --- a/policyengine_core/charts/formatting.py +++ b/policyengine_core/charts/formatting.py @@ -1,7 +1,6 @@ import plotly.graph_objects as go from IPython.display import HTML - GREEN = "#29d40f" LIGHT_GREEN = "#C5E1A5" DARK_GREEN = "#558B2F" diff --git a/policyengine_core/populations/population.py b/policyengine_core/populations/population.py index a3c9f5aa..7a64b1bd 100644 --- a/policyengine_core/populations/population.py +++ b/policyengine_core/populations/population.py @@ -72,17 +72,13 @@ def check_period_validity( if period is None: stack = traceback.extract_stack() filename, line_number, function_name, line_of_code = stack[-3] - raise ValueError( - """ + raise ValueError(""" You requested computation of variable "{}", but you did not specify on which period in "{}:{}": {} When you request the computation of a variable within a formula, you must always specify the period as the second parameter. The convention is to call this parameter "period". For example: computed_salary = person('salary', period). See more information at . -""".format( - variable_name, filename, line_number, line_of_code - ) - ) +""".format(variable_name, filename, line_number, line_of_code)) def __call__( self,