Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Raise warning if argument in create_synthetic_data is not among GETTSIM targets #770

Open
MImmesberger opened this issue Jun 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@MImmesberger
Copy link
Collaborator

If a user overwrites the default target/input variable values in create_synthetic_data and has a typo in it, GETTSIM does not give a warning. This may lead to confusion, for example I had the case where:

hh_data = create_synthetic_data(
    n_adults=1,
    n_children=2,
    specs_heterogeneous={
        "kind_unterhalt_erhalt_m": [[0, i, i] for i in range (400, 800)]
    }
}

kind_unterhalt_erhalt_m is a typo, the correct target is kind_unterh_erhalt_m. In no step of the process (neither in i) creating the synthetic data nor in ii) calling gettsim) there is any notification/warning/error that may make the user aware of a potential typo.

@MImmesberger MImmesberger added the enhancement New feature or request label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant