refactor: unify objective creation
refactor: unify objective creation: a task in life-science-SWE1.0 (Harbor dataset). Title: refactor: unify objective creation
The task
**Title:** refactor: unify objective creation
Part of scalingX/life-science-SWE1.0.