Public Access
chore: add katex, dompurify, vitest; copy sample exam files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
4f124afa6f
commit
7ad0667668
5 files changed
+349
No files matched your search
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"title": "Mixed Demo — Every Question Type",
|
||||
"subtitle": "A tour of every renderer in the platform",
|
||||
"timeLimitMinutes": null,
|
||||
"feedbackMode": "end",
|
||||
"categories": ["Demo"],
|
||||
"questions": [
|
||||
{
|
||||
"id": "q1",
|
||||
"type": "multiple-choice",
|
||||
"category": "Demo",
|
||||
"points": 1,
|
||||
"prompt": "Which of the following is the capital of Japan?",
|
||||
"image": {
|
||||
"src": "https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?w=800",
|
||||
"alt": "City skyline",
|
||||
"caption": "A city skyline — can you identify it?"
|
||||
},
|
||||
"choices": [
|
||||
{ "id": "a", "text": "Kyoto" },
|
||||
{ "id": "b", "text": "Osaka" },
|
||||
{ "id": "c", "text": "Tokyo" },
|
||||
{ "id": "d", "text": "Hiroshima" }
|
||||
],
|
||||
"answer": "c",
|
||||
"explanation": "Tokyo has been Japan's capital since 1868."
|
||||
},
|
||||
{
|
||||
"id": "q2",
|
||||
"type": "multiple-choice",
|
||||
"category": "Demo",
|
||||
"points": 2,
|
||||
"prompt": "What does the following function return when called with `fib(6)`?",
|
||||
"code": {
|
||||
"language": "javascript",
|
||||
"content": "function fib(n) {\n if (n < 2) return n;\n return fib(n - 1) + fib(n - 2);\n}"
|
||||
},
|
||||
"choices": [
|
||||
{ "id": "a", "text": "5" },
|
||||
{ "id": "b", "text": "8" },
|
||||
{ "id": "c", "text": "13" },
|
||||
{ "id": "d", "text": "6" }
|
||||
],
|
||||
"answer": "b",
|
||||
"explanation": "The Fibonacci sequence is 0, 1, 1, 2, 3, 5, 8 — so fib(6) = 8."
|
||||
},
|
||||
{
|
||||
"id": "q3",
|
||||
"type": "short-answer",
|
||||
"category": "Demo",
|
||||
"points": 1,
|
||||
"prompt": "In the data table below, which country had the highest GDP growth?",
|
||||
"table": {
|
||||
"headers": ["Country", "GDP Growth (%)", "Year"],
|
||||
"rows": [
|
||||
["Vietnam", "7.2", "2024"],
|
||||
["India", "6.8", "2024"],
|
||||
["Indonesia", "5.1", "2024"],
|
||||
["Philippines", "5.9", "2024"]
|
||||
]
|
||||
},
|
||||
"answer": "Vietnam",
|
||||
"caseSensitive": false
|
||||
},
|
||||
{
|
||||
"id": "q4",
|
||||
"type": "essay",
|
||||
"category": "Demo",
|
||||
"points": 5,
|
||||
"prompt": "Describe a time you solved a difficult problem. What approach did you take?",
|
||||
"minWords": 50,
|
||||
"rubric": [
|
||||
"Specific situation (not generic)",
|
||||
"Clear problem statement",
|
||||
"Described methodology",
|
||||
"Outcome or reflection"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user