Nikhil Woodruff

Results 85 comments of Nikhil Woodruff

@HoaBi11 , @amontanoa I just got that error (imread failing) - if it helps, I got around it by adding: > image_file = image_file.decode("utf-8") before imread is called, since the...

([This](https://www.ifs.org.uk/wps/wp0620.pdf) is one paper that uses it, by the IFS; see pages 11 and 12 for the different metrics they have for work incentives - EMTR, PTR and RR.)

Thanks @benjello - I like that implementation; looks like the main difference is that seems to be specifically year-oriented, as opposed to matching the intervals of the uprating parameter directly?

@benjello how about the implementation we're currently using [here](https://github.com/PolicyEngine/openfisca-tools/pull/6)? Here's an example of how it'd work: ```yaml some_uprated_parameter: values: 2015-01-01: 1 2016-01-01: 2 # last value metadata: uprater: uprating_parameter uprating_parameter:...

Thanks @sandcha - [here's ](https://github.com/PSLmodels/openfisca-uk/blob/fb7323741d987c67a0f6d69f5060621835b93fd5/openfisca_uk/variables/benunit/benefits/child_benefit.py#L13)an example of a weekly-defined variable we have in the UK model, for Child Benefit. I think that'd be good, though it probably does keep the...

Thanks @MattiSG - yes, I can see why that issue got a bit more complex: perhaps it might be easier to separate the question of metadata which informs some additional...

Oh thanks @benjello - hadn't seen that. Yeah I think being able to have parameter changes under that reforms argument would encapsulate this. Would this example work? ```yaml - name:...

Probably not general enough to include in Core; we should use existing fields and/or monkey-patch in [openfisca-tools](https://github.com/PolicyEngine/openfisca-tools/blob/master/openfisca_tools/model_api.py).

I agree, but should individual metadata attributes be considered as part of it? I'm thinking of `unit`, which is very much a metadata attribute for variables, but it's its own...

Thanks @MattiSG for this helpful clarification! I actually was referring to the [Variable unit attribute](https://openfisca.org/doc/openfisca-python-api/variables.html#openfisca_core.variables.Variable.unit), am I understanding it correctly?