Does survey auto tally results and scores?
I guess I will check,
the big problem is that it appears that things fail silently.
1. I imported an assessment, it says all imported fine. When you open it, it errors because creator_id is not set.
Fix that and points for the assessment are set to # of answers etc.
2. /asm-admin/results-edit if you edit results, you get :
yntax error in expression "round(100 * / 100)": unexpected operator /
while executing
"expr round(100 * $section_points / $section_max_points)"
(procedure "as::assessment::calculate" line 13)
invoked from within
"as::assessment::calculate -assessment_id $assessment_rev_id -session_id $session_id"
("uplevel" body line 5)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 1)
This is because all the fields aren't populating correctly but no errors are thrown. Instead of storing calculated fields, they should really be calculated.
3. asm-admin/results-session?session%5fid=19088
doesn't calculate the correct answers, it always shows 0 points. i.e. SECTION Hops (0 / 100 points)
which of course leads to results-users?assessment_id not showing points.
I am trying to grasp the huge tangle of code, but it seems very fragile. Unfortunatly, I don't think I can reinstall because this is a live setup for this semester, I will manually manipulate the db until summer.