docs icon indicating copy to clipboard operation
docs copied to clipboard

[Docs]Add documentation of Learner perspectives to the Academy page

Open Nouran-11 opened this issue 2 months ago β€’ 1 comments

Description: The Academy documentation currently lacks clear, distinct descriptions of functionality from the Learner perspective.

Contributor Guide and Resources

Nouran-11 avatar Oct 13 '25 15:10 Nouran-11

/ for a given attempt in a test bank. // // It divides a total set of questions into fixed-size chunks (sets), and cycles // through them as attempts progress. Once the end of the question bank is reached, // the next attempt wraps around to the beginning. // // Parameters: // - totalQuestions: total number of questions in the test bank. // - setSize: number of questions to include in each attempt. // - attemptNumber: the current attempt number (starting from 1). // // The returned range [start, end) can be used to slice a question list. // // Example: // // totalQuestions := 25 // setSize := 5 // // GetQuestionRange(totalQuestions, setSize, 1) // β†’ (0, 5) // GetQuestionRange(totalQuestions, setSize, 2) // β†’ (5, 10) // GetQuestionRange(totalQuestions, setSize, 6) // β†’ (0, 5) // // Note: This version does not wrap mid-set. If start + setSize exceeds // totalQuestions, the end value is capped at totalQuestions.

aabidsofi19 avatar Oct 13 '25 15:10 aabidsofi19