bparrino commited on
Commit
81e1dfa
·
verified ·
1 Parent(s): a88cdcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +98 -25
app.py CHANGED
@@ -57,6 +57,22 @@ def generate_icebreakers(group_size, time_available, energy_level, group_familia
57
  'Debrief with key insights learned'
58
  ]
59
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  'this_or_that': {
61
  'name': 'Professional This or That',
62
  'description': 'Participants choose between two work-related options (email vs. phone calls, morning vs. afternoon meetings) by physically moving to different sides of the room, then briefly explain their preferences.',
@@ -106,6 +122,40 @@ def generate_icebreakers(group_size, time_available, energy_level, group_familia
106
  'Discuss how shared experiences help us learn together'
107
  ]
108
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  'desert_island_skills': {
110
  'name': 'Desert Island Skills',
111
  'description': 'Participants imagine being stranded on a desert island with their work team and identify which colleague\'s professional skill would be most valuable for survival, explaining their reasoning.',
@@ -123,6 +173,23 @@ def generate_icebreakers(group_size, time_available, energy_level, group_familia
123
  'Highlight the diverse strengths people bring to teams'
124
  ]
125
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  'emoji_introductions': {
127
  'name': 'Emoji Career Story',
128
  'description': 'Participants select 5 emojis that represent their career journey, current role, or professional personality, then share their "emoji story" with explanations for each choice.',
@@ -157,6 +224,23 @@ def generate_icebreakers(group_size, time_available, energy_level, group_familia
157
  'Share interesting discoveries and celebrate diverse backgrounds'
158
  ]
159
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  'connection_web': {
161
  'name': 'Connection Web',
162
  'description': 'Using a ball of yarn, participants create a physical web by tossing it to colleagues they share something in common with, visually demonstrating the interconnections within the team.',
@@ -191,24 +275,11 @@ def generate_icebreakers(group_size, time_available, energy_level, group_familia
191
  'Keep discussions brief and move through scenarios quickly'
192
  ]
193
  },
194
- 'workplace_bingo_stories': {
195
- 'name': 'Workplace Story Bingo',
196
- 'description': 'Participants network to find colleagues who have experienced specific workplace situations listed on bingo cards, then collect brief stories about these experiences rather than just signatures.',
197
- 'what_it_does': 'Combines networking with storytelling to build psychological safety and shared learning. Helps people realize others have faced similar challenges and creates opportunities to share wisdom.',
198
- 'example': 'Instead of just finding someone who "Led a difficult conversation," participants hear a 30-second story about how they handled it, what they learned, and what advice they\'d give others.',
199
- 'time_needed': '15-20 minutes',
200
- 'group_size': '10+ people',
201
- 'energy': 'High',
202
- 'materials': 'Story bingo cards, pens',
203
- 'instructions': [
204
- 'Create cards with workplace experiences like "Survived a major system crash"',
205
- 'Include items like "Led a difficult conversation", "Learned from a big mistake"',
206
- 'People network to find matches and hear 30-second stories',
207
- 'Focus on learning moments rather than complaints',
208
- 'Share a few interesting stories with the whole group'
209
- ]
210
- }
211
- } "Learn how to give difficult feedback" while their partner wants to "Improve active listening skills." They brainstorm ways to help each other practice during the session.',
212
  'time_needed': '8-12 minutes',
213
  'group_size': '6+ people',
214
  'energy': 'Low',
@@ -315,15 +386,15 @@ def generate_icebreakers(group_size, time_available, energy_level, group_familia
315
  if group_familiarity == "Strangers/New team":
316
  if key in ['professional_bingo', 'human_scavenger_hunt', 'quick_networking', 'skill_swap', 'connection_web']:
317
  score += 8 # Great for introductions and getting to know each other
318
- elif key in ['desert_island_skills']:
319
  score += 2 # Hard when people don't know each other
320
  elif group_familiarity == "Somewhat familiar":
321
  if key in ['two_truths_lie', 'this_or_that', 'professional_would_rather', 'emoji_introductions']:
322
  score += 8 # Good for learning more about colleagues
323
  elif group_familiarity == "Know each other well":
324
- if key in ['desert_island_skills']:
325
  score += 8 # Fun activities that leverage existing relationships
326
- elif key in ['workplace_bingo_stories']:
327
  score += 6
328
 
329
  # Additional context considerations
@@ -339,22 +410,24 @@ def generate_icebreakers(group_size, time_available, energy_level, group_familia
339
 
340
  # Technical/engineering teams
341
  if any(term in context_lower for term in ['engineering', 'technical', 'developer', 'IT', 'tech']):
342
- if key in ['skill_swap', 'emoji_introductions']:
343
  score += 3 # Appeal to technical mindset
344
 
345
  # Sensitive topics or difficult conversations
346
  if any(term in context_lower for term in ['difficult', 'sensitive', 'layoffs', 'change', 'restructure']):
347
- if key in ['common_ground']:
348
  score += 4 # Gentle, supportive activities
 
 
349
 
350
  # Large groups mentioned
351
  if any(term in context_lower for term in ['large group', 'big team', '50+', '100+']):
352
- if key in ['this_or_that', 'professional_would_rather']:
353
  score += 3 # Scale well to large groups
354
 
355
  # Time constraints mentioned
356
  if any(term in context_lower for term in ['quick', 'short', 'limited time', 'rushed']):
357
- if key in ['this_or_that']:
358
  score += 4 # Very quick activities
359
  elif key in ['human_scavenger_hunt', 'professional_bingo']:
360
  score -= 2 # Take longer to set up
 
57
  'Debrief with key insights learned'
58
  ]
59
  },
60
+ 'problem_solving': {
61
+ 'name': 'Quick Challenge',
62
+ 'description': 'Small teams work together to solve a business puzzle, riddle, or hypothetical workplace scenario within a tight timeframe. Teams then present their solutions to the larger group.',
63
+ 'what_it_does': 'Reveals different problem-solving approaches and thinking styles within your team. Gets people collaborating immediately and demonstrates how diverse perspectives lead to creative solutions.',
64
+ 'example': 'Challenge: "Your team needs to improve customer satisfaction scores by 20% in 6 months with no additional budget. Present your top 3 strategies." Teams brainstorm and present 1-minute solutions.',
65
+ 'time_needed': '12-15 minutes',
66
+ 'group_size': '6+ people',
67
+ 'energy': 'Medium',
68
+ 'materials': 'Simple puzzle or scenario',
69
+ 'instructions': [
70
+ 'Form teams of 3-4 people',
71
+ 'Give a 5-minute challenge (riddle, business scenario, or puzzle)',
72
+ 'Teams present their solutions in 1 minute each',
73
+ 'Highlight different approaches to problem-solving'
74
+ ]
75
+ },
76
  'this_or_that': {
77
  'name': 'Professional This or That',
78
  'description': 'Participants choose between two work-related options (email vs. phone calls, morning vs. afternoon meetings) by physically moving to different sides of the room, then briefly explain their preferences.',
 
122
  'Discuss how shared experiences help us learn together'
123
  ]
124
  },
125
+ 'workplace_superlatives': {
126
+ 'name': 'Professional Superlatives',
127
+ 'description': 'The group votes to award lighthearted, positive "superlatives" to colleagues, like "Most Organized Workspace" or "Best Troubleshooter," similar to yearbook awards but workplace-focused.',
128
+ 'what_it_does': 'Celebrates individual strengths and creates positive recognition in a fun format. Helps participants see how they\'re perceived by colleagues and builds team appreciation.',
129
+ 'example': 'Awards like "Most Likely to Have the Answer," "Best Meeting Facilitator," "Most Creative Problem Solver," or "Always Knows the Office Trivia." Winners get applause and brief recognition.',
130
+ 'time_needed': '12-18 minutes',
131
+ 'group_size': '8+ people',
132
+ 'energy': 'High',
133
+ 'materials': 'Pre-made award categories',
134
+ 'instructions': [
135
+ 'Prepare 8-10 lighthearted professional awards in advance',
136
+ 'Examples: "Most Organized Desk", "Best Video Call Troubleshooter"',
137
+ 'Have the group nominate and vote for each category',
138
+ 'Keep nominations brief and positive',
139
+ 'Present awards with applause for each winner'
140
+ ]
141
+ },
142
+ 'office_trivia': {
143
+ 'name': 'Workplace Trivia Challenge',
144
+ 'description': 'Teams compete to answer questions mixing general workplace knowledge (business acronyms, office etiquette) with company-specific facts, creating a fun quiz competition.',
145
+ 'what_it_does': 'Tests and builds shared knowledge while encouraging teamwork. Great for reinforcing company culture and getting people laughing together over shared workplace experiences.',
146
+ 'example': 'Questions like "What does KPI stand for?", "What year was our company founded?", "What\'s the proper email response time expectation?" Teams write answers and compete for points.',
147
+ 'time_needed': '15-20 minutes',
148
+ 'group_size': '8+ people',
149
+ 'energy': 'Medium',
150
+ 'materials': 'Trivia questions, buzzers (optional)',
151
+ 'instructions': [
152
+ 'Form teams of 3-4 people',
153
+ 'Prepare mix of general workplace trivia and company-specific questions',
154
+ 'Ask 10-15 questions with teams writing down answers',
155
+ 'Include fun categories like "Office Etiquette" or "Business Acronyms"',
156
+ 'Announce winners and celebrate team knowledge'
157
+ ]
158
+ },
159
  'desert_island_skills': {
160
  'name': 'Desert Island Skills',
161
  'description': 'Participants imagine being stranded on a desert island with their work team and identify which colleague\'s professional skill would be most valuable for survival, explaining their reasoning.',
 
173
  'Highlight the diverse strengths people bring to teams'
174
  ]
175
  },
