%3 ::xowf::test_item::grading::GradingRoundPoints ::xowf::test_item::grading::GradingRoundPoints grade ::xowf::test_item::grading::Grading ::xowf::test_item::grading::Grading calc_grade grading_dict init print ::xowf::test_item::grading::GradingRoundPoints->::xowf::test_item::grading::Grading ::xowf::test_item::grading::GradingNone ::xowf::test_item::grading::GradingNone grade ::xowf::test_item::grading::GradingNone->::xowf::test_item::grading::Grading ::xowf::test_item::grading::GradingRoundPercentage ::xowf::test_item::grading::GradingRoundPercentage grade ::xowf::test_item::grading::GradingRoundPercentage->::xowf::test_item::grading::Grading ::xowf::test_item::grading::GradingRoundNone ::xowf::test_item::grading::GradingRoundNone grade ::xowf::test_item::grading::GradingRoundNone->::xowf::test_item::grading::Grading ::nx::Object ::nx::Object __default_accessor __default_method_call_protection __object_configureparameter __resolve_method_path contains copy delete object method delete object property delete object variable destroy_on_cleanup info info info lookup parameters info lookup slots info lookup syntax info lookup variables info object method args info object method body info object method callprotection info object method debug info object method definition info object method definitionhandle info object method deprecated info object method exists info object method handle info object method origin info object method parameters info object method registrationhandle info object method returns info object method submethods info object method syntax info object method type info object slots info object variables info variable definition info variable name info variable parameter move object alias object forward object method object property object variable private protected public qn require namespace require object method require private object method require protected object method require public object method serialize ::xowf::test_item::grading::Grading->::nx::Object

Class ::xowf::test_item::grading::GradingRoundPoints

::xowf::test_item::grading::GradingRoundPoints[i] create ... \
           [ -csv (default "$achievedPoints\t$achievedPointsRounded\t$percentage%\t$grade") ] \
           [ -percentage_boundaries:required percentage_boundaries:required ] \
           [ -precision (default "") ] \
           [ -title (default "") ]

Implements a grading expressed as a rounded number of points
Defined in packages/xowf/tcl/grading-procs.tcl

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::xowf::test_item::grading::Grading[i]

Methods (to be applied on instances)

  • grade (scripted, public)

     <instance of xowf::test_item::grading::GradingRoundPoints[i]> grade \
        -achieved_points achieved_points 

    Return a numeric grade for an exam submission based on rounded points. On invalid data, return 0.

    Switches:
    -achieved_points
    (required)

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.