WR-03: every new or changed open answer in a learning quiz with a grader is a paid grading call. Add per-user buckets golem15.quizzes.answer (60/min) and golem15.quizzes.start (10/min), configurable under golem15.quizzes.throttle.*.
21 lines
887 B
YAML
21 lines
887 B
YAML
# Defaults for golem15.quizzes, merged under the plugin ID: the application
|
|
# reads these as golem15.quizzes.scoring.* and can override them in its own
|
|
# config.
|
|
scoring:
|
|
# Give partial credit on multiple-answer questions:
|
|
# (correct chosen - wrong chosen) / correct answers, floored at 0.
|
|
multiple_partial: false
|
|
# Fraction of a question's points subtracted for a wrong answer (0 to 1).
|
|
# An attempt's total never goes below 0.
|
|
penalty_wrong: 0
|
|
test:
|
|
# Seconds after a test's time limit during which an answer still in flight
|
|
# is accepted (0 to 120). Learning quizzes have no grace.
|
|
grace_seconds: 5
|
|
throttle:
|
|
# Per-user limits of the student's answers and attempt starts, per minute.
|
|
# With a grader such as ai, every new or changed open answer in a learning
|
|
# quiz is a paid grading call, so keep these low.
|
|
answers_per_minute: 60
|
|
attempts_per_minute: 10
|