176
+ 'work_bucket_list': {
177
+ 'name': 'Professional Bucket List',
178
+ 'description': 'Each participant shares one career goal, professional experience, or skill they want to achieve before they retire, creating a window into individual aspirations and growth areas.',
179
+ 'what_it_does': 'Reveals personal career motivations and creates opportunities for mutual support. Helps identify shared professional interests and potential mentoring or collaboration opportunities.',
180
+ 'example': 'Goals like "Lead an international project," "Get certified in data analysis," "Speak at an industry conference," or "Start a mentorship program." Discussion follows about supporting each other.',
181
+ 'time_needed': '8-12 minutes',
182
+ 'group_size': 'Any size',
183
+ 'energy': 'Low',
184
+ 'materials': 'None',
185
+ 'instructions': [
186
+ 'Each person shares one career goal or professional experience they want',
187
+ 'Examples: "Lead a global project", "Speak at a conference", "Learn a new skill"',
188
+ 'Keep sharing to 1 minute per person',
189
+ 'Look for connections between people\'s goals',
190
+ 'Discuss how the group might support each other\'s aspirations'
191
+ ]
192
+ },
193
  'emoji_introductions': {
194
  'name': 'Emoji Career Story',
195
  'description': 'Participants select 5 emojis that represent their career journey, current role, or professional personality, then share their "emoji story" with explanations for each choice.',
 
224
  'Share interesting discoveries and celebrate diverse backgrounds'
225
  ]
