- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowf::test_item::grading::GradingRoundPercentage
::xowf::test_item::grading::GradingRoundPercentage create ... \Implements a grading expressed as a rounded percentage
[ -csv (default "$achievedPoints\t$percentage%\t$percentageRounded%\t$grade") ] \
[ -percentage_boundaries:required percentage_boundaries:required ] \
[ -precision (default "") ] \
[ -title (default "") ]
Defined in packages/xowf/tcl/grading-procs.tcl
Class Relations
Methods (to be applied on instances)
grade (scripted, public)
<instance of xowf::test_item::grading::GradingRoundPercentage> grade \ -achieved_points achieved_pointsReturn a numeric grade for an exam submission based on rounded percentage. On invalid data, return 0.
- Switches:
- -achieved_points (required)
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables