From cf8d902d17ca827e28f76d40abda8386ae4e69d9 Mon Sep 17 00:00:00 2001 From: Anthony Volk Date: Tue, 19 Nov 2024 01:49:45 +0100 Subject: [PATCH] fix: Make corrections to cliff_evaluated --- policyengine_uk/variables/household/cliff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policyengine_uk/variables/household/cliff.py b/policyengine_uk/variables/household/cliff.py index 01f78580..1ef576b0 100644 --- a/policyengine_uk/variables/household/cliff.py +++ b/policyengine_uk/variables/household/cliff.py @@ -11,7 +11,7 @@ class cliff_evaluated(Variable): def formula(person, period, parameters): adult_index_values = person("adult_index", period) - cliff_adult_count = 2 + cliff_adult_count = parameters(period).gov.simulation.marginal_tax_rate_adults return adult_index_values <= cliff_adult_count