You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current code, when executing a series of calculation for multiple relevant distances, the result is arranged by relevant distance: (key = relevant distance).
It should be better to always give results arranged on thematic_id (key=thematic_id) because most of the functionalities is based on the fact that we want to do calculations, predictions etc. for all thematic objects.
At the moment this structure has to be re-arranged multiple times (util-function: dict_series_by_keys). If we would do this refactoring, this re-arrangement shouldn't be necessary anymore resulting in less handling.
So I would propose to always give results in following order:
This could be a big refactoring as this is used in multiple functions
The text was updated successfully, but these errors were encountered:
In the current code, when executing a series of calculation for multiple relevant distances, the result is arranged by relevant distance: (key = relevant distance).
It should be better to always give results arranged on thematic_id (key=thematic_id) because most of the functionalities is based on the fact that we want to do calculations, predictions etc. for all thematic objects.
At the moment this structure has to be re-arranged multiple times (util-function: dict_series_by_keys). If we would do this refactoring, this re-arrangement shouldn't be necessary anymore resulting in less handling.
So I would propose to always give results in following order:
This could be a big refactoring as this is used in multiple functions
The text was updated successfully, but these errors were encountered: