There are several cases where a large dictionary/dataframe such as An_data or diet_info gets passed to a model function. These should be refactored to only pass the necessary values to the function. This will make individual functions easier to work with and will make unit testing simpler.
There are several cases where a large dictionary/dataframe such as An_data or diet_info gets passed to a model function. These should be refactored to only pass the necessary values to the function. This will make individual functions easier to work with and will make unit testing simpler.