t646 & t687 -- adding formulae to assessment_variable table