HF RL Explorer

When generating TypeScript schemas for Variant types, the produced types do not match the actual JSON…

When generating TypeScript schemas for Variant types, the produced types do not match the actual JSON…: a task in LegoFlow-SWE (Harbor dataset). The generated TypeScript currently represents a variant as a plain union of its member types, without wrapping each case in this object structure. This…

The task

The generated TypeScript currently represents a variant as a plain union of its member types, without wrapping each case in this object structure. This causes validation to fail when deserializing real payloads. Users expect the schema module to export distinct, case‑specific wrapper types so that each case can be…

Part of Lego-X/LegoFlow-SWE.