Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTS (Levelbuilder > Staging) [robo-dts] #29975

Merged
merged 14 commits into from
Jul 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
36 changes: 36 additions & 0 deletions dashboard/config/locales/scripts.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10527,6 +10527,12 @@ en:
name: Deeper Learning Overview
andrea-test-stage4:
name: andrea-test-stage4
Part 1:
name: Part 1
Part 2:
name: Part 2
part 3:
name: part 3
title: andrea-test
description_audience: 6-12 Facilitators-in-Training
description_short: this is to test my skills in making a course
Expand Down Expand Up @@ -11814,6 +11820,36 @@ en:
name: Color Images
Lossless Compression:
name: Lossless Compression
Welcome to CSP:
name: Welcome to CSP
Sending Binary Messages:
name: Sending Binary Messages
Sending Binary Messages with the Internet Simulator:
name: Sending Binary Messages with the Internet Simulator
AB Patterns:
name: AB Patterns
Flippy Do, pt. 1:
name: Flippy Do, pt. 1
Flippy Do, pt. 2:
name: Flippy Do, pt. 2
Lossy Compression:
name: Lossy Compression
Intellectual Property:
name: Intellectual Property
'Project: Digital Information Dilemmas, pt. 1':
name: 'Project: Digital Information Dilemmas, pt. 1'
'Project: Digital Information Dilemmas, pt. 2':
name: 'Project: Digital Information Dilemmas, pt. 2'
Unit Assessment:
name: Unit Assessment
Flippy Do, pt 1:
name: Flippy Do, pt 1
Flippy Do, pt 2:
name: Flippy Do, pt 2
'Project: Digital Information Dilemmas, pt 1':
name: 'Project: Digital Information Dilemmas, pt 1'
'Project: Digital Information Dilemmas, pt 2':
name: 'Project: Digital Information Dilemmas, pt 2'
title: CSP Unit 1 Pilot
description_audience: ''
description_short: ''
Expand Down
6 changes: 3 additions & 3 deletions dashboard/config/scripts/andrea-test.script
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ family_name ''
stage 'Deeper Learning Overview', flex_category: 'required'
level 'andrea_test1', progression: 'What is Deeper Learning', named: true

stage 'andrea-test-stage2'
stage 'Part 1'
level 'andrea-test2', progression: 'President Question'
level 'andrea-test3', progression: 'President Question'

stage 'andrea-test-stage3'
stage 'Part 2'
variants
level 'andrea_test1', named: true
level 'andrea-test2', named: true
endvariants

stage 'andrea-test-stage4'
stage 'part 3'
level 'dlp-hold1', progression: 'In Construction', named: true
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ display_name 'Adding Images'
description 'Find an extra challenge or a new type of code here.'

sublevels
level 'CSD U2 Image Tag Add Alt'

Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ description 'Practice your new skills here.'

sublevels
level 'CSD U2 image debug match_pilot'
level 'CSD U2 Image Tag No End Quote'
level 'CSD U2 Image Tag Mispelled src'
level 'CSD U2 Image Tag Inconsistent Spelling'
level 'CSD U2 Image Tag Add Alt'
level 'CSD U2 Image Tag Add Image'

45 changes: 39 additions & 6 deletions dashboard/config/scripts/csp1-pilot.script
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,43 @@ login_required true
family_name ''
pilot_experiment 'csp-piloters'

stage 'new stage'
level 'csp_socialBelonging_control_2018'
stage 'Welcome to CSP'
level 'CSP U1L1 SFLP 20-21', progression: 'Lesson Overview'
level 'csp_socialBelonging_control_2018', progression: 'Check For Understanding'

stage 'Bit Sending Device'
stage 'Sending Binary Messages'
level 'CSP U1L2 SFLP 20-21', progression: 'Lesson Overview'
level 'CSP U1L2 Multiple Choice Assessment Question', progression: 'Check For Understanding'

