ENH: Refine implementation of Wohngeld maximum rent and ESt Behinderungspauschbetrag #796
Labels
enhancement
New feature or request
implementation-detail
How something is implemented in Python code, unrelated to the way taxes/transfers are represented
Is your feature request related to a problem?
The functions
_eink_st_behinderungsgrad_pauschbetrag_y
andwohngeld_miete_m_hh
rely on complicatednp.searchsorted
calls that can be made explicit by adjusting the yaml files.For the Behinderungsgrad, for example, this is necessary because we only specify threshold values in the yaml file, while the input variable
behinderungsgrad
can take any value between 0 and 100:Describe the solution you would like to see
Expand the yaml files to make it possible to call the parameters directly via the
mietstufe
andbehinderungsgrad
keys. For the Behinderungsgrad, for example, we can use the following structure:Then we can do the following:
(This is very verbose but makes it clearer for the reader, I think.)
The text was updated successfully, but these errors were encountered: