facet names incorrectly set may lead to error
Description
Description
Related Objects
Related Objects
Event Timeline
Comment Actions
What exactly is the error? What are the steps to reproduce this? Runtime error or wrong content in report?
Comment Actions
task names ( names(x$matlist) ) had been used for facet titles instead of algorithm names ( stored in "ordering").
besides wrong content, could lead to error
Error in names(pl) <- names(x$matlist) : 'names' attribute [34] must be the same length as the vector [5]
error has arisen if number of algorithms was smaller than number of tasks, i.e. if length(ordering)=length(names(pl)) < length(names(x$matlist))
Comment Actions
The unit tests can be found here: feature/T28193-UnitTestsMoreTasksThanAlgorithms
@wiesenfa Could you please check whether the unit tests are sufficient?
The tests do not cover only one case per task. They should be added by solving T28202.