226
  },
227
+ 'one_word_check_in': {
228
+ 'name': 'One Word Energy Check',
229
+ 'description': 'Each participant shares a single word that captures how they\'re feeling about the training session, workday, or current project, creating a quick pulse on group energy.',
230
+ 'what_it_does': 'Provides immediate insight into group mood and energy levels while giving everyone a voice. Helps facilitators adjust their approach and validates different emotional states.',
231
+ 'example': 'Words might include "Curious," "Energized," "Overwhelmed," "Ready," "Hopeful," or "Tired." The variety shows the facilitator how to pace the session and acknowledge different starting points.',
232
+ 'time_needed': '5-8 minutes',
233
+ 'group_size': 'Any size',
234
+ 'energy': 'Low',
235
+ 'materials': 'None',
236
+ 'instructions': [
237
+ 'Go around the room with each person sharing one word',
238
+ 'Examples: "Curious", "Energized", "Focused", "Ready"',
239
+ 'No explanations needed initially',
240
+ 'After everyone shares, ask for volunteers to elaborate briefly',
241
+ 'Acknowledge the range of energy and emotions in the room'
242
+ ]
243
+ },
244
  'connection_web': {
245
  'name': 'Connection Web',
246
  'description': 'Using a ball of yarn, participants create a physical web by tossing it to colleagues they share something in common with, visually demonstrating the interconnections within the team.',
 
275
  'Keep discussions brief and move through scenarios quickly'
276
  ]
