Closed eszter137 closed 4 years ago
I actually quite like this behaviour.
I think this can be misleading because the default truncation is very short:
$ abcd summary -q calculated_by_eszter -p filename
info.filename count: 3007 unique: 1
▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 3007 /Users/es732/mnt/wom...
Maybe it could print a warning message that the labels differ at the x-th characters? Or print them with that length by default?
Let's see what other people think. what I like about the current behaviour is that it is consistent. it is printing a truncated string, and the histogram is made for the thing that is printed.
the ... tells you that there is truncation.
I Agree that the "unique: 1" is misleading. that should tell me how many different ones exist (without truncation)
I also agree that it would be enough to fix the "unique: 1" part.
When the beginnig of two labels agree and they are truncated that much, the histogram will not recognise that there are two of them: