HF RL Explorer

Fix highly-nested parens when formula parsing in Composition

Fix highly-nested parens when formula parsing in Composition: a task in life-science-SWE1.0 (Harbor dataset). Title: Fix highly-nested parens when formula parsing in Composition

The task

**Title:** Fix highly-nested parens when formula parsing in `Composition`

Part of scalingX/life-science-SWE1.0.