<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def effect_ratio(self, mechanism, purview):
 """The effect ratio of the ``purview`` given ``mechanism``."""

        return self._ratio(Direction.EFFECT, mechanism, purview)