HF RL Explorer

Bug: TypedPredictor optimization fails with list output fields

Bug: TypedPredictor optimization fails with list output fields: a task in LegoFlow-SWE (Harbor dataset). Summary: When using TypedPredictor with output fields of type List str or other list/sequence types, optimization (e.g., BootstrapFewShot ) fails, although inference works. The format field…

The task

**Summary:** When using `TypedPredictor` with output fields of type `List[str]` or other list/sequence types, optimization (e.g., `BootstrapFewShot`) fails, although inference works. The `_format_field_value` function does not correctly format list-typed output field values, causing a `ValueError` or malformed output…

Part of Lego-X/LegoFlow-SWE.