Skip to content

ENH: Make serious FG-BG-WTHH creation exogenous #1010

@MImmesberger

Description

@MImmesberger

Is your feature request related to a problem?

We cannot deal with groups that depend on Vorrang-/Günstigerprüfungen across group constellations with our static DAG. Rather than attempting to create group creation functions which call GETTSIM recursively, we should provide a repository with a recipe to call GETTSIM repeatedly.

Based on the discussion below, the most promising strategy is:

  1. The functions fg_id, bg_id, and wthh_id all return the same thing.
  2. If they are called, GETTSIM issues a warning to users that the results will likely be wrong in some common scenarios, pointing to the external repo. Things like eigenbedarf_gedeckt will disappear.
  3. The external repo contains the code that we have now plus, eventually, the work from Endogenous Bedarfsgemeinschaften #778. Calling the main function in that repo will produce "correct" fg_id, bg_id, wthh_id and results of Vorrang-/Günstigerprüfungen (e.g., wohngeld_vorrangig_oder_günstiger), which can be used as part of the input_data in a subsequent GETTSIM call.
  4. All other functions in GETTSIM remain the same, in particular they will assume that fg_id, bg_id, and wthh_id are correct no matter where they come from.

HMG: edited so that it reflects my understanding of the outcomes of our discussion below, please double-check @MImmesberger

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttax-transfer-featureThis relates to a feature of the Taxes and Transfers system or reforms thereof

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions