-
Notifications
You must be signed in to change notification settings - Fork 0
/
peer_assignment_review_schema_parts.html
80 lines (63 loc) · 2.21 KB
/
peer_assignment_review_schema_parts.html
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
<head>
<style>
div {
font-family: monospace;
}
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
tr:nth-child(odd) {
background-color: #FFFFFF;
}
tr:nth-child(even) {
background-color: #EBF2F2;
}
th, td {
text-align: left;
padding: 5px 10px 5px 5px;
}
</style>
</head>
<div>
<h1>peer_assignment_review_schema_parts</h1>
<h2>Description</h2>
<p>
The questions that the reviewer must answer
</p>
<h2> Columns </h2>
<table>
<tr><th>Name</th><th>Description</th></tr>
<tr>
<td>peer_assignment_id</td><td>Assignment that this review schema part lives in</td>
</tr>
<tr>
<td>peer_assignment_review_schema_part_id</td><td>This part's id within the assignment</td>
</tr>
<tr>
<td>peer_assignment_review_schema_part_type</td><td>The type ("multiLineInput", "options", "singleLineInput", "yesNo")</td>
</tr>
<tr>
<td>peer_assignment_review_schema_part_order</td><td>The order within the assignment (lowest comes first)</td>
</tr>
<tr>
<td>peer_assignment_review_schema_part_prompt</td><td>The prompt (a question for the reviewer to answer)</td>
</tr>
<tr>
<td>peer_assignment_review_schema_part_maximum_score</td><td>The maximum score that this part can give. This is nullable because not all parts generate scores</td>
</tr>
</table>
<h2>SQL create statement</h2>
<pre>
CREATE TABLE peer_assignment_review_schema_parts (
peer_assignment_id VARCHAR(50)
,peer_assignment_review_schema_part_id VARCHAR(50)
,peer_assignment_review_schema_part_type VARCHAR(50)
,peer_assignment_review_schema_part_order INT4
,peer_assignment_review_schema_part_prompt VARCHAR(65535)
,peer_assignment_review_schema_part_maximum_score FLOAT8
,PRIMARY KEY (peer_assignment_review_schema_part_id, peer_assignment_id)
,FOREIGN KEY (peer_assignment_id) REFERENCES peer_assignments(peer_assignment_id)
);
</pre>
</div>