- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowf::test_item::grading::Grading
::xowf::test_item::grading::Grading create ... \Superclass representing a generic grading
[ -csv:required csv:required ] \
[ -percentage_boundaries:required percentage_boundaries:required ] \
[ -precision (default "") ] \
[ -title (default "") ]
Defined in packages/xowf/tcl/grading-procs.tcl
Class Relations
- class: ::nx::Class
- superclass: ::nx::Object
- subclass: ::xowf::test_item::grading::GradingNone, ::xowf::test_item::grading::GradingRoundNone, ::xowf::test_item::grading::GradingRoundPoints, ::xowf::test_item::grading::GradingRoundPercentage
Methods (to be applied on instances)
grading_dict (scripted, public)
<instance of xowf::test_item::grading::Grading> grading_dict \ achieved_pointsImportant dict members of "achieved_points": - achievedPoints: points that the student has achieved in her exam - achievablePoints: points that the student could have achieved so far - totalPoints: points that the student can achieve when finishing the exam achieved_points: {achievedPoints 4.0 achievablePoints 4 totalPoints 4} percentage_mapping: {50.0 60.0 70.0 80.0} While "achievedPoints" and "achievablePoints" are calculated by iterating over the submitted values, "totalPoints" contains the sum of points of all questions of the exam, no matter if these were answered or not.
- Parameters:
- achieved_points (required)
- Testcases:
- No testcase defined.
print (scripted, public)
<instance of xowf::test_item::grading::Grading> print \ -achieved_points achieved_pointsReturn a dict containing the members "panel" and "csv" depending on the type of rounding options
- 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