Closed neighthan closed 1 year ago
Yes, good idea!
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
If you call
API.get_metrics_summary
with the name of a particular metric, and the experiment has data for that metric, a dictionary is returned. If the experiment lacks data for that metric, then an empty list is returned. An empty dictionary would make more sense here so that the return type in this case doesn't depend on whether the metric exists or not. This makes further processing easier because you don't have to handle two different possible return types. As an example, here's what I would like to do:but if the metric might not exist on some experiments, then I have to handle empty lists instead by doing something like