xowf::test_item::grading::GradingRoundNone method grade (public)
<instance of xowf::test_item::grading::GradingRoundNone> grade \ -achieved_points achieved_points
Defined in packages/xowf/tcl/grading-procs.tcl
Return a numeric grade for an exam submission based with no special rounding (2 digits). On invalid data, return 0.
- Switches:
- -achieved_points (required)
- Testcases:
- No testcase defined.
Source code: if {[dict exists $achieved_points achievedPoints]} { set achieved_points [:grading_dict $achieved_points] dict with achieved_points { return [:calc_grade -percentage $percentage] } }XQL Not present: Generic, PostgreSQL, Oracle