Skip to content

Commit 1d0e238

Browse files
vahid-ahmadiclaude
andauthored
Change hours_worked label to 'Hours worked per week' (#1609)
* Change hours_worked label to "Hours worked per week" The variable represents weekly hours (used as hours/52 for weekly_hours and hours*52 for annual calculations), so the label should reflect this. Fixes #451. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Use 'Annual hours worked' label for hours_worked hours_worked is annual: FRS input builds it as tothours * 52, and weekly_hours divides it by WEEKS_IN_YEAR. A "per week" label would misrepresent the variable by a factor of 52. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a22ba6c commit 1d0e238

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

changelog.d/451.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Change `hours_worked` variable label to "Annual hours worked" for clarity.

policyengine_uk/variables/household/income/hours_worked.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
class hours_worked(Variable):
77
value_type = float
88
entity = Person
9-
label = "Total amount of hours worked by this person"
9+
label = "Annual hours worked"
1010
definition_period = YEAR
1111
unit = "hour"

0 commit comments

Comments
 (0)