Currently grades are calculated by executing the formula as python code. A DSL should be created to be used instead.