refactor(rating): evaluate attributes inside init function