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] #43511

Merged
merged 11 commits into from
Nov 10, 2021
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
2 changes: 2 additions & 0 deletions dashboard/config/locales/data.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,8 @@ en:
poetry_module_planningapp: Planning Your Poem Generator App - Coding with Poetry
poetry_module_multichoiceprompts: Multiple Choice Prompts - Coding with Poetry
poetry_module_conditionals: Conditionals - Coding with Poetry
poemart_intro: Poem Art Introduction
poemart_events: Poem Art Events
callout:
text:
drag_blocks: Drag a "move" block and snap it below the other block
Expand Down
12 changes: 6 additions & 6 deletions dashboard/config/locales/scripts.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26660,7 +26660,7 @@ en:
description_teacher: "In this CS and ELA integrated lesson, students will animate a poem with code to illustrate the mood of a poem. During this introductory coding activity, students will read and detect the mood of a poem. Then, they will find corresponding effects and images to help illustrate the poem’s mood. Last, students will use events (code) to illustrate a shift in mood or animate the introduction of new images in a poem. \n\nThis lesson can be completed as a 1-hour standalone lesson. There is also an option to use this lesson as the first lesson of the 5-lesson module called [Coding with Poetry](http://code.org/poetry). By the end of the Coding with Poetry module, students will write their own poems and create a poem generator app to share with friends. \n\nThe Coding with Poetry is part of Code.org’s CS Connections curriculum, which is meant to integrate CS into other subject areas like math, ELA, and science with alignment to CCSS, NGSS, and CSTA standards. \n"
lesson_groups: {}
name: poem-art
title: ''
title: Poem Art
description_audience: ''
description_short: ''
description: ''
Expand Down Expand Up @@ -26691,12 +26691,12 @@ en:
'
lesson-6:
name: Poetry Circle
description_student:
description_teacher:
description_student: 'Share your new poem apps with your friends! '
description_teacher: In this lesson, students will take turns sharing their poem app with their peers. Students start by discussing the importance of giving and getting feedback. Then, students conduct a poetry pair-share by sharing their poem apps with a partner and giving and getting feedback. Finally, the whole class will have a Poetry Circle followed by a discussion on the mood and tone, as well as visual effects, of a student volunteer’s poem.
lesson-7:
name: Conditionals
description_student:
description_teacher:
name: Responding to Words
description_student: Make the app respond to what the user chooses in exciting new ways.
description_teacher: In this lesson, students add conditionals to their projects, which will make their apps more responsive. Conditionals allow students to incorporate if-then logic to their code, which leads to more personalization in their app. Students can create programs that make new effects or sprites based on which word the user chooses.
lesson_groups: {}
name: poetry
title: Computer Science and Poetry
Expand Down
2 changes: 1 addition & 1 deletion dashboard/config/scripts/csa_u4_assessment_q6.multi
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Consider the following code segment:
int[] ar = {8,9,10,11};
if(ar.length > 3)
{
System.out.println(ary[2]);
System.out.println(ar[2]);
}

