benchexec icon indicating copy to clipboard operation
benchexec copied to clipboard

Nicer run-set names in HTML tables

Open PhilippWendler opened this issue 4 years ago • 4 comments

Right now, we always have a timestamp in the name of run sets, e.g. grafik

The timestamp is there because it (in practice) guarantees uniqueness, all other parts of the name could be identical across multiple run sets (for example in regression testing). However, in those cases where the remaining name parts are already sufficient, it is often just clutter and not relevant for users.

One way to solve this would be to show the timestamp only if without the timestamp the names would not be unique.

PhilippWendler avatar Apr 22 '21 14:04 PhilippWendler

It might be enough to move the timestamp at the end of the string, s.t. it is normally hidden.

danieldietsch avatar Apr 22 '21 14:04 danieldietsch

Hi! I was trying to devise a strategy to solve this issue, but I couldn't find any place in the HTML table code where the said behavior of appending the timestamp to the runset name is done. Shouldn't the naming be a part of the Python API that surrounds the table generator? Can someone point me to the relevant section to tackle this issue?

Thanks!

EshaanAgg avatar Mar 21 '24 12:03 EshaanAgg

The function that creates this string is getRunSetName from util/utils.js. It is used by RunSetHeader in TableComponents.js. Does this help you or do you need more information?

PhilippWendler avatar Mar 22 '24 10:03 PhilippWendler

That indeed does! Thanks!

EshaanAgg avatar Mar 22 '24 20:03 EshaanAgg