HF RL Explorer

Refactor/core model and test model.py to Python 3.6+

Refactor/core model and test model.py to Python 3.6+: a task in life-science-SWE1.0 (Harbor dataset). Title: Refactor/core model and test model.py to Python 3.6+

The task

**Title:** Refactor/core model and test_model.py to Python 3.6+

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