policyengine-uk
policyengine-uk copied to clipboard
`age` is of type `float` instead of `int`
The age variable is coded as a float instead of an int, making it a bit challenging on the front end to limit input for this parameter to non-decimal values. This is also in contradiction with core, which has its own age class of type int.
I think we might need non-integer child ages for some childcare programs is that right @vahid-ahmadi?
Sorry, I missed this issue. The age variable must remain a float because childcare programs require fractional ages for accurate eligibility calculations. Also, the codebase contains some test cases with fractional ages.
I close this issue.