calc_mc_score: Calculate the score for an answer of a multi-choice-question

Description Usage Arguments Value

Description

If the submission has exactly the same checked options as the solution then the score is 100. Otherwise, it's 0.

Usage

1
calc_mc_score(submission, solution)

Arguments

submission

JSON stringifed submission from a multi-choice answer

solution

a vector of multi-choice-q options

Value

a vector with the parsed options


triglian/asqr documentation built on May 31, 2019, 7:53 p.m.