engine/views:

Added a TODO comment.
engine/tests:

Added tests for `get_hazard_result` and `get_risk_result`.