HF RL Explorer

Backport PR 2488 on branch 0.12.x (fix: spmatrix for 1.18)

Backport PR 2488 on branch 0.12.x (fix: spmatrix for 1.18): a task in Trending-SWE1.0 (Harbor dataset). Title: Backport PR 2488 on branch 0.12.x (fix: spmatrix for 1.18)

The task

**Title:** Backport PR #2488 on branch 0.12.x (fix: `spmatrix` for 1.18)

Part of scalingX/Trending-SWE1.0.