HF RL Explorer

Task: Regex Find and Replace with Arithmetic Operations on Submatches

Task: Regex Find and Replace with Arithmetic Operations on Submatches: a task in Terminal-Lego-15k (Harbor dataset). You need to perform a regex-based find and replace operation where matched numeric values require arithmetic transformations. This task simulates the common need to modify IDs or…

The task

You need to perform a regex-based find and replace operation where matched numeric values require arithmetic transformations. This task simulates the common need to modify IDs or numeric references in configuration files by subtracting a constant value from each match.

Part of PrimeIntellect/Terminal-Lego-15k.