iza-institute-of-labor-economics / gettsim

The GErman Taxes and Transfers SIMulator
https://gettsim.readthedocs.io/
GNU Affero General Public License v3.0
54 stars 32 forks source link

BUG: Make sure GETTSIM runs over simple synthetic data #727

Closed ChristianZimpelmann closed 5 months ago

ChristianZimpelmann commented 5 months ago

Bug description

data = create_synthetic_data(2, 2)
policy_params, policy_functions = set_up_policy_environment("2024")
compute_taxes_and_transfers(data, policy_params, policy_functions)

throws a few errors.

Should we implement a test running GETTSIM over synthetic data and checking that there is no error?

MImmesberger commented 5 months ago

Should we implement a test running GETTSIM over synthetic data and checking that there is no error?

Yes, definitely. Currently, we only test for the correct creation of the synthetic data. I'll create an issue for that.