Autodetect whether period_end identifies a particular moment or an entire year. i.e., whether to add 1 to period_end to calculate the period length. This required changing the sequence of definitions to give access to tp_weight before period_length_years is defined.
Autodetect whether period_end identifies a particular moment or an entire year.
i.e., whether to add 1 to period_end to calculate the period length.
This required changing the sequence of definitions to give access to tp_weight
before period_length_years is defined.

OCM-Lab-PUC/switch-chile,bmaluenda/switch,OCM-Lab-PUC/switch-chile