HF RL Explorer

rz vector assign at() and rz pvector assign at() do not respect reserved capacity

rz vector assign at() and rz pvector assign at() do not respect reserved capacity: a task in LegoFlow-SWE (Harbor dataset). rz vector assign at() and rz pvector assign at() are supposed to allow inserting or replacing an element at a given index. However, when the index is greater than or equal to…

The task

`rz_vector_assign_at()` and `rz_pvector_assign_at()` are supposed to allow inserting or replacing an element at a given index. However, when the index is greater than or equal to the vector’s current length (`len`) but still less than its reserved capacity, the assignment either fails or does not extend the vector.…

Part of Lego-X/LegoFlow-SWE.