277
  },
278
+ 'goal_partners': {
279
+ 'name': 'Learning Goal Partners',
280
+ 'description': 'Participants pair up to share their personal learning objectives for the training session and discuss how they might support each other in achieving these goals.',
281
+ 'what_it_does': 'Creates accountability partnerships and ensures everyone has clear learning intentions. Builds investment in the session while establishing supportive connections between colleagues.',
282
+ 'example': 'One person might want to "Learn how to give difficult feedback" while their partner wants to "Improve active listening skills." They brainstorm ways to help each other practice during the session.',
 
 
 
 
 
 
 
 
 
 
 
 
 
283
  'time_needed': '8-12 minutes',
284
  'group_size': '6+ people',
285
  'energy': 'Low',
 
386
  if group_familiarity == "Strangers/New team":
387
  if key in ['professional_bingo', 'human_scavenger_hunt', 'quick_networking', 'skill_swap', 'connection_web']:
388
  score += 8 # Great for introductions and getting to know each other
389
+ elif key in ['workplace_superlatives', 'desert_island_skills']:
390
  score += 2 # Hard when people don't know each other
391
  elif group_familiarity == "Somewhat familiar":
392
  if key in ['two_truths_lie', 'this_or_that', 'professional_would_rather', 'emoji_introductions']:
393
  score += 8 # Good for learning more about colleagues
394
  elif group_familiarity == "Know each other well":
395
+ if key in ['workplace_superlatives', 'desert_island_skills']:
396
  score += 8 # Fun activities that leverage existing relationships
397
+ elif key in ['problem_solving']:
398
  score += 6
399
 
400
  # Additional context considerations
 
410
 
411
  # Technical/engineering teams
412
  if any(term in context_lower for term in ['engineering', 'technical', 'developer', 'IT', 'tech']):
413
+ if key in ['problem_solving', 'office_trivia', 'skill_swap']:
414
  score += 3 # Appeal to technical mindset
415
 
416
  # Sensitive topics or difficult conversations
417
  if any(term in context_lower for term in ['difficult', 'sensitive', 'layoffs', 'change', 'restructure']):
418
+ if key in ['one_word_check_in', 'common_ground', 'goal_partners']:
419
  score += 4 # Gentle, supportive activities
420
+ elif key in ['workplace_superlatives', 'office_trivia']:
421
+ score -= 2 # Might feel tone-deaf
422
 
423
  # Large groups mentioned
424
  if any(term in context_lower for term in ['large group', 'big team', '50+', '100+']):
425
+ if key in ['one_word_check_in', 'this_or_that', 'professional_would_rather']:
426
  score += 3 # Scale well to large groups
427
 
428
  # Time constraints mentioned
429
  if any(term in context_lower for term in ['quick', 'short', 'limited time', 'rushed']):
430
+ if key in ['one_word_check_in', 'this_or_that']:
431
  score += 4 # Very quick activities
432
  elif key in ['human_scavenger_hunt', 'professional_bingo']:
433
  score -= 2 # Take longer to set up