HF RL Explorer

Task: Replace Multiple Strings Simultaneously in JavaScript

Task: Replace Multiple Strings Simultaneously in JavaScript: a task in Terminal-Lego-15k (Harbor dataset). When replacing multiple strings in a sequence, you may encounter a common problem where previously replaced strings get replaced again, leading to unexpected results.

The task

When replacing multiple strings in a sequence, you may encounter a common problem where previously replaced strings get replaced again, leading to unexpected results.

Part of PrimeIntellect/Terminal-Lego-15k.