IndexError: list index out of range in export text when the tree only has one feature <!-- If your issue is…
IndexError: list index out of range in export text when the tree only has one feature <!-- If your issue is…: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). X, y = load iris(return X y=True) X = X :, 0 .reshape(-1, 1)
The task
X, y = load_iris(return_X_y=True) X = X[:, 0].reshape(-1, 1)
Part of Lego-X/Lego-RL-SWE-Bench-Verified.