HF RL Explorer

Improve type annotations for core.(trajectory/units)

Improve type annotations for core.(trajectory/units): a task in life-science-SWE1.0 (Harbor dataset). Title: Improve type annotations for core.(trajectory/units)

The task

**Title:** Improve type annotations for `core.(trajectory/units)`

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