HF RL Explorer

Task: Preserve NumPy array conversion when using SWIG -builtin

Task: Preserve NumPy array conversion when using SWIG -builtin: a task in Terminal-Lego-15k (Harbor dataset). You are given a small SWIG-based Python/C++ extension project. The project currently converts C++ std::vector return values into Python tuples, and then uses SWIG’s pythonappend feature to…

The task

You are given a small SWIG-based Python/C++ extension project. The project currently converts C++ `std::vector` return values into Python tuples, and then uses SWIG’s `pythonappend` feature to convert those tuples into NumPy arrays.

Part of PrimeIntellect/Terminal-Lego-15k.