-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbank.yaml
87 lines (82 loc) · 3.22 KB
/
bank.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# this will be created if necessary
pictures base directory: example
categories:
# ============================================================= Category
# leave it blank if you don't want subsequent questions to belong to any category; it can be a single name
# (see below) or a list
- name: [Sample category 1,Sample category 1/sample subcategory]
# --------------------------------------------------------
questions:
# the identifier of the question once imported
- name: Numerical passing an URL
# it must be one of: Numerical, MultipleChoice
class: Numerical
# vertical bar, "|", signals a *multiline* string; \textit and \textbf are processed *inside text* but ignored
# inside formulas (left as they are)
statement: |
Compute the \textbf{mean} energy of the constellation
sample_images/1D_3_elements.svg
,i.e., what is $E_\textit{s}$?
# if the section below is absent, size of the images is automatically adjusted (that is probably what you
# want most of the time)
images_settings:
width: 500
height: 300
solution:
value: 1.6666666666666667
# either a number or a percentage of the value
error: 0.1
# leave it blank if you don't want to provide any feedback
feedback: |
The mean energy is $E_s = \frac{0^2 + 1^2 + 2^2}{3}$
# (optional) if present, an estimate of the time (in minutes) needed to solve the exercise will be added
# (highlighted) after the statement
time: 2
# --------------------------------------------------------
- name: Pi
class: Numerical
statement: |
What is the value of $\pi$?
solution:
value: 3.1415
error: 50%
feedback: well, $\pi$
# ============================================================= Category
- name: Sample category 2
questions:
# --------------------------------------------------------
- name: Quixote
class: MultipleChoice
statement: |
What is the main character in sample_images/quixote.tex?
answers:
# the correct answer
perfect: Don Quixote
# the wrong (to different extents) ones
wrong:
# if a list, the 1st element is the (wrong) answer, and the 2nd one the percentage of the total grade
# it yields
- [Sancho Panza, 90]
- [Dulcinea del Toboso, 10]
# no credit is given for this answer
- Some guy
- $\frac{2}{3}$
- It should be on the cover of sample_images/quixote.tex
feedback: |
if you look at the cover of sample_images/quixote.tex
you know, well...you know...you know you know....
# --------------------------------------------------------
- name: Infinite Jest
class: MultipleChoice
statement: |
Check stuff from DFW's Infinite Jest
answers:
# no perfect unique answer, only partial ones
partial:
- [Y.D.A.U., 50]
- [Incandenza, 50]
- [Woland, -50]
- [s'all good man, -50]
# no feedback will be presented after trying to solve the question
feedback:
# --------------------------------------------------------