HF RL Explorer

Treenode prune bug

Treenode prune bug: a task in life-science-SWE1.0 (Harbor dataset). Found a bug when using TreeNode.shear where TreeNode.prune could not handle a resulting subtree in which the root was not included. TreeNode.prune is called implicitly by shear .

The task

Found a bug when using `TreeNode.shear` where `TreeNode.prune` could not handle a resulting subtree in which the root was not included. `TreeNode.prune` is called implicitly by `shear`.

Part of scalingX/life-science-SWE1.0.