zeno-ml / zeno-hub

AI Evaluation Platform
https://hub.zenoml.com
MIT License
44 stars 10 forks source link

fix: prevents explore from crashing when histograms could not be rend… #613

Closed Sparkier closed 10 months ago

Sparkier commented 10 months ago

…ered

Description

This fixes two issues:

  1. If an empty list is returned for a histogram, explore became unresponsive. This has been fixed by just not rendering the broken histogram.
  2. If a metric was defined on a non-existent column, our histogram calculation returned an empty list of buckets. This has been changed so that the metric is ignored instead.