You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/admin-guide.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@
11
11
2. Fill out the set title, slug, topic tags, and settings.
12
12
-**Order ID:** If you leave the `order` as `0` or blank, the system automatically assigns the next available number.
13
13
3. Add problems one-by-one, including statement, answer type, and answer key.
14
+
- Each problem has an **ID** field (the short label shown to students, e.g. `1`, `2a`, `A1`). It accepts any text — letters, digits, or a mix. Problems are sorted by ASCII order of their ID.
15
+
- If you leave it as-is, new problems default to sequential numbers (`1`, `2`, `3`, …).
14
16
4. For each problem, use the **LaTeX / HTML** toggle next to the statement field.
15
17
- Use **LaTeX** for `$...$`/`$$...$$` style input.
16
18
- Use **HTML** for content that includes tags like `<math>...</math>`.
Copy file name to clipboardExpand all lines: docs/import-format.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,23 +24,23 @@ Practice mode only shows tags that belong to more than 10 published questions.
24
24
"videoUrl": "https://example.com/video",
25
25
"problems": [
26
26
{
27
-
"number": 1,
27
+
"number": "1",
28
28
"statement": "Solve for x: 2x = 4",
29
29
"answerType": "integer",
30
30
"answerKey": "2",
31
31
"points": 1,
32
32
"topicTags": ["algebra", "linear-equations"]
33
33
},
34
34
{
35
-
"number": 2,
35
+
"number": "2",
36
36
"statement": "Give the exact value of sqrt(2).",
37
37
"answerType": "expression",
38
38
"answerKey": "sqrt(2)",
39
39
"acceptedAnswers": ["2^0.5"],
40
40
"topicTags": ["surds"]
41
41
},
42
42
{
43
-
"number": 3,
43
+
"number": "3",
44
44
"statement": "State the parity of 17.",
45
45
"answerType": "exact",
46
46
"answerKey": "odd"
@@ -79,7 +79,7 @@ Each entry in `problems` defines one question.
79
79
80
80
| Field | Type | Required | Default | Notes |
81
81
| :--- | :--- | :--- | :--- | :--- |
82
-
|`number`|integer| No | array index + 1 | Question number. |
82
+
|`number`|string| No | array index + 1 | Question identifier. Supports alphanumeric values like `"1"`, `"1a"`, `"A1"`, `"Q3b"`. Integer values are also accepted and coerced to strings. Ordered by ASCII value. |
83
83
|`statement`| string | No |`""`| Problem statement. LaTeX is allowed. |
84
84
|`statementFormat`| string | No | inherits top-level `statementFormat`| One of `"LATEX"` or `"HTML"`. Use `"HTML"` for content containing tags like `<math>...</math>`. |
0 commit comments