Letting xblocks handle scope rather than separating fields into different attrs. Although, split still shunts content fields to a different collection than setting and children fields. The big difference is that content fields will always be a dict and not sometimes just a string and there's no special casing of 'data' attr. The other mind change is no more 'metadata' dict.
356 lines
11 KiB
JSON
356 lines
11 KiB
JSON
[
|
|
{
|
|
"_id":"head12345_12",
|
|
"category":"course",
|
|
"fields":{
|
|
"textbooks":[
|
|
|
|
],
|
|
"grading_policy":{
|
|
"GRADER":[
|
|
{
|
|
"min_count":4,
|
|
"weight":0.15,
|
|
"type":"Homework",
|
|
"drop_count":2,
|
|
"short_label":"HWa"
|
|
},
|
|
{
|
|
"short_label":"",
|
|
"min_count":12,
|
|
"type":"Lab",
|
|
"drop_count":2,
|
|
"weight":0.15
|
|
},
|
|
{
|
|
"short_label":"Midterm",
|
|
"min_count":1,
|
|
"type":"Midterm Exam",
|
|
"drop_count":0,
|
|
"weight":0.3
|
|
},
|
|
{
|
|
"short_label":"Final",
|
|
"min_count":1,
|
|
"type":"Final Exam",
|
|
"drop_count":0,
|
|
"weight":0.4
|
|
}
|
|
],
|
|
"GRADE_CUTOFFS":{
|
|
"Pass":0.45
|
|
}
|
|
},
|
|
"wiki_slug":null
|
|
},
|
|
"edit_info": {
|
|
"edited_by":"testassist@edx.org",
|
|
"edited_on":{"$date" : 1364481713238},
|
|
"previous_version":"head12345_11",
|
|
"original_version":"head12345_10"
|
|
}
|
|
},
|
|
{
|
|
"_id":"head12345_11",
|
|
"category":"course",
|
|
"fields":{
|
|
"textbooks":[
|
|
|
|
],
|
|
"grading_policy":{
|
|
"GRADER":[
|
|
{
|
|
"min_count":5,
|
|
"weight":0.15,
|
|
"type":"Homework",
|
|
"drop_count":1,
|
|
"short_label":"HWa"
|
|
},
|
|
{
|
|
"short_label":"",
|
|
"min_count":12,
|
|
"type":"Lab",
|
|
"drop_count":2,
|
|
"weight":0.15
|
|
},
|
|
{
|
|
"short_label":"Midterm",
|
|
"min_count":1,
|
|
"type":"Midterm Exam",
|
|
"drop_count":0,
|
|
"weight":0.3
|
|
},
|
|
{
|
|
"short_label":"Final",
|
|
"min_count":1,
|
|
"type":"Final Exam",
|
|
"drop_count":0,
|
|
"weight":0.4
|
|
}
|
|
],
|
|
"GRADE_CUTOFFS":{
|
|
"Pass":0.55
|
|
}
|
|
},
|
|
"wiki_slug":null
|
|
},
|
|
"edit_info": {
|
|
"edited_by":"testassist@edx.org",
|
|
"edited_on":{"$date" : 1364481713238},
|
|
"previous_version":"head12345_10",
|
|
"original_version":"head12345_10"
|
|
}
|
|
},
|
|
{
|
|
"_id":"head12345_10",
|
|
"category":"course",
|
|
"fields":{
|
|
"textbooks":[
|
|
|
|
],
|
|
"grading_policy":{
|
|
"GRADER":[
|
|
{
|
|
"min_count":5,
|
|
"weight":0.15,
|
|
"type":"Homework",
|
|
"drop_count":1,
|
|
"short_label":"HWa"
|
|
},
|
|
{
|
|
"short_label":"",
|
|
"min_count":2,
|
|
"type":"Lab",
|
|
"drop_count":0,
|
|
"weight":0.15
|
|
},
|
|
{
|
|
"short_label":"Midterm",
|
|
"min_count":1,
|
|
"type":"Midterm Exam",
|
|
"drop_count":0,
|
|
"weight":0.3
|
|
},
|
|
{
|
|
"short_label":"Final",
|
|
"min_count":1,
|
|
"type":"Final Exam",
|
|
"drop_count":0,
|
|
"weight":0.4
|
|
}
|
|
],
|
|
"GRADE_CUTOFFS":{
|
|
"Pass":0.75
|
|
}
|
|
},
|
|
"wiki_slug":null
|
|
},
|
|
"edit_info": {
|
|
"edited_by":"test@edx.org",
|
|
"edited_on":{"$date": 1364473713238},
|
|
"previous_version":null,
|
|
"original_version":"head12345_10"
|
|
}
|
|
},
|
|
{
|
|
"_id":"head23456_1",
|
|
"category":"course",
|
|
"fields":{
|
|
"textbooks":[
|
|
|
|
],
|
|
"grading_policy":{
|
|
"GRADER":[
|
|
{
|
|
"min_count":14,
|
|
"weight":0.25,
|
|
"type":"Homework",
|
|
"drop_count":1,
|
|
"short_label":"HWa"
|
|
},
|
|
{
|
|
"short_label":"",
|
|
"min_count":12,
|
|
"type":"Lab",
|
|
"drop_count":2,
|
|
"weight":0.25
|
|
},
|
|
{
|
|
"short_label":"Midterm",
|
|
"min_count":1,
|
|
"type":"Midterm Exam",
|
|
"drop_count":0,
|
|
"weight":0.2
|
|
},
|
|
{
|
|
"short_label":"Final",
|
|
"min_count":1,
|
|
"type":"Final Exam",
|
|
"drop_count":0,
|
|
"weight":0.3
|
|
}
|
|
],
|
|
"GRADE_CUTOFFS":{
|
|
"Pass":0.45
|
|
}
|
|
},
|
|
"wiki_slug":null
|
|
},
|
|
"edit_info": {
|
|
"edited_by":"test@edx.org",
|
|
"edited_on":{"$date": 1364481313238},
|
|
"previous_version":"head23456_0",
|
|
"original_version":"head23456_0"
|
|
}
|
|
},
|
|
{
|
|
"_id":"head23456_0",
|
|
"category":"course",
|
|
"fields":{
|
|
"textbooks":[
|
|
|
|
],
|
|
"grading_policy":{
|
|
"GRADER":[
|
|
{
|
|
"min_count":14,
|
|
"weight":0.25,
|
|
"type":"Homework",
|
|
"drop_count":1,
|
|
"short_label":"HWa"
|
|
},
|
|
{
|
|
"short_label":"",
|
|
"min_count":12,
|
|
"type":"Lab",
|
|
"drop_count":2,
|
|
"weight":0.25
|
|
},
|
|
{
|
|
"short_label":"Midterm",
|
|
"min_count":1,
|
|
"type":"Midterm Exam",
|
|
"drop_count":0,
|
|
"weight":0.2
|
|
},
|
|
{
|
|
"short_label":"Final",
|
|
"min_count":1,
|
|
"type":"Final Exam",
|
|
"drop_count":0,
|
|
"weight":0.3
|
|
}
|
|
],
|
|
"GRADE_CUTOFFS":{
|
|
"Pass":0.95
|
|
}
|
|
},
|
|
"wiki_slug":null
|
|
},
|
|
"edit_info": {
|
|
"edited_by":"test@edx.org",
|
|
"edited_on":{"$date" : 1364481313238},
|
|
"previous_version":null,
|
|
"original_version":"head23456_0"
|
|
}
|
|
},
|
|
{
|
|
"_id":"head345679_1",
|
|
"category":"course",
|
|
"fields":{
|
|
"textbooks":[
|
|
|
|
],
|
|
"grading_policy":{
|
|
"GRADER":[
|
|
{
|
|
"min_count":4,
|
|
"weight":0.25,
|
|
"type":"Homework",
|
|
"drop_count":0,
|
|
"short_label":"HW"
|
|
},
|
|
{
|
|
"short_label":"Midterm",
|
|
"min_count":1,
|
|
"type":"Midterm Exam",
|
|
"drop_count":0,
|
|
"weight":0.4
|
|
},
|
|
{
|
|
"short_label":"Final",
|
|
"min_count":1,
|
|
"type":"Final Exam",
|
|
"drop_count":0,
|
|
"weight":0.35
|
|
}
|
|
],
|
|
"GRADE_CUTOFFS":{
|
|
"Pass":0.25
|
|
}
|
|
},
|
|
"wiki_slug":null
|
|
},
|
|
"edit_info": {
|
|
"edited_by":"test@edx.org",
|
|
"edited_on":{"$date" : 1364481313238},
|
|
"previous_version":null,
|
|
"original_version":"head23456_0"
|
|
}
|
|
},
|
|
{
|
|
"_id":"chapter12345_1",
|
|
"category":"chapter",
|
|
"fields":{},
|
|
"edit_info": {
|
|
"edited_by":"testassist@edx.org",
|
|
"edited_on":{"$date" : 1364483713238},
|
|
"previous_version":null,
|
|
"original_version":"chapter12345_1"
|
|
}
|
|
},
|
|
{
|
|
"_id":"chapter12345_2",
|
|
"category":"chapter",
|
|
"fields":{},
|
|
"edit_info": {
|
|
"edited_by":"testassist@edx.org",
|
|
"edited_on":{"$date" : 1364483713238},
|
|
"previous_version":null,
|
|
"original_version":"chapter12345_2"
|
|
}
|
|
},
|
|
{
|
|
"_id":"chapter12345_3",
|
|
"category":"chapter",
|
|
"fields":{},
|
|
"edit_info": {
|
|
"edited_by":"testassist@edx.org",
|
|
"edited_on":{"$date" : 1364483713238},
|
|
"previous_version":null,
|
|
"original_version":"chapter12345_3"
|
|
}
|
|
},
|
|
{
|
|
"_id":"problem12345_3_1",
|
|
"category":"problem",
|
|
"fields": {"data": ""},
|
|
"edit_info": {
|
|
"edited_by":"testassist@edx.org",
|
|
"edited_on":{"$date" : 1364483713238},
|
|
"previous_version":null,
|
|
"original_version":"problem12345_3_1"
|
|
}
|
|
},
|
|
{
|
|
"_id":"problem12345_3_2",
|
|
"category":"problem",
|
|
"fields": {"data": ""},
|
|
"edit_info": {
|
|
"edited_by":"testassist@edx.org",
|
|
"edited_on":{"$date" : 1364483713238},
|
|
"previous_version":null,
|
|
"original_version":"problem12345_3_2"
|
|
}
|
|
}
|
|
] |