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

ENH: Check whether `eg` and `ehe` groups consist of max 2 individuals #707

Open MImmesberger opened 6 months ago

MImmesberger commented 6 months ago

Is your feature request related to a problem?

As far as I can see, there are no checks whether groups created by eg_id_numpy and ehe_id_numpy are at most of size 2.

Describe the solution you would like to see

GETTSIM should throw an error if the user-provided inputs imply larger groups.

MImmesberger commented 6 months ago

Related to #698