HF RL Explorer

Iterative Code Refinement

Iterative Code Refinement: a task in OpenClaw-EvalMix (Harbor dataset). Create a Python script called calculator.py that implements a simple calculator with these functions: 1. add(a, b) — returns a + b 2. subtract(a, b) — returns a - b 3. multiply(a, b) — returns a b 4. divide(a, b) — returns a /…

The task

Create a Python script called `calculator.py` that implements a simple calculator with these functions: 1. `add(a, b)` — returns a + b 2. `subtract(a, b)` — returns a - b 3. `multiply(a, b)` — returns a * b 4. `divide(a, b)` — returns a / b (no error handling yet)

Part of zt1106/OpenClaw-EvalMix.