Skip to content

Commit 615375c

Browse files
fspeirsadrian-rpf
andauthored
Add more Experience CS projects to seeding data. (#641)
We are updating the seeding data for Experience CS to more realistically reflect the current production data. This commit adds new Scratch project identifiers to the Editor-API seeding data to match the work being done in RaspberryPiFoundation/experience-cs#1635. ## Status - Related to RaspberryPiFoundation/ExperienceCS#1545 and RaspberryPiFoundation/ExperienceCS#1635 ## What's changed? This PR adds some additional Scratch project identifiers to the Editor-API seeding database to match the updated content in Experience CS test seeds. ## Steps to perform after deploying to production Nothing to do - this is development only. Co-authored-by: Adrian Lansdown <adrian.lansdown@raspberrypi.org>
1 parent 284caef commit 615375c

1 file changed

Lines changed: 275 additions & 9 deletions

File tree

lib/tasks/projects.rake

Lines changed: 275 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,45 +10,311 @@ namespace :projects do
1010
task create_experience_cs_examples: :environment do
1111
projects = [
1212
{
13-
identifier: 'experience-cs-example',
13+
identifier: 'a-familar-tune',
14+
locale: 'en',
15+
project_type: Project::Types::SCRATCH,
16+
name: 'A Familar Tune',
17+
user_id: nil
18+
},
19+
{
20+
identifier: 'blank-scratch-starter',
21+
locale: 'en',
22+
project_type: Project::Types::SCRATCH,
23+
name: 'Blank Scratch Starter',
24+
user_id: nil
25+
},
26+
{
27+
identifier: 'broadcasting-chords',
28+
locale: 'en',
29+
project_type: Project::Types::SCRATCH,
30+
name: 'Broadcasting Chords',
31+
user_id: nil
32+
},
33+
{
34+
identifier: 'chord-detectives',
35+
locale: 'en',
36+
project_type: Project::Types::SCRATCH,
37+
name: 'Chord Detectives',
38+
user_id: nil
39+
},
40+
{
41+
identifier: 'comparing-programs',
42+
locale: 'en',
43+
project_type: Project::Types::SCRATCH,
44+
name: 'Comparing Programs',
45+
user_id: nil
46+
},
47+
{
48+
identifier: 'counting-with-variables',
49+
locale: 'en',
50+
project_type: Project::Types::SCRATCH,
51+
name: 'Counting With Variables',
52+
user_id: nil
53+
},
54+
{
55+
identifier: 'creating-a-program',
56+
locale: 'en',
57+
project_type: Project::Types::SCRATCH,
58+
name: 'Creating A Program',
59+
user_id: nil
60+
},
61+
{
62+
identifier: 'creating-clones',
63+
locale: 'en',
64+
project_type: Project::Types::SCRATCH,
65+
name: 'Creating Clones',
66+
user_id: nil
67+
},
68+
{
69+
identifier: 'creating-programs',
70+
locale: 'en',
71+
project_type: Project::Types::SCRATCH,
72+
name: 'Creating Programs',
73+
user_id: nil
74+
},
75+
{
76+
identifier: 'debug-it',
77+
locale: 'en',
78+
project_type: Project::Types::SCRATCH,
79+
name: 'Debug It',
80+
user_id: nil
81+
},
82+
{
83+
identifier: 'debugging-in-scratch',
1484
locale: 'en',
1585
project_type: Project::Types::SCRATCH,
16-
name: 'Experience CS example',
86+
name: 'Debugging In Scratch',
1787
user_id: nil
1888
},
1989
{
2090
identifier: 'dialogue-in-scratch',
2191
locale: 'en',
2292
project_type: Project::Types::SCRATCH,
23-
name: 'Dialogue in Scratch',
93+
name: 'Dialogue In Scratch',
2494
user_id: nil
2595
},
2696
{
27-
identifier: 'ten-block-mission',
97+
identifier: 'digit-dash',
2898
locale: 'en',
2999
project_type: Project::Types::SCRATCH,
30-
name: 'Ten block mission',
100+
name: 'Digit Dash',
31101
user_id: nil
32102
},
33103
{
34-
identifier: 'blank-scratch-starter',
104+
identifier: 'experience-cs-example',
35105
locale: 'en',
36106
project_type: Project::Types::SCRATCH,
37-
name: 'Blank Scratch starter',
107+
name: 'Experience Cs Example',
108+
user_id: nil
109+
},
110+
{
111+
identifier: 'getting-started-1',
112+
locale: 'en',
113+
project_type: Project::Types::SCRATCH,
114+
name: 'Getting Started 1',
115+
user_id: nil
116+
},
117+
{
118+
identifier: 'investigating-broadcasting',
119+
locale: 'en',
120+
project_type: Project::Types::SCRATCH,
121+
name: 'Investigating Broadcasting',
38122
user_id: nil
39123
},
40124
{
41125
identifier: 'lets-explore-scratch',
42126
locale: 'en',
43127
project_type: Project::Types::SCRATCH,
44-
name: "Let's explore Scratch",
128+
name: 'Lets Explore Scratch',
129+
user_id: nil
130+
},
131+
{
132+
identifier: 'lets-loop-it',
133+
locale: 'en',
134+
project_type: Project::Types::SCRATCH,
135+
name: 'Lets Loop It',
136+
user_id: nil
137+
},
138+
{
139+
identifier: 'ma-testing',
140+
locale: 'en',
141+
project_type: Project::Types::SCRATCH,
142+
name: 'Ma Testing',
143+
user_id: nil
144+
},
145+
{
146+
identifier: 'modifying-picture-graphs',
147+
locale: 'en',
148+
project_type: Project::Types::SCRATCH,
149+
name: 'Modifying Picture Graphs',
150+
user_id: nil
151+
},
152+
{
153+
identifier: 'modifying-programs',
154+
locale: 'en',
155+
project_type: Project::Types::SCRATCH,
156+
name: 'Modifying Programs',
157+
user_id: nil
158+
},
159+
{
160+
identifier: 'move-with-purpose',
161+
locale: 'en',
162+
project_type: Project::Types::SCRATCH,
163+
name: 'Move With Purpose',
164+
user_id: nil
165+
},
166+
{
167+
identifier: 'my-anti-app',
168+
locale: 'en',
169+
project_type: Project::Types::SCRATCH,
170+
name: 'My Anti App',
171+
user_id: nil
172+
},
173+
{
174+
identifier: 'my-digital-canvas',
175+
locale: 'en',
176+
project_type: Project::Types::SCRATCH,
177+
name: 'My Digital Canvas',
178+
user_id: nil
179+
},
180+
{
181+
identifier: 'my-first-function',
182+
locale: 'en',
183+
project_type: Project::Types::SCRATCH,
184+
name: 'My First Function',
185+
user_id: nil
186+
},
187+
{
188+
identifier: 'my-simulation',
189+
locale: 'en',
190+
project_type: Project::Types::SCRATCH,
191+
name: 'My Simulation',
192+
user_id: nil
193+
},
194+
{
195+
identifier: 'mystery-story',
196+
locale: 'en',
197+
project_type: Project::Types::SCRATCH,
198+
name: 'Mystery Story',
199+
user_id: nil
200+
},
201+
{
202+
identifier: 'paper-airplane-simulation',
203+
locale: 'en',
204+
project_type: Project::Types::SCRATCH,
205+
name: 'Paper Airplane Simulation',
206+
user_id: nil
207+
},
208+
{
209+
identifier: 'pedestrian-button',
210+
locale: 'en',
211+
project_type: Project::Types::SCRATCH,
212+
name: 'Pedestrian Button',
213+
user_id: nil
214+
},
215+
{
216+
identifier: 'pollination-patrol',
217+
locale: 'en',
218+
project_type: Project::Types::SCRATCH,
219+
name: 'Pollination Patrol',
220+
user_id: nil
221+
},
222+
{
223+
identifier: 'programming-functions',
224+
locale: 'en',
225+
project_type: Project::Types::SCRATCH,
226+
name: 'Programming Functions',
227+
user_id: nil
228+
},
229+
{
230+
identifier: 'programming-progressions',
231+
locale: 'en',
232+
project_type: Project::Types::SCRATCH,
233+
name: 'Programming Progressions',
234+
user_id: nil
235+
},
236+
{
237+
identifier: 'sensing-motion',
238+
locale: 'en',
239+
project_type: Project::Types::SCRATCH,
240+
name: 'Sensing Motion',
241+
user_id: nil
242+
},
243+
{
244+
identifier: 'sequence-a-melody',
245+
locale: 'en',
246+
project_type: Project::Types::SCRATCH,
247+
name: 'Sequence A Melody',
248+
user_id: nil
249+
},
250+
{
251+
identifier: 'sequencing-programs',
252+
locale: 'en',
253+
project_type: Project::Types::SCRATCH,
254+
name: 'Sequencing Programs',
255+
user_id: nil
256+
},
257+
{
258+
identifier: 'taking-a-tour',
259+
locale: 'en',
260+
project_type: Project::Types::SCRATCH,
261+
name: 'Taking A Tour',
262+
user_id: nil
263+
},
264+
{
265+
identifier: 'ten-block-mission',
266+
locale: 'en',
267+
project_type: Project::Types::SCRATCH,
268+
name: 'Ten Block Mission',
269+
user_id: nil
270+
},
271+
{
272+
identifier: 'the-me-project',
273+
locale: 'en',
274+
project_type: Project::Types::SCRATCH,
275+
name: 'The Me Project',
276+
user_id: nil
277+
},
278+
{
279+
identifier: 'the-vanishing-garden',
280+
locale: 'en',
281+
project_type: Project::Types::SCRATCH,
282+
name: 'The Vanishing Garden',
283+
user_id: nil
284+
},
285+
{
286+
identifier: 'time-travelers',
287+
locale: 'en',
288+
project_type: Project::Types::SCRATCH,
289+
name: 'Time Travelers',
290+
user_id: nil
291+
},
292+
{
293+
identifier: 'traffic-light-timer',
294+
locale: 'en',
295+
project_type: Project::Types::SCRATCH,
296+
name: 'Traffic Light Timer',
45297
user_id: nil
46298
},
47299
{
48300
identifier: 'transforming-sprites',
49301
locale: 'en',
50302
project_type: Project::Types::SCRATCH,
51-
name: 'Transforming sprites',
303+
name: 'Transforming Sprites',
304+
user_id: nil
305+
},
306+
{
307+
identifier: 'weather-data',
308+
locale: 'en',
309+
project_type: Project::Types::SCRATCH,
310+
name: 'Weather Data',
311+
user_id: nil
312+
},
313+
{
314+
identifier: 'word-art',
315+
locale: 'en',
316+
project_type: Project::Types::SCRATCH,
317+
name: 'Word Art',
52318
user_id: nil
53319
}
54320
]

0 commit comments

Comments
 (0)