HF RL Explorer

Repair a verified behavior in clash-lang/clash-compiler.

Repair a verified behavior in clash-lang/clash-compiler.: a task in OriGent-RL-Data (Harbor dataset). Clash represents undefined/uninitialized circuit values with XException (thrown by errorX , detected by isX ). A long-standing usability problem is that Clash.Class.BitPack.pack silently eats…

The task

Clash represents undefined/uninitialized circuit values with `XException` (thrown by `errorX`, detected by `isX`). A long-standing usability problem is that `Clash.Class.BitPack.pack` silently eats these exceptions and converts them into undefined bits. In a function such as

Part of henryen/OriGent-RL-Data.