Skip to content

lesson_draft

Draft a lesson for a parent’s request: questions drawn from the bank, help left empty.

request is the parent’s words (“6 zadań z mnożenia, klasa 3”); names is required: pass every name the family uses in the request (the child’s, siblings’, the parent’s), or [] when there is none; the tool replaces them before anything leaves the machine. grade the bare grade number; kind practice, review, check or diagnostic; count overrides the draw rule’s count. Each question carries its family step, key, the source item’s hints and worked lines as material, credit, based_on and why it was drawn; left_out says why each set or item was not used, and rule_settled is false (the draw rules are provisional). You write each question’s help in the lesson’s language: look and boost as {“text”} cards, boost_by_mistake as {mistake class: {“text”}}, almost and worked as lists of lines (almost is worked with its last line left blank), and twin as a question from the same template with its own say, data and key. Then call lesson_check with the whole draft.

Name Type Required Default Description
request string yes
grade string yes
names string[] yes
count integer no null
kind string no "practice"
language string no "pl"
skills string[] no null

The draft: the request with names replaced, the need sent to the bank, grade, language, kind, the draw rule and rule_settled (false while the draw rules are provisional), the drawn questions each with an empty help for you to write, left_out with a reason for each set or item not used, and the lesson_file_skeleton. Fill every question’s help and pass the whole draft to lesson_check.