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

Merged
merged 13 commits into from
Apr 10, 2024
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<Dancelab>
<config><![CDATA[{
"game_id": 63,
"created_at": "2024-04-09T17:59:17.000Z",
"level_num": "custom",
"user_id": 182,
"properties": {
"skin": "dance",
"uses_preview": "true",
"aiOutput": "both",
"helper_libraries": [
"DanceLab"
],
"hide_animation_mode": "true",
"show_type_hints": "true",
"use_modal_function_editor": "false",
"embed": "false",
"instructions_important": "false",
"submittable": "false",
"is_k1": "false",
"never_autoplay_video": "true",
"disable_param_editing": "true",
"disable_variable_editing": "false",
"disable_procedure_autopopulate": "false",
"top_level_procedure_autopopulate": "false",
"hide_share_and_remix": "false",
"disable_if_else_editing": "false",
"include_shared_functions": "false",
"free_play": "true",
"hide_view_data_button": "false",
"show_debug_watch": "false",
"expand_debugger": "false",
"debugger_disabled": "false",
"start_in_animation_tab": "false",
"all_animations_single_frame": "false",
"pause_animations_by_default": "false",
"hide_custom_blocks": "true",
"use_default_sprites": "false",
"block_pool": "Dancelab",
"preload_asset_list": [
"https://curriculum.code.org/images/DancePartyLoading.gif",
"https://curriculum.code.org/images/sprites/dance_20191106/cat_08.png",
"https://curriculum.code.org/images/sprites/dance_20191106/cat_09.png",
"https://curriculum.code.org/images/sprites/dance_20191106/cat_10.png",
"https://curriculum.code.org/images/sprites/dance_20191106/cat_11.png",
"https://curriculum.code.org/images/sprites/dance_20191106/sloth_40.png",
"https://curriculum.code.org/images/sprites/dance_20191106/sloth_41.png",
"https://curriculum.code.org/images/sprites/dance_20191106/sloth_42.png",
"https://curriculum.code.org/images/sprites/dance_20191106/sloth_43.png"
],
"callout_json": "[\r\n {\r\n \"localization_key\": \"ai_dance_callout_draft_level_6\",\r\n \"callout_text\": \"Click here!\",\r\n \"element_id\": \".blocklySvg [data-id=\\\"1\\\"]\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"bottom center\",\r\n \"at\": \"top center\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]",
"parent_level_id": 14643,
"name_suffix": "_-k5pilot",
"authored_hints": "[{\"hint_class\":null,\"hint_markdown\":\"<img src=\\\"https://images.code.org/7be0ad471681f374466d45003ac04529-image-1699980027509.png\\\" style=\\\" margin-right: 10px; height: 20px; float: left\\\"> Customize the effect by clicking emojis on the <xml> <block xmlns=\\\"https://developers.google.com/blockly/xml\\\" type=\\\"Dancelab_ai\\\" id=\\\"*6NOt^DsApsRC-pPZKBQ\\\">\\n <field name=\\\"VALUE\\\">{\\\"inputs\\\":[\\\"cold-face\\\",\\\"water-wave\\\",\\\"sparkles\\\"],\\\"backgroundEffect\\\":\\\"sparkles\\\",\\\"backgroundColor\\\":\\\"cool\\\",\\\"foregroundEffect\\\":\\\"bubbles\\\"}</field></block></xml> block in the workspace. \\n\",\"hint_id\":\"Hint1\",\"hint_type\":\"general\",\"hint_path\":\"\",\"hint_video\":\"\",\"tts_url\":\"https://tts.code.org/sharon22k/180/100/f295893cbe75c0ea41400d996e7a7193/dance_ai_customize_effect.mp3\"},{\"hint_class\":null,\"hint_markdown\":\"<img src=\\\"https://images.code.org/7be0ad471681f374466d45003ac04529-image-1699980027509.png\\\" style=\\\" margin-right: 10px; height: 20px; float: left\\\"> If you would like to use the code A.I. writes, toggle to show the code and then click `Use code`. The blocks will replace the <xml> <block xmlns=\\\"https://developers.google.com/blockly/xml\\\" type=\\\"Dancelab_ai\\\" id=\\\"*6NOt^DsApsRC-pPZKBQ\\\">\\n <field name=\\\"VALUE\\\">{\\\"inputs\\\":[\\\"cold-face\\\",\\\"water-wave\\\",\\\"sparkles\\\"],\\\"backgroundEffect\\\":\\\"sparkles\\\",\\\"backgroundColor\\\":\\\"cool\\\",\\\"foregroundEffect\\\":\\\"bubbles\\\"}</field></block></xml> block in your workspace. \",\"hint_id\":\"HintEdit\",\"hint_type\":\"general\",\"hint_path\":\"\",\"hint_video\":\"\",\"tts_url\":\"https://tts.code.org/sharon22k/180/100/d6514506a5c5a5bb541cfc9dbbd8471a/dance_ai_customize_effect.mp3\"},{\"hint_class\":null,\"hint_markdown\":\"<img src=\\\"https://images.code.org/7be0ad471681f374466d45003ac04529-image-1699980027509.png\\\" style=\\\" margin-right: 10px; height: 20px; float: left\\\"> **Still stuck?** Watch the video to see how you can customize the effect. \",\"hint_id\":\"Hint2\",\"hint_type\":\"general\",\"hint_path\":\"\",\"hint_video\":\"\",\"tts_url\":\"https://tts.code.org/sharon22k/180/100/08b9b02aaa8d806700d894f23d91e265/dance_ai_customize_effect.mp3\"}]",
"default_song": "butter_bts",
"long_instructions": "**A.I. gets you started. You can customize the effect it creates!**\r\n\r\n- Click the <code style=\"color:white; background-color:#566064\">A.I. generate effect</code> block to get started.\r\n\r\n- Remember you can customize your effects:\r\n\r\n\t- <img src=\"https://images.code.org/101001680b5a4de2d752a6b3b59a116f-image-1699478528416.jpg\" style=\" margin-right: 5px; height: 20px;\">`Regenerate` A.I. will recommend a different effect based on the same emojis.\r\n \r\n - `Use code` Use the code A.I. writes and customize it! \r\n - <img src=\"https://images.code.org/3e2c74fbae82198ebc3264ecaf3a823e-image-1699478492041.jpg\" style=\" margin-right: 5px; height: 15px;\">`Start over` Choose three new emojis to generate a new effect. ",
"short_instructions": "**You can customize the effect A.I. creates!**\r\nClick the emojis on the block. Then either `Regenerate`, `Use code`, or `Start over`.",
"encrypted": "false",
"mini_rubric": "false",
"validation_enabled": "false",
"hide_pause_button": "false",
"block_pools": [
"Dancelab"
],
"song_selection": [
"notearslefttocry_arianagrande",
"breakmysoul_beyonce",
"butter_bts",
"summer_calvinharris",
"asitwas_harrystyles",
"thunder_imaginedragons",
"aire_jessejoy",
"bornthisway_ladygaga",
"2beloved_lizzo",
"highhopes_panicatthedisco",
"cheapthrills_sia",
"iliketomoveit_william",
"higherpower_coldplay",
"takeonme_aha",
"heyya_outkast",
"dancemonkey_tonesandi"
],
"encrypted_examples": "m+vswT0yGugg7YibuU4Ils2S1tdVqW9VBQwp6wdQMoYiPT64l4ziHE5jVoOp\nlrr0pw8dxg/Qbq9G+6KfZnyvksK3gMgnePPaJkown7Zi5hMUJJVm8a3zX0Xo\nnWyQWOQuKNSRWosd/+9uOZCMJNSESg==\n",
"video_key": "dance_ai_how_ai_works"
},
"published": true,
"notes": "",
"audit_log": "[{\"changed_at\":\"2024-04-09T17:59:17.037+00:00\",\"changed\":[\"cloned from \\\"dance_ai_customize_effect_-k5pilot\\\"\"],\"cloned_from\":\"dance_ai_customize_effect_-k5pilot\"}]"
}]]></config>
<blocks>
<start_blocks>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="Dancelab_whenSetup" id="LXzbE_lO4Lwn.`wXpDe2" deletable="false" movable="false" x="20" y="20">
<statement name="DO">
<block type="Dancelab_ai" deletable="false" movable="false" id="1">
<field name="VALUE"/>
<next>
<block type="Dancelab_makeAnonymousDanceSprite" id="COe?r_-Xd(P{j+)_)$@9" deletable="false" movable="false">
<field name="COSTUME" config="&quot;ALIEN&quot;,&quot;BEAR&quot;,&quot;CAT&quot;,&quot;FROG&quot;,&quot;MOOSE&quot;,&quot;SLOTH&quot;">"FROG"</field>
<field name="LOCATION">{x: 200, y: 200}</field>
<next>
<block type="Dancelab_changeMoveEachLR" id="jVUhwjR*J8*d_K1_0R;T" deletable="false" movable="false">
<field name="GROUP" config="&quot;ALIEN&quot;,&quot;BEAR&quot;,&quot;CAT&quot;,&quot;FROG&quot;,&quot;MOOSE&quot;,&quot;SLOTH&quot;">"FROG"</field>
<field name="MOVE">MOVES.Thriller</field>
<field name="DIR">-1</field>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>
</start_blocks>
<toolbox_blocks>
<xml/>
</toolbox_blocks>
</blocks>
</Dancelab>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Fish>
<config><![CDATA[{
"game_id": 66,
"created_at": "2024-04-09T17:53:30.000Z",
"level_num": "custom",
"user_id": 155,
"properties": {
"mode": "creaturesvtrashdemo",
"background": "oceans-blue",
"name_suffix": "_k5pilot"
},
"published": true,
"notes": "",
"audit_log": "[{\"changed_at\":\"2024-04-09T17:53:30.743+00:00\",\"changed\":[\"cloned from \\\"Oceans_CreaturesVTrashDemo_k5pilot\\\"\"],\"cloned_from\":\"Oceans_CreaturesVTrashDemo_k5pilot\"}]"
}]]></config>
</Fish>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Fish>
<config><![CDATA[{
"game_id": 66,
"created_at": "2024-04-09T17:53:59.000Z",
"level_num": "custom",
"user_id": 155,
"properties": {
"mode": "creaturesvtrash",
"background": "oceans-blue",
"name_suffix": "_k5pilot"
},
"published": true,
"notes": "",
"audit_log": "[{\"changed_at\":\"2024-04-09T17:53:59.345+00:00\",\"changed\":[\"cloned from \\\"Oceans_CreaturesVTrash_k5pilot\\\"\"],\"cloned_from\":\"Oceans_CreaturesVTrash_k5pilot\"}]"
}]]></config>
</Fish>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Fish>
<config><![CDATA[{
"game_id": 66,
"created_at": "2024-04-09T17:52:58.000Z",
"level_num": "custom",
"user_id": 155,
"properties": {
"mode": "fishvtrash",
"background": "oceans-blue",
"name_suffix": "_k5pilot"
},
"published": true,
"notes": "",
"audit_log": "[{\"changed_at\":\"2024-04-09T17:52:58.687+00:00\",\"changed\":[\"cloned from \\\"Oceans_FishVTrash_k5pilot\\\"\"],\"cloned_from\":\"Oceans_FishVTrash_k5pilot\"}]"
}]]></config>
</Fish>
16 changes: 16 additions & 0 deletions dashboard/config/levels/custom/fish/Oceans_Long_k5pilotAI.level
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Fish>
<config><![CDATA[{
"game_id": 66,
"created_at": "2024-04-09T17:56:47.000Z",
"level_num": "custom",
"user_id": 155,
"properties": {
"mode": "long",
"background": "oceans-blue",
"name_suffix": "_k5pilot"
},
"published": true,
"notes": "",
"audit_log": "[{\"changed_at\":\"2024-04-09T17:56:47.443+00:00\",\"changed\":[\"cloned from \\\"Oceans_Long_k5pilot\\\"\"],\"cloned_from\":\"Oceans_Long_k5pilot\"}]"
}]]></config>
</Fish>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<FreeResponse>
<config><![CDATA[{
"published": true,
"game_id": 52,
"created_at": "2024-04-09T18:25:58.000Z",
"level_num": "custom",
"user_id": 0,
"properties": {
"long_instructions": "## Reflection\r\n\r\nThink about a time when it would have been helpful to have an AI support you in a task, whether for work or in your personal life. Describe the task and what benefit AI would have brought.",
"skip_dialog": true,
"skip_sound": true,
"parent_level_id": 19619,
"name_suffix": "_2023",
"encrypted": "false",
"instructions_important": "false",
"allow_user_uploads": "false",
"submittable": "false",
"peer_reviewable": "false",
"optional": "false",
"allow_multiple_attempts": "true"
},
"notes": "",
"audit_log": "[{\"changed_at\":\"2024-04-09T18:25:58.052+00:00\",\"changed\":[\"cloned from \\\"U2L1 CFU how use internet_2023\\\"\"],\"cloned_from\":\"U2L1 CFU how use internet_2023\"},{\"changed_at\":\"2024-04-09 18:27:36 +0000\",\"changed\":[\"long_instructions\"],\"changed_by_id\":19151,\"changed_by_email\":\"micah+levelbuilder@code.org\"},{\"changed_at\":\"2024-04-09 18:28:23 +0000\",\"changed\":[\"encrypted_solution\"],\"changed_by_id\":19151,\"changed_by_email\":\"micah+levelbuilder@code.org\"},{\"changed_at\":\"2024-04-09 18:32:10 +0000\",\"changed\":[\"long_instructions\"],\"changed_by_id\":19151,\"changed_by_email\":\"micah+levelbuilder@code.org\"},{\"changed_at\":\"2024-04-09 18:35:04 +0000\",\"changed\":[\"long_instructions\"],\"changed_by_id\":19151,\"changed_by_email\":\"micah+levelbuilder@code.org\"},{\"changed_at\":\"2024-04-09 18:35:42 +0000\",\"changed\":[],\"changed_by_id\":19151,\"changed_by_email\":\"micah+levelbuilder@code.org\"}]",
"level_concept_difficulty": {
}
}]]></config>
</FreeResponse>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<FreeResponse>
<config><![CDATA[{
"published": true,
"game_id": 52,
"created_at": "2024-04-09T18:33:38.000Z",
"level_num": "custom",
"user_id": 0,
"properties": {
"long_instructions": "## Reflection\r\n\r\nBefore getting started, take a minute to reflect on your goals for this course. List one or two below.\r\n\r\n<br>\r\n\r\n<details style=\"background-color: #ececec; padding: 10px; margin-bottom: 10px; border: 1px solid transparent; border-radius: 5px;\">\r\n <summary style=\"font-size: 1.5em; font-weight: bold;\">Need Help?</summary>\r\n<div style=\"margin-top: 20px; margin-left: 20px; margin-right: 20px; padding-bottom:20px;\">\r\n <p>\r\n\r\n##### Some example goals include…\r\n* Speed up classroom management with AI.\r\n* To be exposed to many AI options so I can choose from them later.\r\n* Learn the basics of AI so I can answer my student’s questions.\r\n\r\n</p></div>\r\n</details>\r\n\r\n<br>",
"skip_dialog": true,
"skip_sound": true,
"parent_level_id": 19619,
"name_suffix": "_2023",
"encrypted": "false",
"instructions_important": "false",
"allow_user_uploads": "false",
"submittable": "false",
"peer_reviewable": "false",
"optional": "false",
"allow_multiple_attempts": "true"
},
"notes": "",
"audit_log": "[{\"changed_at\":\"2024-04-09T18:33:38.078+00:00\",\"changed\":[\"cloned from \\\"self-paced-pl-ai-101-mod1-impact_2024\\\"\"],\"cloned_from\":\"self-paced-pl-ai-101-mod1-impact_2024\"},{\"changed_at\":\"2024-04-09 18:33:46 +0000\",\"changed\":[],\"changed_by_id\":19151,\"changed_by_email\":\"micah+levelbuilder@code.org\"},{\"changed_at\":\"2024-04-09 18:38:56 +0000\",\"changed\":[\"long_instructions\"],\"changed_by_id\":19151,\"changed_by_email\":\"micah+levelbuilder@code.org\"},{\"changed_at\":\"2024-04-09 18:40:14 +0000\",\"changed\":[\"long_instructions\"],\"changed_by_id\":19151,\"changed_by_email\":\"micah+levelbuilder@code.org\"},{\"changed_at\":\"2024-04-09 18:40:48 +0000\",\"changed\":[],\"changed_by_id\":19151,\"changed_by_email\":\"micah+levelbuilder@code.org\"}]",
"level_concept_difficulty": {
}
}]]></config>
</FreeResponse>

Large diffs are not rendered by default.

Large diffs are not rendered by default.