Spaces:
Running
Running
|
Download samples/README.md from sahil-12kumar/IL_CMS_Tools: direct link, hf CLI and curl.
- Browser
- Download file 3.38 kB
-
https://huggingface.co/spaces/sahil-12kumar/IL_CMS_Tools/resolve/main/samples/README.md
- Command line
-
hf download hf://spaces/sahil-12kumar/IL_CMS_Tools/samples/README.md
-
curl -L -o README.md https://huggingface.co/spaces/sahil-12kumar/IL_CMS_Tools/resolve/main/samples/README.md
3.38 kB
| # Sample question files | |
| Ready-to-upload examples for each format the IL Question Uploader accepts. | |
| Open the dashboard, drop one of these in, and watch the parse progress. | |
| | File | Format | Questions | Notes | | |
| |------|--------|-----------|-------| | |
| | `sample_questions.xlsx` | Excel | 6 | Full column layout; supports every question type + LaTeX (`$...$`). | | |
| | `sample_questions.md` | Markdown | 5 | Supports `Type:` hints, multiple-correct, LaTeX, and `` images. | | |
| | `sample_questions.docx` | Word | 5 | Template to type over: question / options / answer / solution only. Both `a) b) c) d)` and `1) 2) 3) 4)` shown. Full rules: [`WORD_FORMAT.md`](WORD_FORMAT.md). | | |
| ## Excel columns (`sample_questions.xlsx`) | |
| Header row, then one question per row: | |
| `Question | Option A | Option B | Option C | Option D | Correct Answer | Question Type | Subtopic Id | Difficulty | Solution` | |
| - **Correct Answer**: `A`/`B`/`C`/`D` (or `1`β`5`). Multiple-correct: comma list e.g. `A,B`. | |
| - **Question Type**: `mcq`, `multiple`, `numerical`, `integer`, `true or false` | |
| (leave blank β defaults to single-correct MCQ; rows with no options β numerical). | |
| - Leave option columns blank for numerical/integer questions. | |
| ## Markdown (`sample_questions.md`) | |
| - Question: `1.` / `Q1.` / `Question 1:` | |
| - Options: `(A)` / `A.` / `A)` (or numbered `(1) (2) β¦`) | |
| - Answer: `Ans: C` β multiple letters (`Ans: A, C`) auto-detect Multiple Correct | |
| - Solution: `Sol:` or `Explanation:` | |
| - Type override: `Type: numerical` | |
| - A `.zip` containing the `.md` plus referenced images also works. | |
| ## Word (`sample_questions.docx`) | |
| A template to type over β download, replace the sample questions with yours, upload. | |
| Regenerate with `python make_sample_docx.py --check`. Full rules: | |
| [`WORD_FORMAT.md`](WORD_FORMAT.md). | |
| Four line kinds, in order: **question β options β answer β solution.** Nothing else | |
| is needed β no heading, no title, no type or difficulty line. | |
| - Question: `1.` or `Q1.` | |
| - Options: `a) b) c) d)`, `A) B) C) D)`, `(a)`/`(A)`, `1) 2) 3) 4)` or `(1) (2) (3) (4)` | |
| β all equivalent, and you may mix styles between questions. `A. text` (dot) is **not** | |
| an option marker. | |
| - Answer: `Answer: b`, `Ans: B`, `Answer: 2`, `Ans (3)` β letters and numbers are | |
| interchangeable. | |
| - Solution: every paragraph between the answer line and the next question. No `Sol:` | |
| keyword β and never start such a line with `2.`, which starts a new question. | |
| - Numerical/integer: give **no options**; the type is inferred. Write a band as | |
| `0.28-0.32`; `Β±`, `+/-` and `to` are not understood and lose the answer. | |
| - Maths: use Word's equation editor (Insert β Equation), not LaTeX β `$β¦$` is only | |
| converted for `.md` and `.xlsx`. Inline pictures are carried through. | |
| - Optional in existing papers, before the answer line: `Question Type: Multiple Correct` | |
| (with `Answer - 1,3`) and `Difficulty Level: Easy`. Subject headings | |
| (`PHYSICS`, `MATHEMATICS`, β¦) start a section. | |
| ## Question type β CMS | |
| All formats map to the CMS canonical type **and** its lookup UUID, so the type | |
| shows correctly in the CMS: | |
| | Input type | CMS type | | |
| |------------|----------| | |
| | `mcq` / `single` | MCQ - Single Correct | | |
| | `multiple` / `msq` | MCQ - Multiple Correct | | |
| | `numerical` / `nat` | numerical value question | | |
| | `integer` | Integer type Question | | |
| | `true or false` | True/False Type | | |