Class ::xowf::test_item::grading::GradingRoundPoints (public)
::nx::Class ::xowf::test_item::grading::GradingRoundPoints
Defined in packages/xowf/tcl/grading-procs.tcl
Implements a grading expressed as a rounded number of points
- Testcases:
- No testcase defined.
Source code: :property {csv {$achievedPoints\t$achievedPointsRounded\t$percentage%\t$grade}} :public method grade {-achieved_points:required} { # # Return a numeric grade for an exam submission based on rounded # points. On invalid data, return 0. # set achieved_points [:grading_dict $achieved_points] dict with achieved_points { return [:calc_grade -points $achievedPointsRounded -achievable_points $totalPoints] } }XQL Not present: Generic, PostgreSQL, Oracle