HF RL Explorer

Repair a verified behavior in fastmachinelearning/hls4ml.

Repair a verified behavior in fastmachinelearning/hls4ml.: a task in OriGent-SFT-Data (Harbor dataset). In hls4ml, ModelGraph.insert node(node, before=None) is wrong when before has multiple inputs. It identifies candidate successors only through their first input and always replaces before.inputs…

The task

In hls4ml, `ModelGraph.insert_node(node, before=None)` is wrong when `before` has multiple inputs. It identifies candidate successors only through their first input and always replaces `before.inputs[0]`, even when the node being inserted consumes a producer connected to another input. Thus, inserting a node on an…

Part of henryen/OriGent-SFT-Data.