stage 'Number Systems'
stage 'Sending Binary Messages with the Internet Simulator'
level 'CSP U1L3 SFLP 20-21', progression: 'Lesson Overview'
level 'csp_socialBelonging_control_2018'

stage 'AB Patterns'
level 'CSP U1L4 SFLP 20-21', progression: 'Lesson Overview'
level 'Widget: Binary Odometer_2020', progression: 'Widget: Binary Odometer'
level 'U1L4 CYU1', progression: 'Check For Understanding'
level 'CSP U1L4 CYU2', progression: 'Check For Understanding'
level 'CSP U1L4 CYU3', progression: 'Check For Understanding'

stage 'Flippy Do Pt 1'
stage 'Flippy Do, pt 1'
level 'CSP U1L5 SFLP 20-21', progression: 'Lesson Overview'
level 'U1L5 CFU how many bits', progression: 'Check For Understanding'
level 'U1L5 CFU adding bits', progression: 'Check For Understanding'
level 'U1L5 CFU bin dec similarities', progression: 'Check For Understanding'

stage 'Flippy Do Pt 2'
stage 'Flippy Do, pt 2'
level 'CSP U1L6 SFLP 20-21', progression: 'Lesson Overview'
level 'U1L6 CFU beyond odometer', progression: 'Check For Understanding'
level 'U1L6 CFU representing fractions', progression: 'Check For Understanding'

stage 'Sending Text'
level 'CSP U1L7 SFLP 20-21', progression: 'Lesson Overview'
level 'Internet Simulator: Sending Text CSP U1', progression: 'Widget: Internet Simulator'
level 'U1L8 Reflection Multiple Representations CSP', progression: 'Check For Understanding'

stage 'Black and White Images'
level 'CSP U1L8 SFLP 20-21', progression: 'Lesson Overview'
level 'U1 L9 Introduction to Pixelation', progression: 'Video: Intro to Pixelation Encoding B&W'
level 'U1L9 Pixelation - Make the Letter A_2019', progression: 'Pixelation Widget: B&W'
level 'U1L9 Pixelation Widget Fix bit offset', progression: 'Pixelation Widget: B&W'
Expand All @@ -38,11 +49,33 @@ level 'U1L9 Multiple Choice Digital Analog', progression: 'Check For Understandi
level 'U1L9 CFU Sampling', progression: 'Check For Understanding'

stage 'Color Images'
level 'CSP U1L9 SFLP 20-21', progression: 'Lesson Overview'
level 'U1L10 Multiple Choice analog vs digital', progression: 'Check For Understanding'
level 'U1L10 CFU Sampling', progression: 'Check For Understanding'

stage 'Lossless Compression'
level 'CSP U1L10 SFLP 20-21', progression: 'Lesson Overview'
level 'U1L11 Widget: Text Compression', progression: 'Widget: Text Compression'
level 'U1 L11 Text Compression Widget Aloe Blacc', progression: 'Video: Text Compression Widget with Aloe Blacc'
level 'U1L11 Multiple Choice lossless compression', progression: 'Check For Understanding'
level 'U1L11 CFU Compression for Email', progression: 'Check For Understanding'

stage 'Lossy Compression'
level 'CSP U1L11 SFLP 20-21', progression: 'Lesson Overview'
level 'U1L11 CFU Compression for Email', progression: 'Check For Understanding'

stage 'Intellectual Property'
level 'CSP U1L12 SFLP 20-21', progression: 'Lesson Overview'
level 'U1L11 CFU Compression for Email', progression: 'Check For Understanding'

stage 'Project: Digital Information Dilemmas, pt 1'
level 'CSP U1L13 SFLP 20-21', progression: 'Lesson Overview'
level 'U1L11 CFU Compression for Email', progression: 'Check For Understanding'

stage 'Project: Digital Information Dilemmas, pt 2'
level 'CSP U1L14 SFLP 20-21', progression: 'Lesson Overview'
level 'U1L11 CFU Compression for Email', progression: 'Check For Understanding'