```
Expand Down
4 changes: 2 additions & 2 deletions dashboard/config/scripts/levels/CSA U2L7-L5.level
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"properties": {
"encrypted": "false",
"title": "Check for Understanding",
"long_instructions": "Consider the following class definitions.\r\n\r\n```\r\npublic class Car {\r\n String model;\r\n int topSpeed;\r\n \r\n public Car (String model, int topSpeed) {\r\n this.model = model;\r\n this.topSpeed = topSpeed;\r\n }\r\n}\r\n\r\npublic class ElectricCar extends Car {\r\n int chargeLevel;\r\n \r\n /* Write the header for the constructor here. */ {\r\n super(model, topSpeed);\r\n this.chargeLevel = chargeLevel;\r\n }\r\n}\r\n```\r\n\r\nWrite the header for the constructor for the `ElectricCar` class.",
"long_instructions": "Consider the following class definitions.\r\n\r\n```\r\npublic class Car {\r\n private String model;\r\n private int topSpeed;\r\n \r\n public Car (String model, int topSpeed) {\r\n this.model = model;\r\n this.topSpeed = topSpeed;\r\n }\r\n}\r\n\r\npublic class ElectricCar extends Car {\r\n int chargeLevel;\r\n \r\n /* Write the header for the constructor here. */ {\r\n super(model, topSpeed);\r\n this.chargeLevel = chargeLevel;\r\n }\r\n}\r\n```\r\n\r\nWrite the header for the constructor for the `ElectricCar` class.",
"allow_user_uploads": "false",
"submittable": "false",
"peer_reviewable": "false",
Expand All @@ -18,7 +18,7 @@
"created_at": "2021-06-22T16:50:22.000Z",
"level_num": "custom",
"user_id": 9271,
"audit_log": "[{\"changed_at\":\"2021-10-08 16:41:42 +0000\",\"changed\":[],\"changed_by_id\":977,\"changed_by_email\":\"kaitie@code.org\"},{\"changed_at\":\"2021-10-08 17:01:18 +0000\",\"changed\":[],\"changed_by_id\":977,\"changed_by_email\":\"kaitie@code.org\"},{\"changed_at\":\"2021-10-08 17:28:16 +0000\",\"changed\":[],\"changed_by_id\":977,\"changed_by_email\":\"kaitie@code.org\"}]",
"audit_log": "[{\"changed_at\":\"2021-10-08 16:41:42 +0000\",\"changed\":[],\"changed_by_id\":977,\"changed_by_email\":\"kaitie@code.org\"},{\"changed_at\":\"2021-10-08 17:01:18 +0000\",\"changed\":[],\"changed_by_id\":977,\"changed_by_email\":\"kaitie@code.org\"},{\"changed_at\":\"2021-10-08 17:28:16 +0000\",\"changed\":[],\"changed_by_id\":977,\"changed_by_email\":\"kaitie@code.org\"},{\"changed_at\":\"2021-11-09 23:47:54 +0000\",\"changed\":[\"long_instructions\"],\"changed_by_id\":977,\"changed_by_email\":\"kaitie+teacher@code.org\"}]",
"level_concept_difficulty": {
}
}]]></config>
Expand Down
4 changes: 2 additions & 2 deletions dashboard/config/scripts/levels/CSA U3L10-L5 Exemplar.level

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"skin": "applab",
"edit_code": true,
"embed": "true",
"long_instructions": "# Book Recommender\r\n\r\nRun the app and see what kind of books get recommended based on your answers.\r\n\r\n# Update for PL \r\n* Add text-based overview to the book recommender level - after building a model in AI Lab, students will use that model to create an app in App Lab. This is an example…… \r\n* In lesson 7, students will learn how to import their model from AI Lab into App Lab.\r\n* Users engage with the book recommender app \r\n",
"long_instructions": "# Machine learning apps\r\n\r\n##### After learning how to build machine learning models in AI Lab, students will learn how to use their models to create apps in App Lab. The app to the left is an example app that uses a machine learning model to recommend books based on interests. \r\n\r\n# Do this\r\n* ##### Click on the orange \"Run\" button to try the book recommender app.\r\n* ##### Follow the instructions in the app to see what see what book the app recommends based on your interests. \r\n* ##### Run the app a few times selecting different interests and notice how the app's predictions change. \r\n* ##### When you are finished, click on the orange \"Finish\" button below the app to move to the next activity. \r\n",
"instructions_important": "false",
"submittable": "false",
"is_k1": "false",
Expand Down Expand Up @@ -63,7 +63,7 @@
"level_num": "custom",
"user_id": 106,
"notes": "",
"audit_log": "[{\"changed_at\":\"2021-10-20T20:13:23.475+00:00\",\"changed\":[\"cloned from \\\"ml-intro app lab-book recommender demo-2021\\\"\"],\"cloned_from\":\"ml-intro app lab-book recommender demo-2021\"},{\"changed_at\":\"2021-10-20 20:13:35 +0000\",\"changed\":[\"preload_asset_list\"],\"changed_by_id\":962,\"changed_by_email\":\"jess@code.org\"},{\"changed_at\":\"2021-10-20 20:19:03 +0000\",\"changed\":[\"long_instructions\",\"preload_asset_list\",\"encrypted_examples\"],\"changed_by_id\":962,\"changed_by_email\":\"jess@code.org\"}]"
"audit_log": "[{\"changed_at\":\"2021-10-20T20:13:23.475+00:00\",\"changed\":[\"cloned from \\\"ml-intro app lab-book recommender demo-2021\\\"\"],\"cloned_from\":\"ml-intro app lab-book recommender demo-2021\"},{\"changed_at\":\"2021-10-20 20:13:35 +0000\",\"changed\":[\"preload_asset_list\"],\"changed_by_id\":962,\"changed_by_email\":\"jess@code.org\"},{\"changed_at\":\"2021-10-20 20:19:03 +0000\",\"changed\":[\"long_instructions\",\"preload_asset_list\",\"encrypted_examples\"],\"changed_by_id\":962,\"changed_by_email\":\"jess@code.org\"},{\"changed_at\":\"2021-11-10 19:24:08 +0000\",\"changed\":[\"long_instructions\",\"preload_asset_list\",\"contained_level_names\"],\"changed_by_id\":962,\"changed_by_email\":\"jess@code.org\"}]"
}]]></config>
<blocks/>
</Applab>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"embed": "false",
"callout_json": "[]",
"instructions_important": "false",
"long_instructions": "*It's now time to wrap up your work for the day.*\r\n\r\nYour \"Poem Generator\" should now include prompts that include choices for the user. These words should show up in the animated text after all prompts are answered.\r\n\r\nMake sure your program works the way you wanted.\r\nAdd effects or sprites to customize the animation.",
"long_instructions": "*It's now time to wrap up your work for the day.*\r\n\r\n* Add background effects, foreground effects, and text effect to create an atmosphere for your poem\r\n* Add sprites and behaviors that match your poem \r\n",
"submittable": "false",
"hide_share_and_remix": "false",
"never_autoplay_video": "false",
Expand All @@ -42,12 +42,12 @@
"preload_asset_list": null,
"default_poem": null
},
"user_id": 13468,
"game_id": 69,
"published": true,
"created_at": "2021-10-29T16:12:16.000Z",
"level_num": "custom",
"published": true,
"audit_log": "[{\"changed_at\":\"2021-10-29T16:12:16.864+00:00\",\"changed\":[\"cloned from \\\"poetry_module_choice_prompts\\\"\"],\"cloned_from\":\"poetry_module_choice_prompts\"},{\"changed_at\":\"2021-10-29 16:13:57 +0000\",\"changed\":[\"start_blocks\",\"toolbox_blocks\",\"callout_json\",\"long_instructions\",\"authored_hints\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-29 16:20:03 +0000\",\"changed\":[\"start_blocks\",\"toolbox_blocks\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-29 16:26:35 +0000\",\"changed\":[\"start_blocks\",\"toolbox_blocks\",\"free_play\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-11-05 20:34:26 +0000\",\"changed\":[\"toolbox_blocks\"],\"changed_by_id\":16435,\"changed_by_email\":\"katleiah+test@code.org\"}]",
"user_id": 13468,
"audit_log": "[{\"changed_at\":\"2021-10-29T16:12:16.864+00:00\",\"changed\":[\"cloned from \\\"poetry_module_choice_prompts\\\"\"],\"cloned_from\":\"poetry_module_choice_prompts\"},{\"changed_at\":\"2021-10-29 16:13:57 +0000\",\"changed\":[\"start_blocks\",\"toolbox_blocks\",\"callout_json\",\"long_instructions\",\"authored_hints\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-29 16:20:03 +0000\",\"changed\":[\"start_blocks\",\"toolbox_blocks\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-29 16:26:35 +0000\",\"changed\":[\"start_blocks\",\"toolbox_blocks\",\"free_play\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-11-05 20:34:26 +0000\",\"changed\":[\"toolbox_blocks\"],\"changed_by_id\":16435,\"changed_by_email\":\"katleiah+test@code.org\"},{\"changed_at\":\"2021-11-10 18:00:55 +0000\",\"changed\":[\"start_blocks\",\"toolbox_blocks\",\"long_instructions\",\"preload_asset_list\",\"default_poem\",\"contained_level_names\"],\"changed_by_id\":1196,\"changed_by_email\":\"amy.woodman@code.org\"}]",
"level_concept_difficulty": {
}
}]]></config>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"embed": "false",
"callout_json": "[]",
"instructions_important": "false",
"long_instructions": "What is different about the code in this level? How do you think it works?\r\n\r\n* Press Run\r\n* Click on one of the words",
"long_instructions": "* Read this code out loud. \r\n* How does this code work? \r\n* What does it do in the program?\r\n",
"submittable": "false",
"hide_share_and_remix": "true",
"never_autoplay_video": "false",
Expand Down Expand Up @@ -47,7 +47,7 @@
"created_at": "2021-10-25T12:47:50.000Z",
"level_num": "custom",
"user_id": 13468,
"audit_log": "[{\"changed_at\":\"2021-10-25T12:47:49.984+00:00\",\"changed\":[\"cloned from \\\"poetry_module_choices_exemplar\\\"\"],\"cloned_from\":\"poetry_module_choices_exemplar\"},{\"changed_at\":\"2021-10-25 12:47:57 +0000\",\"changed\":[\"start_blocks\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-28 00:22:23 +0000\",\"changed\":[\"start_blocks\",\"include_shared_functions\",\"preload_asset_list\",\"default_poem\",\"contained_level_names\"],\"changed_by_id\":886,\"changed_by_email\":\"anjali+labs@code.org\"},{\"changed_at\":\"2021-10-29 16:22:25 +0000\",\"changed\":[\"start_blocks\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-29 16:22:52 +0000\",\"changed\":[\"start_blocks\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-29 16:23:14 +0000\",\"changed\":[\"start_blocks\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-29 16:24:19 +0000\",\"changed\":[\"start_blocks\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-29 19:35:12 +0000\",\"changed\":[\"start_blocks\",\"hide_animation_mode\",\"hide_share_and_remix\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"}]",
"audit_log": "[{\"changed_at\":\"2021-10-25T12:47:49.984+00:00\",\"changed\":[\"cloned from \\\"poetry_module_choices_exemplar\\\"\"],\"cloned_from\":\"poetry_module_choices_exemplar\"},{\"changed_at\":\"2021-10-25 12:47:57 +0000\",\"changed\":[\"start_blocks\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-28 00:22:23 +0000\",\"changed\":[\"start_blocks\",\"include_shared_functions\",\"preload_asset_list\",\"default_poem\",\"contained_level_names\"],\"changed_by_id\":886,\"changed_by_email\":\"anjali+labs@code.org\"},{\"changed_at\":\"2021-10-29 16:22:25 +0000\",\"changed\":[\"start_blocks\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-29 16:22:52 +0000\",\"changed\":[\"start_blocks\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-29 16:23:14 +0000\",\"changed\":[\"start_blocks\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-29 16:24:19 +0000\",\"changed\":[\"start_blocks\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-10-29 19:35:12 +0000\",\"changed\":[\"start_blocks\",\"hide_animation_mode\",\"hide_share_and_remix\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":831,\"changed_by_email\":\"mike.harvey@code.org\"},{\"changed_at\":\"2021-11-10 18:27:21 +0000\",\"changed\":[\"start_blocks\",\"long_instructions\",\"preload_asset_list\",\"default_poem\",\"contained_level_names\"],\"changed_by_id\":1196,\"changed_by_email\":\"amy.woodman@code.org\"},{\"changed_at\":\"2021-11-10 18:30:48 +0000\",\"changed\":[\"start_blocks\",\"preload_asset_list\",\"default_poem\"],\"changed_by_id\":1196,\"changed_by_email\":\"amy.woodman@code.org\"}]",
"level_concept_difficulty": {
}
}]]></config>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name 'SP-VPL-21-CSD-mod5-DataVisualizations-c4u'
title 'Check for understanding'
description 'The students in your class are creating machine learning models to predict salad preferences based on different combinations of toppings. As you are roaming the room, you are listening in on group conversations to informally assess student understanding. You notice one group seems to be randomly selecting features. You are wondering if they know how to use the cross-tab visualizations. You stop and ask them to show you an example of feature that would be **LEAST** helpful in training A.I. Bot to predict whether someone will like or dislike a salad.'
description 'The students in your class are creating machine learning models to predict salad preferences based on different combinations of toppings. As you are circulating the room, you are listening in on group conversations to informally assess student understanding. You notice one group seems to be randomly selecting features. You are wondering if they know how to use the cross-tab visualizations. You stop and ask them to show you an example of feature that would be **LEAST** helpful in training A.I. Bot to predict whether someone will like or dislike a salad.'
question '**Which of the following responses indicates an understanding of how cross-tab visualizations work?**'
wrong '![](https://images.code.org/655efc83d0ca3ad71b3a47fb33f9beea-image-1635194040845.33.47 PM.png)'
wrong '![](https://images.code.org/616a8477698b16b30659053ac679aea4-image-1635194153815.35.24 PM.png)'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ markdown <<MARKDOWN

## Lesson overview

##### In this lesson students will dive into the AI Lab tool for the first time, where they select features to train a model that predicts a given label. They start by exploring AI Lab and training a model to recognize shapes. Then they pretend they have been hired by several restaurants who would like to make recommendations to new customers based on survey data they’re collected, go through each dataset, and use data visualization tools to identify features with high relationships in the data.
##### In this lesson students will dive into the AI Lab tool for the first time, where they will select features to train a model that predicts a given label. They will start by exploring AI Lab and training a model to recognize shapes. After training their first model, students will pretend that they have been hired by restaurants to make recommendations to new customers based on survey data. To do this, students will use data sets and visualization tools to identify features to use to train machine learning models to make recommendations.


##### **Question of the Day:** How can we use machine learning to make recommendations?

Expand All @@ -26,7 +27,7 @@ markdown <<MARKDOWN

## Using data visualization tools

##### Students will then move into AI Lab where they will use data visualizations to determine which features will be most helpful in training AI Bot to predict the correct shape name. The goal is for students to notice that the number of sides has a 100% relationship with each shape making this feature a good feature to use to train AI Bot to predict shapes. Students may also notice additional patterns in the data, for example: small shapes tend to be triangles, or circles are only pink or yellow.
##### Students will then move into AI Lab where they will use data visualizations to determine which features will be most helpful in training A.I. Bot to predict the correct shape name. The goal is for students to notice that the number of sides has a 100% relationship with each shape making this feature a good feature to use to train A.I. Bot to predict shapes. Students may also notice additional patterns in the data, for example: small shapes tend to be triangles, or circles are only pink or yellow.

##

Expand Down