Correct answer
Student view placeholder
In student views this area is used for assessment and score info.
Tools
Staff information
Question
Title:
Element pl-order-blocks: code with ranking and indentation
Variant
Started at:
2026-08-04 23:01:19 (CDT)
Duration:
0s
Show/Hide answer
{
"python-ordered": [
{
"tag": "dbcb04e6-94bc-4481-a425-3ac27a0bcc34",
"uuid": "b06c13fe-404f-4922-8352-13fa64b7d145",
"final": false,
"index": 0,
"indent": 0,
"depends": [],
"ranking": 1,
"group_info": {
"tag": null,
"depends": null
},
"inner_html": "<pl-code language=\"python\">def my_sum(first, second):</pl-code>",
"distractor_for": null,
"initially_placed": false,
"ordering_feedback": null,
"distractor_feedback": null
},
{
"tag": "f03a6ffa-7654-4444-b996-386fd7f0d7ad",
"uuid": "aa66ba6e-faa7-4ba5-a35b-ec8f4c29b6be",
"final": false,
"index": 1,
"indent": 1,
"depends": [],
"ranking": 2,
"group_info": {
"tag": null,
"depends": null
},
"inner_html": "<pl-code language=\"python\">sum = 0</pl-code>",
"distractor_for": null,
"initially_placed": false,
"ordering_feedback": null,
"distractor_feedback": null
},
{
"tag": "addfirst",
"uuid": "f3caa45d-3750-4ae4-9090-e46eca8e8e7c",
"final": false,
"index": 2,
"indent": 1,
"depends": [],
"ranking": 3,
"group_info": {
"tag": null,
"depends": null
},
"inner_html": "<pl-code language=\"python\">sum += first</pl-code>",
"distractor_bin": "c9f0a834-4a4f-4a95-811e-66ea2f3e86bb",
"distractor_for": null,
"initially_placed": false,
"ordering_feedback": null,
"distractor_feedback": null
},
{
"tag": "addsecond",
"uuid": "c641566a-6fe7-45d1-9070-3d5b35d420de",
"final": false,
"index": 3,
"indent": 1,
"depends": [],
"ranking": 3,
"group_info": {
"tag": null,
"depends": null
},
"inner_html": "<pl-code language=\"python\">sum += second</pl-code>",
"distractor_bin": "eb0b070d-a4f7-4c64-993f-df140a0c60da",
"distractor_for": null,
"initially_placed": false,
"ordering_feedback": null,
"distractor_feedback": null
},
{
"tag": "f48c5a4e-f714-4162-89e7-c32e926b85c0",
"uuid": "c33c342d-b244-4307-bce5-c76514543f8b",
"final": false,
"index": 4,
"indent": 1,
"depends": [],
"ranking": 4,
"group_info": {
"tag": null,
"depends": null
},
"inner_html": "<pl-code language=\"python\">return sum</pl-code>",
"distractor_for": null,
"initially_placed": false,
"ordering_feedback": null,
"distractor_feedback": null
}
]
}