HF RL Explorer

terminal sparklines: edge case

terminal sparklines: edge case: a task in smol-software-harbor (Harbor dataset). The CLI dashboard crashes with ZeroDivisionError when a metric did not change (all values equal): sparkline() in spark.py divides by max - min . As its docstring says, a flat series must be drawn with the middle block…

The task

The CLI dashboard crashes with `ZeroDivisionError` when a metric did not change (all values equal): `sparkline()` in `spark.py` divides by `max - min`. As its docstring says, a flat series must be drawn with the middle block for every value. Fix it and run `python3 -m pytest -q`.

Part of efederici/smol-software-harbor.