stage 'Unit Assessment'
level 'CSP U1L15 SFLP 20-21', progression: 'Lesson Overview'
level 'U1L11 CFU Compression for Email', progression: 'Check For Understanding'
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"map_reference": "/docs/csd-1718/images-in-html/index.html",
"encrypted": "false",
"mini_rubric": "false",
"display_name": "Add alt to Existing Images",
"display_name": "Add alt to existing images",
"bubble_choice_description": "Add alt attributes to describe existing images.",
"thumbnail_url": "https://images.code.org/9ce21680e1a5efe685ccc1ac5054637f-image-1564080485351.jpg"
},
"published": true,
"notes": "",
"audit_log": "[{\"changed_at\":\"2017-05-11 04:32:33 +0000\",\"changed\":[\"markdown_instructions\"],\"changed_by_id\":1,\"changed_by_email\":\"josh@code.org\"},{\"changed_at\":\"2017-05-11 04:32:57 +0000\",\"changed\":[\"encrypted_examples\"],\"changed_by_id\":1,\"changed_by_email\":\"josh@code.org\"},{\"changed_at\":\"2017-05-21 18:29:01 +0000\",\"changed\":[\"markdown_instructions\"],\"changed_by_id\":285,\"changed_by_email\":\"harvey@pd.code.org\"},{\"changed_at\":\"2017-06-20 22:01:15 +0000\",\"changed\":[\"hide_share_and_remix\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2017-06-20 22:08:09 +0000\",\"changed\":[\"encrypted_examples\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2017-06-20 23:35:20 +0000\",\"changed\":[\"hide_share_and_remix\",\"encrypted_examples\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2018-05-09 17:28:27 +0000\",\"changed\":[\"encrypted_examples\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2018-05-09 17:47:34 +0000\",\"changed\":[\"encrypted_examples\",\"reference_links\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2018-09-19 21:07:13 +0000\",\"changed\":[\"markdown_instructions\",\"encrypted_examples\"],\"changed_by_id\":568,\"changed_by_email\":\"meilani.eyre@code.org\"},{\"changed_at\":\"2019-04-04 01:31:05 +0000\",\"changed\":[\"start_sources\",\"long_instructions\",\"encrypted_examples\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2019-07-25 18:52:01 +0000\",\"changed\":[\"start_sources\",\"long_instructions\",\"encrypted_examples\"],\"changed_by_id\":958,\"changed_by_email\":\"stephanie.wong@code.org\"}]",
"audit_log": "[{\"changed_at\":\"2017-05-11 04:32:33 +0000\",\"changed\":[\"markdown_instructions\"],\"changed_by_id\":1,\"changed_by_email\":\"josh@code.org\"},{\"changed_at\":\"2017-05-11 04:32:57 +0000\",\"changed\":[\"encrypted_examples\"],\"changed_by_id\":1,\"changed_by_email\":\"josh@code.org\"},{\"changed_at\":\"2017-05-21 18:29:01 +0000\",\"changed\":[\"markdown_instructions\"],\"changed_by_id\":285,\"changed_by_email\":\"harvey@pd.code.org\"},{\"changed_at\":\"2017-06-20 22:01:15 +0000\",\"changed\":[\"hide_share_and_remix\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2017-06-20 22:08:09 +0000\",\"changed\":[\"encrypted_examples\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2017-06-20 23:35:20 +0000\",\"changed\":[\"hide_share_and_remix\",\"encrypted_examples\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2018-05-09 17:28:27 +0000\",\"changed\":[\"encrypted_examples\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2018-05-09 17:47:34 +0000\",\"changed\":[\"encrypted_examples\",\"reference_links\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2018-09-19 21:07:13 +0000\",\"changed\":[\"markdown_instructions\",\"encrypted_examples\"],\"changed_by_id\":568,\"changed_by_email\":\"meilani.eyre@code.org\"},{\"changed_at\":\"2019-04-04 01:31:05 +0000\",\"changed\":[\"start_sources\",\"long_instructions\",\"encrypted_examples\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2019-07-25 18:52:01 +0000\",\"changed\":[\"start_sources\",\"long_instructions\",\"encrypted_examples\"],\"changed_by_id\":958,\"changed_by_email\":\"stephanie.wong@code.org\"},{\"changed_at\":\"2019-07-25 21:24:22 +0000\",\"changed\":[\"encrypted_examples\",\"display_name\"],\"changed_by_id\":958,\"changed_by_email\":\"stephanie.wong@code.org\"}]",
"level_concept_difficulty": {
}
}]]></config>
Expand Down
34 changes: 34 additions & 0 deletions dashboard/config/scripts/levels/CSD U2 Image Tag Add Image.level
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<Weblab>
<config><![CDATA[{
"game_id": 58,
"created_at": "2019-07-25T21:42:57.000Z",
"level_num": "custom",
"user_id": 155,
"properties": {
"start_sources": "{\r\n \"files\": [\r\n {\r\n \"name\": \"index.html\",\r\n \"data\": \"<!DOCTYPE html>\\r\\n<html>\\r\\n <head>\\r\\n <\\/head>\\r\\n <body>\\r\\n <h1>Cake<\\/h1>\\r\\n <p>Prep time: 35 minutes | Cook Time: 25 minutes | Serves: 12<\\/p>\\r\\n <hr>\\r\\n <h2>Recipe<\\/h2>\\r\\n <p>3 and 2\\/3 cups (420g) cake flour <br>\\r\\n 1 teaspoon salt <br>\\r\\n 1 teaspoon baking powder <br>\\r\\n 1 and 1\\/2 cups (345g) unsalted butter <br>\\r\\n 2 cups (400g) sugar <br>\\r\\n 3 eggs <br>\\r\\n 1 tablespoon vanilla extract <br><\\/p>\\r\\n <\\/body>\\r\\n<\\/html>\"\r\n }\r\n ]\r\n}",
"instructions_important": "false",
"long_instructions": "<div class=\"no-pullthrough\" style=\"float: right; height: 250px; width: 40%; overflow-y: scroll; margin-left: 20px; font-size:14px\" markdown=\"1\">\r\n<details>\r\n\r\n<summary>\r\n<strong>How do I add images?</strong>\r\n</summary>\r\n\r\nThe `<img>` tag allows you to show images on your web page. <br><br>\r\n\r\nExample:\r\n<pre>&lt;img src=\"dog.png\" alt=\"dog jumping\"&gt;</pre><br><br>\r\n\r\nIn order to tell the browser which file to use, extra information, called an **attribute**, is added to the &lt;img&gt; tag inside the brackets. The attribute `src` stands for **s**ou**rc**e and tell the name of the image. Image files names include extensions which tell the computer which type of image they are working with. Common extensions are .jpg, .jpeg, .png. <br><br>\r\n\r\nIn addition to have the src attribute, image elements also have the `alt` attribute which describe the image. This is important in case the image doesn’t load or for people who have trouble with their eyesight. <br><br>\r\n\r\nAn `<img>` tag is an example of a **self-closing tag** because it starts and closes in one tag.\r\n</details>\r\n<details>\r\n<summary>\r\n<strong>Why does an image tag not have a closing tag?</strong>\r\n</summary>\r\nAn image tag doesn't need a closing tag because there is no text content which must be wrapped in tags. The content that shows on the screen is specified through the tags attributes.\r\n</details>\r\n<details>\r\n<summary>\r\n<strong>What is an attribute?</strong>\r\n</summary>\r\n\r\nAttributes are extra information included in a tag. Attributes have names and values. The name tells what type of information is being provided and then the value gives the specific information for that tag. \r\n\r\nFor example &lt;img&gt; tags have two attributes, src and alt. src specifies the name of the image file and alt tells the browser in readable text what the image is.\r\n\r\n\r\n</details>\r\n</div>\r\n\r\n# Add Image\r\n\r\nHere you can practice adding an image to a web page.\r\n\r\n# Do This\r\n* Add an image to the end of this cake recipe.\r\n* Don't forget to use the `add image` button and include an image tag in your code.\r\n",
"hide_share_and_remix": "true",
"submittable": "false",
"encrypted_examples": "OZSns1ChiFEFTes4A7XtMN09AsRrcv8E2psruCTps2t23HzP/b88a4GGcy6z\nl9+CmUl3ZC4u0njbBaRlHwh0qA==\n",
"parent_level_id": 18896,
"name_suffix": "_pilot",
"reference_links": [
"/docs/csd-1718/html_tags/index.html",
"/docs/csd-1718/headers/index.html",
"/docs/csd-1718/lists/index.html"
],
"map_reference": "/docs/csd-1718/images-in-html/index.html",
"encrypted": "false",
"mini_rubric": "false",
"display_name": "Add image",
"bubble_choice_description": "Add an image to this recipe.",
"thumbnail_url": "https://images.code.org/75eabeb2e4d16ed2e284ce49341d30b7-image-1564091283732.jpg"
},
"published": true,
"notes": "",
"audit_log": "[{\"changed_at\":\"2017-05-11 04:32:33 +0000\",\"changed\":[\"markdown_instructions\"],\"changed_by_id\":1,\"changed_by_email\":\"josh@code.org\"},{\"changed_at\":\"2017-05-11 04:32:57 +0000\",\"changed\":[\"encrypted_examples\"],\"changed_by_id\":1,\"changed_by_email\":\"josh@code.org\"},{\"changed_at\":\"2017-05-21 18:29:01 +0000\",\"changed\":[\"markdown_instructions\"],\"changed_by_id\":285,\"changed_by_email\":\"harvey@pd.code.org\"},{\"changed_at\":\"2017-06-20 22:01:15 +0000\",\"changed\":[\"hide_share_and_remix\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2017-06-20 22:08:09 +0000\",\"changed\":[\"encrypted_examples\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2017-06-20 23:35:20 +0000\",\"changed\":[\"hide_share_and_remix\",\"encrypted_examples\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2018-05-09 17:28:27 +0000\",\"changed\":[\"encrypted_examples\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2018-05-09 17:47:34 +0000\",\"changed\":[\"encrypted_examples\",\"reference_links\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2018-09-19 21:07:13 +0000\",\"changed\":[\"markdown_instructions\",\"encrypted_examples\"],\"changed_by_id\":568,\"changed_by_email\":\"meilani.eyre@code.org\"},{\"changed_at\":\"2019-04-04 01:31:05 +0000\",\"changed\":[\"start_sources\",\"long_instructions\",\"encrypted_examples\"],\"changed_by_id\":324,\"changed_by_email\":\"elizabeth@code.org\"},{\"changed_at\":\"2019-07-25 18:52:01 +0000\",\"changed\":[\"start_sources\",\"long_instructions\",\"encrypted_examples\"],\"changed_by_id\":958,\"changed_by_email\":\"stephanie.wong@code.org\"},{\"changed_at\":\"2019-07-25 21:24:22 +0000\",\"changed\":[\"encrypted_examples\",\"display_name\"],\"changed_by_id\":958,\"changed_by_email\":\"stephanie.wong@code.org\"},{\"changed_at\":\"2019-07-25 21:48:17 +0000\",\"changed\":[\"start_sources\",\"long_instructions\",\"encrypted_examples\",\"display_name\",\"bubble_choice_description\",\"thumbnail_url\"],\"changed_by_id\":958,\"changed_by_email\":\"stephanie.wong@code.org\"},{\"changed_at\":\"2019-07-25 21:49:09 +0000\",\"changed\":[\"long_instructions\",\"encrypted_examples\"],\"changed_by_id\":958,\"changed_by_email\":\"stephanie.wong@code.org\"}]",
"level_concept_difficulty": {
}
}]]></config>
</Weblab>